Giter Club home page Giter Club logo

rak3272-tic's Introduction

RAK3272 TIC (Teleinfo) LoRaWAN Shield

This shield is used to get French energy meter called Teleinfo data with WisDuo LoRaWAN RAK3272 SIP Breakout board:

Top 

Detailed Description

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

⚠️ Despite the fact that RAK3272-SIP Breakout announced as xBee format, this is far from the case because:

  • 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

Pinout

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

⚠️ Button is 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)

Schematics

Boards

Assembled (V1.0)

Top   Bottom

Shield Plugged on RAK3272 SIP Breakout

RAK3272 Teleinfo Assembled Top 

Firmware

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

I2C

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)

Support and discussion

If you have any issue or just want to discuss on this project, please use community forum

License

Creative Commons Attribution-NonCommercial 4.0

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.

Lazy building your own?

You can order this shield fully assembled with some extra on tindie (soon, may be)

I sell on Tindie

Misc

See news and other projects on my blog

rak3272-tic's People

Contributors

hallard avatar

Watchers

 avatar  avatar

Forkers

senaiapy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.