I love this site.
If you post useless, you will get punished.
Entire Forum
This board
This topic
Members
Entire Site
Home
Contact Us
Help
Search
GoogleTagged
Donations
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
November 23, 2024, 07:19:49 07:19
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Sonsivri
>
Electronics
>
Pic Basic Languages
(Moderator:
bbarney
) >
Ibutton
Pages: [
1
]
« previous
next »
Print
Author
Topic: Ibutton (Read 4676 times)
0 Members and 1 Guest are viewing this topic.
nileshhande
Junior Member
Offline
Posts: 70
Thank You
-Given: 23
-Receive: 5
Ibutton
«
on:
September 04, 2007, 10:24:14 10:24 »
Hi,
Im looking for DALLAS Ibutton interface...DS1990A or DS1991 MultiKey iButton project(PIC)..
http://www.maxim-ic.com/products/ibutton/products/ibuttons.cfm
Thanks&Regards..
Logged
ogul
Newbie
Offline
Posts: 15
Thank You
-Given: 169
-Receive: 10
Re: Ibutton
«
Reply #1 on:
September 04, 2007, 11:51:30 11:51 »
CONTROL1 var byte
K var byte
DATBUF var byte[8]
tom_wait:
gosub tom_reset
if CONTROL1=0 then tom_wait
gosub tom_read
lcdout $FE,$01
For K=0 to 7
lcdout DATBUF[K]," "
NEXT K
pause 2000
goto tom_wait
tom_reset:
CONTROL1=1
Low PORTB.2 ' Set the data pin low to init
Pauseus 500 ' wait > 480us
input PORTB.2
Pauseus 100 ' Wait > 60us
If PORTB.2= 1 Then CONTROL1=0 'no tom
Return
tom_read: '
OWOUT PORTB.2, 1, [$33]
OWIN PORTB.2, 0, [STR DATBUF\8] ' 8-byte "ID"
return
Logged
nileshhande
Junior Member
Offline
Posts: 70
Thank You
-Given: 23
-Receive: 5
Re: Ibutton
«
Reply #2 on:
September 04, 2007, 12:57:13 12:57 »
if you could Give some more essential information of this code like... Read multiple ibuttons and if button1 = xxxx then high port1 else if button2 = xxxx then high port2...some thing like that........
Thank you very much...
Regards.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Electronics
-----------------------------
=> Projects
=> Pic Basic Languages
=> Pic C Languages
=> AVR, 8051 Family and ARM Area
=> RTOS
=> Artificial Intelligence (AI) & Robotics
=> Hardware and Tools
=> General Electronics
-----------------------------
Computers
-----------------------------
=> Internet Scripting Languages
=> Graphics and CAD
-----------------------------
Announcements and Rules
-----------------------------
=> Help & Rules
===> English
===> Arabic
===> French
===> Italian
===> Persian
===> Portuguese (Brazilian)
===> Spanish
===> Swedish
===> Turkish
=> Announcements
-----------------------------
Others
-----------------------------
=> General
=> Entertainment
=> Suggest Forum Content
=> Holiday and Greetings
=> Testing Forum
=> Invitation Request
Loading...