I need to remotely control my arduino board to perform certain task. But the thing is i am going to use all my pwm pins to generate continuous fast pwm. If i am not mistaken there is no way i can use an IR device without the pwm pin. So other than IR, what else can i possibly use with (Arduino Lilypad or Arduino Pro Mini 3.3V) without influencing my pwm generation? And the device need to be small enough to be attached to the main board.
** i am using all the timers available on fast pwm mode.
Well there are various radio devices that just take 2 pins, and I don't think they need to be PWM or analog pins. Be sure to check whether what ever devices you use are legal for your area. The following are some devices legal in the USA:
RadioBlock - http://www.kickstarter.com/projects/545073874/radioblock-simple-radio-for-arduino-or-any-embedde?ref=category - note this is a kickstarter project that if it gets $18,000 by October 6th, it will send as rewards the number of units you backed. I am a backer for 2 units. Note, experience has shown that the dates of delivery from kickstarter projects can be wildly inaccurate, so if you need something immediately, go with a more mature product.
The other thought if you want to still do IR, is have a second board that only does IR and has a serial/i2c/spi connection to the board running the show. Obviously if you get into multiple boards, you could share some of the PWM support across the boards.
MichaelMeissner:
The other thought if you want to still do IR, is have a second board that only does IR and has a serial/i2c/spi connection to the board running the show. Obviously if you get into multiple boards, you could share some of the PWM support across the boards.
MichaelMesissner beat me too it, but I was going to suggest getting a dedicated IR reciever IC and interfacing with it through a standard digital I/O pin. This one is just for decoding signals recieved from IR remote controls, but there are others available for encoding or bi-directional signals.