This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:tech:sensorlogger [2020/10/15 17:10] – created bullar | en:tech:sensorlogger [2020/10/15 18:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 2: | Line 2: | ||
==== Motivation ==== | ==== Motivation ==== | ||
- | {{: tech: sensorlogger_top.jpg? | + | {{: tech: sensorlogger_top.jpg? |
- | {{: tech: sensorlogger_bottom.jpg? | + | {{: tech: sensorlogger_bottom.jpg? |
- | The idea for the following circuit actually arose from the consideration that in addition to recording the consumption of the domestic heating system (here gas), it would also be very interesting to also record the outside and inside temperature. After all, the colder the heat, the more it is heated. You may already have a temperature measurement in use at home in the form of a weather station. So why not ' | + | The idea for the following circuit actually arose from the consideration that in addition to recording the consumption of the domestic heating system (here gas), it would also be very interesting to also record the outside and inside temperature. After all, the colder the weather, the more Ito heat. You may already have a temperature measurement |
Incidentally, | Incidentally, | ||
==== Features ==== | ==== Features ==== | ||
- | The device should therefore receive and understand the IT + sensor protocol and deliver the measured values recorded in this way to the smart meter via Ethernet on the intranet or internet. In order to be able to record independently of the network, a microSD interface for data storage would be a nice gimmick. Summarized again: | + | The device should therefore receive and understand the IT+ sensor protocol and deliver the measured values recorded in this way to the smart meter via Ethernet on the intranet or internet. In order to be able to record independently of a network, a microSD interface for data storage would be a nice gimmick. Summarized again: |
- | * Reception | + | * Receive |
* Saving the data on microSD card | * Saving the data on microSD card | ||
* Sending the measurement data via Ethernet | * Sending the measurement data via Ethernet | ||
* small standard housing | * small standard housing | ||
* external standard power supply | * external standard power supply | ||
- | * And as always standard | + | * And as always standard and inexpensive |
==== Protocol ==== | ==== Protocol ==== | ||
- | If you dare to use the IT + protocol, you will find some sources (see links). The sensor | + | If you dare to use the IT+ protocol, you will find some sources (see links). The sensor |
- | always | + | It should also be noted that no negative values are transmitted, |
- | It should also be noted that no negative values are transmitted, | + | |
<code C> | <code C> | ||
Line 50: | Line 49: | ||
====Hardware==== | ====Hardware==== | ||
- | {{: | + | {{: |
- | {{: | + | {{: |
---- | ---- | ||
- | The following components are used as hardware: | + | The following components are used in the hardware: |
* 868MHz receiver module with PCB antenna | * 868MHz receiver module with PCB antenna | ||
- | * ATMEL ATmega1284P + ENC28J60 for 100base-T | + | * ATMEL ATmega1284P + ENC28J60 for 100base-T |
* microSD adapter | * microSD adapter | ||
Line 63: | Line 62: | ||
There is an inexpensive 868MHz RFM12 module for receiving (and, if you want, also for sending). | There is an inexpensive 868MHz RFM12 module for receiving (and, if you want, also for sending). | ||
It is a '' | It is a '' | ||
- | Communication takes place via a normal SPI interface in 16-bit transfer. The setting options are so versatile that you get desperate at the beginning until you finally | + | Communication takes place via a normal SPI interface in 16-bit transfer. The setting options are so versatile that you get desperate at the beginning until you finally |
<code C> | <code C> | ||
Line 125: | Line 124: | ||
=== PCB === | === PCB === | ||
{{: tech: sensorlogger_board.png? | {{: tech: sensorlogger_board.png? | ||
- | The PCB was matched to the SP 2000 SW housing from STRAPUBOX. So that everything simply fits into SMD where it makes sense. | + | The PCB was matched to the SP 2000 SW housing from STRAPUBOX. So that everything simply fits into SMD components are used where it makes sense. |
When it comes to sockets (Power / Ethernet), I'm still a fan of thru-hole - because of the stability. The soldering took place again in the pizza pan as described in the c't Hacks. | When it comes to sockets (Power / Ethernet), I'm still a fan of thru-hole - because of the stability. The soldering took place again in the pizza pan as described in the c't Hacks. | ||
Line 133: | Line 132: | ||
An antenna must also be connected to the RFM12 module. Usually 1/4 lamba so about 8.3cm. But since there was still space on the PCB, I dared to try a PCB variant in a meandering structure. There is also a nice design note from Texas Instruments (DN024). The result was a bit off, however, because the <m> epsilon_r </m> of my favorite PCB maker turned out a bit different in reality. The maximum gain was about 790MHz and could then be reduced to 868MHz with a final -6dB gain. This means that reception through concrete ceilings or walls is also feasible. | An antenna must also be connected to the RFM12 module. Usually 1/4 lamba so about 8.3cm. But since there was still space on the PCB, I dared to try a PCB variant in a meandering structure. There is also a nice design note from Texas Instruments (DN024). The result was a bit off, however, because the <m> epsilon_r </m> of my favorite PCB maker turned out a bit different in reality. The maximum gain was about 790MHz and could then be reduced to 868MHz with a final -6dB gain. This means that reception through concrete ceilings or walls is also feasible. | ||
==== Software ==== | ==== Software ==== | ||
- | The software was created with AVR STudio 6 and AVR-Dragon | + | The software was created with AVR STudio 6 and an AVR-Dragon as a debugger. |
==== Outlook ==== | ==== Outlook ==== | ||
Line 140: | Line 139: | ||
==== Links ==== | ==== Links ==== | ||
- | * [[http:// | + | * [[http:// |
- | * [[http:// | + | * [[http:// |
- | * [[http:// | + | * [[http:// |
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// |