Community Forum View topic - My Espressif DevKit for Windows + Eclipse IDE - Fri Dec 12, 2014 4:17 am#4639 Hi Based on a series of my articles I publish my assembly Espressif DevKit for developing firmware on Windows, all further discussion propose to write here. Article on the assembly firmware Wiring scheme USB-to-RS232 to the ESP-01 *Click for larger image Official website of the project Unofficial Development Kit for Espressif ESP8266 Official source code repo Instructions for installing and configuring the Unofficial Development Kit for Espressif ESP8266:1. Donate $5 Donate $10 Donate custom $ Video: Unofficial Espressif ESP8266 DevKit v1.0.3 + Eclipse Video: Creating a new project in Eclipse Luna for ESP8266 using Unofficial
ESP8266 Note: This page contains information on using an ESP8266 module with an Espruino board. If you want to run the Espruino Firmware directly on an ESP8266 board, see this page instead Support is provided in Espruino by the ESP8266WiFi (About Modules) and ESP8266WiFi_0v25 (About Modules) modules. Different versions of the ESP8266 firmware communicate at different baud rates and have subtly different commands - make sure you use the ESP8266 module that corresponds to the ESP8266 firmware version that you have. Espruino Pico Shim The Shim available for the Espruino Pico helps to adapt the ESP8266 to fit onto the Pico, while still keeping all of the IOs intact. There are pads for an optional 3.3v regulator (not needed) and a 1206 or 1210-style capacitor. Please see the videos below for more information on wiring the shims up: Shim Version 1 If you have the v1 shim and your Pico has pins pre-installed, you will need to cut the black plastic away from the last 3 pins in order to fit the shim. Wiring Up
ESP8266 WiFi module ESP8266 WiFi SoC has gained enormous popularity in the nick of time. Right after hackaday introduction dedicated community forum was created despite that first batch of modules was still in shipping so virtually no one had it in hands. The key to success was its price - $5 or even less, including shipping fee. That's significantly cheaper than e.g. CC3000 module from Texas Instruments ($13.80 @ 1000 pcs for basic module that requires pretty much BGA soldering or $35 for more friendly breakout board). ESP-01 / Wi07C V090 ESP-01 is the most common variant, with PCB antenna and 2x4 100mils header. Funny observation: so far (October 2014) on all pictures I was able to read timestamp chip is dated to 25th week of 2014. Pinout: VCC: 1.7 (really?) Note: there is also very similar in shape/size and component location module that has only power and UART connected (otherwise known as Wi07C V080) - you should probably avoid it. Firmware upgrade AT commands Web thermometer Links ESP-01 / Wi07C V090 Links
Wi07c - ElectroDragon Specification Module power 3.3V, regular current consumption at 70ma, peak current at 240mA (300mA must be able to provided) +20Dbm power, 100M max transmitting distance on ideal circumstance. It is common and correct to see some random error data when module is power up, and end up with "ready" (Turn baud rate to 115200 can see this actual debug data, this is used for firmware updating) IC Features AT Commands Format Baud rate at 57600, 115200 (new line) use option "send new line" or 'carriage return' for each command x is the commands Commands carefully there are must be no any spaces between the " and IP address or port Pin Wiring (V090) Module Pin Description No need any pull-up Old version (V080) The old version Setup Verification First time use guide Using arduino as serial port montior Steps and note Join Router AT+CWLAP search available wifi spot AT+CWJAP=“you ssid”, “password” join my mercury router spot (ops, the wifi password is here :) ) AT+CWJAP=? TCP Client TCP Server Debug and Note
Connect an ESP8266 to your RaspberryPi - 3 Connect to the serial portYou should now be able to interact with the ESP8266 via a terminal emulator program. I suggest GNU Screen for this (“sudo apt-get install screen”). Screen passes through your keystrokes unless you start with “CTRL-A” in which case you can then make screen do things. Notes/Caveats The Pi does not seem to recover well if you try to use the reset button. Don’t mess with the wires while power is on. This linking won’t by itself give your Pi internet access via the ESP8266. Screen won’t relinquish the serial port if you just close a window or disconnect. The Pi and the ESP8266 can use a lot of power. ESP8266 | PlanetArduino Despite a wealth of tutorials for setting up and writing code for the ESP8266 WiFi module, there has not been much of anything on programming this cheap wireless module with the Arduino IDE. Finally, this has changed. After many months of coding, the Arduino IDE supports the ESP8266 module. The Arduino IDE support was announced on the ESP8266 community forum. The basic functions of the Arduino IDE – pinMode, digitalRead, digitalWrite, and analogRead – are available. There are a few things that aren’t written yet; PWM doesn’t work, as the ESP8266 only has one hardware PWM source. Filed under: Arduino Hacks, wireless hacks
EasyIoT server automation - part III This tutorial will describe helper functions as part of automation in EasyIoT server. With helper functions you can access to EasyIoT server internal structure, trigger events and hook events. With driver helper you can send commands to modules. ControlOnControlOffControlLevel Definition: public string ProcessCommad(string domain, string address, string command, string value) For example, if you want to switch on digital output in MySensors driver address N1S3 use command: DriverHelper.ProcessCommad(Domains.MYSENSORS, "N1S3", "ControlOn", ""); To switch off the same digital output use: DriverHelper.ProcessCommad(Domains.MYSENSORS, "N1S3", "ControlOff", ""); If you want to set analog value (for example dimmer) to 50 use: DriverHelper.ProcessCommad(Domains.MYSENSORS, "N2S0", "ControlLevel", "50"); This command will send value 50 to MySensors driver and addess N2S0. Use event helper if you want hook event or if we want to trigger event. To hook event use: public void Setup() return true; // outdoor
Electrodragon Blog | Millions of Prototyping Components Online! ESP8266 Wifi with the Arduino Micro A few months ago a new board called the ESP8266 arrived on the scene and promised a very cheap way for serial devices (such as the Arduino) to to make HTTP requests. The device itself was less than $10 (I got a few on AliExpress for $5) and it meant that smart microcontrollers could be easily made into “Internet of Things” devices. The boards (from the factory) operate at 115200, and that is just too fast for SoftwareSerial, so I decided to use and Arduino Micro to play around with it. The Arduino Micro has two serial ports so that it can communicate over USB (for debugging) as well as communicate over another serial channel (Serial1). This mean that I could use the Arduino Micro as a serial pass-through device and communicate with the ESP8266 directly. The annoying part was the 8 pin setup was not very breadboard friendly, so I de-soldered the back row of pins (GND, GPIO1, GPIO2, RX) and attached external wires so that they would work easier on a breadboard. Like this: Like Loading...