Welcome to Synthiam!

Program robots using technologies created from industry experts. EZ-Builder is our free-to-use robot programming software that makes features like vision recognition, navigation and artificial intelligence easy.
Get Started

Asked — Edited
Resolved Resolved by Rich!

Tip102 Switch Trouble, Electronic Question

We've discussed the very handy TIP102 electronic switch circuit that is controlled by a digital port on EZB hare many times. I have built a few and am currently useing them in my B9 Robot.

I'm having odd issues with one of them. It's the one that turns the power on and off to my main high power Seiko servo that moves my B9's 5 pound or more bubble up and down.

Here's how I have it set up: I have the homemade switch connected to one of EZB's digital ports and set to turn on in EZB's INT Script. It then supplies 12vdc power to the servo "AFTER" the INT Script sends the first servo postion and Serov Speed. If I dont turn on the power after I send the first command the servo will jump (it's documented at the Servo's web site to do it this way also). I have the switch stay in the "On" postion till the robot is powered off.

Here's the problem: After sending commands over a period of time the switch will turn it's self off. The Digital Control I have installid in EZ Builder will appear to be in the active postion but the actual switch is off. I assume something is happening to the switch to cause it to open the circuit and stop the electrical connection. I've noticed it has happened at no certian events and seems ramdon. The only thing that seems constant is that I notice the servo is not working after several servo postion commands are sent somewhat quickly, one after the other and from different scripts.

I did notice one other thing; Once in a while I'll see the servo Power Switch's Digital Control in EZ Builder will be in the "Off" postion for no reasioin and this also shuts down the servo. I dont know if the two are related. I still have to search through all my servo Movment scripts to see if I have a command to turn it off but I dont think I do.

Any thoughts on what may be happening? Any input as always is welcomed!;)

#6  
Thanks so much @Rich for the offer to look over my scripts. This means a lot to me. However I think this issue is resolved. Sense I took out that stray digital port command and let it sleep over night I've had no more problems. Not really sure what the exact problem was but it seems like all's well now.

Good thing too. At this point most of my scripts are primitive and still need development. I would have been embarrassed to show them. Heck, most of them are still stand alone and not even in the Script Manager yet. I'm useing multiple scripts for different movements of the same motor. I'll enentually have one movement script for each motor and just send variables for speeds and positions for most movement (hopefully).

Thanks again to all that helped!
United Kingdom
#7  
Dave, a lot of my scripts are primitive too, in fact Melvin's project is in great need of rewriting since I've learned a lot since I first started it.

Glad it seems like it's solved now though. If it does happen again the offer is always there to check over the project for rogue Set() commands.
#8  
I'd like to know how you do that. I understand this may be just enough information for some people to cause real problems with their EZ Builder if they try it. Is there any way you would be willing to show me though knowing I may be going where angels fear to tread? If it's too time consuming and complacated then dont worry. Your time is more valuable then this.
United Kingdom
#9  
What's your email Dave? I'll send you some quick instructions.
#10  
Cool. dschulpius at wi dot rr dot Com

Thanks for sharing your super powers. :)
United Kingdom
#11  
With great power comes great responsibility:)

Just emailed you:)