Automatic speedscanner for slides with Espruino Pico
A js-port of: http://www.stockholmviews.com/speedscanner/, much more detailed project description available there.
I ended up using the Espruino WiFi instead of trying to get the CC3000 to work. Otherwise it is more or less the same.
- Espruino Pico microcontroller
- Adafruit CC3000 wifi breakout board
This board seems discontinued, but i had one lying around and it is working fine with the Pico. I do not know if there are alternatives for use together with the Pico. You might find it in aliexpress, ebay or similar.
- 2-channel relay module
-
A DSLR of your choice with a Macro
-
A remote shutter cable for said DSLR
-
An old Slide projector with cable remote controlled feed (IR might work as well, if you can connect that to the relay with cables)
-
Optional 3.7v - 5v DC powersource for driving the Pico and relays standalone disconnected from USB
Rip out the optics from the slide projector, bolt the projector to a board.
Position and fasten a camera bracket in front of the projector.
Wire the relay module to the Pico, be sure to have neat connections (preferably solder) everywhere.
Relay module | Espruino |
---|---|
GND | GND |
VOC | VBAT |
IN1 | A5 |
IN2 | A6 |
Cut the cables to both remotes and connect the right cables to each relay.
Which cables to fit where from the relayes to the remotes, you have to figure out your self as this might vary depending of the configuration of the remote cables you are using.
Wire up the CC3000 to the Pico: instructions here, be sure to have neat connections (preferably solder) everywhere.
CC3000 | Espruino |
---|---|
GND | GND |
3v3 | Do not use |
VIN | VBAT |
CLK/SCK | B3 |
DOUT/MISO | B4 |
DIN/MOSI | B5 |
CS | B6 |
EN/VBEN | B7 |
IRQ | B8 |
Paste contents from the file js/script.js in the right panel of the Espruino IDE, and change 'WifiAccessPointName', 'WifiWPA2key' to your wifi networks name and key
Flash js/script.js onto Pico with the Espruino IDE
To persist script type save() and then hit enter in the left panel of the IDE console
To manually start type onInit() a and then hit enter in the left panel of the IDE console, see that everything looks right in the left hand panel of the IDE
Connect to Pico by opening a browser at the IP-address given in the left hand side of the console after the string 'Server created at ' (eg http://105.21.363.87)
You should now see this screen in that browser:
Start scanning
- 50W led