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 12:53] – [BoM] 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 23: Line 23:
 | C1, C2                                    | 2   | 10uF 0805 SMD Capacitor        | N/A       | Mouser     | [[https://www.mouser.fr/Search/ProductDetail.aspx?R=GRM21BC81C106KE15Lvirtualkey64800000virtualkey81-GRM21BC81C106KE5L|81-GRM21BC81C106KE5L]]             | | C1, C2                                    | 2   | 10uF 0805 SMD Capacitor        | N/A       | Mouser     | [[https://www.mouser.fr/Search/ProductDetail.aspx?R=GRM21BC81C106KE15Lvirtualkey64800000virtualkey81-GRM21BC81C106KE5L|81-GRM21BC81C106KE5L]]             |
 ^ LED  |||||| ^ 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]]             | +| 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 |||||| +^ Power & Signal |||||| 
-D                                          | BAT54C                         [[http://|Link]]       | Mouser     | [[https://www.mouser.com/Search/ProductDetail.aspx?R=BAT54CWFILMYvirtualkey51120000virtualkey511-BAT54CWFILMY|511-BAT54CWFILMY]]             | +D1, D2, D3, D4, D5                          | Diodes schottky 1A 20V         N/      | Mouser     | [[https://www.mouser.fr/Search/ProductDetail.aspx?R=STPS140Zvirtualkey51120000virtualkey511-STPS140Z|511-STPS140Z]]             | 
-                                       | 1   | 3.3V 250mA LDO Regulator       | [[http://|Link]]       | Mouser     | [[http://www.mouser.com/Search/ProductDetail.aspx?R=LP2992IM5-3.3%2fNOPBvirtualkey59510000virtualkey926-2992IM5-3.3%2fNOPB|926-2992IM5-3.3/NOPB]] | +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]] | 
-^ Headers/Sockets ||||||+| 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    |||||| ^ uC    ||||||
-X                                        | 1   SMD 8 MHz ceramic oscillator   | [[http://|Link]]       Mouser     | [[http://www.mouser.com/Search/ProductDetail.aspx?R=CSTCE8M00G55-R0virtualkey64800000virtualkey81-CSTCE8M00G55-R0|81-CSTCE8M00G55-R0]] |+ESP                                       | 1   ESP07 or ESP12 module          | [[http://|Link]]       Aliexpress     |  |
  
 ### Tools ### Tools
Line 45: 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 66: 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 77: 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.1454331238.txt.gz · Last modified: 2023/11/24 21:55 (external edit)