README.md 1.08 KB
Newer Older
Sam Calisch's avatar
Sam Calisch committed
1 2
# zundscope

Sam Calisch's avatar
Sam Calisch committed
3 4
zund usb microscope tool with wifi streaming

Sam Calisch's avatar
Sam Calisch committed
5
## Connecting to the scope
Sam Calisch's avatar
Sam Calisch committed
6 7 8 9 10 11 12 13 14 15

1. Add power through USB battery (remember to push the button)
2. Give Linux about ~60 seconds to start up.
3. Join the "Zundtastic" wifi network from any nearby computer. 
4. Open a terminal and log into the tool: `ssh pi@192.168.4.1`
5. Start the webcam server: `/usr/local/bin/mjpg_streamer -i "/usr/local/lib/mjpg-streamer/input_uvc.so -n -f 15 -r 1920x1080" -o "/usr/local/lib/mjpg-streamer/output_http.so -p 8080 -w /usr/local/www"`
6. Open a web browser and go to `http://192.168.4.1:8080/target.html` to view the stream.
7. When you are ready to shut down the scope, from the terminal run `sudo shutdown now`
8. Unplug the battery.

Sam Calisch's avatar
Sam Calisch committed
16
## Building the scope
Sam Calisch's avatar
Sam Calisch committed
17

Sam Calisch's avatar
Sam Calisch committed
18 19 20 21 22 23 24 25 26 27 28
### 3D models to print (todo: upload)

### Assembly

### Alignment


## TODO

1. Make a startup service that starts the webcam server.  Need to issue the shutdown command via the webpage to avoid potential corruption of SD card.
2. Would be great to adjust field of view without disassembling the scope.  Maybe as simple as an access hole for adjusting knob.