I have started building the Starter project on this site under Start Here section and while I have managed to do most of it I am stuck on two parts and was hoping for some help.
I have managed to get to the part where I program the servo to turn and do Servo Fun part of the build without a problem.
Motor Problem
The when testing the motor to see if they work is the first issue. I program the instruction for
high 4
low 5
The wheel does not turn but I can feel ever so slightly the motor vibrate. I then try the other motor on outs 6 and 7 and the same thing happens.
I am wondering if I have perhaps purchased the wrong motors for this project.
I am also wondering if the soldering job I did was ok, i did find it tricky but I didn't think I did anything wrong on that.
http://www.picaxestore.com/index.php/en_gb/gbx018.html which is a 120:1 Inline Gearbox / Motor
Quick update… I connected the motors to the battery pack direct and they turned perfectly. So the motors work but I have no idea why when it is connected to the board that they don’t seem to have enough power to turn.
JINX you were correct. The pause code. Which I didn’t spot in the original page. Wheel turns ok now.
I will now switch my attention on how to use Ultrasonic sensors rather than IR as the IR sensoers were expensive in the UK. If anyone has any tips on the code for HC-SR04 ultrasonic sensor in this setup where we switch out the darlington I would really appreciate it.
For completeness here are the photos and more details of my little project…
Just to say the Servo works well and now the motor
Here is the robot as a work in progress. The elastic bands and cardboard are of course temporary as I build and learn
The underside:
Note that I am only connecting one motor for the moment but will now plug the other now that I know how to get it to work.
BDK6 I hope this answers your question on power pack, 3x AA standard batteries.
The Board up close. Apologies not the clearest but I hope you can see I have the Blue and Green wires from the motor connected to the pins I soldered onto A slots. and the servo also connected.
Supplying only 4.5v when new will lead to all manner of issues. Your ultra sonic sensor may not even function properly at that voltage. My understanding is the inexpensive Chinese versions require 5v +/- very little (.0?)
You may get some code clues from a robot that JAX has made, or, one that Chuckcrunch made. One is hexaspider and the other is China syndrome.
hi. sorry I only just hi. sorry I only just noticed that I had replies on this thread. I don’t get the email notifications for some reason but burdmun had told me on another thread that I had replies here.
Thx very much for the tip guys.