Please select Into the mobile phone version | Continue to access the computer ver.
external sensor connection
521 2 2-28 22:30
Uploading and Loding Picture ...(0/1)
o(^-^)o
kalyan088
lvl.2
United States
Offline

Hey Robomasters,

Did anyone connect an external sensor like a hc-sr04?Looking for a manual or a helper guide for connecting a sensor.  


Thanks
2-28 22:30
Use props
Duane Degn
First Officer
Flight distance : 425755 ft
United States
Online

That would be really cool, but I haven't found a way to do this.
4-20 12:48
Use props
JohnieBraaf
lvl.2
Netherlands
Offline

hc-sr04 will not be possible because it needs an exact time measurement (PWM timer pin and edge detection), but I read somewhere that you can use the serial port for simple UART sensors.
Haven't tried it myself. https://robomaster-dev.readthedocs.io/en/latest/python/uart.html

I think you better use a seperate microcontorller to connect and read the hc-sr04 and then report to the S1 using UART.
4-21 10:57
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules