conceptroot / madmax-robot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Modules:

  1. Motors (chassis)
  2. Sounds
  3. Led Pixels (headlights)
  4. Stepper motor (crusher lifting gear)
  5. Infrared Obstacle Avoidance Sensor
  6. Ultrasonic distance meter
  7. LCD 16x2 LCD screen.

1. Motors

Library: gpiozero

Hardware: l298n - driver.

2. Sounds

Library: pydub

https://realpython.com/playing-and-recording-sound-python/

3. Led Pixels

Libraries: rpi_ws281x, adafruit-circuitpython-neopixel

Hardware WS2812B led strip

TODO

  1. Right now to run Pixels you should run the script with sudo preveiges. Fix this issue

4. Stepper motor (crusher lifting gear)

Libraries: RPi.GPIO

Hardware: motor 28BYJ-48-12V + A3967 EasyDriver

TODO

  1. find library

5. Infrared Obstacle Avoidance Sensor

Libraries: RPi.GPIO

Hardware: IR Obstacle Avoidance Sensor. LM393

TODO

  1. Add information about voltage divider. (voltage divider is necessary, beacouse IR sensor don't enough 3.3 volts or use logic shifter)

6. Ultrasonic distance meter

Libraries gpiozero

Hardware: Ultrasonic distance meter 2 rezistors for voltage divider(for example 1000 and 2000 om). (used to make 3.3 volts from echo pin of ultrasonic distance meter)

TODO

  1. _set_speed should control speed of robot.

7. LCD 16x2 LCD screen.

Libraries rpi-lcd

Hardware: LCD 128x2 LCD screen

About


Languages

Language:Python 97.8%Language:Shell 2.2%