Asked — Edited

Dip Switch Setting Selector Circuit- Toggles Between Two Dip Switches

Hello all. I have been very busy lately but I finally got a few weekends to work on the robot.

I have poured over the forum and web trying to find a way to smoothly change from EZ-B control to R/C control and back again. From what I have read, it seemed others were having this issue as well. I have looked at all the tutorials and contacted Dimension Engineering, tried every possible combination of dip switch setting and EZ-B control but could only get it to work in one or the other but, not both...until now.

I decided what I needed was a way to electronically select between two dip switch settings. A sort of dip switch configurator (for lack of a better term). So I searched until... I think I found the end of the internet.

Maybe I missed something but there did not seem to be one available...so I did what any good robot nerd would do...I built my own.

I used tiny HE751A0510 reed relays with normally open, SPST (ie. single contact). The ones I had on hand happened to have 5V coils with a suppression diode. For now, I constructed it on a perforated circuit board. Eventually I will try to miniaturize it further and etch my own board. There are two separate circuits. Each circuit has six relays and one six position dip switch. Each relay contact represents one dip switch position "on the Sabertooth". Each relay has its own L.E.D. to indicate when it is activated. The dip switch on the circuit board is used to energize a relay or can be left off if need be.

Now the tricky part. I had to de-solder the surface mount dip switch that is on the Sabertooth. I had quite a time to get it to come loose. I used solder wick to soak up the solder off of each tiny pad and finally it popped loose. None of the dip switch legs go through the board. I placed a small bit of fresh solder on each pad. I then took an IC chip socket and cut it down so it only had six pins on each side. I bent each leg so that it was shaped like a tiny foot. I pre-tinned each leg with solder. (This makes soldering easier and quicker). I placed the socket on the Sabertooth pads and proceeded to solder each leg in place. I used another IC socket and some ribbon cable to make a jumper from the board to the new Sabertooth socket. I needed a way to remotely switch between the two circuits so I purchased a Battle Switch from the Robot Market Place web site. It is an R/C controlled SPDT relay. You just hook it to one of your (on/off) R/C receiver channels. I chose the AUX channel that is normally used for R/C airplane flaps. The AUX channel is toggled on/off via a switch located on my Spektrum DX6 transmitter. I installed a three position terminal block on my dip switch configurator board. I hooked 5V to the common terminal on the Battle Switch relay and ran wires from its two contacts to the dip switch configurator board three position terminal block and hooked the two 5V wires to the outer terminals and GND (common) to the middle terminal. Each of the circuits share the GND connection.

Also I have installed a R/C Mux circuit from RobotShop.com. It has two 8 channel inputs and one 8 channel output that allows me to hook all of the R/C receiver channels to its "B" input terminals and the Digital out from the EZ-B that I am using for the Simplified serial to the Sabertooth and the Digital out(s) I am using for the Head pan and tilt servos to its "A" input channels. The 8th channel of the "A" input is used (defaulted by the manufacturer) to select which inputs go to the output. If no signal is detected on this channel all of the "A" inputs got to the outputs. The AUX channel from the R/C receiver that goes to the Battle Switch relay is also hooked to this channel 8 via a Y- cable.

So now with the flick of a single switch on the Spektrum DX6 it will smoothly set the Sabertooth dip switch setting to whichever I need for control; EZ-B control or Spektrum R/C control. BTW the Spektrum DX6 has an approximate range of 3000 ft. It does not have to be this model. You could use most any R/C transmitter as long as it has at least one on/off channel and a few other normal servo channels to drive and steer with.

I know all of this sounds complex when describing it but, it will make sense when you see the schematic and photos (and hopefully a video). I will post all of this tomorrow. For now it is bed time. Good night my robot friends. sleep


ARC Pro

Upgrade to ARC Pro

With Synthiam ARC Pro, you're not just programming a robot; you're shaping the future of automation, one innovative idea at a time.

#1  

Sorry for the double post. Something is going on with my posts. I could not see the pictures on the original post for some reason.

Original Post synthiam.com/Community/Questions/2876

Update after posting this under a new heading and placing a link to my original post, the original post now shows the pictures.... confused