Model Boat Mayhem
Mess Deck: General Section => Beginners start here...! => Topic started by: supaboat on December 03, 2018, 06:49:47 pm
-
https://www.youtube.com/watch?v=0X43IZ0gXw8 (https://www.youtube.com/watch?v=0X43IZ0gXw8)
If you watch the above link you will see how there are 11 different sets of lights turned on for this model boat. How do you do this without running out of channels? Thanks.
Sorry guys, read a bit further and the answer is provided.
-
The modeler is using an Arduino programmed to connect with his receiver and
read the PWM signals and react to control inputs from his transmitter on a specific channel.
.
:-)
Similar premade units are available via Hobby King and others, I am sure, for up to nine low voltage switches.
Click on off One, click on off two etc, It cycles numerically on then off through each circuit.
https://hobbyking.com/en_us/multi-remote-receiver-operated-on-off-switch.html (https://hobbyking.com/en_us/multi-remote-receiver-operated-on-off-switch.html)
.
.
-
Thanks for the answers,
That is my Tug and it baffles me.
Len.
-
You could also try a more 'ready made' version called a Beier USM-RC-2. Great bits of kit with a sound generator and everyfink.
https://www.beier-electronic.de/modellbau/produkte/usm-rc-2/usm-rc-2.php?sprache=gb (admin)
-
Don't know if that's what the HobbyKing product does but as the video comments say, it's Arduino Nano sequencer system,
( a tiny magic DIY programmed computer board! )
First click turns on one relay in the boat, each subsequent click click turn on an additional relay, until the end where it turns them all off again.
OK system but limits which light you can have on at one time, i.e. you can't turn on the mast flood light without turning on all the other lights first.
It can be done but usually requires a separate switch for each set of light you want to turn on.
-
Yep it's Arduino and I have the code for it, albeit rather a rambling code! It could have been condensed a lot by using arrays to store the information. I can't say where it came from its lost in the midst of internet searches - I just followed links from that video a year or so back and came across it.
-
Found this code and works well. Just don't like the idea of having to go though the whole seq to turn it off.
how many switchs are you looking for ?
-
Thanks guys. I've got a PIC programmer so I think I'm going to program my own sequence slightly differently. Perhaps switch lights on in sequence with only 1 switch and then off with the same switch. Once I've got it right I will let you guys know. If not then I can refer back to all the suggestions in this post. Thanks a lot.....Take care