[vz-users] Problem with ir-kopf and y-port node

Udo1 udo1 at gmx.net
Thu Mar 21 23:23:15 CET 2013


Hi Bart,

the main clock-speed is 12.5MHz. Its taken from the ENC. This results in 
0% error at 300bd. The ATmega has internal clock divider for the 
baudrate generator. Its adjust in the UBRR-Register.
Maybe its better to reduce the buffer size to 256. I heard from problems 
with 512 bytes sometimes.

Try to connect the FTDI cable to the IR-Head and use Hterm on a PC to 
get data from the meter.

Regards
Udo

Am 21.03.2013 21:38, schrieb Bart Theeuwes:
> Hi Udo,
>
> Many thanks for that.
> However, I still did not success in receiving data from the meter.
> I finaly found some time to do some debugging.
>
> I now connected a ftdi cable directly to the yport node. I notished 
> one thing, when I am sending data to the yport node, i'm losing bytes, 
> but the data streams are less then 511 bytes (buffer length).
> I also notished when I send data from the yport node to the fdti 
> cable, there are some 'pauses' between pieces of transmission, I don't 
> know if this affects the meter.
>
> I am wondering one thing; is the low baudrate possible with the 
> supplied clock of 12,5 Mhz? I couldn't find if any clock divider is 
> used, whats the main clock speed of the cpu?
>
> Regards Bart
>
> 2013/2/24 Udo1 <udo1 at gmx.net <mailto:udo1 at gmx.net>>
>
>     Am 24.02.2013 13:22, schrieb Bart Theeuwes:
>
>         I reconfigured ethersex so it uses 300 bps and 7E1 on the
>         second uart port (default).
>
>     Hi Bart,
>
>     there is a problem in ethersex adjusting the framerates.
>     I send you a link to a personal version I used with the yport-node.
>
>     Regards
>     Udo
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bd.PNG
Type: image/png
Size: 19294 bytes
Desc: not available
URL: <http://volkszaehler.org/pipermail/volkszaehler-users/attachments/20130321/3780920a/attachment-0001.png>


More information about the volkszaehler-users mailing list