0
Offline
Jr. Member
Karma: 0
Posts: 83
Arduino rocks
|
 |
« on: January 29, 2010, 07:27:27 pm » |
Hi, I have a bunch of 1-Wire elements (EEPROM, switch, etc...) and I can only find libraries to handle the (too) famous DS1820 ... anyone knows if someone tried others 1-wire devices? If someone can help me to fill this list by telling where some code can be found for the 1-wire list of devices:
DS28E01-100: 1Kb Protected 1-Wire EEPROM with SHA-1 Engine DS2413: 1-Wire Dual Channel Addressable Switch DS28E04-100: 4096-Bit Addressable 1-Wire EEPROM with PIO DS2482-100: Single-Channel 1-Wire Master DS2482-800: Eight-Channel 1-Wire Master DS2431: 1024-Bit 1-Wire EEPROM DS9090K: 1-Wire Device Evaluation Kit Rev B4 DS2422: 1-Wire® Temperature/Data Logger with 8KB Datalog Memory DS9490, DS9490B, DS9490R: USB to 1-Wire/iButton Adapter DS2408: 1-Wire 8-Channel Addressable Switch DS1482: 1-Wire Level Shifter and Line Driver with Load Sensor DS18S20: 1-Wire Parasite-Power Digital Thermometer DS2502-E48: 48-Bit Node Address Chip DS2411: Silicon Serial Number with VCC Input DS2760: High-Precision Li+ Battery Monitor DS2433: 4Kb 1-Wire EEPROM DS1822: Econo 1-Wire Digital Thermometer DS2401: Silicon Serial Number DS2423: 4kbit 1-Wire RAM with Counter DS2430A, DS2430AP: 256-Bit 1-Wire EEPROM DS18B20: Programmable Resolution 1-Wire Digital Thermometer DS2432: 1Kb Protected 1-Wire EEPROM with SHA-1 Engine DS2505: 16Kb Add-Only Memory DS1WM: Synthesizable 1-Wire Bus Master DS2407: Dual Addressable Switch Plus 1kbit Memory DS2480: Serial 1-Wire Line Driver DS2450: 1-Wire Quad A/D Converter DS2404: EconoRAM Time Chip DS9097U, DS9097U-009, DS9097U-E25, DS9097U-S09: Universal 1-Wire COM Port Adapter DS2506: 64Kb Add-Only Memory DS2890: 1-Wire Digital Potentiometer DS2433-Z01: 4kb 1-Wire EEPROM DS2415: 1-Wire Time Chip DS2406: Dual Addressable Switch Plus 1Kb Memory DS2405: Addressable Switch DS2409: MicroLAN Coupler DS2502: 1Kb Add-Only Memory DS9502: ESD Protection Diode DS9503: ESD Protection Diode with Resistors DS2502-UNW, DS2505-UNW: UniqueWare Add-Only Memory DS2404S-C01: Dual Port Memory Plus Time DS2502-E64: IEEE EUI-64 Node Address Chip DS9097, DS9097E: COM Port Adapter DS2480B: Serial to 1-Wire Line Driver DS2417: 1-Wire Time Chip With Interrupt DS2490: USB to 1-Wire Bridge Chip DS2223, DS2224: EconoRAM DS1481: 1-Wire Bus Master with Overdrive
I think filling this list would help more people than me alone... Thank you! But may be it is too much work ... :-/
|
|
|
|
|
Logged
|
|
|
|
|
SF Bay Area (USA)
Offline
Faraday Member
Karma: 78
Posts: 5454
Strongly opinionated, but not official!
|
 |
« Reply #1 on: January 29, 2010, 08:36:30 pm » |
It looks to me as though the DS1820 library is based on top of a separate "onewire" library that is quite generic (read, write, select, crc.) i would think you should be able to use that library to talk to any onewire device...
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Full Member
Karma: 0
Posts: 103
Arduino rocks
|
 |
« Reply #2 on: January 29, 2010, 09:40:24 pm » |
Yes, the basic library is meant to handle searching the network to discover device serial numbers, and sending & receiving data to the devices. You just need to read the datasheets for the devices to find what commands to send / data to receive.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Jr. Member
Karma: 0
Posts: 83
Arduino rocks
|
 |
« Reply #3 on: January 29, 2010, 09:44:45 pm » |
oh, ok that is good news ... I am gona try that very soon. Thank you.
|
|
|
|
|
Logged
|
|
|
|
|
DK
Offline
Newbie
Karma: 0
Posts: 11
Arduino rocks
|
 |
« Reply #4 on: April 08, 2010, 02:58:53 pm » |
Hi,
Do you know if there is Arduino code available to interface to the DS2408?
It would be fairly easy to interface to it using the 1-wire library, but if the work has been done already it would make more sense to spend my time on interface that aren't already available.
-MS
|
|
|
|
|
Logged
|
|
|
|
|
Cumming, Ga
Offline
Edison Member
Karma: 12
Posts: 1389
Ultimate DIY: Arduino
|
 |
« Reply #5 on: April 08, 2010, 04:21:27 pm » |
I think you should consider the Arduino 1-wire library "still" a work in progress... any work you do, will probably be NEW unless it's about the thermometer chips. I would direct you to the weather station code in the forum... I believe he added a few other parts... like DS2450... meaning, just the parts in the weather station product. http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1231771428
|
|
|
|
|
Logged
|
|
|
|
|
Sussex UK / CT USA
Offline
Edison Member
Karma: 0
Posts: 1026
Forums forever
|
 |
« Reply #6 on: April 10, 2010, 06:57:39 am » |
There is extensive information on working with 1-Wire chips at... http://sheepdogguides.com/dst1main.htmIt is couched in Delphi terms, but there are many general points which should make sense/ be useful to Arduinauts as well.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 36
Arduino rocks
|
 |
« Reply #7 on: April 10, 2010, 07:56:31 am » |
Hi,
i have been experimenting with the 2415 timchip. works quite smoothly. I have built a library which offers similar funcitonality to the 1307 timer.
best
s
|
|
|
|
|
Logged
|
|
|
|
|
DK
Offline
Newbie
Karma: 0
Posts: 11
Arduino rocks
|
 |
« Reply #8 on: April 10, 2010, 04:47:43 pm » |
Thanks for your replies. I hope to get to work on the 2408 this week. Looking at the datasheet and the 1820 code, I have a feeling that it should be fairly straight forward.
|
|
|
|
|
Logged
|
|
|
|
|
Odense
Offline
Jr. Member
Karma: 1
Posts: 60
Arduino rocks
|
 |
« Reply #9 on: July 02, 2010, 10:44:42 am » |
mist29
How does it goes with the ds2408 lib?
|
|
|
|
|
Logged
|
|
|
|
|
Netherlands
Offline
Newbie
Karma: 0
Posts: 12
|
 |
« Reply #10 on: October 14, 2010, 03:14:16 pm » |
Hello, i was interested about using the DS2408. is there anyone who managed to write a sketch for this chip ?
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 13
Arduino rocks
|
 |
« Reply #11 on: October 15, 2010, 03:06:12 pm » |
Checkout the code on this site: http://code.google.com/p/gfb/source/browse/#svn/arduinoThis guy has created some lib for some of the chips. At worst case, it's a ref point to start from. Chris
|
|
|
|
|
Logged
|
|
|
|
|
Netherlands
Offline
Newbie
Karma: 0
Posts: 12
|
 |
« Reply #12 on: October 15, 2010, 03:23:18 pm » |
Thanks NVRDUNN, this is a very helpfull site i have some work to do for next coming weeks.
|
|
|
|
|
Logged
|
|
|
|
|
|