Arduino Forum

Using Arduino => General Electronics => Topic started by: moonyou on Apr 08, 2011, 11:59 pm

Title: stand alone atmega328 pwm pin input??
Post by: moonyou on Apr 08, 2011, 11:59 pm
so im making a remote for my camera and on breadboard and arduino everything worked great, but when i put everything on a pref board pin 3 stopped reading my IR input. i believe its all hooked up the same as before when it was plugged into the arduino. does pwm input work septate from the arduino board or is there some resistor or something im missing?????
Title: Re: stand alone atmega328 pwm pin input??
Post by: baum on Apr 09, 2011, 01:25 am
PWM input?

And have you installed the Arduino bootloader?
Title: Re: stand alone atmega328 pwm pin input??
Post by: cmiyc on Apr 09, 2011, 03:07 am
Quote
when i put everything on a pref board pin 3 stopped reading my IR input


Swap just the ATmega chip.  If your circuit works, you hooked up your perf board correctly.  If it doesn't, you didn't.
Title: Re: stand alone atmega328 pwm pin input??
Post by: bill2009 on Apr 09, 2011, 09:43 pm
There's nothing extra on the analog input pins of the arduino boards.

You probably need to show a picture or schematic. If everything except analog inpuys works on the perf board check particularly that pin and avcc.
Title: Re: stand alone atmega328 pwm pin input??
Post by: MarkT on Apr 11, 2011, 01:47 am
PWM pins have to be outputs to generate PWM!  Have you done a full continuity check?
Title: Re: stand alone atmega328 pwm pin input??
Post by: Grumpy_Mike on Apr 11, 2011, 07:36 pm
Quote
everything worked great, but when i put everything on a pref board pin 3 stopped reading my IR input.


Then you wired it up wrong.

Quote
i believe its all hooked up the same as before when it was plugged into the arduino.


Many people believe many things for which there is no proof. Here there is proof to say what you believed is not true.

Title: Re: stand alone atmega328 pwm pin input??
Post by: floresta on Apr 11, 2011, 11:27 pm
Quote
... but when i put everything on a pref board ...
What is your definition of 'everything'?

Don