more articles

This commit is contained in:
Wolfgang Hottgenroth 2018-05-04 16:48:40 +02:00
parent b5c6422601
commit 46fee0d0e1
Signed by: wn
GPG Key ID: B586EAFCDF2F65F4
12 changed files with 305 additions and 0 deletions

View File

@ -46,6 +46,46 @@ And: yes, I know, this homepage is soooo ugly. I'm sorry, no CSS yet.
<li>
2015-06-05 -<a href="./posts/2015-06-05.01/article.html">Tools for the Arduino Development</a><br/>
</li>
<li>
2014-03-11 -<a href="./posts/2014-03-11.01/article.html">Teensy meets "not so standard" UART configuration</a><br/>
</li>
<li>
2014-03-09 -<a href="./posts/2014-03-09.01/article.html">4 Channel MBus-connected Thermometer, Part 2</a><br/>
</li>
<li>
2014-02-21 -<a href="./posts/2014-02-21.01/article.html">4 Channel MBus-connected Thermometer, Part 1</a><br/>
</li>
<li>
2014-02-13 -<a href="./posts/2014-02-13.01/article.html">Another (better) MBus-Master, Part 6</a><br/>
</li>
<li>
2014-02-08 -<a href="./posts/2014-02-08.01/article.html">Another (better) MBus-Master, Part 5</a><br/>

View File

@ -0,0 +1,28 @@
<html>
<head>
<title>Projects - just for fun</title>
</head>
<body>
Here is a slightly fixed schematics, the sources of the firmware and the Eagle .sch-File ...
<a href="http://a385e-5.de/wp-content/uploads/2014/02/main.pdf"><img src="http://a385e-5.de/wp-content/uploads/2014/02/main-300x216.png" alt="main" width="300" height="216" class="alignnone size-medium wp-image-401" /></a>
<a href="http://a385e-5.de/wp-content/uploads/2014/02/MeterBusPowerMaster-2014-02-13.zip">MeterBusPowerMaster-2014-02-13</a>
The circuit requires two supply voltages: +5V (named so in the schematics) and +35V (named <tt>vcc</tt> in the schematics).
Note, please: there is still no over current protection in the design.
If you like to use this design for your own purposes, feel free (and maybe, you want to let me know, especially if you enhance the design somehow). But dont blame me if something goes wrong. This design is working successfully in my basement, but, as mentioned before, it has still no over current protection (so, avoid short cuts on the bus wires). Furthermore, I cant state whether it is fully complaint to EN 13757 standard or not.
</body>
</html>

View File

@ -0,0 +1,15 @@
define(`TITLE', `Another (better) MBus-Master, Part 6')
define(`DATE', `2014-02-13')
define(`CONTENT', `
Here is a slightly fixed schematics, the sources of the firmware and the Eagle .sch-File ...
<a href="http://a385e-5.de/wp-content/uploads/2014/02/main.pdf"><img src="http://a385e-5.de/wp-content/uploads/2014/02/main-300x216.png" alt="main" width="300" height="216" class="alignnone size-medium wp-image-401" /></a>
<a href="http://a385e-5.de/wp-content/uploads/2014/02/MeterBusPowerMaster-2014-02-13.zip">MeterBusPowerMaster-2014-02-13</a>
The circuit requires two supply voltages: +5V (named so in the schematics) and +35V (named <tt>vcc</tt> in the schematics).
Note, please: there is still no over current protection in the design.
If you like to use this design for your own purposes, feel free (and maybe, you want to let me know, especially if you enhance the design somehow). But don'`t blame me if something goes wrong. This design is working successfully in my basement, but, as mentioned before, it has still no over current protection (so, avoid short cuts on the bus wires). Furthermore, I can'`t state whether it is fully complaint to EN 13757 standard or not.
')

View File

@ -0,0 +1,22 @@
<html>
<head>
<title>Projects - just for fun</title>
</head>
<body>
This is going to be a 4 channel MBus-connected thermometer:
<img src="http://a385e-5.de/wp-content/uploads/2014/02/ThermometerPro-e1392964492924-300x225.jpg" alt="ThermometerPro" width="300" height="225" class="alignnone size-medium wp-image-410" />
Measurement side of thing is working already. An Analog Devices AD7190 is used as ADC, an Arduino-compatible Micro Pro serves as MCU. For the communication side a TSS721A is awaited.
</body>
</html>

View File

@ -0,0 +1,9 @@
define(`TITLE', `4 Channel MBus-connected Thermometer, Part 1')
define(`DATE', `2014-02-21')
define(`CONTENT', `
This is going to be a 4 channel MBus-connected thermometer:
<img src="http://a385e-5.de/wp-content/uploads/2014/02/ThermometerPro-e1392964492924-300x225.jpg" alt="ThermometerPro" width="300" height="225" class="alignnone size-medium wp-image-410" />
Measurement side of thing is working already. An Analog Devices AD7190 is used as ADC, an Arduino-compatible Micro Pro serves as MCU. For the communication side a TSS721A is awaited.
')

View File

@ -0,0 +1,30 @@
<html>
<head>
<title>Projects - just for fun</title>
</head>
<body>
AVR-Arduino replaced by ARM-based Teensy, due to memory shortness:
<a href="http://a385e-5.de/wp-content/uploads/2014/03/Foto-2.jpg"><img src="http://a385e-5.de/wp-content/uploads/2014/03/Foto-2-300x225.jpg" alt="Foto 2" width="300" height="225" class="alignnone size-medium wp-image-416" /></a>
MBus-transceiver TSS721A in breadbroad setup with two opto-coupler, connected to the thermometer and to the lab MBus-master:
<a href="http://a385e-5.de/wp-content/uploads/2014/03/Foto-1.jpg"><img src="http://a385e-5.de/wp-content/uploads/2014/03/Foto-1-300x225.jpg" alt="Foto 1" width="300" height="225" class="alignnone size-medium wp-image-415" /></a>
Test setup with thermometer, MBus-transceiver and lab MBus-master (still open enclosure since over current protection is not yet available, just to not forget it ...):
<a href="http://a385e-5.de/wp-content/uploads/2014/03/Foto-4.jpg"><img src="http://a385e-5.de/wp-content/uploads/2014/03/Foto-4-300x225.jpg" alt="Foto 4" width="300" height="225" class="alignnone size-medium wp-image-414" /></a>
And, yes, it works so far. Although it was a bit of a surprise to see the echo of any sent frame, however, the documentation revealed that this is actually a collision detection feature.
</body>
</html>

View File

@ -0,0 +1,17 @@
define(`TITLE', `4 Channel MBus-connected Thermometer, Part 2')
define(`DATE', `2014-03-09')
define(`CONTENT', `
AVR-Arduino replaced by ARM-based Teensy, due to memory shortness:
<a href="http://a385e-5.de/wp-content/uploads/2014/03/Foto-2.jpg"><img src="http://a385e-5.de/wp-content/uploads/2014/03/Foto-2-300x225.jpg" alt="Foto 2" width="300" height="225" class="alignnone size-medium wp-image-416" /></a>
MBus-transceiver TSS721A in breadbroad setup with two opto-coupler, connected to the thermometer and to the lab MBus-master:
<a href="http://a385e-5.de/wp-content/uploads/2014/03/Foto-1.jpg"><img src="http://a385e-5.de/wp-content/uploads/2014/03/Foto-1-300x225.jpg" alt="Foto 1" width="300" height="225" class="alignnone size-medium wp-image-415" /></a>
Test setup with thermometer, MBus-transceiver and lab MBus-master (still open enclosure since over current protection is not yet available, just to not forget it ...):
<a href="http://a385e-5.de/wp-content/uploads/2014/03/Foto-4.jpg"><img src="http://a385e-5.de/wp-content/uploads/2014/03/Foto-4-300x225.jpg" alt="Foto 4" width="300" height="225" class="alignnone size-medium wp-image-414" /></a>
And, yes, it works so far. Although it was a bit of a surprise to see the echo of any sent frame, however, the documentation revealed that this is actually a collision detection feature.
')

View File

@ -0,0 +1,45 @@
<html>
<head>
<title>Projects - just for fun</title>
</head>
<body>
The people at <a href="https://www.pjrc.com/teensy/index.html" title="https://www.pjrc.com/teensy/index.html" target="_blank">https://www.pjrc.com/teensy/index.html</a> did a really good job with the Arduino integration <a href="https://www.pjrc.com/teensy/teensyduino.html" title="https://www.pjrc.com/teensy/teensyduino.html" target="_blank">Teensyduino</a>. Thank you very much indeed.
Unfortunately they missed a feature which has been integrated in the Arduino library sometimes between version 1.0.5 and 1.5.2, dont know when exactly: advanced UART configuration.
In the documentation of <a href="http://arduino.cc/en/Serial/Begin" target="_blank"><code>Serial.begin(...)</code></a> you see the option to give a <code>config</code> argument, where in particular you can configure the frame length, the parity and the number of stop bits.
While this is certainly not a very common feature, I need it in my MeterBus projects, since communication on the MeterBus is serial communication with an even parity enabled.
So far I was too lazy to put the stuff into a library, but this is required to enable even parity:
<pre>
#include &lt;mk20dx128.h&gt;
// [...]
// this is the new Arduino way of setting parity
//Serial3.begin(2400, SERIAL_8E1);
// this is the Teensy (Freescale K20) way:
Serial3.begin(2400);
UART2_C1 |= UART_C1_PE | UART_C1_M;
</pre>
Find the documentation for the <code>UARTx_C1</code> register on page pp. 1055-1056, cp. 45.3.3 of the Freescale K20 manual (find that one on the Teensy homepage at <a href="https://www.pjrc.com/teensy/datasheets.html" target="_blank">https://www.pjrc.com/teensy/datasheets.html</a>).
Note: it is not enough to enable parity (setting the bit <code>UART_C1_PE</code>, you also need to increase the frame length to 9 bit by setting bit <code>UART_C1_M</code>, since the frame length seems to include the parity bit.
Right, this is a hack, and maybe the Teensy people will integrate it into the library the other day, but at least for the moment it works for me.
</body>
</html>

View File

@ -0,0 +1,32 @@
define(`TITLE', `Teensy meets "not so standard" UART configuration')
define(`DATE', `2014-03-11')
define(`CONTENT', `
The people at <a href="https://www.pjrc.com/teensy/index.html" title="https://www.pjrc.com/teensy/index.html" target="_blank">https://www.pjrc.com/teensy/index.html</a> did a really good job with the Arduino integration <a href="https://www.pjrc.com/teensy/teensyduino.html" title="https://www.pjrc.com/teensy/teensyduino.html" target="_blank">Teensyduino</a>. Thank you very much indeed.
Unfortunately they missed a feature which has been integrated in the Arduino library sometimes between version 1.0.5 and 1.5.2, don'`t know when exactly: advanced UART configuration.
In the documentation of <a href="http://arduino.cc/en/Serial/Begin" target="_blank"><code>Serial.begin(...)</code></a> you see the option to give a <code>config</code> argument, where in particular you can configure the frame length, the parity and the number of stop bits.
While this is certainly not a very common feature, I need it in my MeterBus projects, since communication on the MeterBus is serial communication with an even parity enabled.
So far I was too lazy to put the stuff into a library, but this is required to enable even parity:
<pre>
#include &lt;mk20dx128.h&gt;
// [...]
// this is the new Arduino way of setting parity
//Serial3.begin(2400, SERIAL_8E1);
// this is the Teensy (Freescale K20) way:
Serial3.begin(2400);
UART2_C1 |= UART_C1_PE | UART_C1_M;
</pre>
Find the documentation for the <code>UARTx_C1</code> register on page pp. 1055-1056, cp. 45.3.3 of the Freescale K20 manual (find that one on the Teensy homepage at <a href="https://www.pjrc.com/teensy/datasheets.html" target="_blank">https://www.pjrc.com/teensy/datasheets.html</a>).
Note: it is not enough to enable parity (setting the bit <code>UART_C1_PE</code>, you also need to increase the frame length to 9 bit by setting bit <code>UART_C1_M</code>, since the frame length seems to include the parity bit.
Right, this is a hack, and maybe the Teensy people will integrate it into the library the other day, but at least for the moment it works for me.
')

View File

@ -0,0 +1,20 @@
<html>
<head>
<title>Projects - just for fun</title>
</head>
<body>
Arduino Eclipse Plugin: <a href="arduino.cc/en/Main/Software" title="arduino.cc/en/Main/Software" target="_blank">http://www.baeyens.it/eclipse/</a>
Arduino Teensy Integration: <a href="http://www.pjrc.com/teensy/teensyduino.html" title="http://www.pjrc.com/teensy/teensyduino.html" target="_blank">http://www.pjrc.com/teensy/teensyduino.html</a>
Arduino IDE: <a href="http://arduino.cc/en/Main/Software" title="http://arduino.cc/en/Main/Software" target="_blank">http://arduino.cc/en/Main/Software</a>
</body>
</html>

View File

@ -0,0 +1,7 @@
define(`TITLE', `Tools for the Arduino Development')
define(`DATE', `2015-06-05')
define(`CONTENT', `
Arduino Eclipse Plugin: <a href="arduino.cc/en/Main/Software" title="arduino.cc/en/Main/Software" target="_blank">http://www.baeyens.it/eclipse/</a>
Arduino Teensy Integration: <a href="http://www.pjrc.com/teensy/teensyduino.html" title="http://www.pjrc.com/teensy/teensyduino.html" target="_blank">http://www.pjrc.com/teensy/teensyduino.html</a>
Arduino IDE: <a href="http://arduino.cc/en/Main/Software" title="http://arduino.cc/en/Main/Software" target="_blank">http://arduino.cc/en/Main/Software</a>
')

40
toc.inc
View File

@ -16,6 +16,46 @@
<li>
2015-06-05 -<a href="./posts/2015-06-05.01/article.html">Tools for the Arduino Development</a><br/>
</li>
<li>
2014-03-11 -<a href="./posts/2014-03-11.01/article.html">Teensy meets "not so standard" UART configuration</a><br/>
</li>
<li>
2014-03-09 -<a href="./posts/2014-03-09.01/article.html">4 Channel MBus-connected Thermometer, Part 2</a><br/>
</li>
<li>
2014-02-21 -<a href="./posts/2014-02-21.01/article.html">4 Channel MBus-connected Thermometer, Part 1</a><br/>
</li>
<li>
2014-02-13 -<a href="./posts/2014-02-13.01/article.html">Another (better) MBus-Master, Part 6</a><br/>
</li>
<li>
2014-02-08 -<a href="./posts/2014-02-08.01/article.html">Another (better) MBus-Master, Part 5</a><br/>