Visualizzazione post con etichetta development board. Mostra tutti i post
Visualizzazione post con etichetta development board. Mostra tutti i post

mercoledì 18 ottobre 2017

ESP8266–01 Home Made Dev Board v1











In this post I describe the way I have designed and built a simple and useful development board for ESP8266–01





The main goal of this board is to make the use of ESP8266–01 simple during development phase on breadboard.





Schema

The schema is quite simple.
A detailed explanation on how to correctly connect EPS8266–01 pins is available here [http://www.instructables.com/id/How-to-use-the-ESP8266-01-pins/?ALLSTEPS]





The pinheader J1 and J2, in the above electrical schema, are the 8 pin of the ESP8266–01 module (as seen from above view)





The 5 pin on the left, in the above electrical schema, are the pin of the dev board. More in detail:
  • VCC: 3V3 (+) from a couple of AA batteries or any other power source (in the schema is writte 5V as I was not able to change it in Fritzing)
  • GND: the negative (-) wire from the two AA batteries or from any DC 3V3 power source
  • USB GND: the ground from the USB2TTL module
  • USB RX/TX: RX/TX from the USB2TTL module
The two pin top-right are the GPIO0 and PIO2 available on the ESP8266–10 module
The pin header J3 and J4 are not electrically connected and wired and are only used to mount the dev board on the breadboard
Two micro-buttons are available to reset the ESP8266–01 module (SW RST) and to switch into flashing/programming mode (SW GPIO0)





PCB

The PCB has been made using Fritzing software and is a single side PCB for an easy development at home










Making the PCB

I have use a home made development process to build the PCB which is called “toner transfer”. In short I have printed the circuit on glossy photo paper with a laser printer and later transferred the PCB tracks on the copper clad with a normal iron (borrowed from my wife :) )





The result is not 100% perfect (doing that at home with basic tools) as half track and few pad have not been transferred correctly





No worries, we are maker so we always find a solution. I have manually corrected the missing toner with a permanent maker (the pad which are missing are the one which are not electrically connected so no big issue)
Below the final result after the copper etching





Now I remove the toner with some simple acetone (borrowed from my wife)





now I drill the board with a 1mm drill bit





Assembling the Board

Now it is time to assemble the board with just few components
Here the list of components:





I start by soldering the resistors, the pin header and then the push buttons





Below the final result











and also with ESP8266–01 module





and everything mounted on breadboard





File

The full fritzing project with electrical schema and PCB layout is available here qui

Suggestion

The two pin header rows on the side of the dev board, are slightly larger than the breadboard. In order to overcame this small issue I have removed the 6th pin from the row.
In version 2 of this board I will fix this bug but until then I can use the dev board with the small trick explained above.
This allows me to work on my project base don ESP8266–01 in a clean and easy way avoiding flying wires.




venerdì 9 dicembre 2016

ESP8266-12 Breakout board

Il modulo ESP8266-12  e' una versione piu' evoluta del famosissimo ESP8266-01 ed essenzialmente espone piu' pin GPIO ed ha una memoria piu' capiente



Come e' noto e come si puo' vedere dalla foto il problema principale e' che non e' facilmente montabile su una breadboard in quanto il passo dei pin e' di 2 mm e non dei canonici 2,54 mm




In rete e' possibile acquistare un modulo adattatore [qui] per lo ESP8266-12



Oppure esiste un'altra alternativa: costruirsi questo piccolo modulo da soli.

In questo post descrivo come costruirsi un modulo simile a casa

Schema Elettrico

Lo schema elettrico [disponibile qui] e' piuttosto semplice, basta tenere a mente solo alcuni punti fondamentali





In base al datasheet [qui] ci sono 5 pin che devono essere impostati correttamente per il funzionamento del modulo in configurazione minima:

  • pin di Reset (REST) va collegato a VCC
  • pin Chip Enable (CH_PD) va collegato a VCC 



  • GPIO 15 va collegato a massa
  • GPIO 2 va collegato a VCC
  • GPIO 0 va collegato a VCC per il boot normale (a massa per programmare la flash)

PCB

Il PCB [disponibile qui]  e' semplice e di facile realizzazione a casa. 




Breakout Board

Ho realizzato il modulo in questo modo per poterlo utilizzare in due modi:
  1. come board di sviluppo facilmente montabile su breadboard per prototipazione
  2. come daughter board da inserire nei miei vari progetti

In questo modo il modulo EPS8266-12 risulta piu' versatile nel suo utilizzo





La scheda e' di facile realizzazione con pochissimi componenti passivi (5 resistenze).

Intenzionalmente non ho inseirto il classico condensatore sull'alimentazione per ragioni di spazio.

Bisogna solo fare un po' di attenzione nel realizzare le saldature del modulo sulla scheda.

Io per sicurezza (anche se non necessario) ho applicato un piccolo pezzo di scotch (o nostra isolante) nella pate posteriore dello ESP8266-12 facendo attenzione a non coprire i piedini.
In questo modo sono sicuro che non ci siano contati non voluti tra il modulo EPS e le piste della daughter board