Listen "Raspberry Pi Cat Laser 2.0 pt. 4 with Tony D!"
Episode Synopsis
Live stream to http://twitch.tv/adafruit showing part 4 in the Raspberry Pi Cat Laser 2.0 series. This part looks at how to build a cloud server with Python, flask, and flask-socketio which allows multiple people to control the cat laser. Instead of each user trying to individually access the Pi they instead access the cloud server (running a virtual machine for now) and it sends control messages to the Pi (using MQTT) and serves up the Pi's video stream. Adding the cloud server allows many more users to control the laser vs. if they tried to access the Pi directly and overloaded it's meager CPU.
Links mentioned in the video:
- Code on github: https://github.com/adafruit/CatLaser2
- Pt. 1 video: https://www.youtube.com/watch?v=FRvKtcemXkM
- Pt. 2 video: https://www.youtube.com/watch?v=Z_TMkX0qy_Y
- Pt. 3 video: https://www.youtube.com/watch?v=gRB0HXrSlZc
- Ubuntu 16.04 LTS vagrant box issue and fix for synced folders: https://bugs.launchpad.net/cloud-images/+bug/1565985
- Flask-socketio: https://flask-socketio.readthedocs.io/en/latest/
- Paho MQTT python library: https://pypi.python.org/pypi/paho-mqtt/1.1
Acknowledgements:
- Music: bartlebeats
- Intro shuttle footage: NASA
- Intro fonts: Typodermic
- Intro inspiration: Mr. Wizards's World
- Matrix background: cool-retro-term & cmatrix
-----------------------------------------
Visit the Adafruit shop online - http://www.adafruit.com
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
Join our weekly Show & Tell on G+ Hangouts On Air: http://adafru.it/showtell
Watch our latest project videos: http://adafru.it/latest
New tutorials on the Adafruit Learning System: http://learn.adafruit.com/
Music by bartlebeats: http://soundcloud.com/bartlebeats
-----------------------------------------
More episodes of the podcast Raspberry Pi
NFC Raspberry Pi Media Player
12/11/2024
Tutorial: Magic AI Storybook with ChatGPT, Raspberry Pi and Voice Recognition with Open AI
31/05/2023
Tutorial: Magic AI Storybook with ChatGPT, Raspberry Pi and Voice Recognition with Open AI
24/05/2023
RGB Matrix Cubes
04/05/2022
RGB Matrix Cubes
03/05/2022
Raspberry Pi 400 CYBERDECK Plate
31/03/2021
Raspberry Pi 400 CYBERDECK Plate
30/03/2021
CYBERDECK BONNET for Pi 400
30/12/2020
CYBERDECK BONNET for Pi 400
29/12/2020
CYBERDECK HAT for Pi 400
29/12/2020
ZARZA We are Zarza, the prestigious firm behind major projects in information technology.