From fdc6d31bf0384698f1b04742b7ab8cfe36049c8b Mon Sep 17 00:00:00 2001 From: Roar Fredriksen Date: Thu, 1 Mar 2018 22:18:27 +0100 Subject: [PATCH] Readme for new design and some note for the old design --- Electrical/HAN_ESP_Simple/README.md | 7 +++++++ Electrical/HAN_ESP_TSS721/README.md | 25 +++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 Electrical/HAN_ESP_TSS721/README.md diff --git a/Electrical/HAN_ESP_Simple/README.md b/Electrical/HAN_ESP_Simple/README.md index 7d6d93db..79aea33a 100644 --- a/Electrical/HAN_ESP_Simple/README.md +++ b/Electrical/HAN_ESP_Simple/README.md @@ -1,5 +1,12 @@ # Electrical Design +### **!!NOTE!!** +The more mature version of a HAN Port reader is available under the folder [HAN_ESP_TSS721](HAN_ESP_TSS721). The main difference in these two versions are that this one is using a proprietary (but simpler) circuit for the M-bus to TTL +conversion and has very limited resources available for doing work on the schematics and PCB. The [HAN_ESP_TSS721](HAN_ESP_TSS721) is using a TSS721 circuit +from Texas Instruments, specifically designed for M-bus to TTL conversion. Also +all design is available for you in a [KiCad](https://www.kicad-pcb.org) format. + + ## Explained The design is using an opamp as a compined level converter and a schmitt trigger, in order to convert the HAN signal into a 3.3V compatible serial format. As the input levels on the opamp is much higher diff --git a/Electrical/HAN_ESP_TSS721/README.md b/Electrical/HAN_ESP_TSS721/README.md new file mode 100644 index 00000000..ee7404d3 --- /dev/null +++ b/Electrical/HAN_ESP_TSS721/README.md @@ -0,0 +1,25 @@ +# Electrical Design + +## Explained +This design uses the [Texas Instruments TS721](http://www.ti.com/product/TSS721A) circuit for the M-bus to TTL conversion. From here, the 3.3V TTL signal is taken to the [ESP-12](http://www.esp8266.com/wiki/doku.php?id=esp8266-module-family#esp-12) / [ESP8266](http://esp8266.net/) for further processing and reporting over WiFi to MQTT. Really, this hardware is agnostic to what you choose to report to, the HAN library will help you decode the serial signal into readable meter values. + +An addition to this design is using a DS18B20 as a temperature sensor. Just a little added value in monitoring the temperature of your fuse box. + +There is an on-board programming option for the ESP. In order to do programming, my experience is that you'll be better off disconnecting the RX/TX from the TSS721, so there's two jumpers for this. + +Other than this, it's all about software. You can find the [Arduino code](../../Code) to decode the HAN data and report the values over WiFi to an MQTT server. + + +## Schematics +![Schematics](./images/schematics.PNG) + +## PCB +![PCB](./images/PCB_3D.PNG) +### Layers +| Top Copper | Bottom Copper | Silk | Combined | +| ---------- | ------------- | ---- | -------- | +| ![Top Copper Layer](./images/HAN_ESP_TSS721-F.Cu.svg) | ![Bottom Copper Layer](./images/HAN_ESP_TSS721-B.Cu.svg) | ![Silk Layer](./images/HAN_ESP_TSS721-F.SilkS.svg) | ![Combined Layer](./images/HAN_ESP_TSS721-brd.svg) | + + +## Source Code +The full KiCad source for these design files are here in this folder. Download this repository, start KiCad, chose open project and select HAN_ESP_TSS721.pro to get going. \ No newline at end of file