Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

focus the project on the library #15

Merged
merged 1 commit into from
Dec 16, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
22 changes: 6 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,16 @@ This sample show how to call firebase from an arduino sketch.

## Requirements

- 1 esp8266
- 1 attiny85
- 1 push button
- 1 Arduino compatible esp8266 board.
- Arduino 1.6.x

## Setup

- Update `ssid` and `host` variable in `firebase.ino`.
- Flash `firebase.ino` on the esp8266.
- Flash `button.ino` on the attiny85.
- Connect attiny softserial(0,1) on esp8266 rx/tx.

## Provision
- Generate a firebase token.
- Send the following command over serial port on the esp8266:
```
TOKEN <firebase-token>
```
- Clone the repo in your Arduino libraries directory.
- open the `FirebasePush_ESP8266` example.
- Update `WIFI_SSID` `WIFI_PASSWORD` `FIREBASE_HOST` `FIREBASE_TOKEN` constant.

## Run
- Open firebase dashboard on `/hits.json`.
- Press the button.
- Open firebase dashboard on `/logs.json`.
- Power up the arduino board.
- Notice the new entry.
39 changes: 0 additions & 39 deletions button_attiny/button_attiny.ino

This file was deleted.

33 changes: 0 additions & 33 deletions design/tiny/README.md

This file was deleted.

3,250 changes: 0 additions & 3,250 deletions design/tiny/tiny.fz

This file was deleted.

Binary file removed design/tiny/tiny.png
Binary file not shown.
2,716 changes: 0 additions & 2,716 deletions design/tiny/tiny.svg

This file was deleted.

165 changes: 0 additions & 165 deletions firebase/firebase.ino

This file was deleted.