geofrancis Mon Oct 14, 2024 4:31 pm
it looks like someone has already used the ADC on the teensy to convert a sr04 into a multi return sonar, I'm going to order a teensy to try this as it looks very straight forward to set up. I will get one up and running first then I'm going to try and get a pair of them running on the same board, the teensy 4.0 has dual ADC so I assume I can use 2 sonars, if that works then I can do triangulation to get position and range then send that over the audio link to the sub. I have been trying to find compact communications protocols, LTM looks promising but there are few examples and not much documentation, NMEA would work but its quite long, so is mavlink. I might have to make something much more basic, like only having 3 speeds forward and back, I could essentially assign a letter to each action so it can cut down the latency by using short messages. A message to set depth, one for increase and one for decrease, I don't need the full GPS coordinates, just the last new digits, or just the offset from the known position would work since these are never in anything much bigger than a swimming pool.
https://www.youtube.com/watch?v=rg9HbWsZuHY
https://github.com/widdakay/SR04-MultiObjectDetection/blob/main/SR04Hacker.ino
Tue Oct 29, 2024 4:46 pm by tsenecal
» RC Drift Gyro for pitch control
Sun Oct 20, 2024 2:04 pm by geofrancis
» WW2 mini sub build
Thu Oct 17, 2024 2:34 pm by geofrancis
» sonar data link
Mon Oct 14, 2024 4:31 pm by geofrancis
» Robbe Seawolf V2
Sat Oct 12, 2024 3:52 pm by geofrancis
» ExpressLRS - 868/915 Mhz equipment
Fri Oct 11, 2024 8:58 pm by Marylandradiosailor
» Flight controllers as sub levelers
Fri Oct 11, 2024 8:14 pm by geofrancis
» 868/915 Mhz as a viable frequency for submarines.
Thu Oct 10, 2024 3:21 am by tsenecal
» Microgyro pitch controller corrosion
Wed Oct 02, 2024 11:32 am by geofrancis