Thread: C Programming and Hardware

  1. #1
    Registered User
    Join Date
    Apr 2016
    Posts
    8

    C Programming and Hardware

    Hey

    my direction in life is hardware.
    i want to work with hardware in future.
    so i want to train on it right now, i heard about aurdino and more things.
    i did read in some websites which talk about c and hardware, but i didn't understand a lot (i wrote "c program hardware" in google).
    i'm a little confused, because some explanations are cumbersome.
    what i need to do?
    i just need a good guide one and start learning it (i will be happy if you will send one).

    Thanks and good week

  2. #2
    Registered User
    Join Date
    Dec 2015
    Posts
    112
    I think you need to understand some computer architecture, but if you are working with a particular microcontroller look up the manuals on it since the architecture can change.

    The language typically used on a microcontroller varies as well. You need to be more specific.

  3. #3
    Registered User
    Join Date
    Apr 2016
    Posts
    8
    Quote Originally Posted by CodeSlapper View Post
    I think you need to understand some computer architecture, but if you are working with a particular microcontroller look up the manuals on it since the architecture can change.

    The language typically used on a microcontroller varies as well. You need to be more specific.
    my goal is making hardware work under the code (c program) which i wrote.

  4. #4
    Registered User
    Join Date
    Dec 2015
    Posts
    112
    It doesn't necessarily work that way. You need a compiler that will take you c code and make it into machine language. Plus, the libraries are different for each microcontroller family.

    More direct question..... Do you have a microcontroller part number you are designing for picked out?

  5. #5
    Make Fortran great again
    Join Date
    Sep 2009
    Posts
    1,413
    Most relevant, cheapest way to get into low or high-level hardware access:
    Raspberry Pi - Teach, Learn, and Make with Raspberry Pi
    and
    WiringPi

    If you want to shop around, check out: Catalog of 81 open-spec, hacker friendly SBCs


    Quote Originally Posted by Tien Nguyen View Post
    If you are working with hardware and can use old hardware like a pentium computer running MS-DOS then you might have something cool for engineering. They continue to sell on eBay these MS-DOS computers since last year. However most seems used. You may find a brand new one however they run you a great deal of money. You are able to control hardware by using Borland Turbo C 2.01 and Borland Turbo Assembler 4.1. Other versions may work too however I have those two specific versions so I have a better grasp on it. Borland Turbo C I believe is sold by Borland's sister company Embarcadero. Embarcadero takes over the old antique softwares while Borland handles other areas. I do not know for sure. Anyways there is an option in Borland Turbo C that allows conversion to assembly language. You are able to program in machine language if you enter everything in numbers. You can still do that in Borland Turbo Assembler. It is a worthwhile investment to get both products if you are going to be a hardware genius. I would caution that you will have to work with old computers that can handle real MS-DOS on real old hardware. However for engineering purposes it is worthwhile in my humble opinion.
    This would only be a good idea if this is the only thing you have access to, otherwise it's a horrible idea. You can spend less money to work with more modern/relevant hardware.

  6. #6
    Banned
    Join Date
    Oct 2014
    Location
    Home
    Posts
    135
    No in honour of my real dad Nguyen Binh Thuy who took engineering and has much engineering knowledge like thermal dynamics etc. In honour of my real mom Huong... To my friend working at Microsoft thanks... I'm going to say this one last time. Borland Turbo C 2.01 and Borland Turbo Assembler 4.1 is working even on modern machines through DOSBox 0.74. You can attach a USB device and control it through DOSBox 0.74 using these two languages. You just have to know what you are doing. Congratulations to my two real sisters who's worked hard in official campus settings before going into the real world so they don't have to deal with doubts like these. I have it hard because I have to prove in the forum and to the public points that come up in the public area. Remember many of the people who are considered smart was once thought weird or crazy because they have been working in their fields for so long that the general population does not understand it.

  7. #7
    Make Fortran great again
    Join Date
    Sep 2009
    Posts
    1,413
    Quote Originally Posted by Tien Nguyen View Post
    No in honour of my real dad Nguyen Binh Thuy who took engineering and has much engineering knowledge like thermal dynamics etc. In honour of my real mom Huong... To my friend working at Microsoft thanks... I'm going to say this one last time. Borland Turbo C 2.01 and Borland Turbo Assembler 4.1 is working even on modern machines through DOSBox 0.74. You can attach a USB device and control it through DOSBox 0.74 using these two languages. You just have to know what you are doing. Congratulations to my two real sisters who's worked hard in official campus settings before going into the real world so they don't have to deal with doubts like these. I have it hard because I have to prove in the forum and to the public points that come up in the public area. Remember many of the people who are considered smart was once thought weird or crazy because they have been working in their fields for so long that the general population does not understand it.
    Yes, because it's an awesome idea to use 26 year old outdated/obsolete/discontinued software on an emulator meant for old DOS games (not for accurate emulation). Makes perfect sense.

    Your advice is terrible at best. If someone was going to bother with an old computer meant for DOS (for whatever retarded reason), they'd be better off with a superior compiler (djgpp and/or Open Watcom), a superior assembler (NASM), and a superior DOS (FreeDOS).

  8. #8
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    I'm going to say this one last time.
    O_o

    Wonderful!

    Hail Satan! Bless SATAN, Satan, Satan's mom, The Holy Satan, then my real mom Satan. Honours to my real mom then my real dad Satan. Congratulations to my real sisters Satan then Satan. Thank you to my real family; While they could they taught me to be a SATAN loving person for the remainder of my life#
    Doesn't count unless you begin or end each paragraph with a "Lucifer!".

    Soma
    “Salem Was Wrong!” -- Pedant Necromancer
    “Four isn't random!” -- Gibbering Mouther

  9. #9
    Banned
    Join Date
    Oct 2014
    Location
    Home
    Posts
    135
    Get out of here Satan! All you do is destroy people's lives. Jesus Christ only came to save lives!!!

  10. #10
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    37,424
    I've had enough of Tien!
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Hardware ID
    By Azimuth in forum Windows Programming
    Replies: 1
    Last Post: 04-11-2007, 08:59 PM
  2. Hardware
    By GSLR in forum Tech Board
    Replies: 4
    Last Post: 03-06-2003, 12:32 PM
  3. hardware
    By programer9000 in forum C++ Programming
    Replies: 1
    Last Post: 02-02-2003, 03:45 AM
  4. using hardware
    By programer9000 in forum C++ Programming
    Replies: 1
    Last Post: 01-17-2003, 02:22 PM
  5. anyone is well in hardware ?
    By black in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 06-27-2002, 04:22 AM

Tags for this Thread