IR transmissions.


hello guys.

i trying have 2 atmega328p chips communicate each other via ir. used picaxe chips time ago noticed arduino things little more complex.

got 2 "problems":

1) frequency. need ir light modulated @ 38khz i've read in reference analog.write command frequency fixed , it's lower. there way can arduino or have buy external chip?

2) serial communcation. i've attached led (the ir transmission led) tx pin , noticed lights when write serial.begin in void setup(). i'd keep led off when not in use.
is there way can avoid having led on @ times? want project send signal when user presses button. should use serial.begin when user presses button (instead of putting in setup void function) , have disabled serial.end when button released? hope serial.begin command doesn't take time set because i'd signal sent when user presses button.

thank you!

quote
i need ir light modulated @ 38khz

38khz period of shade on 26us.
as long don't long , don't want else @ same time, "delaymicroseconds" between "digitalwrite"s sort out.
you'll have experiment delay right.


Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > IR transmissions.


arduino

Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums