Mazemaster3000

A finite state machine-powered maze solver that stores a log of steps without any external storage device.

Jul 5, 2019

5759 views

3 respects

Components and supplies

1

Jumper wires (generic)

1

Capacitor 10 µF

1

4xAA battery holder

3

Ultrasonic Sensor - HC-SR04 (Generic)

1

Robotic car kit

1

Pushbutton Switch, Momentary

1

Resistor 10k ohm

1

Slide Switch

1

AA Batteries

1

SparkFun Full-Bridge Motor Driver Breakout - L298N

1

Arduino UNO

Tools and machines

1

Multitool, Screwdriver

1

Tape, Electrical

1

Hot glue gun (generic)

Project description

Code

MazeMaster.ino

c_cpp

MazeMaster.ino

c_cpp

Downloadable files

Part of the schematics

To finish you should take the L298N, remove the jumpers in EnA and EnB and connect 5V to Arduino Vin, GND to Arduino GND, OUT1 & 2 to each of the poles of motor A(right) and OUT3&4 to each of the poles of motor B(left) EnA and EnB should be on Arduino digital pins 10 and 11 respectively. They MUST be on pwm pins and 10 and 11 have the same frequency, so this shouldn't be tinkered with. In1, 2, 3 and 4 should be on Arduino ANALOG PINS 5, 4, 3 and 2 respectively. WARNING:The capacitor connection to ground MUST be disconnected when uploading or it will NOT upload. Connect BEFORE connecting to the computer after the Arduino's BUILTIN LED starts blinking (after 3 lefts).

Part of the schematics

Immagine

Comments

Only logged in users can leave comments