Browsing through Simon Walters' (@cymplecy) latest exploits with ScratchGPIO and Scratch Interface Device (SID) got me thinking a little… I wonder if the following is possible:
- Set up Pi with DHCP server to assign 10.x addresses (school laptops are on 192.168.x) and to have its own address set to 10.0.0.1
- Set up Pi to run a script on startup that waits for Scratch remote sensor connections on 10.0.0.2 — then run ScratchGPIO with 10.0.0.2 as its host
- Connect Pi to laptop with ethernet cable and USB (for power) — no other cables required!
- Laptop should have wired IP of 10.0.0.2
- Open Scratch on laptop and enable remote sensor connections
- ScratchGPIO should start on Pi and be available to the laptop
- Plug some hardware into the Pi and start controlling it!
Can anyone help test this out?