Search found 272 matches

by bigbadbob
May 10th, 2020, 7:36 am
Forum: Your ROV Projects
Topic: comenzando desde cero (Starting from scratch)
Replies: 144
Views: 88246

Re: comenzando desde cero (Starting from scratch)

Hi AS1. In many ways your colleague is right but... 1:a long time ago you reduced the delay(1000) to delay(200) so it is now much quicker. 1000 was too long and would have stopped your PS2 controller from working but 200 is ok. you could try reducing 200 to 100 but I don't think it will make any dif...
by bigbadbob
May 9th, 2020, 3:55 pm
Forum: Electronics
Topic: Parking sensor sonar?
Replies: 5
Views: 5824

Re: Parking sensor sonar?

I had another go at this today thinking that using all four sensors (two front, one port, one stbd) would be interesting as they are mutiplexed together and the data from all four is transmitted on a single data line from the control board to the receiver/display board. using my logic analyser showe...
by bigbadbob
May 9th, 2020, 2:41 pm
Forum: Your ROV Projects
Topic: comenzando desde cero (Starting from scratch)
Replies: 144
Views: 88246

Re: comenzando desde cero (Starting from scratch)

ok.... try this... in ps2x_lib.h (one of the library files) // $$$$$$$$$$$$ DEBUG ENABLE SECTION $$$$$$$$$$$$$$$$ // to debug ps2 controller, uncomment these two lines to print out debug to uart //#define PS2X_DEBUG //#define PS2X_COM_DEBUG so it reads- #define PS2X_DEBUG #define PS2X_COM_DEBUG then...
by bigbadbob
May 9th, 2020, 6:45 am
Forum: Your ROV Projects
Topic: comenzando desde cero (Starting from scratch)
Replies: 144
Views: 88246

Re: comenzando desde cero (Starting from scratch)

haha... yes of course you are right, it was in master. :lol: I have made some changes, mainly moving { and } around, it was easier than explaining where to move them to. Try this and let me know if the yellow led comes on when you press a controller button. I do not understand either.... why it does...
by bigbadbob
May 8th, 2020, 4:14 pm
Forum: Electronics
Topic: Parking sensor sonar?
Replies: 5
Views: 5824

Re: Parking sensor sonar?

Thanks AP1. that's good to know. the breakout board that comes with the JSN-SR04T will make life easier as will the ping library. I'll order one and play with that and pot the sensor in oil. I have been poking my sensor board data output with a logic analyser and it is putting out what look like str...
by bigbadbob
May 8th, 2020, 3:52 pm
Forum: Your ROV Projects
Topic: comenzando desde cero (Starting from scratch)
Replies: 144
Views: 88246

Re: comenzando desde cero (Starting from scratch)

ok so you got F() working, that's good. :D but you were not short of memory anyway so it doesn't change anything much but will speed things up. so next- in slave, move ps2x.read_gamepad(); up to just under void loop() { // put it here. then move- ETout.sendData(); up to here- txdata.HLraw = map(txda...
by bigbadbob
May 8th, 2020, 12:59 pm
Forum: Electronics
Topic: Parking sensor sonar?
Replies: 5
Views: 5824

Parking sensor sonar?

Well I was bored "working from home" today so got to thinking about using a car parking sensor as a crude sonar. I have a cheap set that I was planning on fitting to my van but thought I'd play with it first. The sensors are at least semi waterproof so I rigged it up to a battery with one ...
by bigbadbob
May 8th, 2020, 10:25 am
Forum: Your ROV Projects
Topic: My "MINIRAY" Rov.
Replies: 138
Views: 147190

Re: My "MINIRAY" Rov.

:lol: he keeps sending me symbols on the video screen... :sting: <>< :grip: :cry:
by bigbadbob
May 8th, 2020, 3:25 am
Forum: Your ROV Projects
Topic: My "MINIRAY" Rov.
Replies: 138
Views: 147190

Re: My "MINIRAY" Rov.

MiniRay swimming happily in his tank.
Holding depth and heading nicely.
H's desperate to swim free in the ocean now, the tank is no life for a wild ROV. :lol:

Image
by bigbadbob
May 8th, 2020, 3:17 am
Forum: Your ROV Projects
Topic: comenzando desde cero (Starting from scratch)
Replies: 144
Views: 88246

Re: comenzando desde cero (Starting from scratch)

But I do not compile your code. :lol: You use libraries I do not have installed. And available memory varies with the Adruino board you are using. I have just noticed that in your latest master code you posted, you do not call ps2x.read_gamepad(); If you do not call this it will never work. :P you w...