Thread Closed

Learning to program hardware

 
Share Thread Thread Tools
Sep7-10, 10:58 PM   #1
 

Learning to program hardware


I know several languages (C++, Python, FORTRAN, etc..), but most of the programming I have done never has had any real/physical interaction with hardware.

I've never used micro-controllers, and would like to start tinkering around in the robotics field.

Can anyone suggest any good books to get me up and running? I have an Aerospace Engineering and Physics background.

Thanks
 
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Front-row seats to climate change
>> Attacking MRSA with metals from antibacterial clays
>> New formula invented for microscope viewing, substitutes for federally controlled drug
Sep8-10, 01:02 PM   #2
 
I'm not sure about books, but what worked well for me was getting a simple FPGA board to play around with (Xilinx has some great stuff, e.g. the "spartan 3" board). Any books on 'verilog' would be helpful as well. I'm not sure why, but I found hardware languages to be much easier to learn by experimentation (as apposed to just reading a book), than software languages like C, etc.
 
Sep8-10, 03:10 PM   #3
 
I would advise against starting with FPGAs, since as a beginner the only thing you can probably do is run the demos. Also there aren't many cheap FPGAs, the cheapest I know of is the Altera Bemicro (also, they are not so easy to interface with arbitrary real hardware unlike microcontrollers) :
http://www.altera.com/b/nios-bemicro...ation-kit.html

FPGAs are more flexible but they require a knowledge of an HDL language (VHDL or Verilog) and a good understanding of the hardware and the evaluation board.

Microcontrollers are much simpler, of the books that I used, I found this one to be good (based on Assembly, not C/C++):

http://www.amazon.com/8051-Microcont...3975965&sr=8-4

So if you have a simple and cheap 8051 based microcontroller, you can start with that book (or any other book) and look for recipes online to do some projects later.

This is my view, other folks may have different opinions.

note: by a good book, I mean that it sufficed for the course/lecture I was having.
 
Sep8-10, 04:29 PM   #4
 
Blog Entries: 3

Learning to program hardware


FPGAs are all wrong for intro robots stuff, as they teach you to describe the hardware, not talk to it.

For intro robotics, I really can't rec the various Arduino boards enough. Simple C like syntax that gets you talking to a board fast, thinking about port i/o, and doing all sorts of shiny things. Plus there's a great community for it.
 
Thread Closed

Tags
robotics controls
Thread Tools


Similar Threads for: Learning to program hardware
Thread Forum Replies
I am having a hard time learning to program...What to do? Programming & Comp Sci 17
best distance learning program Academic Guidance 2
Astro simulation program problem - program bugs? Astrophysics 4
Learning Which Program to Appeal to Recruiters Academic Guidance 0
New hardware Computing & Technology 7