p4trykx | 15 Jun 2012 00:12
Picon

DS2423 on a attiny25, at last.

Hello
I just received a mail form Tobias who wrote a DS2423 counter on Attiny25  
AVR Microcontroller. It's a good alternative to original DS2423 counter  
which is discontinued and is had to buy. The licensed under GPL
AFAIK the code is based on owslave(fist implementation for Attiny85)
There is also code for smaller Attiny13 but I did not test it.
The Attiny25 runs well on my poor designed network made of telephone wire.

This is his page
http://www.tm3d.de/index.php/1-wire-device-mit-avr

For building it you need a AVR programmer and of course Attiny25 uC. No  
external oscillators needed. If you don't have a AVR programmer You can  
make it from an old LPT port of use FT232 usb<->serial converter's GPIO  
bitbang.

--

-- 
Patryk
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
(Continue reading)

Mark Richards | 15 Jun 2012 14:38

Re: DS2423 on a attiny25, at last.

This is a very good contribution.  And thank you for including the schematic.

It seems some bits may be missing from the source code.. for example the function that returns an ID.  Do you have this code?

/m

On 6/14/2012 18:12, p4trykx wrote:
Hello
I just received a mail form Tobias who wrote a DS2423 counter on Attiny25 AVR Microcontroller. It's a good alternative to original DS2423 counter which is discontinued and is had to buy. The licensed under GPL
AFAIK the code is based on owslave(fist implementation for Attiny85)
There is also code for smaller Attiny13 but I did not test it.
The Attiny25 runs well on my poor designed network made of telephone wire.

This is his page
http://www.tm3d.de/index.php/1-wire-device-mit-avr

For building it you need a AVR programmer and of course Attiny25 uC. No external oscillators needed. If you don't have a AVR programmer You can make it from an old LPT port of use FT232 usb<->serial converter's GPIO bitbang.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
p4trykx | 15 Jun 2012 18:29
Picon

Re: DS2423 on a attiny25, at last.

W dniu 15.06.2012 o 14:38 Mark Richards <mark.richards <at> massmicro.com>  
pisze:

>
> It seems some bits may be missing from the source code.. for example the
> function that returns an ID.  Do you have this code?

I only tried to compile this code but I'm using a .hex file provided by  
Tobias. The code is on the project page all fits in one file

I'm not sure but there is line 68
const uint8_t owid[8]={0x1D,0xA2,0xD9,0x84,0x02,0x00,0x00,0xc4};;
that might be an id and if you change it and compile angain you have .hex  
file for another device in your network.

For now I have only one counter which presents itself with 1D.A2D984020000

--

-- 
Patryk

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Mark Richards | 15 Jun 2012 18:37

Re: DS2423 on a attiny25, at last.

On 6/15/2012 12:29, p4trykx wrote:
I only tried to compile this code but I'm using a .hex file provided by Tobias. The code is on the project page all fits in one file

I'm not sure but there is line 68
const uint8_t owid[8]={0x1D,0xA2,0xD9,0x84,0x02,0x00,0x00,0xc4};;
that might be an id and if you change it and compile angain you have .hex file for another device in your network.
I missed that in my code read.   I will try to run it here.

Thank you!

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Owfs-developers mailing list
Owfs-developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Gmane