surv_camera
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
surv_camera [2024/02/27 09:43] – [Configuration] memeruiz | surv_camera [2024/04/09 23:14] – memeruiz | ||
---|---|---|---|
Line 142: | Line 142: | ||
ln -s camera1 / | ln -s camera1 / | ||
chown -R www-data: | chown -R www-data: | ||
+ | |||
+ | === UART + Wanderer === | ||
+ | |||
+ | In motioneyeOS things are a bit different: | ||
+ | |||
+ | For activating the UART raspberry pi zero w port: | ||
+ | |||
+ | Edit / | ||
+ | |||
+ | Add this: | ||
+ | |||
+ | dtoverlay = miniuart-bt | ||
+ | |||
+ | / | ||
+ | |||
+ | Test with a loopback cable between tx and rx and with this test program: | ||
+ | |||
+ | |||
+ | import serial | ||
+ | test_string = "Test serial port ..." | ||
+ | port_list = ["/ | ||
+ | for port in port_list: | ||
+ | try: | ||
+ | serialPort = serial.Serial(port, | ||
+ | print (" | ||
+ | bytes_sent = serialPort.write(test_string) | ||
+ | print (" | ||
+ | loopback = serialPort.read(bytes_sent) | ||
+ | if loopback == test_string: | ||
+ | print (" | ||
+ | else: | ||
+ | print (" | ||
+ | serialPort.close() | ||
+ | except IOError: | ||
+ | print (" | ||
surv_camera.txt · Last modified: 2024/04/09 23:31 by memeruiz