This shield is used to get French energy meter called Teleinfo data with WisDuo LoRaWAN RAK3272 SIP Breakout board:
V1.0
- On Board 3.3V regulator used when powering thru batteries (Vin > 3.6V)
- Low Power Mode option driving some GPIO to disable TIC
- Led to indicated TIC reception signal
- User Red and Green Led
- User button (pull down)
- On board I2C Pullups (4K7)
- Footprint for Battery connector
- QWICC / Stemma standard connector
- xBee as 16 pins on the header this one 18 pins
- xBee pinout is totally different (power and other)
- least but not least, headers spacing of external raws of RAK3272 are different than xBee.
So in V1.0 version of my shield you will need to bend headers of RAK3272 and shield so you can plug it, that's a shame.
Anyway, if you're designing shield for RAK3272 don't take xBee spacing format for external headers, it won't fit
Look at the schematics for more informations, easy to understand. Wiring on the RAK3272 Teleinfo shield is as follow:
Pin Function | RAK3272 | STM32WL |
---|---|---|
TIC Rx | UART1_RX | PB7 |
TIC Enable | SPI1_CLK | PA5 |
Led TIC | PA8 | PA8 |
Led Red | SPI1_MISO | PA6 |
Led Green | SPI1_MOSI | PA7 |
Button | SPI1_NSS | PA4 |
I2C SDA | I2C2_SDA | PA11 |
I2C SDL | I2C2_SCL | PA12 |
boot0
button, to avoid adding one more button for user, I wired Boot0 to PA4
to we can read button state, but since it's boot0
it has pulldown resistor and it is active High.
To enable reading Téléinfo you need:
- Drive High ping
PA5
(mandatory) - Drive High ping
PA8
(to eable TIC Led to blink on data reception on Serial) - Read Teleinfo on
UART1_RX
(PB7
)
You can write your own and use with LibTeleinfo library I wrote if you want to get rid of driving teleinfo stuff (chekout some examples).
To Be Completed
You can add fancy I2C display or even I2C sensors, there is a Stemma QWIIC connector on board. Since I2C VCC is conencted to 3.3V, your I2C should works in 3.3V or 5V or 5V ones (They all have level shifter since majorty of sensors works at 3.3V)
If you have any issue or just want to discuss on this project, please use community forum
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License
If you want to do commercial stuff with this project, please contact CH2i company so we can organize an simple agreement.
You can order this shield fully assembled with some extra on tindie (soon, may be)
See news and other projects on my blog