500x -> datenspuren.de
500x -> datenspuren.de
Friends of mine and myself met and discussed an advanced robot design. Here some impressions:
The Arduino (or in some cases also Genuino) is a physical hard and software development plattform. During the recent years its developing environment grow to a useful and library rich developing platform. Because of that the esp8266 team created an conversion tool to its internal programming language lua.
Setting up the Arduino IDE for esp8266 programming is really easy. Just follow this small guide.
Go to the most recent version download page of the Arduino IDE. Please keep in mind that you’ll need at least version 1.6.x. In some cases it is not available at the packet repositories of your beloved Debian Distribution.
chmod +x -/arduino.sh
After that double click the application…
Et voila, your IDE should look somehow like this:
We need to add an additional url to the boards manager sources list. For that open File > Preferences
And add http://arduino.esp8266.com/stable/package_esp8266com_index.json to the Additional Boards Manager URLs.
install the latest version:
After that you should be able to select the Generic ESP Module board in Tools > Board
This step is easy. Open File > Examples > ESP8266Wifi > WifiWebServer as a good starting point.
In the next post we will have a look at how to wire the ESP8266 up for an easy flashing.
As planned, I now built and esp8266 version of the display. Because the breadboard version was working quite well from the start, I decided to build a more permanent version. The 5V of the USB Cable (or any other 5V Source) gets stepped down by a LM2596 circuit in a Fp6190 I purchased some time ago. This is a quite cheap and energy efficient solution. The complete setup requires about 70mA at 5Vs. This surely can be optimized by dimming the brightness of the display. In case you want to build your own wifi LiquidCrystal-Display esp8266 use the details provided below and check the code on Github. Happy hacking!
LCD -> ESP8266 12-Q
following pinmap http://arduino.esp8266.com/versions/1.6.5-1160-gef26c5f/doc/esp12.png
1|VSS| -> USB GND
2|VDD| -> USB 5V +5v
3|VO | -> USB GND pin + 1,6k ohm Resistor
4|RS | -> ESP2866 pin 4
5|RW | -> ESP2866 GND
6|E | -> ESP2866 pin 5
11|D4 | -> ESP2866 pin 13
12|D5 | -> ESP2866 pin 12
13|D6 | -> ESP2866 pin 14
14|D7 | -> ESP2866 pin 16
15|A | -> GND + no or a below 10k Resistor to dimm background light (Backlight power)
16|K | -> USB GND (Backlight ground)
This time on GitHub.