Skip to content

mboy1011/FireArdPy

Repository files navigation

FireArdPy

FireArdPy is an Arduino Based Project to connect from Firebase using Python3.

Prerequisite:

  • Basic knowledge to Programming (Python).
  • Basic knowledge of NoSQL databases since Firebase is a NoSQL.
  • Basic knowledge of Electronics.

Requirements:

Python3 Arduino Uno R3 Kit Firebase Account

Installation:

  1. Connect your Arduino Uno R3 to your computer.
  2. Upload a Standard Firmata on your Arduino using Arduino IDE.
  3. Install requirements for Python3:
    pip install -r requirements.txt
    pip3 install -r requirements.txt
  4. Go to console.firebase.google.com and fill out the configuration needed by the Pyrebase.
  5. Copy this rule to your Firebase Database Rules and Publish:
    {
    	"rules": {
    		".read": "auth != null",
    		".write": "auth != null"
    	}
    }
  6. Follow the Circuit Diagram: Diagram
  7. Run command:
    Windows
    python fireArd.py
    Linux
    python3 fireArd.py
  8. Enter this Sample Account:
    Email: [email protected]
    Password: user1234

Compatibility License