Loading...
  Show Posts
Pages: 1 ... 10 11 [12] 13 14
166  Using Arduino / Project Guidance / Re: LDR circuit on: September 14, 2012, 09:32:43 am
Means I various with the light intensity. Hahahaha..

Explain why the light intensity of the LED will affected by the intensity of light o LDR. I suppose it to be either HIGH or LOW...no intermediate. But when I vary the light intensity, the LED light up abit and when totally <400, the LED is fully light up
167  Using Arduino / Project Guidance / Re: LDR circuit on: September 14, 2012, 09:06:50 am
Erm, sorry .. My code is <400..Typo..

So how to explain the thing ?
168  Using Arduino / Project Guidance / LDR circuit on: September 14, 2012, 01:04:36 am
https://gist.github.com/3720060

Hey, according to this coding, this is a night lamp circuit. So I am curious about one thing. LDR is an analog sensor. So, the light intensity of the LED at pin 13 will change according to the light intensity received by the LDR. But then according to this coding, it is either a sharp 5V HIGH for the LED at pin 13 or a LOW for the LED. If the sensovalue is <150, which means dark ,so the LED will light up with 5V. But when I play with it, the light intensity of the LED is various with the LDR. So this make me do not understand fully about the coding @@ Can anyone clarify for me ?
169  Using Arduino / Microcontrollers / Re: bootloading the atmega328-pu on: September 05, 2012, 11:49:20 pm
Means I am correct ?
170  Using Arduino / Microcontrollers / Re: Bootloaing AVR chip on: September 05, 2012, 11:48:59 pm
Can you elaborate more on that ?

Thank you smiley
171  Using Arduino / Microcontrollers / Re: Bootloaing AVR chip on: September 05, 2012, 11:35:53 pm
Anyway, thanks for your great help in providing info smiley
172  Using Arduino / Microcontrollers / Re: bootloading the atmega328-pu on: September 05, 2012, 11:25:12 pm
I am still very blur about it. When burning bootloader, I have to change the setting..but when uploading code, Atmega 328 is the same as Atmega 328P ? So that is why the bootloader for atmega 328 lies ? Because the IDE recognise only Atmega328P bootloader ?
173  Using Arduino / Microcontrollers / Re: Bootloaing AVR chip on: September 05, 2012, 11:09:27 pm
Ah..Just forget about using internal osciallator as it is not that accurate too from what I heard. Just stick to 16MHz and burn arduino UNO bootloader or optibootloader.

Anyway, any difference between optiboot and UNO bootloader ?
174  Using Arduino / Microcontrollers / Re: Bootloaing AVR chip on: September 05, 2012, 10:50:07 pm
So I need to choose arduino NG or older w/Atmega 168 , so that my chip will not required any external crystal ?

How to make the txt file ? What should be included ?
175  Using Arduino / Microcontrollers / Re: bootloading the atmega328-pu on: September 05, 2012, 10:35:11 pm
So recently i ordered a bunch of atmega chips (atmega328-pu as opposed to the atmega328p pico power series) as i dont need the extra power saving gains so i decided to save myself some money. However I had a heck of a time trying to burn the bootloader on them and it took me several hours to find the info i needed so i thought i would just archive the info for anyone looking for the same. If you have any tips or suggestions please add them as i am still quite new to all of this. The chips loaded in this process seem to work fine ...

Please note this is for the non picopower atmega328-pu chips  signature = 0x1e 0x95 0x14 (1E 95 14) vs atmega328p-xx (1E 95 0F)

I tried to load the optiboot and the demillinauve bootloaders via the arduino ide v22 but all i could get was this message - Expected signature for ATMEGA328P is 1E 95 0F Double check chip, or use -F to override this ...

After much searching I found you need to modify the avrdude.conf file ( mac = arduino -show package contents - resources/java/hardware/tools/avr/etc )

Make a backup copy of this file in case something gets messed up.

Open the file with text edit and about 2/3 the way down under atmega 328 find   " signature       = 0x1e 0x95 0x0F; "

change the 0F to 14 save it and restart the arduino ide, you should now be able to bootload your atmega328-pu chips.

Make sure to change the 14 back to OF and restart when your done loading the bootloaders otherwise it will fail with - Expected signature for ATMEGA328P is 1E 95 14 Double check chip, or use -F to override this ...

Good luck  smiley


I do not understand why I should change back the 14 to 0F ?? Since I am using atmega 328 instead of atmega 328P, so I change the setting and then why I need to change back to atmega 328P setting again since I am using atmega 328 ??
176  Using Arduino / Microcontrollers / Re: Bootloaing AVR chip on: September 05, 2012, 10:14:12 pm
If the board I connected without external 16MHz crystal and 22pF cap, then how ?
177  Using Arduino / Microcontrollers / Re: How to burn the bootloader on a standalone atmega328p? on: September 05, 2012, 10:07:35 pm
If I burn the bootloader version where I do not require the chip to use external crystal then I can eliminate the need of the 22pF cap and the external 16Mhz crystal ? Is it necessary to pull up the RESET pin to HIGH(5V) ??
178  Using Arduino / Microcontrollers / Re: Bootloaing AVR chip on: September 05, 2012, 09:43:40 pm
: select the bootloader means I select the board type ? Each board type having different version of bootloader ? Am I correct ?
179  Using Arduino / Microcontrollers / Re: Bootloaing AVR chip on: September 05, 2012, 07:12:37 am
How can I burn a normal bootloader to my chip ??

I choose the board as 'Arduino UNO' ?
180  Using Arduino / Project Guidance / DIY Birthday Music Cake on: August 28, 2012, 03:52:39 am
DIY Birthday Music Cake :

Dear friends, I already programmed it to be like this. However, just now, I discovered something weird happened.
Here is the story : will the atmega 328 spoiled accidentally ?? I programmed this birthday music cake. Then later on I press the button no sound is heard. And the speed I think increases. overall the code excuted faster. like for exaple I make the J blink for 1s, but then now it seems to be like blinking less than 1s..why ? Crystal problem ? I changed another chip then it is ok
Pages: 1 ... 10 11 [12] 13 14