https://github.com/andrequeiroz2/micropython-coffee
https://github.com/andrequeiroz2/micropython-coffee
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/andrequeiroz2/micropython-coffee
- Owner: andrequeiroz2
- Created: 2018-12-13T00:13:07.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-14T21:30:22.000Z (over 6 years ago)
- Last Synced: 2024-04-21T17:43:51.794Z (almost 2 years ago)
- Language: Python
- Size: 27.3 KB
- Stars: 10
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-systools - micropython-coffee
README
# Device Relay
## Technology
Software: [Micropython](https://micropython.org/),
[MQTT](https://www.eclipse.org/paho/),
[Kotlin](https://kotlinlang.org/),
[Firebase](https://firebase.google.com/?hl=pt-BR)
Hardware: [MCU esp8266](https://www.espressif.com/sites/default/files/documentation/ESP8266-DevKitC_getting_started_guide__EN.pdf),
[Relay](https://www.fecegypt.com/uploads/dataSheet/1522335719_relay%20module.pdf)
## Ecosystem

## Install Micropython
[esptool](https://github.com/espressif/esptool):
```
$ python3 -m pip install esptool
```
Download Micropython:
https://micropython.org/download
```
$ esptool.py --port /dev/ttyUSB0 erase_flash
$ esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash --flash_size=detect 0 esp8266-20170108-v1.8.7.bin
```
Copy project archives for MCU esp8266:
```
$ ./put_all_files
```
To remove all the files:
```
$ ./rm_all_files
```