User Tools

Site Tools


elec:esp8266:wifinfo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
elec:esp8266:wifinfo [2016/02/01 10:50] – [Upload] redoxelec:esp8266:wifinfo [2023/11/24 21:55] (current) – external edit 127.0.0.1
Line 3: Line 3:
 ## Overview ## 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...+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'use them: the telemetry option is disabled in my power meter...
  
 ## Hardware ## Hardware
Line 12: Line 12:
  
 ### BoM ### 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     | [[https://www.mouser.com/Search/ProductDetail.aspx?R=ERJ-3GEYJ103Vvirtualkey66720000virtualkey667-ERJ-3GEYJ103V|667-ERJ-3GEYJ103V]]             |
 +| R3, R11, R12                              | 3   | 4.7K 0603 SMD Resistor         | N/A       | Mouser     | [[https://www.mouser.com/Search/ProductDetail.aspx?R=ERJ-3GEYJ472Vvirtualkey66720000virtualkey667-ERJ-3GEYJ472V|667-ERJ-3GEYJ472V]]             |
 +| R9                                        | 1   | 100K 0603 SMD Resistor         | N/A       | Mouser     | [[https://www.mouser.com/Search/ProductDetail.aspx?R=ERJ-3EKF1003Vvirtualkey66720000virtualkey667-ERJ-3EKF1003V|667-ERJ-3EKF1003V]]             |
 +| R10                                       | 1   | 470R 0603 SMD Resistor         | N/A       | Mouser     | [[https://www.mouser.com/Search/ProductDetail.aspx?R=CRCW0603470RJNEAvirtualkey61300000virtualkey71-CRCW0603J-470-E3|71-CRCW0603J-470-E3]]             |
 +^ Capacitors ||||||
 +| C3, C4, C5                                | 3   | 100nF 0603 SMD Capacitor       | N/A       | Mouser     | [[https://www.mouser.com/Search/ProductDetail.aspx?R=C0603C104K4RACTUvirtualkey64600000virtualkey80-C0603C104K4R|80-C0603C104K4R]]          |
 +| C1, C2                                    | 2   | 10uF 0805 SMD Capacitor        | N/A       | Mouser     | [[https://www.mouser.fr/Search/ProductDetail.aspx?R=GRM21BC81C106KE15Lvirtualkey64800000virtualkey81-GRM21BC81C106KE5L|81-GRM21BC81C106KE5L]]             |
 +^ LED  ||||||
 +| LED                                       | 1   | Red 0603 SMD LED 20mA          | N/A       | eBay     | [[http://www.ebay.com/itm/381222660649| 20x 0603 R,G,B,Y,O,W]]             |
 +^ Power & Signal ||||||
 +| D1, D2, D3, D4, D5                        | 5   | Diodes schottky 1A 20V         | N/A       | Mouser     | [[https://www.mouser.fr/Search/ProductDetail.aspx?R=STPS140Zvirtualkey51120000virtualkey511-STPS140Z|511-STPS140Z]]             |
 +| U1                                        | 1   | 3.3V 800mA LDO Regulator       | [[http://|Link]]       | Mouser     | [[http://www.mouser.com/Search/ProductDetail.aspx?R=AZ1117CR-3.3TRG1|621-AZ1117CR-3.3TRG1]] |
 +| OK1                                       | 1   | Phototransistor                | [[http://|Link]]       | Mouser     | [[https://www.mouser.fr/Search/ProductDetail.aspx?R=LTV-814Svirtualkey57820000virtualkey859-LTV-814S|859-LTV-814S]] |
 +| Q1                                        | 1   | Mosfet Channel N               | [[http://|Link]]       | Mouser     | [[https://www.mouser.fr/Search/ProductDetail.aspx?R=BSS138virtualkey51210000virtualkey512-BSS138|512-BSS138]] |
 +^ Headers & Sockets & Switchs ||||||
 +| Flash, Reset                              | 2   | SMD Tactile switch             | N/A       | Mouser     | [[https://www.mouser.fr/Search/ProductDetail.aspx?R=KMR211NG_LFSvirtualkey61170000virtualkey611-KMR211NGLFS|611-KMR211NGLFS]] |
 +| PWR,TINFO                                 | 2   | 3.5mm Screw header 1x2         | N/A       | eBay      |
 +^ uC    ||||||
 +| ESP                                       | 1   | ESP07 or ESP12 module          | [[http://|Link]]       | Aliexpress      |
  
 ### Tools ### Tools
Line 27: Line 49:
 The firmware is an Arduino sketch, so you will need: The firmware is an Arduino sketch, so you will need:
  
-- The Arduino IDE +- The Arduino IDE. I used v1.6.7, from [the Arduino website](https://www.arduino.cc/en/Main/Software) 
-- The ESP8266 _extension_ for the Arduino IDE +- The ESP8266 _extension_ for the Arduino IDE, from [Github](https://github.com/esp8266/Arduino) 
-- The "ESP8266 Sketch data upload" tool for the Arduino IDE+- The "ESP8266 Sketch data upload" tool for the Arduino IDE, from [Github](https://github.com/esp8266/arduino-esp8266fs-plugin/releases/)
 - Some libraries such as: - Some libraries such as:
-  - NeoPixelBus, for ESP8266+  - NeoPixelBus, for ESP8266. Make sure to fetch a working branch, from [Github](https://github.com/Makuna/NeoPixelBus). 
 +     
 +    I took a "random" one, and it compiles fine, but the LED doesn't work properly...
   -    - 
  
 ### Firmware ### Firmware
  
-Grab the firmware from the LibTeleinfo Github project+Grab the firmware from the LibTeleinfo Github project, in the `examples/Wifinfo`folder. 
 + 
 +There's currently a bug in the index.html file: the [issue](https://github.com/hallard/LibTeleinfo/issues/3) with a _fix_, on Github.
  
 ### Upload ### Upload
Line 48: Line 74:
  
 To put the ESP8266 in _Flash mode_, press the Flash switch, hold it, press the Reset switch, relase Reset, release Flash. Should be ok. To put the ESP8266 in _Flash mode_, press the Flash switch, hold it, press the Reset switch, relase Reset, release Flash. Should be ok.
 +
 +Select the __good__ board type and options (the default ones are usually okay).
  
 #### Upload the data #### Upload the data
  
 +* Load the Wifinfo sketch 
 +* Put the ESP266 in _Flash mode_ 
 +* Tools > ESP8266 Sketch Data upload
  
 #### Upload the firmware #### Upload the firmware
 +
 +* Load the Wifinfo sketch
 +* Put the ESP266 in _Flash mode_
 +* Upload sketch
 +
  
 ## Links ## Links
Line 59: Line 94:
 * [Github project](https://github.com/hallard/WifInfo) Schematic and PCB files * [Github project](https://github.com/hallard/WifInfo) Schematic and PCB files
 * [LibTeleinfo](https://github.com/hallard/LibTeleinfo) Firmware * [LibTeleinfo](https://github.com/hallard/LibTeleinfo) Firmware
 +* [Wifinfo-related message board](https://community.hallard.me/category/16/wifinfo)
/home/share/www/redox.ws/wiki/data/attic/elec/esp8266/wifinfo.1454323856.txt.gz · Last modified: 2023/11/24 21:55 (external edit)