Readme for new design and some note for the old design

This commit is contained in:
Roar Fredriksen 2018-03-01 22:18:27 +01:00
parent 9607586695
commit fdc6d31bf0
2 changed files with 32 additions and 0 deletions

View File

@ -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

View File

@ -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.