Loading...
  Show Posts
Pages: 1 ... 11 12 [13] 14
181  Using Arduino / Project Guidance / Biirthday Music Cake on: August 16, 2012, 11:30:21 pm
Hey there, I am planning to make a birthday music cake with the function below :
I have 3 parts in the music cake :
1 -- > 7 LEDs as blinking circuit
2 --> 2 LEDs as candle to display flickering effect
3 -- > one speaker for music(happy birthday song)

So, I want to make it like this for the whole circuit :
1. Power ON -- > the blinking circuit start to blink with a pattern and 2 LEDs as candle will display flickering effect.
2. When a music button is pressed, the music played while the blinking still continue. Bear in mind that the music just play once when the music button is pressed.
3. when a pattern buttton is pressed, the pattern of the blinking 7 LEDs will changed.

Basically it is like this.

This is my programming code so far :
https://gist.github.com/f616cb648830ac7fa4c9

For one button control different pattern of blinking , below is the progrramming code :
https://gist.github.com/59e10280bfbe9fd9d9c8

I think I need tto use interrupt in this case for the music. Anyone can let me know how can I implement it ?

Thank you so much !

182  Using Arduino / Installation & Troubleshooting / Re: DIY Arduino problem on: August 16, 2012, 09:55:32 pm
So, the minimum circuit for an arduino based development board is a 16MHz crystal and the 100nF cap for power supply and pull up resistor for RESET pin ?

No, you can use the internal oscilator (there is a fuse). And the reset is not required. The minimum is just the cap for the supply
[/quoteWhy the reset is not required ? Thought it needs to be pulled high for normal operation ?]
183  Using Arduino / Installation & Troubleshooting / Re: DIY Arduino problem on: August 16, 2012, 09:38:06 pm
The minimum is just the cap for power supply ? Then how can I use the internal oscillator ? What setting should I change ?
184  Using Arduino / Installation & Troubleshooting / Re: DIY Arduino problem on: August 16, 2012, 09:34:37 pm
So, the minimum circuit for an arduino based development board is a 16MHz crystal and the 100nF cap for power supply and pull up resistor for RESET pin ?
185  Using Arduino / Installation & Troubleshooting / Re: DIY Arduino problem on: August 16, 2012, 09:29:38 pm
Ok, I face that problem too..Hahaha..reboot sometimes. Then what is the importance of the 22pF cap ?
186  Using Arduino / Installation & Troubleshooting / Re: DIY Arduino problem on: August 16, 2012, 09:14:17 pm
What will happen if I did not put the 100nF cap and 22pF cap ?

Thank you
187  Using Arduino / Installation & Troubleshooting / Re: DIY Arduino problem on: August 15, 2012, 01:20:24 pm
I did connected the Vcc to AVcc..Just that I do not put a 100nF cap in between the Vcc and GND ><
188  Using Arduino / Installation & Troubleshooting / Re: DIY Arduino problem on: August 15, 2012, 01:18:50 pm
why is it needed ?
189  Using Arduino / Installation & Troubleshooting / DIY Arduino problem on: August 15, 2012, 12:53:05 pm
Hey I just constructed a circuit where I solder a 28 pins socket and one 16MHz crystal for the circuit. I put a pull up resistor at the pin 1 too. Weird things happen is that my program sometimes work sometimes not working. Sometimes it loop for once .. Any problem ? Is it because I did not insert 2 cap at the crystal side ?

Thank you smiley
190  Using Arduino / Microcontrollers / Re: Bootloaing AVR chip on: August 15, 2012, 02:11:03 am
Actually, what is the purpose of burning bootloader ? Cant I just use a normal AVR chip then I used the FTDI programmer to upload the code into the chip using arduino IDE ??
191  Using Arduino / Microcontrollers / Bootloaing AVR chip on: August 14, 2012, 07:35:18 am
Hey there, want to ask. Atmega 8, 168 and 328 is the official arduino and clones. What does this means actually ? Means the arduino IDE have the bootloader to burn these AVR chip so can be programmed using arduino IDE ? How about others AVR chip lioa atmega 32 ??

Thank you.

p/s I am still very blur ><
192  Using Arduino / Microcontrollers / Re: General Question about arduino on: August 08, 2012, 10:29:45 pm
different bootloader means ? Normally in UNO is UNO bootloader ?
193  Using Arduino / Microcontrollers / Re: General Question about arduino on: August 08, 2012, 02:10:15 am
I mean in general when I power up my arduino, the LED connected to the pin 13 of arduino UNO will blink a while right then it only runs the code ?
194  Using Arduino / Microcontrollers / General Question about arduino on: August 08, 2012, 12:41:13 am
Hey guys, I have made my own arduino recently.

Want to ask something, in original UNO R3, when I powered it up using 9V battery, the LED at pin 13 will blink awhile right ?

However, for my own DIY board, it does not blink.

What I want to ask is that, why the LED at pin 13 will blink ? If never blink indicates what ?

FYI, I still can upload code from arduino IDE into my DDIY arduino board.

Thank you for help smiley-grin
195  Using Arduino / Programming Questions / Re: Keypad Programming on: August 02, 2012, 08:23:37 am
so if it say no key is pressed, so it print nothing?
Pages: 1 ... 11 12 [13] 14