Robotic platform that doesn't need a computer/programmer/compiler. Just move it how you want it to move and it will copy those moves

Similar projects worth following
This is a simple robot platform that can have new programs loaded without the need to recompile and reload every time you want to change something. Just move it how you want and it'll do the rest. Uses minimal parts for cost savings and simplicity.

So this project is basically a simple way to get into building things without all the need to get complicated. You build your creation, move it how you want it to move. No need for compilers, programmers, wires, or even a computer. When you rotate the motor, the back emf from the motor is feed into the adc on the uController. It then counts for how long it receives that tiny amount of voltage. In playback mode it simply goes back through its memory map and turns the motor on for the duration of its count. If it encounters a switch being pressed in record, it loops in playback until the switch is pressed and it continues on through the array.

Video of switch in action


Latest schematic. This time with all the component values

Adobe Portable Document Format - 261.67 kB - 04/29/2017 at 13:20



Last stable version of the source code. Still needs a lot of work though

C Source File - 5.02 kB - 02/08/2017 at 04:43


  • 1 × Atmega88 Microprocessors, Microcontrollers, DSPs / Microcontrollers (MCUs)
  • 1 × 754110ne Half H-bridge
  • 1 × 7805 5v Voltage regulator
  • 8 × 1n4001 diode
  • 2 × 10uF capacitors

View all 12 components

  • Lego motor casing

    jperez20802/10/2021 at 07:20 0 comments

    Haven't worked on this for a while, but I did make progress on the motors.  At first I just hollowed 2x4 lego bricks and fit a small motor inside.  I invested in a 3d printer and after learning that somewhat, I was able to start making these (Pic below)  Next I am going to work on a casing for the electronics that would also work with legos.  So far, I haven't had much luck with due to warping and shrinkage.  After the part is printed, the fit isn't quite right.  I had better luck with the smaller motor blocks after I adjusted some settings and made a few small modifications to the size of the pegs.  Since this is one of my next projects, Im hoping to have it done soon.

  • New Board made with atmega88

    jperez20804/23/2017 at 06:35 0 comments

    Ok so I got a new board soldered up with the atmega88 and also settled on all the component values. It passed the smoke test so tomorrow I will begin loading the code and making sure it works on the new uC. As long as the everything works out great, I plan on getting a pcb together and sending it out to get some professionally made that are smaller in size. My next immediate step is to turn the slider switch I have now (switch from program to playback) into a tactile switch because using the slider can be clumsy at times. Then I would like to get a second "action" switch going so the end user would have more options for inputs. On the motor side, you could get as many going as you would like as long as you have enough h-bridges and ADC pins. All in all, its coming together better and better. It has been a project for a long while now and it feels good to finally put it completely on the front burner and push for a end that may actually be in sight this time.

View all 2 project logs

  • 1
    Step 1

    2 2x4 lego plates

    1 2x4 lego block

    1 sodial 150 rpm 3v motor

    Motor on the left is the finished brick.

  • 2
    Step 2

    I used a dremel tool to drill hole for the shaft and to hollow out the 2x4 brick

  • 3
    Step 3

    I then super glued one of the 2x4 plates to bottom of the brick. Then I used my dremel tool again to cut more plastic out.

View all 5 instructions

Enjoy this project?



David H Haffner Sr wrote 02/13/2017 at 17:14 point

Very clever :)

  Are you sure? yes | no

jperez208 wrote 02/14/2017 at 03:03 point


  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

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