Your shopping cart is empty!
Send Data to Firebase Using Raspberry Pi
- Idris Zainal Abidin
- 09 Dec 2020
- 3257
Introduction
Firebase (Google's platform) is a mobile-backend-as-a-service that provides powerful features for building mobile apps. It has three core services: a realtime database, user authentication and hosting. In this tutorial, we will try to explore how to send data to Firebase using Raspberry Pi.
Video
This video show how to send sensor data to Firebase using Raspberry Pi.
Hardware Preparation
This is the list of items used in the video.
- Raspberry Pi 4 (2GB)
- Raspberry Pi 4 (4GB)
- Raspberry Pi 4 (8GB)
- Phidisk Class10 MicroSD
- Maker pHAT
- MLX90614 Non-Contact Infrared Temperature Sensor
- 15W (5V/3A) USB C Adapter
Sample Program
This is python3 example program to read sensor data from MLX90614 and send it to the Firebase. It involves 3 libraries, you can install it through the following commands.
sudo pip3 install adafruit-blinka sudo pip3 install adafruit-circuitpython-mlx90614 sudo pip3 install pyrebase
Thank You
References:
- GitHub - pyrebase
Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.
"Please be reminded, this tutorial is prepared for you to try and learn.
You are encouraged to improve the code for a better application."