Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 12:50 24 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : 1WIRE Protocol - Anyone Working On It ?

Author Message
Ray B
Senior Member

Joined: 16/02/2007
Location: Australia
Posts: 219
Posted: 09:44am 18 Sep 2011
Copy link to clipboard 
Print this post

This post is possibly directed to the likes of SEC061 but are any of programmers out there working in a solution for 1WIRE so we can connect directly to the likes of DS18B20 tempetrature sensors?

RayB from Perth WA
 
Keith @

Senior Member

Joined: 19/06/2011
Location: Australia
Posts: 167
Posted: 11:21am 18 Sep 2011
Copy link to clipboard 
Print this post

Yeah Ray you and me both

I'm trying get my head around it.

Firstly Maxim have a Serial to 1-Wire Driver DS2480B chip which will handle all the trouble with timings and slew etc. I'm leaning towards this at the moment.

This appears to be the best hardware way to interface the Maximite UART if you are going to use more than 1 DS18B20. See Maxim application note 192.

Maxim have application note 162 for a direct to MCU connection.

There is also a Maxim application note 2420 which covers communication with a PIC MCU.

That's about as far as I have got so far.

I'm wanting use at least a couple of 1-Wire slaves.

Keith
The more we know, the more we know we don't know !
 
Ray B
Senior Member

Joined: 16/02/2007
Location: Australia
Posts: 219
Posted: 12:32pm 18 Sep 2011
Copy link to clipboard 
Print this post

Another option I've got in mind is to connect to 1Wire devices through a slave PICAXE but that is a bit of a retrograde step. Let's see what comes up over the next few days Keith
RayB from Perth WA
 
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 09:01am 19 Sep 2011
Copy link to clipboard 
Print this post

Hi

Hope you have voted for this in the wishlist :)
I am really hoping this comes soon. (Wink Geoff / Gerard)

Regards

John
 
Keith @

Senior Member

Joined: 19/06/2011
Location: Australia
Posts: 167
Posted: 11:25am 19 Sep 2011
Copy link to clipboard 
Print this post

  jman said   Hi

Hope you have voted for this in the wishlist :)
I am really hoping this comes soon. (Wink Geoff / Gerard)

Regards

John


I've done the deed and asked for it to be added to the wish list!


The more we know, the more we know we don't know !
 
vasi

Guru

Joined: 23/03/2007
Location: Romania
Posts: 1697
Posted: 11:25am 19 Sep 2011
Copy link to clipboard 
Print this post

You can connect DS18B20 sensor to any digital input pin (5V compliant) from PIC32... and more than one. I use them through Arduino and Jal languages (but any language providing the library will do) with 18F2550 and ATmega644P. Libraries are open source for Arduino, JALv2, PicMicroPascal, Swordfish Basic, Pinguino/SDCC...

VasiEdited by vasi 2011-09-20
Hobbit name: Togo Toadfoot of Frogmorton
Elvish name: Mablung Miriel
Beyound Arduino Lang
 
Lwgordyn
Newbie

Joined: 20/09/2011
Location: Australia
Posts: 1
Posted: 10:02am 20 Sep 2011
Copy link to clipboard 
Print this post

Hi, Have just joyned the site and came accross your request.
I have been using the DS18B20 for some time now and have a 1wire network using the AVR128 and code vision.
I have camper trailer axle monitoring using 1 wire network on Cat5 cable and wirless to the car. Whilst driving I have the left, right, fridge and ambient temperature at the rear vision mirror.
I have had to write some of the code which I can make avaliable.
The AVR32 and diver chips allows about a 50 meter distance run.

Regards


Laury Gordyn
 
seco61
Senior Member

Joined: 15/06/2011
Location: Australia
Posts: 205
Posted: 10:00am 22 Sep 2011
Copy link to clipboard 
Print this post

Hi.

I have started work on a 1 wire protocol command, but will not continue with it until the source for v2.7 is released. Several reasons for this - one, Geoff may add it himself and two, with the amount of internal change that is occurring with the release of 2.6 and onwards I would probably have to start from scratch again.

So I will provide an implementation after v2.7 source is released (if it is not already present).

Regards

Gerard (vk3cg/vk3grs)
 
Ray B
Senior Member

Joined: 16/02/2007
Location: Australia
Posts: 219
Posted: 11:08am 22 Sep 2011
Copy link to clipboard 
Print this post

Gerard once again thanks for your efforts. YES V2.7 sounds exciting and let's hope Silicon Chip don't hold it over too long. Hopefully in October (yes I'm dreaming) realistically in November but pessimistically in the December issue as a Xmas present.
Regards
RayB from Perth WA
 
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 11:10am 22 Sep 2011
Copy link to clipboard 
Print this post

  seco61 said   Hi.

I have started work on a 1 wire protocol command, but will not continue with it until the source for v2.7 is released. Several reasons for this - one, Geoff may add it himself and two, with the amount of internal change that is occurring with the release of 2.6 and onwards I would probably have to start from scratch again.

So I will provide an implementation after v2.7 source is released (if it is not already present).


BIG THANK YOU

yes i am shouting it

John
 
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 06:25pm 25 Oct 2011
Copy link to clipboard 
Print this post

  seco61 said   Hi.

I have started work on a 1 wire protocol command, but will not continue with it until the source for v2.7 is released. Several reasons for this - one, Geoff may add it himself and two, with the amount of internal change that is occurring with the release of 2.6 and onwards I would probably have to start from scratch again.

So I will provide an implementation after v2.7 source is released (if it is not already present).


Hi Gerard

Just a gentle reminder now that 2.7 is here without 1 wire protocol support.

Rergards

John
 
Keith @

Senior Member

Joined: 19/06/2011
Location: Australia
Posts: 167
Posted: 07:19am 13 Nov 2011
Copy link to clipboard 
Print this post


Hi Gerard

How's the 1 wire project coming along ... I'm lost without it but I am patiently waiting so no hurry .

Just wondering for a tidbit of news.

regards
Keith
The more we know, the more we know we don't know !
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024