Model Boat Mayhem

Mess Deck: General Section => Beginners start here...! => Topic started by: supaboat on December 03, 2018, 06:49:47 pm

Title: How are these lights switched on?
Post 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.
Title: Re: How are these lights switched on?
Post by: Umi_Ryuzuki on December 03, 2018, 07:00:26 pm
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)
.
.
Title: Re: How are these lights switched on?
Post by: Big Ada on December 04, 2018, 05:50:48 pm
Thanks for the answers,
That is my Tug and it baffles me.

Len.
Title: Re: How are these lights switched on?
Post by: McGherkin on December 04, 2018, 10:36:11 pm
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)
Title: Re: How are these lights switched on?
Post by: Martin (Admin) on December 04, 2018, 11:03:44 pm
 
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.
Title: Re: How are these lights switched on?
Post by: Brian60 on December 09, 2018, 05:50:20 pm
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.
Title: Re: How are these lights switched on?
Post by: timgarrod on December 09, 2018, 08:51:06 pm
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 ?
Title: Re: How are these lights switched on?
Post by: supaboat on December 09, 2018, 11:28:53 pm
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