Finally got my copy of the book “Learning the art of electronics” it has been underway nearly 3 weeks but it is definitely worth waiting for. And it is a must have companion for the AOE A.K.A. “The bible” when you are a novice like me.
Thank you David Jones – Eevblog.com for blogging about the “Art Of Electronics” last year when the third edition was published.
This weekend i finalized my ESP-01 programming adapter board.
The circuit is a little bit changed compared to the diagram posted earlier in the post “ESP-01 Module”
I added two terminals for connecting external 3,3V and GND. This change I made because I could not get the wifi function on the ESP-01 module to work, when the module was powered through the USB to TTL board.
On the left you see the board i made.
And here you see the board with the ESP-01 and USB-TTL modules connected.
I have not desided yet, but maybe I will add two terminals for wire connection to the GPIO0 and GPIO2.
The programming circuit is finished. And guess what! It works.
The buttons is from the left: Reset and Flash.
When uploading your Arduino sketch follow this procedure
- Push and hold reset button
- Push and hold flash button
- Release the reset button
- Release the flash button
- The ESP modul is now in flash mode
- Push the “upload” button in the Arduino IDE
- First the sketch is compiled and afterwards it will start uploading.
- Then push the reset button momentarily to (re)start your program.
As you might know the pins on the ESP-01 module is very tight.
This means that it can’t be mounted on the breadboard without shorting the two pin rows.
One solution is replace the straight pins with some angled pins.
Another solution and very commonly shown on the web is making a breadboard adapter. This way you can connect it across the middle of the breadboard without shorting the pin rows.
The adapter is made of two 1×4 or one 2×4 female header, two 1×4 male pins and a piece of prototyping pcb. my pcb has single islands and the soldering is shown on the photo. It works like a charm.
Next up – making the ESP-01 programming circuit.
I have attached a LED ws2812b to my NodeMCU which has the ESP8266 onboard and programmed it with the arduino IDE to connect to Cheerlights.
It will now connect to my home wifi network and change color every time a twitter message including #cheerlights and one of the supported colors is send.