Last edited by geofrancis on Sun Nov 14, 2021 7:03 pm; edited 1 time in total
Who is online?
In total there are 6 users online :: 0 Registered, 0 Hidden and 6 Guests :: 1 Bot
None
Most users ever online was 180 on Tue Nov 05, 2019 6:03 am
Latest topics
Search
Most Viewed Topics
Statistics
Our users have posted a total of 12534 messages in 1992 subjects
We have 1021 registered users
The newest registered user is Mike Echo
Similar topics
JSN-SR04T Depth sounder
geofrancis- Posts : 323
Join date : 2021-09-24
- Post n°1
JSN-SR04T Depth sounder
Last edited by geofrancis on Sun Nov 14, 2021 7:03 pm; edited 1 time in total
david f likes this post
david f- AMS Treasurer
- Posts : 2412
Join date : 2010-11-10
Age : 74
Location : Cumbria
- Post n°2
Re: JSN-SR04T Depth sounder
Do you have any more information? Links etc?
(i wonder how they re-programmed it?)
David
redboat219- Guest
- Posts : 43
Join date : 2013-08-20
- Post n°3
Re: JSN-SR04T Depth sounder
geofrancis likes this post
geofrancis- Posts : 323
Join date : 2021-09-24
- Post n°4
Re: JSN-SR04T Depth sounder
david f wrote:Looks very good.
Do you have any more information? Links etc?
(i wonder how they re-programmed it?)
David
I am not sure how they have programmed the controllers, but the sensor works the same as the sr04 sensor and there are many many instructional pages on how to use them with arduino, the only modification you need to do is change the constant for the speed of sound in water.
geofrancis- Posts : 323
Join date : 2021-09-24
- Post n°5
Re: JSN-SR04T Depth sounder
The single transducer JSN-SR04T works to almost 10 meters but has a minimum working depth of 1.5m so its not ideal for smaller boats in shallow water
The dual transducer JSN-SR20-Y1has separate transmit and receive transducers so it doesn't need to finish transmission before it can listen, this means it works in as little as 15cm of water under the boat.
The A02YYUW ultrasonic sensor is basically an encapsulated version of the JSN-SR20-Y1 that can just be attached to the bottom of a hull.
so where I think this could be useful for RC submarines is terrain avoidance. The boat club I used to be a member of had a concrete pond that was only 2 foot deep so all the subs would end up with big scrapes along the bottom where they dived a little too far. using one of the dual transducer sonars would let you set a minimum depth of water under the boat, so it wouldn't dive lower unless there was enough water under the boat
here is an example of how to drive a servo using the sonar and arduino, you just need to up the constant from 29.1 to 125.1 to compensate for the faster speed of sound in water.
https://create.arduino.cc/projecthub/anjalishaw1125/servo-motor-ultrasonic-sensor-e69be3
I'm looking into a making a sonar array for locating underwater objects like fish, sub hide and seek might become a thing lol
david f and SimonH like this post
geofrancis- Posts : 323
Join date : 2021-09-24
- Post n°6
Re: JSN-SR04T Depth sounder
david f likes this post
C-3PO- Posts : 95
Join date : 2018-11-21
Location : Northamptonshire UK
- Post n°7
Re: JSN-SR04T Depth sounder
Just reading this thread - not sure if I am misreading your posts.
Have you got ultrasonic distance sensing working underwater to 10m?
Regards
Jonathan
geofrancis likes this post
geofrancis- Posts : 323
Join date : 2021-09-24
- Post n°8
Re: JSN-SR04T Depth sounder
C-3PO wrote:Hello geofrancis,
Just reading this thread - not sure if I am misreading your posts.
Have you got ultrasonic distance sensing working underwater to 10m?
Regards
Jonathan
I have only tested to a couple of meters, but there are videos of others using it to 10m using the JSN-SR04 sonar it will work underwater using standard sr04 code, all that needs to be changed is the speed of sound to get the measurements to line up. I have been testing these for use on autonomous boats but the tech would work well on subs just as well to stop running aground.
The dual transducer variant is much better for smaller boats as it will work in as little as 15cm of water where the single transducer has a minimum distance of 1.4m in water.
https://discuss.ardupilot.org/t/sonar-based-on-hc-sr04/80476/7
C-3PO- Posts : 95
Join date : 2018-11-21
Location : Northamptonshire UK
- Post n°9
Re: JSN-SR04T Depth sounder
Thank you for the info - I can see me revisting a previously failed experiment
Regards
Jonathan
geofrancis likes this post
geofrancis- Posts : 323
Join date : 2021-09-24
- Post n°10
Re: JSN-SR04T Depth sounder
C-3PO wrote:Hi geofrancis,
Thank you for the info - I can see me revisting a previously failed experiment
Regards
Jonathan
Sounds interesting, can you elaborate?
C-3PO- Posts : 95
Join date : 2018-11-21
Location : Northamptonshire UK
- Post n°11
Re: JSN-SR04T Depth sounder
I have been exploring as a joint project with another guy what you can achieve with ranging solutions - we have been looking at ultrasonic, lidar and rf based radar.
We have had mixed success so far but it's still early days - it's a great "duo" as he is an electronics whizz and I get by with coding :)
Regards
Jonathan _._
geofrancis- Posts : 323
Join date : 2021-09-24
- Post n°12
Re: JSN-SR04T Depth sounder
C-3PO wrote:Hi geofrancis,
I have been exploring as a joint project with another guy what you can achieve with ranging solutions - we have been looking at ultrasonic, lidar and rf based radar.
We have had mixed success so far but it's still early days - it's a great "duo" as he is an electronics whizz and I get by with coding :)
Regards
Jonathan _._
I could probably help, I'm working on sonar arrays for autonomous boats and collision avoidance using a rotating radar system combined with a lidar array. I have tested a lot of different sensors, what are you looking to detect and is it above or under water?
https://discuss.ardupilot.org/t/scanning-rangefinder/81131/31
C-3PO- Posts : 95
Join date : 2018-11-21
Location : Northamptonshire UK
- Post n°13
Re: JSN-SR04T Depth sounder
Maybe we should compare notes at some point.
Right now this project is back burnered whilst we mess sround with a new concept of a sub leveller
Regards
Jonathan
geofrancis likes this post
geofrancis- Posts : 323
Join date : 2021-09-24
- Post n°14
Re: JSN-SR04T Depth sounder
C-3PO wrote:Hi geofrancis,
Maybe we should compare notes at some point.
Right now this project is back burnered whilst we mess sround with a new concept of a sub leveller
Regards
Jonathan
I think the best approach would be the phased array sonar system from the video I linked to earlier,
https://youtu.be/z4uxC7ISd-c?t=826
I had a look through the code for it here https://github.com/bitluni/SonarScannerV1 and from what I can tell all that would need to be changed is the constant for the speed of sound and changing the transducers for waterproof versions like what I have been using on the depth sounder.
C-3PO- Posts : 95
Join date : 2018-11-21
Location : Northamptonshire UK
- Post n°15
Re: JSN-SR04T Depth sounder
Have you got any range results from the FMK24-E5200 module?
I know spec states upto 20m and also see some people have struggled to achieve 3m...
Interested in your project experience/results
Regards
Jonathan
geofrancis- Posts : 323
Join date : 2021-09-24
- Post n°16
Re: JSN-SR04T Depth sounder
C-3PO wrote:Hi geofrancis,
Have you got any range results from the FMK24-E5200 module?
I know spec states upto 20m and also see some people have struggled to achieve 3m...
Interested in your project experience/results
Regards
Jonathan
yes it worked and I was getting a decent range on it, but i didnt get to do any objective testing on it before I sent it to the software developer to get the driver done. I am getting another one soon for follow up testing now I have a functioning driver interface for the rover control software.
C-3PO- Posts : 95
Join date : 2018-11-21
Location : Northamptonshire UK
- Post n°17
Re: JSN-SR04T Depth sounder
I have been playingf with the JSN SR04T V2.0 single transducer in water and cannot get a squeak out of it.
I must be missing something obvious
Can I ask which JSN SR04T mode you are using (serial?)
What is that latest result you have with regard to distance you can detect?
What code are you using with the JSn board - standard library?
Currently I have given up with the JSN board and along with an electronics wizard are currently recreating the a solution from scratch - however still no ultrasonic squeaks - well half of one :)
Thank in advance
Jonathan
geofrancis likes this post
geofrancis- Posts : 323
Join date : 2021-09-24
- Post n°18
Re: JSN-SR04T Depth sounder
C-3PO wrote:Hello geofrances,
I have been playingf with the JSN SR04T V2.0 single transducer in water and cannot get a squeak out of it.
How deep was the water you were testing in? you wont get any readings in water less than 1.5m deep with a single transducer sr04 sonar.
the dual transducer version works at much shorter range, around 3cm in air and 15cm in water.
this is the code i used to get mine working.
https://dronebotworkshop.com/waterproof-ultrasonic/
I have 4 installed in my boat hull, singe transducer sr04 facing forwards and down around 40 degrees, and dual transducers to the left right and down.
david f and C-3PO like this post
C-3PO- Posts : 95
Join date : 2018-11-21
Location : Northamptonshire UK
- Post n°19
Re: JSN-SR04T Depth sounder
I'll give it a go and see what happens...
Getting close with homebrew solution which generates it's own pulse(s), has it's own receiver, and uses our software so we are in control - it only uses the ultrasonic tranducer from the commercially available toys
Fingers crossed
Give me a ping, Vasily. One ping only, please
Regards
Jonathan
david f and geofrancis like this post
geofrancis- Posts : 323
Join date : 2021-09-24
- Post n°20
Re: JSN-SR04T Depth sounder
https://github.com/geofrancis/SonarScannerV1
david f likes this post
C-3PO- Posts : 95
Join date : 2018-11-21
Location : Northamptonshire UK
- Post n°21
Re: JSN-SR04T Depth sounder
Wow - that looks a complex setup...
What are you using to receive the ping from the phased array - JSN boards?
Will you be monitoring things live on the shore or recording data for offline processing?
Reqards
Jonathan
geofrancis likes this post
geofrancis- Posts : 323
Join date : 2021-09-24
- Post n°22
Re: JSN-SR04T Depth sounder
Im using DC motor drivers to drive the ping and a small amplifier board on the receiver. I actually burnt out the drivers in that photo by applying 12v when I forgot they are only rated for 9v and have new pair of 4 channel drivers to try.
https://www.aliexpress.com/item/4000054713222.html
https://www.aliexpress.com/item/1005001459028317.html
https://www.aliexpress.com/item/32816065152.html
this is the kind of image i hope to get from it. The plan is to be able to visually see the the output and to be able to feed it into the ardupilot proximity system so it can be used for avoidance.
david f, C-3PO and SimonH like this post
geofrancis- Posts : 323
Join date : 2021-09-24
- Post n°23
Re: JSN-SR04T Depth sounder
david f and C-3PO like this post
geofrancis- Posts : 323
Join date : 2021-09-24
- Post n°24
Re: JSN-SR04T Depth sounder
So.. i moved onto my other idea, and that was taking a sonar transducer and mounting it to a servo so i can scan underwater, it should work up to around 10m, the sonar can do around 10hz and its processed as 72 slices so max speed is around 1 scan every 7.2 seconds. It should make a good fish finder.
david f likes this post
geofrancis- Posts : 323
Join date : 2021-09-24
- Post n°25
Re: JSN-SR04T Depth sounder
its still a work in progress.
https://github.com/geofrancis/Acustic-navigation/blob/main/Main.ino
david f likes this post
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