fryslan76 wrote:Good excuse to clear a keg.
Sure is fryslan.
btw I'm also a 76 model.
Some more work been done to Miniray over the weekend.
mainly wiring, coding and panel drilling.
She's working through the umbilical now and I'm very pleased.
I've added a vertical thruster control pot so I can dial in an offset that interacts with the PS2 joystick.
The maths for that was a headache-
Code: Select all
Vpot = (-(128-(PotVal/4))-(128-UpVal))+128;
constrain(Vpot,0,256);
txdata.Vraw=map(txdata.Vraw,256,0,0,179);
//PotVal is the value read from the pot and UpVal is the value read from the stick.
I've scrapped the digital joystick Idea and will add an analog joystick to the panel in case of PS2 controller problems.
The 12v-48v and 48v-12v dc-dc converters are doing the job well and not only reduce the volt drop/current flow in the tether
but the one in the ROV also regulates to 12v so any volt drop or battery flattening is compensated for.
I'm planning a neater motherboard for the sub using ATMEGA328 chip rather than complete Arduino, and moving all the components off the daughter boards onto the main board.
And a final note to the wise... when coding, don't forget the eternal truth... "if(a=b)" will always be true. what I should have done was "if(a==b)". it drove me bonkers trying to find my Foxtrot Uniform.
anyway, here she is in all her glory with her intestines hanging out.
