Let's Make Robots!

Gear pager motor not enough power

Vansu's picture

Okay I am trying to hook up the gear pager motor to test it so I write the code as below:


main:

high portc 3

wait 1


low portc 3

wait 1

goto main


I used the lead to test it and it seem to work the lead turn on and off every second but when I try with the gear pager motor its does not have enough power to move the motor. well the motor move but very slow so its not able to make a sound when it hit something.gear.jpg

 

 Is the location above the correct location?

 

 

 

 

 


 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Myc Holmes's picture

A ULN2803 will only drive the motor in one direction. Is this what you want?

For forward and reverse you need an H bridge, like the L293.  There is a socket on the board specifically for it, but you have to buy it separately.

The "A" abd "B" holes on the AXE020 connect to the output of the L293. 

 

 

Vansu's picture

I inserted the darlington chip in and I just connect the motor as the picture:

for the code I just wrote low port & high portc& wait..etc chip.jpg

 

robologist's picture

I'm not sure if there is a reason you keep using the pins near the bottom left of your board, but those have nothing to do with the Darlington driver. The motor may be working now, but the pins you are using connect directly to the PIC microprocessor on your PICAxe board, and you risk burning it out with the motor use. Those port C pins are used as inputs in PICAxe docs, but can be used as outputs as you've found, and have very limited drive. The darlington driver connections are up near the darlington chip, as shown in the picture below. It would be much less risk of your chip if you use one of the connections 0 to 3 designated below for one motor wire, with the other motor wire on the next row.

darlington-conn.jpg

Vansu's picture
For some reason when I connected as you show its not working for me. But I will take your advice and try it again. I don't want to create a fire hehe.
robologist's picture
You would have to change the program too. Where you were changing Port C, I believe for the Darlington outputs are all Port B. Programming appears to be      high 0      or     high 1    or whatever pin you've chosen, from what I've seen of others PICAxe examples. No addressing of the port appears to be needed, if setting the outputs of the darlington driver.
Vansu's picture
I got it working! yeah! Thanks you guys. now I have to play around with the code.
Ant's picture
What did you have to do to get it to work?
robologist's picture
Glad to hear it, hope you have more fun with it!
Vansu's picture
I was playing around with the code to get the right beat and I lovin it.
Vansu's picture
oh I have this, its came with the picaxe kit. Thank you , I think I got it now. I will try this when I am home. BACK TO WORK!