Skip to content

gwensab/The-Goon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

THE-GOON

aka. Temperature Housing Environment - Gwen's Office Output Navigator

Follow Step-By-Step Instructions Here

This project follows my process of creating a self driving robot. The robot is able to collect data from a temperature sensor using Arduino Mega 2650 and upload it to twitter using Raspberry Pi 4. Interface Arduino Mega 2650, Raspberry Pi 4, BTS7960 motor controllers, SR04 ultrasonic sensors, and DHT11 temperature & humidity sensor.

Materials

Item Link
Arduino Mega 2650 Board store.arduino.cc
Raspberry Pi 4 raspberrypi.com
BTS7960 Motor Driver x2 amazon.com
HC-SR04 Ultrasonic Sensor x3 microcenter.com
DHT11 Temperature & Humidity Sensor microcenter.com
Robot Base, Motors, Wheels servocity.com
Breadboard microcenter.com
Jumper Wires microcenter.com
9 Volt Batteries x2 amazon.com
9V Battery Connectors x2 amazon.com
Arduino Battery Pack amazon.com
Raspberry Pi Battery Pack amazon.com
Micro SD Card amazon.com
USB Printer Cable amazon.com

Arduino Wiring

Pin Location
Gnd - channel on breadboard
5V + channel on breadboard
Digital pin 4 Signal pin on DHT11
Digital pin 5 R_PWM pin on right BTS7960
Digital pin 6 L_PWM pin on right BTS7960
Digital pin 7 L_EN pin on right BTS7960
Digital pin 8 R_EN pin on right BTS7960
Digital pin 9 R_PWM pin on left BTS7960
Digital pin 10 L_PWM pin on left BTS7960
Digital pin 11 L_EN pin on left BTS7960
Digital pin 12 R_EN pin on left BTS7960
Digital pin 44 Input and output pin for front SR04 sensor
Digital pin 45 Input and output pin for right SR04 sensor
Digital pin 46 Input and output pin for left SR04 sensor
USB Port Raspberry Pi USB Port via USB printer cable
Power Jack Arduino Battery Pack

Libraries Used

Arduino Python
<BTS7960.h> sqlite3
<NewPing.h> serial
<Adafruit_Sensor.h> datetime
<DHT.h> tweepy