Switch branches/tags
Nothing to show
Clone or download
Fredrik Gustafsson
Fredrik Gustafsson Update README.md
Latest commit 964ba2b Aug 14, 2016
Permalink
Failed to load latest commit information.
Arduino/arduino Update arduino.ino Aug 14, 2016
Raspberry_Pi/FlaskApp Update index.html Aug 14, 2016
README.md Update README.md Aug 14, 2016

README.md

Sommarprojekt16 (Summer project 16)

Personal summer project.

Video: https://youtu.be/povGte7K8o4

Things/links that I have used or found useful (in no particular order):

Flask (back-end python): http://flask.pocoo.org/

Flask-SocketIO (back-end <--> front-end): https://flask-socketio.readthedocs.io/en/latest/ http://blog.miguelgrinberg.com/post/easy-websockets-with-flask-and-gevent

SocketIO (front-end <--> back-end): http://socket.io/docs/

eventlet (webserver for Flask-SocketIO): http://eventlet.net/

Numpy: http://docs.scipy.org/doc/

pySerial: http://pyserial.readthedocs.io/en/latest/pyserial_api.html

picamera (the RPI camera in python): http://picamera.readthedocs.io/en/release-1.12/

OpenCV: http://opencv.org/

Bootstrap (front-end prettifier): http://getbootstrap.com/

Keen dashboards: https://keen.github.io/dashboards/layouts/

CanvasJs (live updating graphs): http://canvasjs.com/editor/?id=http://canvasjs.com/example/gallery/dynamic/realtime_line/

How to setup the RPI as a WiFi hotspot: https://frillip.com/using-your-raspberry-pi-3-as-a-wifi-access-point-with-hostapd/

Accessing the RPI camera with OpenCV and python: http://www.pyimagesearch.com/2015/03/30/accessing-the-raspberry-pi-camera-with-opencv-and-python/

Basic serial communication RPI <--> Arduino: https://oscarliang.com/connect-raspberry-pi-and-arduino-usb-cable/

Video streaming with Flask: http://blog.miguelgrinberg.com/post/video-streaming-with-flask

Great explanation of generators and "yield" in python (needed to understand the video streaming): https://jeffknupp.com/blog/2013/04/07/improve-your-python-yield-and-generators-explained/

Some background info for the video streaming: https://en.wikipedia.org/wiki/MIME http://www.howtocreate.co.uk/php/serverpushdemo.php