Author Topic: Balancing robot: SPDT metal lever switch help  (Read 1957 times)

0 Members and 1 Guest are viewing this topic.

Offline alzaabiTopic starter

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
Balancing robot: SPDT metal lever switch help
« on: July 22, 2012, 04:41:39 PM »
Hey, this is my first project and I need a bit of help. I'm making a self balancing robot akin to this:
http://www.instructables.com/id/Balancing-Robot/?ALLSTEPS
I'm aware that it's very rudimentary and simple but that's kind of the point.

My problem is when the metal spdt switch is pushed the motor stops instead of changing direction.
Any insight would be greatly appreciated. It might be worth mentioning that the gearbox and motor were basically stripped from a toy car and all I did was connect the two wires protruding from the encasement to my circuit. There are pictures below that might clarify further.

This is a link to  diagram of the wiring: http://cdn.instructables.com/F83/L9H2/FJMBXRBN/F83L9H2FJMBXRBN.LARGE.jpg
« Last Edit: July 22, 2012, 04:56:56 PM by alzaabi »

Offline mstacho

  • Supreme Robot
  • *****
  • Posts: 376
  • Helpful? 10
Re: Balancing robot: SPDT metal lever switch help
« Reply #1 on: July 23, 2012, 07:25:39 AM »
Might be good to make sure your motor CAN reverse like that.   Take its wires and put them across the battery.  It should move in one direction.  Reverse the wires.  Does it reverse?

Then check to make sure your switch is doing what you think it's doing.  Might be that the middle or end position is OPEN, not "DIRECTION 2".

MIKE
Current project: tactile sensing systems for multifingered robot hands