(SOLVED) Ibutton ds1990a configuration help.
Moderator: Benj
-
- Posts: 161
- Joined: Sun Feb 25, 2007 10:56 am
- Location: bucharest, romania
- Has thanked: 90 times
- Been thanked: 34 times
- Contact:
(SOLVED) Ibutton ds1990a configuration help.
Can someone help me with the configuration for iButton in Flowcode 5? I do not know how to set my custom components ... I need, for a simple door lock, to identify the serial number of a Dallas ds1990a to pass the lock. If there is someone who have an ready made example in Flowcode with Ibutton, please post it here. Thank you in advance!
Puiu Bercioiu
Puiu Bercioiu
Last edited by bercioiu on Mon Feb 24, 2014 11:12 am, edited 2 times in total.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Ibutton ds1990a configuration help.
Hello,
I think the iButton devices should work with the OneWire component though I have not tried this in practice.
I think the iButton devices should work with the OneWire component though I have not tried this in practice.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 161
- Joined: Sun Feb 25, 2007 10:56 am
- Location: bucharest, romania
- Has thanked: 90 times
- Been thanked: 34 times
- Contact:
Re: Ibutton ds1990a configuration help.
Benj, thank for your reply!
I think the same as you, only that I do not know how to send and receive commands on that one wire device, I read the datasheet of the DS many times but no luck... that's why I posted here, maybe it is somebody who have work with it.
I think the same as you, only that I do not know how to send and receive commands on that one wire device, I read the datasheet of the DS many times but no luck... that's why I posted here, maybe it is somebody who have work with it.
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
- Contact:
Re: Ibutton ds1990a configuration help.
It seems quite useful chip. I am ordering one for me. I will test and let you know how to program it.
-
- Posts: 161
- Joined: Sun Feb 25, 2007 10:56 am
- Location: bucharest, romania
- Has thanked: 90 times
- Been thanked: 34 times
- Contact:
Re: Ibutton ds1990a configuration help.
Thank you Enamul for your reply!
I barely wait a hearing from you...
I barely wait a hearing from you...
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
- Contact:
Re: Ibutton ds1990a configuration help.
Hi
Thanks for the email. I have ordered that from china but wait for whole 1 month and asked the supplier. They immediately refunded the money and I forgot why I have ordered those. Yesterday I got those in hand and see I have ordered for you. Thanks for knocking I will test and let you know soon. Not possible in week end as those in Uni and I have returned.
Thanks for the email. I have ordered that from china but wait for whole 1 month and asked the supplier. They immediately refunded the money and I forgot why I have ordered those. Yesterday I got those in hand and see I have ordered for you. Thanks for knocking I will test and let you know soon. Not possible in week end as those in Uni and I have returned.
-
- Posts: 161
- Joined: Sun Feb 25, 2007 10:56 am
- Location: bucharest, romania
- Has thanked: 90 times
- Been thanked: 34 times
- Contact:
Re: Ibutton ds1990a configuration help.
OK, I`ll wait your guidance...
Today I installed a new door and I want to upgrade the lock
Thank you sire! Have a nice week end!
Today I installed a new door and I want to upgrade the lock
Thank you sire! Have a nice week end!
-
- Posts: 161
- Joined: Sun Feb 25, 2007 10:56 am
- Location: bucharest, romania
- Has thanked: 90 times
- Been thanked: 34 times
- Contact:
Re: Ibutton ds1990a configuration help.
The HW is ready . All I have to do is to "fill" the "read_key" variable...
- Attachments
-
- lock.fcf
- (37.65 KiB) Downloaded 283 times
-
- lock.gif (34.8 KiB) Viewed 10395 times
-
- Posts: 161
- Joined: Sun Feb 25, 2007 10:56 am
- Location: bucharest, romania
- Has thanked: 90 times
- Been thanked: 34 times
- Contact:
Re: Ibutton ds1990a configuration help.
Every morning I check my email to see if I got the email from matrixmultimedia support... I'm like a kid on Christmas morning looked under the tree ...
-
- Posts: 161
- Joined: Sun Feb 25, 2007 10:56 am
- Location: bucharest, romania
- Has thanked: 90 times
- Been thanked: 34 times
- Contact:
Re: Ibutton ds1990a configuration help.
Problem solved!
Thank to a colleague of our forum - aura809 -, I understand how Ibutton work!
It is quiet simple:
First, you have to ensure that is an Ibutton on the bus with "00_scanbus" and if there is an Ibutton, read the serial number byte by byte with the "00_get_IDByte" changing the octet from 0 to 7 for all eight bytes of the serial numbers... And that`s all folks
Thank you Alen again for your help!
Thank to a colleague of our forum - aura809 -, I understand how Ibutton work!
It is quiet simple:
First, you have to ensure that is an Ibutton on the bus with "00_scanbus" and if there is an Ibutton, read the serial number byte by byte with the "00_get_IDByte" changing the octet from 0 to 7 for all eight bytes of the serial numbers... And that`s all folks
Thank you Alen again for your help!
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
Re: Ibutton ds1990a configuration help.
Hi Bericu!
Wery nice Is it possible to get a copy of your FC
Best regard
Jorgen.
Wery nice Is it possible to get a copy of your FC
Best regard
Jorgen.
-
- Posts: 161
- Joined: Sun Feb 25, 2007 10:56 am
- Location: bucharest, romania
- Has thanked: 90 times
- Been thanked: 34 times
- Contact:
Re: Ibutton ds1990a configuration help.
The FC its "on the way". I had to change the HW, because the RAM of the 683 was insufficient for that project. I use now 16F88 and 16x2 LCD.
I don`t have much time to finished that... Mean while, I will post an example only with the part of the reading of the serial number. You will see, its very simple
Later edit:
This is an simple example to see how to read the iBUTTON.
I don`t have much time to finished that... Mean while, I will post an example only with the part of the reading of the serial number. You will see, its very simple
Later edit:
This is an simple example to see how to read the iBUTTON.
- Attachments
-
- READ_IBUTTON.fcf
- (15.5 KiB) Downloaded 242 times