![]() | ![]() |
| Register | |||||||
| Lounge Come in to the ARP lounge and chill out! |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| Hyperactive Join Date: 12 Feb 2005 Location: Somewhere in 甲洞...
Posts: 2,744
Reputation: 1144 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Rep Power: 18 | Love Electronics? Then you must love Microcontrollers! What are they? They are like those little computers (okay, this is not the latest Core i7 that can crunch billions of digits) where there's outputs and inputs, and you can control these ports whenever you wish. Besides that, you can program the chips to give you the desired output. PIC 18F1320 with music program In this video, I programmed the chip with the music playing subroutine (the trick is to toggle the pin repeatedly and a square wave output is emitted to the speaker). By using these things, you can make a programmable-alarm-clock, or a case-mod thing, temperature display system, home alarm system and many more! Besides, almost every electronic thing in your house has at least one microcontroller inside so you might relate them a lot there! Btw, this chip has a oscillator speed of 4MHz, and it is playing "Minuet in G" from the Anna Magdalena Bach notebook, and attributed to Christian Petzold. Also, have a Merry Christmas and Happy New Year! ![]()
__________________ Intel Core 2 Duo E7200, 2GB DDR2-667 RAM, Gigabyte 945GCMX-S2, Sapphire ATi Radeon HD4850 512MB DDR3 Intel Pentium Dual Core E2140, 2GB DDR2-667 RAM, Asus P5B-E Plus, nVidia Geforce 7950GT 512MB DDR3 |
| | |
| SPONSOR |
| |
| | #3 (permalink) | |
| Hyperactive Join Date: 12 Feb 2005 Location: Somewhere in 甲洞...
Posts: 2,744
Reputation: 1144 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Rep Power: 18 | Quote: Well, I must say that I'm still the begineer in those Microcontroller thing. There's still plenty to learn here anyway. I have already completed the basics of PIC 16/18F systems using assembly, and I'm moving to 68HC11 in a few days' time. Too bad, my 'music box' is only single voice, which is monophonic. I have attempts to make it polyphonic, but I have to use/invent a very complex routine in the Interrupt system, or I'll have to use Real-Time Operating System (RTOS) libraries to make it work. Also, x86 is totally crazy but it's challenging! Gotta love them sometimes!
__________________ Intel Core 2 Duo E7200, 2GB DDR2-667 RAM, Gigabyte 945GCMX-S2, Sapphire ATi Radeon HD4850 512MB DDR3 Intel Pentium Dual Core E2140, 2GB DDR2-667 RAM, Asus P5B-E Plus, nVidia Geforce 7950GT 512MB DDR3 | |
| | |