Before getting started with the console, you'll need to create a GCP project and enable billing, and create a Firebase project and link it to your GCP project.
-
Create (or select an existing) GCP project
-
Enable billing for the project
-
Make note of your project ID
Your project ID is not necessarily the same as your project name. It is typically your project name in all lowercase, with dashes instead of spaces. So a project named "Demo Project" might become "demo-project."
-
Launch the Firebase Console
-
Select Add project
-
In the Project Name field, select the GCP project you created or selected above
-
Click 'Add Firebase'
In the Cloud Console, run:
sh setup.shYou can find this by scanning the QR code on your device.
The setup script will:
- Enable Cloud Functions, IoT, and Pub Sub
- Create an IoT Core registry called AVR-IOT and register your device
- Install, build, and deploy Cloud Functions and the UI
After everything is deployed it's time to add your AVR-IoT device's public key to its entry in your IoT Core registry.
Your AVR-IoT device has built-in hardware security. This means you'll need to add its public key to its entry in the IoT Core registry before you'll be able to decode the information coming from the device.
-
Make sure your device is connected to your computer via USB
-
Open your IoT Core registry management page, and select the AVR-IOT registry.
-
Click on your device's ID in the list
Because registry entries must beging with a letter your device ID will be prefixed with a 'd'. To search for you device by id, you must enter 'd<your_device_id>' in the search box.
- Click the Add public key button
- Select 'Upload' under the input method, and ES256 (not ES256_X509) as the public key format. Then click the Browse button.
- In the upload window, navigate to the CURIOSITY drive, then select PUBKEY.TXT and upload it.
And that's it! Check out your new Firebase app to view the live data coming from your device.


