Skip to content

kajackdfw/flaskirover

Repository files navigation

FlaskiRover

A Python Flask based Rover OS for the Raspberry PI

v0.03.01 WORKING

  1. Flask UI
  2. Pi Camera
  3. AdaFruit Motor Shield
  4. UI Optimized for LG G4

TESING OR IN DEVELOPMENT

  1. Build a settings page
  2. Settings page for reversing or tweaking drive system
  3. Loadable hardware configs

TODOS:

  1. RaspiRover Board v3 support
  2. Load A User Created Config file for startup settings
  3. Prompt User for setup and write a default config file
  4. After a move into a wifi dead spot, reverse last move
  5. Test wifi strength with download or normal drive page refresh

FUTURE FEATURES:

  1. Link to Arduino by USB
  2. Get sensor data from Arduino
  3. Head lights
  4. Nexus 7 UI Optimization
  5. Arduino + Adafruit Motor Shield support
  6. Camera Macro Support
  7. Power Levels
  8. 4G connection to cloud, instead of wifi/lan

Raspberry Pi Install Dependencies

  1. Python 3
  2. sudo apt-get install python-dev
  3. Pillow ( with pip3 )
  4. Flask ( with pip3 )
  5. WiringPi ( with pip3 )

Windows

The windows setup is for UI development or demo only, Camera and Motor control on Raspberry Pi only.

  1. Python 3
  2. Flask

Raspberry Pi Hardware Support

  1. AdaFruit Motor Hat ( https://learn.adafruit.com/adafruit-dc-and-stepper-motor-hat-for-raspberry-pi/installing-software )
  2. RaspiRobot v3 ( https://github.com/simonmonk/raspirobotboard3 )
  3. Adafruit Servo Hat ( https://github.com/adafruit/Adafruit_Python_PCA9685 )

** Common I2C Addresses Used **

  1. Adafruit Motor Hat --> 60
  2. Adafruit Servo Hat --> 40
  3. RaspiRobot --> none ( uses GPIO ) ?