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.
Today I got my USB to Serial converter.
I need the converter for programming the ESP-01 I received a couple off days ago.
Actually I can program it with the arduino board but don’t want to.
I bought the converter on Ebay from a Chinese seller for the price of approx. $2 so properly not a origianal FTDI chip.
But hey! It works.
Here is a picture of the board.
It has serial pin out at the bottom and mini usb on the top.
Along the sides is breakout of other, but not needed chip pins.
On the front it has a jumper setting for 3,3V and 5V.
Nice as ESP-01 is strictly 3,3V
I just received two off these small ESP-01 boards.
They are part off the ESP8266 family and have relly nice specs:
2 dedicated GPIOs.
Serial comms (or 2 additional GPIOs).
PWM, I2C, UART, OneWire.
On-board WiFi + printed antenna, 802.11 b/g/n, 360m range.
Able to become a wireless access point.
Lua and Arduino firmware available.
Able to run a web server.
Dimensions: 24.75 x 14.5mm.
Power: 3.3v. (important!!)
Instruction for flashing this little fellow can be found on
http://www.esp8266basic.com/flashing-instructions.htmlAnd I plan on building this flaching setup
Got my self a 24Bit LED ring!
Nice toy with 24 pcs. of ws2812b three wire LED.
I hooked it up to my Arduino UNO and loaded it with the default sketch “NeoPixel FUN” that comes with the NeoPixelBus.h library.
Below you can see some videos i made of the result.
at first I used external 5V supply to measure the load current.
afterwards I powered it from laptop usb supply.
Adafuit has a great guide if you would like to play with NeoPixels yourself.
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.