Skip to content

A remote access IOT project communicating via bluetooth between an Arduino & Raspberry Pi

License

Notifications You must be signed in to change notification settings

NIAGroup/2020_Arduino_Pi_IOT_Project

Repository files navigation

2020_Arduino_Pi_IOT_Project

This project utilizes a Flask webapp hosted on a Raspberry PI to control a cluster of Arduinos via bluetooth balancing a ping-pong ball on a flat beam. Each Arduino has a Pulse Width Modulation (PWM) stepper motor which is used to adjust the respective connected beams. The user enters values for the starting angle, proportion (kp), integral (ki), and derivative (kd) which are used in a PID control algorithm that dictates the behavior of the motors when attempting to place the ping-pong ball at the center of the beam.

CircleCI

Required Hardware

  • Arduino & Supplies LINK:
    • Arduino Uno [alternate(s): arduino nano]
    • Ultrasonic Sensor [alternate(s): IR Range Finder]
    • Stepper Motor & Driver
    • Jumper Wires (male-to-female & female-to-female)
  • Raspberry Pi:
    • Pi 3 B+ & Power Supply LINK [alternate(s): Pi 4, Pi Zero W]
    • 32GB Micro SD Card LINK (16GB may be enough, but for future scaling up 32GB or greater would be best)
  • Raspberry Pi Camera LINK
  • Ping Pong Ball LINK
  • HC-05 Bluetooth Module LINK
  • The Balance Beam

NOTE:: The balance beam will have to be hand crafted for now. When a tested design has been found/made it can be included in the list.

Prior Knowledge Needed/Googled

  • Basic linux commands (i.e. cd, ls, mkdir, etc)
  • Basic C/C++ understanding for arduino
  • Basic circuit wiring understanding
  • Intermediate Python
  • Basic HTML

Expected Gained Knowledge

  • PWM - Pulse Width Modulation for Stepper Motor Control EXPLAINED
  • Bluetooth communication ARDUINO & HC-05 Raspberry PI
  • Web Server Website/WebApp setup using apache2 TUTORIAL
  • Front-End & Back-End Development
  • PID - Proportional-Integral-Derivative Controller EXPLAINED

About

A remote access IOT project communicating via bluetooth between an Arduino & Raspberry Pi

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published