cancel
Showing results for 
Search instead for 
Did you mean: 

Implement one wire slave ?

zeqiriarbnor
Associate
Posted on January 30, 2013 at 15:12

Please can you tell me how to implement one wire slave in stm8s ?

Note: the one wire master is GPS TELTONIKA FM1100

#1-wire
4 REPLIES 4
Andrew Neil
Evangelist III
Posted on February 02, 2013 at 01:47

I presume you're talking specifically about the Maxim (formerly Dallas) 1-Wire™ interface?

http://www.ibutton.com/

The protocol is very well documented on the Maxim site - you should work from there.

Or, if you don't want to or can't be bothered to do that, you can use a DS2408 to create a parallel interface - see Figure 17 on p28 of the Datasheet for an example:

http://datasheets.maximintegrated.com/en/ds/DS2408.pdf

zeqiriarbnor
Associate
Posted on February 04, 2013 at 09:57

thnx Neil for reply,

I've understood one wire protocol, time slots, communication procedures etc. , but I'm not able to implement slave into stm8s.

If anyone have an example of implementing one wire slave into stm8s, please post it.

In attachment is an arduino one wire slave example :

________________

Attachments :

OneWireSlave__1_.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hyzo&d=%2Fa%2F0X0000000bKt%2FCqhLTytqOdgeNYKnvT_OTf0ZfBOltiAIEGsm1r08Fd8&asPdf=false
Andrew Neil
Evangelist III
Posted on February 04, 2013 at 17:39

If you really have understood the one wire protocol, time slots, communication procedures etc, it shouldn't be hard to implement - where are you stuck?

A look at the simple master code for microcontrollers on the Maxim site should give you some good ideas to start with...

Again, you can avoid having to implement the protocol by using a hardware slave such as DS2408 ...

alexalex92
Associate
Posted on May 04, 2015 at 16:10

Greetings!

Our product 1-Wire RFID Reader might be of interest to you. 

It allows RFID Reader function on basic GPS Trackers like Teltonika FM11XX/FM12XX and Ruptela FM-Eco4 light. 

Since it emulates iButton, it works with any GPS Tracker that has 1-wire iButton interface.

It can be used for Driver ID & even In-vehicle attendance. 

Please checkout: 

http://ormat.in/products/1-wire-rfid-reader/%20

It has in-built Bi-Color LED & Buzzer for audio-visual notification. 

Please contact us, to discuss more in detail.