Rundbunt Mini WIFI: Unterschied zwischen den Versionen
(→ESP8266 or ESP-01) |
(→Curcuit to run the system) |
||
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 20: | Zeile 20: | ||
Since 2015 exists an integration of the ESP-toolchain for the arduino ide called the [https://github.com/esp8266/Arduino "ESP8266 Arduino Core"] on github. The installation is well documented. | Since 2015 exists an integration of the ESP-toolchain for the arduino ide called the [https://github.com/esp8266/Arduino "ESP8266 Arduino Core"] on github. The installation is well documented. | ||
# You basically have to install the ESP8266 board with the Board Manager. | # You basically have to install the ESP8266 board with the Board Manager. | ||
− | # And install the tool ESP8266FS. The installation instructions can be found in the 'ESP8266 Arduino Core' Documentation in the chapter 'Filesystem' sub chapter 'Updating files to the filesystem'. | + | # And install the tool ESP8266FS for upload files to the flash chip. The installation instructions can be found in the 'ESP8266 Arduino Core' Documentation in the chapter 'Filesystem' sub chapter 'Updating files to the filesystem'. |
== Software == | == Software == | ||
The software for the Rundbunt is on [https://github.com/strangeoptics/RundbuntMiniWifi github]. | The software for the Rundbunt is on [https://github.com/strangeoptics/RundbuntMiniWifi github]. | ||
+ | |||
+ | == Curcuit to run the system == | ||
+ | |||
+ | === Parts === | ||
+ | {| | ||
+ | ! style="text-align:left;"| Item | ||
+ | ! Amount | ||
+ | ! Cost | ||
+ | |- | ||
+ | |LM1117..-3.3 | ||
+ | |1 | ||
+ | |0.9€ | ||
+ | |- | ||
+ | |10μ | ||
+ | |2 | ||
+ | |0.1€ | ||
+ | |- | ||
+ | |BSS138 | ||
+ | |1 | ||
+ | |0.1€ | ||
+ | |- | ||
+ | !Total | ||
+ | | | ||
+ | |1.20 | ||
+ | |} |
Aktuelle Version vom 1. Januar 2016, 21:30 Uhr
Inhaltsverzeichnis
ESP8266 or ESP-01
There are a lot of different modules ESP-NN. In this tutorial we will use the ESP-01 which is by far the cheapest (1,5€). It only exposes two io pins but we only need 1 or 2 depending if we want to have an additional sleep timer for shutting down the lamp. The flash chip has 512k from which 64k can be used as a file system for all the files we want to serve as the web ui. The ESP-12 for example has 4MB flash.
FTDI to ESP-01
There are several ways to connect the FTDI with the ESP.
The most basic is the following.
Apart from the obvious GND, VCC, TX and RX the only extra pin that is used is the GPIO0. It is pulled down to GND to enable firmware upload. The drawback is that you can't start and debug the program. It is just an uploader!
The more advanced way will follow in the next few weeks ...
IDE
Since 2015 exists an integration of the ESP-toolchain for the arduino ide called the "ESP8266 Arduino Core" on github. The installation is well documented.
- You basically have to install the ESP8266 board with the Board Manager.
- And install the tool ESP8266FS for upload files to the flash chip. The installation instructions can be found in the 'ESP8266 Arduino Core' Documentation in the chapter 'Filesystem' sub chapter 'Updating files to the filesystem'.
Software
The software for the Rundbunt is on github.
Curcuit to run the system
Parts
Item | Amount | Cost |
---|---|---|
LM1117..-3.3 | 1 | 0.9€ |
10μ | 2 | 0.1€ |
BSS138 | 1 | 0.1€ |
Total | 1.20 |