Tech ARP Forums

Go Back   Tech ARP Forums > Others > Lounge
Register
FAQ Members List Calendar Arcade Mark Forums Read

Google Web www.techarp.com forums.techarp.com

Lounge Come in to the ARP lounge and chill out!

Reply
 
LinkBack Thread Tools
Old 24th Dec 2008, 04:01 PM   #1 (permalink)
Hyperactive
 
The_YongGrand's Avatar
 
Join Date: 12 Feb 2005
Location: Somewhere in 甲洞...
Posts: 2,744
Reputation: 1144
The_YongGrand has much to be proud ofThe_YongGrand has much to be proud ofThe_YongGrand has much to be proud ofThe_YongGrand has much to be proud ofThe_YongGrand has much to be proud ofThe_YongGrand has much to be proud ofThe_YongGrand has much to be proud ofThe_YongGrand has much to be proud ofThe_YongGrand has much to be proud of
Rep Power: 18
Default The Joys of Microcontrollers!

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

The_YongGrand is offline   Reply With Quote
SPONSOR

Old 24th Dec 2008, 08:04 PM   #2 (permalink)
Little Kiki
 
Trinity's Avatar
 
Join Date: 5 Jan 2003
Location: Ohio,usa
Posts: 7,131
Reputation: 5836
Trinity has a reputation beyond reputeTrinity has a reputation beyond reputeTrinity has a reputation beyond reputeTrinity has a reputation beyond reputeTrinity has a reputation beyond reputeTrinity has a reputation beyond reputeTrinity has a reputation beyond reputeTrinity has a reputation beyond reputeTrinity has a reputation beyond reputeTrinity has a reputation beyond reputeTrinity has a reputation beyond repute
Rep Power: 72
Default

Hack your micro controller.

bunnie studios, LLC Hacking the PIC 18F1320
__________________
(\__/)
(-. - )
(> < )
Trinity is offline   Reply With Quote
Old 25th Dec 2008, 10:14 AM   #3 (permalink)
Hyperactive
 
The_YongGrand's Avatar
 
Join Date: 12 Feb 2005
Location: Somewhere in 甲洞...
Posts: 2,744
Reputation: 1144
The_YongGrand has much to be proud ofThe_YongGrand has much to be proud ofThe_YongGrand has much to be proud ofThe_YongGrand has much to be proud ofThe_YongGrand has much to be proud ofThe_YongGrand has much to be proud ofThe_YongGrand has much to be proud ofThe_YongGrand has much to be proud ofThe_YongGrand has much to be proud of
Rep Power: 18
Default

Quote:
Originally Posted by Trinity View Post
Wow this is hard-core! Thanks for the find!

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

The_YongGrand is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +8. The time now is 04:38 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 1998-2009 Tech ARP. All rights reserved.