Pages: [1]   Go Down
Author Topic: Arduino IRRemote Library atmega8  (Read 2651 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 70
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
  I've been trying to use the IRRemote library( http://www.arcfn.com/2009/08/multi-protocol-infrared-remote-library.html ) of arduino on an atmega8 but when i try to compile i get errors like this

 error: ‘TCCR2A’ was not declared in this scope

I realize this is cause the library was built for atmega168 or 328. Is there a way i can tweak the library for it to work with atmega8.Or is there any other similar IR remote library i can use with arduino.Basically all i want to do is interface a TSOP1738 ( IR Receiver ) with an arduino and the library should give me different outputs for different buttons pressed on the remote so i can differentiate between the different buttons in the remote and accordingly perform certain actions.
Thanks..
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 70
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

anybody ? smiley
Logged

INDIA
Offline Offline
Sr. Member
****
Karma: 0
Posts: 382
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello...

I face the same problem too...
It is because that Atmega 8 has only 3 PWM pins..

And the IRremote.h file uses many other PWM pins of the Atmega328/128/88 as they have 6 PWM outputs..

Even I am looking for a way to make the IR remote work in the Atmega8 without using the IRremote library..
If you have found any solution to it, please guide me too..
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 70
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hey,
take a look at this site http://www.ladyada.net/learn/sensors/ir.html , it helped me a lot..
Logged

INDIA
Offline Offline
Sr. Member
****
Karma: 0
Posts: 382
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi..! Prashant...

Thank you for replying to the post...smiley

Can you plz pm me your gmail or yahoo id..??
I m seeking for some help...

Logged

Pages: [1]   Go Up
Jump to: