It's been a while since I've done a Picaxe project. This one is small robot toy driven by a single N20 gear motor. It is controlled by a universal remote. When the motor is run in the forward direction it drives a gear train that turns the selected wheels. When the motor is driven in the reverse direction it drives a cam assembly that selects which wheels are driven. The program also supports PWM for speed control when the bot is driving. The remotes up , left , right and OK button choose direction and stop functions. The 0 through 9 keys select the speed. The electronics are a Picaxe 08M2 ,L9110s motor driver, ir receiver, lipo battery , and micro roller switch. The original design used an Attiny85 but it looked like a good project for a Picaxe 08M2 so I made a version for each. The Picaxe version of the code was just a translation of the Attiny program.
I designed the boards in EasyEda and ordered them from JCLPCB. The Github wiki page has links to the code and gerbers. You can also open the project up in EasyEda and generate the gerbers from EasyEda , or you can modify the schematic and board for your own design.
I've include 3 files:
IR_motor_3_func.bas is the program for the robot
IR_motor_for_rev.bas is for testing the board and drives the motor with adjustable speed
ir_test.bas receives the ir commands and sends them to the terminal in case your having trouble getting the ir remote set up
links:
Github Wiki for Picaxe version:
Home
Picaxe program and gerbers for single motor ir control board - Rick-100/Single-motor-3-function-toy-robot-Picxae-08M2-version

EasyEda link for Picaxe version:
ir_picaxe - EasyEDA open source hardware lab
In EasyEDA open source hardware lab, open source square pools all kinds of electrical design engineerings together to realize resource sharing easily.
easyeda.com
PrusaPrinters link for STL files:
Printables

Thingiverse link for 3D print files:

Single motor steerable IR controlled robot toy by Rick100
This 3d printed project is a remote controlled toy robot that is driven by a single motor. It can move forward and steer left or right. The motor is an N20 gear motor. The battery is a 200 mah Eachine drone battery I got from Banggood. The remote control is a universal infrared remote unit set...

Attachments
-
3.9 KB Views: 3
-
2.3 KB Views: 2
-
171 bytes Views: 3
Last edited: