This is an old revision of the document!
# WifInfo
## Overview
A few months ago, I came across a project called Wifinfo. It's a small board, based on an ESP8266, which retrieves information from the French power meters and displays them, or sends them across the network. The PCB was cheap, and I though I could use one, so I built some boards ! Turns out, I can't, since the telemetry option is disabled in my power meter…
## Hardware
### PCB
I uploaded the files on OSHPark and also shared them, so anyone can easily order them: [OSH Park](https://oshpark.com/shared_projects/Rjzd7tY7)
### BoM
Part(s) ref on design | Qty | Name | Doc | Supplier | SupplierRef |
---|---|---|---|---|---|
Resistors | |||||
R1, R2, R4, R5, R6, R7, R8 | 7 | 10K 0603 SMD Resistor | N/A | Mouser | 667-ERJ-3GEYJ103V |
R3, R11, R12 | 3 | 4.7K 0603 SMD Resistor | N/A | Mouser | 667-ERJ-3GEYJ472V |
R9 | 1 | 100K 0603 SMD Resistor | N/A | Mouser | 667-ERJ-3EKF1003V |
R10 | 1 | 470R 0603 SMD Resistor | N/A | Mouser | 71-CRCW0603J-470-E3 |
Capacitors | |||||
C | 8 | 100nF 0402 SMD Capacitor | N/A | Mouser | 81-GRM155R71C104KA88 |
C | 1 | 1uF 0402 SMD Capacitor | N/A | Mouser | 810-C1005X5R1A105K |
C | 2 | 10uF 0805 SMD Capacitor | N/A | Mouser | 81-GRM219R61E106KA2D |
LEDs | |||||
D | 2 | Green 0603 SMD LED 20mA | N/A | eBay | 20x 0603 R,G,B,Y,O,W |
Power | |||||
D | 1 | BAT54C | Link | Mouser | 511-BAT54CWFILMY |
U | 1 | 3.3V 250mA LDO Regulator | Link | Mouser | 926-2992IM5-3.3/NOPB |
Headers/Sockets | |||||
uC | |||||
X | 1 | SMD 8 MHz ceramic oscillator | Link | Mouser | 81-CSTCE8M00G55-R0 |
### Tools
You need:
- A decent (250mA) 5v PSU, like a phone charger, or a battery. - An USB-Serial adapter, which can easily be sourced from eBay.
## Software
### Tools
The firmware is an Arduino sketch, so you will need:
- The Arduino IDE - The ESP8266 _extension_ for the Arduino IDE - The “ESP8266 Sketch data upload” tool for the Arduino IDE - Some libraries such as:
- NeoPixelBus, for ESP8266
### Firmware
Grab the firmware from the LibTeleinfo Github project
### Upload
#### Wiring and process
You need to put a jumper on the board between the TX and TX1 pins, on the three pin header on the right.
Connect your serial Adapter to the board (on the six pins header on the right): RX on TX, TX on RX, GND on GND. I used an external power supply but you can also probably use the 5v pin to power the board.
To put the ESP8266 in _Flash mode_, press the Flash switch, hold it, press the Reset switch, relase Reset, release Flash. Should be ok.
#### Upload the data
#### Upload the firmware
## Links
* [Github project](https://github.com/hallard/WifInfo) Schematic and PCB files * [LibTeleinfo](https://github.com/hallard/LibTeleinfo) Firmware