I guess thats the limitation. If 1-wire/owfs can transmit at a constant
steady bit rate, say 1200bps, 2400bps or even its default 16.1kbps then it
would be possible to make a 1wire IR Tx'er. Otherwise precise timing
control would be needed over the 1wire device and im sure thats impossible
(say high 40ms then low 10ms then high 20ms etc).

I know there's a lot of info on the net about using PICs as 1wire masters,
but can they run as slaves by themselves instead? Or would I still need a
ds2406 to feed the PIC its data(code to IR transmit) and then some sort of
magic packet/EOF to tell the PIC to send the code once it's completely
stored in the PIC?

A PIC would cut down the parts needed, and would totally remove the need
to have a 555 for a carrier signal. I guess a PIC could even be programmed
via the 1wire to run on different carrier signals on the fly, that would
be cool :)

I guess even a 2nd ds2406 (or the dual channel SMD version) could pull a
PIC i/o high while transmitting and then pull it low again to signal the
PIC to transmit IR code it just buffered.

Would be nice if a PIC could act as a slave without any ds* chips, can they?

Thanks,

Rohan.


Eric Vickery wrote:
> I think that would be pretty hard in 1-Wire. I'm not sure the 1-Wire
> data stream would be consistent enough for IR communications. I think
> using something like a PIC would be a better route, plus you can get
> some PICs for a good bit cheaper than the DS2406.
>
> My $0.02
>
> Eric
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> rohbags
> Sent: Sunday, July 09, 2006 5:24 PM
> To: [email protected]
> Subject: Re: [Owfs-developers] DS2406 - output bytes in serial fashion?
>
>
> Hi Paul,
>
> Basically it would only need to push out bit rates between 1000 and 4000
> bits per second. The carrier signal is typicaly 38 or 40 KHz in most
> consumer devices and a 555 would be an easier way to run this carrier.
>
> So if the ds2406 (or ds2408, but 2406 prefered) could push out a stream
> of 1-4Kbps it could work.
>
> I have a few little adhoc 1wire circuits here which use 2406's and/or
> 2408's. I know the 2408 can be sent a byte at a time, but then I'd need
> a parallel-to-serial convertor IC to feed the IR led unless the 2408 can
> output its byte in serial fahion over one of its output bits. I think I
> would need some sort of timing to latch the parallel-to-serial chip as
> well, which would be a different freq to the carrier 555 so would need a
> 2nd 555 or a 556 dual timer IC.
>
> It would be great if it was possible to echo a word to a ds2406 like:
> #echo "0101010100010101" > /dev/1wire/*ds2406 device IO A* and *somehow*
> have it output at a set data rate (1200, 1600, 2400, 3800,
> etc) ...any chance a ds2406 could do that?
>
> The grand idea would be to implement some sort of /dev/lirc device that
> could use the standard lirc package to transmit IR data via a 1wire
> transmitter.
>
> Thanks,
>
> Rohan.
>
>
> Paul Alfille wrote:
>> 1. The DS2408 seems like a better choice -- ot has 8 bites and a
>> special mode (that isn;t currently implemented in OWFS) to do serial
>> handshaking.
>>
>> 2. The 1-wire but is serial -- 1 bit at a time. OWFS doesn everything
>> in bytes, except the search algorithm, but that jut means bit-banging
>> 8 bites, or doing higher level read/writes if the adapter supports it.
>
>> The adapter will do bit-level communication.
>>
>> 3. There is no "slave" to "slave" communication, so it's better to
>> keep the data on the master.
>>
>> So the real question is what data rate does your IR expect? At regular
>
>> speed, and with special modes, you can output 16k bits/sec = 2k Bytes/
>
>> sec. (Less any communication overhead).
>>
>> Paul Alfille
>>
>> On 7/9/06, rohbags <[EMAIL PROTECTED]> wrote:
>>> Hi everyone,
>>>
>>> Just wondering if anyone knows if there would be any limitations to
>>> attempting to get a DS2406 to output bytes (words) at a time instead
>>> of bits?
>>>
>>> The idea is to get a DS2406 to output a IR code in a serial fasion,
>>> and its output then go through a 38/40KHz carrier signal to pulse a
>>> IR Tx led.
>>>
>>> ie: a 1-Wire Infra-Red Transmitter, perfect for remote control of air
>
>>> conditioners with IR remote controls.
>>>
>>> I know it could be done with PIC's, but would be nice to have a very
>>> simple Tx circuit for the DS2406.
>>>
>>> They have 1024 bits of EPROM but no RAM, so data would have to be
>>> transmited over the 1wire bus in real time I would presume, can the
>>> 1w bus send whole words at a time instead of just bit after bit after
>
>>> bit?
>>>
>>> Could another 1w EEPROM (like the DS2431 1024-bit EEPROM) be used to
>>> store the bytes then push it all as one word to a DS2406 (or
>>> something like that)? ..or is that getting too close to a PIC setup
>>> anyway and might as well go PIC anyway?
>>>
>>> Any ideas?
>>>
>>>
>>> Cheers,
>>>
>>> Rohan.
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> ----
>>> Using Tomcat but need to do more? Need to support web services,
>>> security?
>>> Get stuff done quickly with pre-integrated technology to make your
> job
>>> easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>>> Geronimo
>>>
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> _______________________________________________
>>> Owfs-developers mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>
>>
>
>
>
>
> ------------------------------------------------------------------------
> -
> Using Tomcat but need to do more? Need to support web services,
> security? Get stuff done quickly with pre-integrated technology to make
> your job easier Download IBM WebSphere Application Server v.1.0.1 based
> on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Owfs-developers mailing list [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to