Possibly the coolest hello world application ever?

Discussion in 'Programming General' started by crapkiller, Aug 21, 2008.

Possibly the coolest hello world application ever?
  1. Unread #1 - Aug 21, 2008 at 11:21 PM
  2. crapkiller
    Joined:
    Jul 19, 2006
    Posts:
    426
    Referrals:
    0
    Sythe Gold:
    0

    crapkiller Forum Addict

    Possibly the coolest hello world application ever?

    Well, i think this is the coolest hello world application ever. It is programmed in c. You might be saying that a hello world program is useless, and it may be in some circumstances, but i believe, this program is as good as any in my situation.

    Here it is!
    (Dont want to spoil it :D)







































    [​IMG]

    What do ya think?











    It was done with what are called microcontrollers. They are essentially little computers all on one chip. If you look closely, right above the display, there is a black chip, this is the brains of it all. I program it with the computer, using C. It connects to the computer through the ribbon cable to the right. I program the microcontroller, which displays text through the display. The display is a 16 character, 2 line LCD display. It is all powered with the 9 volt battery in the picture. If i wanted, i could disconnect the computer, and the chip would retain the program. I could even turn it off, and it would still retain the program. These chips are used i just about every electronic device, from cell phones to microwaves.

    Specs of the chip vs my computer.

    Computer:
    250gb hard drive
    1 gb ram
    something like 2ghz processor
    $300

    Chip:
    16kb hard drive equivalent (flash program memory)
    1kb ram
    1 mhz processor
    $5
     
  3. Unread #2 - Aug 22, 2008 at 2:21 AM
  4. Swan
    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner

    Swan When They Cry...
    Retired Global Moderator

    Possibly the coolest hello world application ever?

    This could actually be a good beginning to interfacing with hardware devices - It isn't really as useless as a lot of the helloworld shit I've seen.
     
  5. Unread #3 - Aug 22, 2008 at 3:14 AM
  6. UK FTW
    Referrals:
    0

    UK FTW Guest

    Possibly the coolest hello world application ever?

    That's cool ;)

    I just think it's amazing how technology works and how you can actually project stuff like that.. Hm.
     
  7. Unread #4 - Aug 22, 2008 at 11:37 AM
  8. crapkiller
    Joined:
    Jul 19, 2006
    Posts:
    426
    Referrals:
    0
    Sythe Gold:
    0

    crapkiller Forum Addict

    Possibly the coolest hello world application ever?

    I did this so that i could ensure i made the connections properly.

    I already made a light sensor that detects the amount of light hitting a sensor, and displays it on the screen


    BTW: this isnt tethered to the computer, i can unhook it from the computer, and take it where ever i want etc.
     
  9. Unread #5 - Aug 22, 2008 at 1:53 PM
  10. Nullware
    Joined:
    Jan 30, 2007
    Posts:
    1,761
    Referrals:
    4
    Sythe Gold:
    0

    Nullware Guru

    Possibly the coolest hello world application ever?

    Maybe think about editing your first post and giving a short or detailed explanation of how you did it, depending on how much you think users could gain from either one?
     
  11. Unread #6 - Aug 22, 2008 at 5:54 PM
  12. crapkiller
    Joined:
    Jul 19, 2006
    Posts:
    426
    Referrals:
    0
    Sythe Gold:
    0

    crapkiller Forum Addict

    Possibly the coolest hello world application ever?

    I wouldnt think users could gain much because it requires a bit of knowledge and quite of a bit of stuff. I think all the requirements cost like $100. Bare essentials would probably be like $75.

    EDIT: edited my first post with info
     
  13. Unread #7 - Aug 22, 2008 at 6:05 PM
  14. Nullware
    Joined:
    Jan 30, 2007
    Posts:
    1,761
    Referrals:
    4
    Sythe Gold:
    0

    Nullware Guru

    Possibly the coolest hello world application ever?

    Thanks for the information you provided. Work on making it into a digital clock now?
     
  15. Unread #8 - Aug 22, 2008 at 6:24 PM
  16. crapkiller
    Joined:
    Jul 19, 2006
    Posts:
    426
    Referrals:
    0
    Sythe Gold:
    0

    crapkiller Forum Addict

    Possibly the coolest hello world application ever?

    The possibilities are endless, im not sure where to go yet, i could do that, i have already made a light sensor, that detects the amount of light hitting a sensor, and displays it over the LCD. If i wanted to make a digital clock, i would have to get another component setup to make it accurate enough. Right now, it has 10% timing tolerance. So, if i waited 100 minutes, the controller could end up displaying 90 minutes, or 110 minutes.
     
  17. Unread #9 - Aug 23, 2008 at 3:04 AM
  18. Ryaxxx
    Joined:
    Aug 13, 2008
    Posts:
    29
    Referrals:
    1
    Sythe Gold:
    0

    Ryaxxx Member

    Possibly the coolest hello world application ever?

    Did you make this or did someone else, because then i would be impressed.
     
  19. Unread #10 - Aug 23, 2008 at 11:48 AM
  20. crapkiller
    Joined:
    Jul 19, 2006
    Posts:
    426
    Referrals:
    0
    Sythe Gold:
    0

    crapkiller Forum Addict

    Possibly the coolest hello world application ever?

    I made it -_-
     
  21. Unread #11 - Aug 24, 2008 at 2:10 PM
  22. -------owned-------
    Joined:
    Jan 27, 2007
    Posts:
    1,225
    Referrals:
    0
    Sythe Gold:
    0

    -------owned------- Guru
    Banned

    Possibly the coolest hello world application ever?

    Do you think that you can PM me the sourcecode/post a place where I can learn about this? Because it seems really interesting.
     
  23. Unread #12 - Aug 24, 2008 at 4:52 PM
  24. crapkiller
    Joined:
    Jul 19, 2006
    Posts:
    426
    Referrals:
    0
    Sythe Gold:
    0

    crapkiller Forum Addict

    Possibly the coolest hello world application ever?

    Well its more than source code, it is also some hardware too. Google "microcontrollers". Specifically, it is controller by an Atmel ATmega168.

    You would need

    - compiler (Usually assembler, c, or basic. Usually free.)
    - programming software (usually free download)
    - programming hardware (depending on the device you wish to use, anywhere from $10 to $35 on average)
    - the devices themselves (anywhere from $1 to $10 each)
    - the LCD ($15)

    There are two main lines of microcontrollers

    Microchip PIC and Atmel AVR. I use an AVR. They are quite similar in features etc.

    NOTE: this is more than just a computer programming thing, it is also an electronics thing.

    If you would like more info, contact me on MSN : [email protected]
     
  25. Unread #13 - Aug 24, 2008 at 4:58 PM
  26. Eric
    Joined:
    Feb 23, 2007
    Posts:
    3,344
    Referrals:
    13
    Sythe Gold:
    25

    Eric Grand Master
    Banned

    Possibly the coolest hello world application ever?

    Pretty.
     
  27. Unread #14 - Aug 25, 2008 at 2:53 PM
  28. mr.lucifer
    Joined:
    Apr 29, 2005
    Posts:
    288
    Referrals:
    0
    Sythe Gold:
    0

    mr.lucifer Forum Addict
    Banned

    Possibly the coolest hello world application ever?

    I have wanted to learn to use microcontrollers for a long time now, but has never gotten around to it. How long did it take to make that Hello World from scratch?
     
  29. Unread #15 - Aug 25, 2008 at 8:56 PM
  30. crapkiller
    Joined:
    Jul 19, 2006
    Posts:
    426
    Referrals:
    0
    Sythe Gold:
    0

    crapkiller Forum Addict

    Possibly the coolest hello world application ever?

    like maybe 10 minutes
     
  31. Unread #16 - Aug 25, 2008 at 9:10 PM
  32. FartKnocker
    Joined:
    Sep 3, 2007
    Posts:
    285
    Referrals:
    0
    Sythe Gold:
    5

    FartKnocker Forum Addict

    Possibly the coolest hello world application ever?

    Wow that's really nice. Is the white piece a standard breadboard?
     
  33. Unread #17 - Aug 25, 2008 at 10:43 PM
  34. crapkiller
    Joined:
    Jul 19, 2006
    Posts:
    426
    Referrals:
    0
    Sythe Gold:
    0

    crapkiller Forum Addict

    Possibly the coolest hello world application ever?

    yes, it is.
     
  35. Unread #18 - Aug 28, 2008 at 4:49 PM
  36. Fate1
    Joined:
    Apr 21, 2005
    Posts:
    773
    Referrals:
    2
    Sythe Gold:
    5

    Fate1 Apprentice
    Banned

    Possibly the coolest hello world application ever?

    Could you program that into a digital clock? That would pretty sweet.
     
  37. Unread #19 - Aug 28, 2008 at 6:18 PM
  38. Evon
    Joined:
    Jul 28, 2008
    Posts:
    869
    Referrals:
    4
    Sythe Gold:
    5

    Evon Apprentice
    Banned

    Possibly the coolest hello world application ever?

    it says in the thread that he made it >.>. nice1
     
  39. Unread #20 - Aug 28, 2008 at 6:30 PM
  40. Nullware
    Joined:
    Jan 30, 2007
    Posts:
    1,761
    Referrals:
    4
    Sythe Gold:
    0

    Nullware Guru

    Possibly the coolest hello world application ever?

    crapkiller, did you use some form of tutorial/explanation as a point of reference or pretty much teach yourself from nothing...

    I have already suggested that previously. ;)

    Way to go posting for no reason. That has already been addressed.
     
< Download troubles | Help me please! >

Users viewing this thread
1 guest


 
 
Adblock breaks this site