Close
0%
0%

RoboCar Zero

Underdeveloped robot car with stepper motors and a Raspberry Pi Zero

Similar projects worth following
I would like to think big, but first I need to learn a lot. So I begin to work on my first robot car. As I am an unexperienced maker without strong knowledge about electronics, I will make a lot of mistakes. But step by step I will arrive to a RoboCar Zero that will eligible to participate at RoboCup. Now it is time to open my drawer, switch on my soldering iron. Let the show begin.

This project was ended in 2016. I built a robotic hand-puppet instead: https://hackaday.io/project/14817

You can follow the slow evolution of my RoboCar reading my logs. It is a long process but I try to write down my faults, difficulties, and experiences so as to help you to learn more.

View all 10 components

  • New steering system

    borazslo05/18/2016 at 00:35 0 comments

    As I mentioned regarding the RoboCar Zero v2, the stepper motor for steering was not strong enough. So I began to use my second stepper motor for steering. Now each motor turns one of the front wheels. It is not only better but also looks better.

    But there is a strong drawback of this steering system: the two wheels are not turning together. Stepper motors are precise, but when the tractions of the wheels are not exactly the same, the wheels can turn differently. So let's go back to the drawing table.

  • RoboCar Zero v2

    borazslo05/17/2016 at 06:21 0 comments

    After the success of my first robot car, I wanted to make a better one. I changed one of the stepper motors to a small DC motor, and I needed a new body as well.

    First I bought some micro DC motors, andI suffered a lot to make them move my robocar. So now I understand physics much better, and my car is moving as well.

    I had no H-bridge yet, so I could not change the direction of the motor. I tried to built my first h-bridge, but I had to recognize that an n channel MOSFET was different from a p channel MOSFET. And H-bridge needed both but I did not have but one type only. So I choose an easier way. I put two DC motors into my car, so one could move forward and the other backward. The motors were driven by a simple switch with MOSFETs. (A motor needs much more current than a Raspberry Pi GPIO can provide.) I made a very small circuit with the MOSFETs and flyback diodes. I should add LEDs for debugging reasons.

    After a day of work, my RoboCar Zero v2 was ready to move. I switched on, logged in with ssh, and sent the first command to the new car: move. And my car moved. :D

    The RoboCar Zero v2 is not perfect at all. It has its strong limitations again:

    • The stepper motor in the front is not strong enough to turn the wheels if there is not enough weight at the very end of the car. (But if I put too much weight there, the car cannot move.)
    • DC motor needs a lot of power and the 4 AA batteries in series sometimes cannot provide enough power to the motors AND the the RPi Zero, so my Pi resets. I thinking of two different power circles for the future.
    • I did not share the Python code yet, as it is underdeveloped yet. But next time I will.

  • DC motor and my mistakes

    borazslo05/17/2016 at 05:58 0 comments

    The stepper motor of the RoboCar Zero v1 worked well, but my car was fast as a snail. So I bough my first cheap DC motors. DC motors are easy to use - I thought. But...

    1) These micro DC motors are very fast (13500 round per minute [rpm]), but they are very week. So I had to forgot to put wheels on the dual axel shaft. The strength (torque) is so low, that the motors stopped immediately.

    2) When a motor cannot move (stall) it consumes much more power (current). So it drains the battery pretty fast. Oh, and it becomes veeery hot.

    3) Hot glue is a useful material for temporary works. But it is not good for DC motors, because DC motors tend to overheat and that heat melts the glue. And even worth, the melted hot glue can flow into the inner parts of your small DC motor so it will never work again. Never. Even if you open up and clean all parts.

    4) Gears are important to make your robot move. Multiple gears (from smaller to big ones) do not improve the torque of the motor itself, but they reduce drastically the unnecessary speed (rpm) and they multiply the wheel's strength (we need that so much). With gears, the wheel turns one when the motor turns more than hundred times. So you have the torque of hundred rounds of the motor in a movement of short inches ..

    So you can choose: you struggle with micro motors and different gears, or you can buy cheap DC motors with built in reduces gears. I suggest to struggle with your own inexperience: it takes more time, but you learn much more. And the working gears are so beautiful and they make a nice sound as well.

    • My Very First RoboCar

      borazslo05/16/2016 at 04:26 0 comments

      I have big plan with DIY robotics, but no experience. So I thought to begin with something simple and form there I can go bigger and bigger. So I checked my drawers and I built my very first robotic car.

      After some hours my very first robocar waked. I call it RoboCar Zero (v1).

      The 9V battery feeds the two stepper-motor drivers. The headless RPiZero is fed through a simple 5V voltage regulator + capacitors. I use 8 GPIO to control the stepper motors through a Python script. The body is a piece of wood and I used a lot of hot glue.

      Because of the stepper motors it was very accurate, but also it was slow, weak, and it drained the buttery fast. So it had its limitation, but for my first robocar I was proud of it.

      If you need more details write a comment and I'm ready to help.

    View all 4 project logs

    Enjoy this project?

    Share

    Discussions

    Similar Projects

    Does this project spark your interest?

    Become a member to follow this project and never miss any updates