How to flash your ESP8266 without a USB-Serial adapter but with an Arduino.
First be sure everything is connected correcly:
| Arduino | ESP82666 |
|---|---|
| TX | RX |
| RX | TX |
| GND | GND |
| GND | GPIO-15 |
| // RC Receiver PWM to SPI slave | |
| // ============================ | |
| // by Calvin Hass | |
| // http://www.impulseadventure.com/elec/ | |
| // | |
| // This code implements a simple SPI slave receiver interface | |
| // combined with multi-channel pulse-width modulation (PWM) | |
| // measurement. Each channel's pulse width is measured in | |
| // microseconds and returned in a channelized register interface. | |
| // This code can be useful for using a remote-control transmitter |
How to flash your ESP8266 without a USB-Serial adapter but with an Arduino.
First be sure everything is connected correcly:
| Arduino | ESP82666 |
|---|---|
| TX | RX |
| RX | TX |
| GND | GND |
| GND | GPIO-15 |
| /* | |
| Si5351 Simple Sweep Generator | |
| connect Si5351 to I2C | |
| Sweep out is on pin 5, ranging from 0-5V (3.3V). | |
| Use a filter on sweep out voltage. 100K + 1uF should be a good start. | |
| A op-amp can be used to improve the filtering of the DC voltage. | |
| Copyright (c) 2016 Thomas S. Knutsen <la3pna@gmail.com> |
| /* | |
| WPA2-ENT EAP-TLS | |
| based on joostd's code : https://github.com/joostd/esp8266-eduroam | |
| https://github.com/joostd/esp8266-eduroam/blob/master/gen_cert.sh | |
| wifi_station_set_cert_key | |
| Function: Set certificate and private key for connecting to WPA2-ENTERPRISE AP. | |
| Note: | |
| • Connecting to WPA2-ENTERPRISE AP needs more than 26 KB memory, please ensure enough space (system_get_free_heap_size). |
| /* | |
| Si5351 VFO | |
| By LA3PNA 27 March 2015 | |
| Modified by NT7S 25 April 2015 | |
| Modified to be Si5351 Arduino v2 compliant by NT7S 21 Nov 2016 | |
| This version uses the new version of the Si5351 library from NT7S. | |
| see: http://arduino.cc/en/Reference/AttachInterrupt for what pins that have interrupts. |
| /* | |
| VFO program for Si5351 | |
| Using I2C LCD from: | |
| http://www.amazon.com/Huhushop-TM-Serial-Display-Arduino/dp/B00JM88A94/ | |
| Si5351 library from NT7S. | |
| Uses the updated version of the library (master). | |
| Display library is avaible from: | |
| https://code.google.com/p/u8glib/ |
| /* | |
| Si5351 VFO | |
| By LA3PNA 27 March 2015 | |
| Modified 14 February 2017 | |
| Modified 28 November 2018 | |
| This code is licenced with GNU GPL v2. Please read: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html | |
| This version uses the new version (v2) of the Si5351 library from NT7S. |
| // -------------------------------------- | |
| // i2c_scanner | |
| // | |
| // Version 1 | |
| // This program (or code that looks like it) | |
| // can be found in many places. | |
| // For example on the Arduino.cc forum. | |
| // The original author is not known. | |
| // Version 2, Juni 2012, Using Arduino 1.0.1 | |
| // Adapted to be as simple as possible by Arduino.cc user Krodal |
| /* | |
| _____ ___ _____ ______ ___________ _____ | |
| / ___|/ _ \_ _| | _ \ _ | ___ \ ___| | |
| \ `--./ /_\ \| |______| | | | | | | |_/ / |__ | |
| `--. \ _ || |______| | | | | | | __/| __| | |
| /\__/ / | | || | | |/ /\ \_/ / | | |___ | |
| \____/\_| |_/\_/ |___/ \___/\_| \____/ | |
| [Satellite Data On Personal Eqipment] |
| /* Servo Recorder | |
| The following commands are supported: | |
| a records the current servo position for 5 seconds | |
| b releases the servo to record the position | |
| c plays back the recorded position for 5 seconds | |
| d calibrates all angles from 0...180 | |
| The minimum and maximum pulse width will vary with different servo models. |