Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

Intercom using single LED

Intercom using single LED

2005-10-09 by fjch100

HI, I just upload a new pdf file with information about using normal 
LEDs like sensor to interchange information between modules.
I just found it surfing the web, but I feel the need to share with all 
the AVR comunity. I may be some one can write a driver in GCC to just 
include and use in all the AVR projects....

Re: [AVR-Chat] Intercom using single LED

2005-10-09 by erikc

fjch100 wrote:
> HI, I just upload a new pdf file with information about using normal 
> LEDs like sensor to interchange information between modules.
> I just found it surfing the web, but I feel the need to share with all 
> the AVR comunity. I may be some one can write a driver in GCC to just 
> include and use in all the AVR projects....

Wanna tell us the file name?

erikc

Re: Intercom using single LED

2005-10-09 by fjch100

--- In AVR-Chat@yahoogroups.com, erikc <firewevr@a...> wrote:
>
> fjch100 wrote:
> > HI, I just upload a new pdf file with information about using 
normal 
> > LEDs like sensor to interchange information between modules.
> > I just found it surfing the web, but I feel the need to share 
with all 
> > the AVR comunity. I may be some one can write a driver in GCC to 
just 
> > include and use in all the AVR projects....
> 
> Wanna tell us the file name?
> 
> erikc
>

the program name is:

Comm_using_Bidirecctional_LEDs.pdf

Re: Intercom using single LED

2005-10-09 by fjch100

--- In AVR-Chat@yahoogroups.com, "fjch100" <fjch100@c...> wrote:
>
> --- In AVR-Chat@yahoogroups.com, erikc <firewevr@a...> wrote:
> >
> > fjch100 wrote:
> > > HI, I just upload a new pdf file with information about using 
> normal 
> > > LEDs like sensor to interchange information between modules.
> > > I just found it surfing the web, but I feel the need to share 
> with all 
> > > the AVR comunity. I may be some one can write a driver in GCC 
to 
> just 
> > > include and use in all the AVR projects....
> > 
> > Wanna tell us the file name?
> > 
> > erikc
> >
> 
> the program name is:
> 
> Comm_using_Bidirecctional_LEDs.pdf
>
This is the abstrac of the file:

A novel microprocessor interface circuit is described which 
can alternately emit and detect light using only an LED, 
two digital I/O pins and a single current limiting resistor.

This technique is first applied to create a smart illumination 
system that uses a single LED as both light source and sensor. 
We then present several devices that use an LED as a generic 
wireless serial data port. 

An important implication of this work is that every LED connected
to a microprocessor can be thought of as a wireless two-way 
communication port. 

We present this technology as a solution to the "last centimeter
problem", because it permits disparate devices to communicate with 
each other simply and cheaply with minimal design modification.

Re: [AVR-Chat] Re: Intercom using single LED

2005-10-10 by Peter Jakacki

Bi-directional communications with a single LED? Been doing that for years!

However to achieve higher speed as a sensor you really need to operate 
the LED in current mode rather than photo-voltaic mode. This requires 
something as simple as a single NPN and maybe a pull-up resistor in the 
collector if necessary. Usually I use a PNP to drive the LED and an NPN 
to sense it. The I/O pins are usually the UART. This worked perfectly 
fine on an 8535 as well as other processors using IR LEDs at close range 
running at 4800 baud.

Nothing stopping you from using visible LEDs except maybe the 
interference you might get. The IR leds will work fine unless you have 
direct sunlight, in which cas the sensor just saturates.

Additionally, in one case I did double duty with the LED and even 
modulated it to communicate to a HP calculator printer.

I call it my 20 cent wireless coms.

Basic circuit connections:-
GND ~~ [LED- LED+] ~~ 10K ~~ BASE
             LED+] ~~ 100R ~~ OUTPUT PORT   ( or use a PNP for more 
drive or if using a UART )
VDD ~~ PULL-UP ~~ COLLECTOR ~~ INPUT PORT
GND ~~ EMITTER


*Peter*

fjch100 wrote:
Show quoted textHide quoted text
>>>fjch100 wrote:
>>>      
>>>
>>>>HI, I just upload a new pdf file with information about using 
>>>>        
>>>>
>>normal 
>>    
>>
>>>>LEDs like sensor to interchange information between modules.
>>>>I just found it surfing the web, but I feel the need to share 
>>>>        
>>>>
>>with all 
>>    
>>
>>>>the AVR comunity. I may be some one can write a driver in GCC 
>>>>        
>>>>
>to 
>  
>
>>just 
>>    
>>
>>>>include and use in all the AVR projects....
>>>>        
>>>>
>>>Wanna tell us the file name?
>>>
>>>erikc
>>>
>>>      
>>>
>>the program name is:
>>
>>Comm_using_Bidirecctional_LEDs.pdf
>>
>>    
>>
>This is the abstrac of the file:
>
>A novel microprocessor interface circuit is described which 
>can alternately emit and detect light using only an LED, 
>two digital I/O pins and a single current limiting resistor.
>
>This technique is first applied to create a smart illumination 
>system that uses a single LED as both light source and sensor. 
>We then present several devices that use an LED as a generic 
>wireless serial data port. 
>
>An important implication of this work is that every LED connected
>to a microprocessor can be thought of as a wireless two-way 
>communication port. 
>
>We present this technology as a solution to the "last centimeter
>problem", because it permits disparate devices to communicate with 
>each other simply and cheaply with minimal design modification.
>  
>

Re: [AVR-Chat] Re: Intercom using single LED

2005-10-10 by Thomas Keller

On Mon, 2005-10-10 at 12:28 +1000, Peter Jakacki wrote:
> I call it my 20 cent wireless coms.
> Basic circuit connections:-
> GND ~~ [LED- LED+] ~~ 10K ~~ BASE
>              LED+] ~~ 100R ~~ OUTPUT PORT   ( or use a PNP for more 
> drive or if using a UART )
> VDD ~~ PULL-UP ~~ COLLECTOR ~~ INPUT PORT
> GND ~~ EMITTER


   Uh...call me dense, but this means nothing to me.  Could you explain
your notation, please?


Tom

Looking for cheap pulse motor controller

2005-10-10 by Timothy D. Lenz

I am expermenting with Muller style pulse motor/generators and wan to use amicro to control the pulses. Atmel looks like they have the cheapest easyest to use devices. It would get a signal from an optic sensor each time any magnet passes TDC and one of the pulses will also be on a seperate wire to mark a ref postion for the rotor. The coils will be turned on at the passing of one magent and turned off by the passing of the second magnet. The micro will need to turn a coil on at some point BTDC, TDC, or ATDC and control how long the coil is on based on, at first speed of the rotor, and later also based on voltages. If simple PWM where used, one would be needed for every coil (5-15 to start possibly as many as 56 or more latter) with many pulses overlaping and the need to turn the pulse train on and off per coil.
Can someone recommend a particular device? Also, it has been many years since I did much programing. Dabbled with 1802 some, so would need fairly simple to use compiler.

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.