Robotics/Electronics Class - How Would You Do It? 58
MainerDood asks: "I have been teaching programming and networking at the high school and collegiate levels for several years, and now I am branching out into electronics and robotics for my high school students. I am keen on Linux and Open Source solutions where feasible, and would like to avoid using pre-packaged robotics/electronic 'kits' (ie: Lego Mindstorm). I have a minimal budget, like to tinker and have access to tons of old PCs... I would like to use them in these projects and buy the 'parts' where needed. I am envisioning an order of breadboards, diodes, resistors, etc. but not sure from where I should order, what a good basic startup setup should contain and resources I should refer too. I have found a bunch of links online and various resources, but I am curious to know how you would go about this... seasoned veterans and electronics/robotics enthusiasts - I am all ears!"
Bad Idea? (Score:2, Insightful)
Electronics and Robotics (Score:2, Insightful)
Hardware focus or Software focus (Score:3, Insightful)
1) Embedded programming models
2) Funky I/O devices
So which one do you want to focus on - from your post, I am guessing it is the later. So what you want is a brain dead easy programming model - then build the I/O devices (ie. Sensors, motor controls, all the fun things to manipulate the physical world) to fit into the programming model.
The alternative is to get a canned hardware model (ie. Mindstorm) and then present interesting project in having the hardware manipulate the real world.
Leave it to VERY seasoned profesionals to manipulate both of these environments at the same time, and even then - there are hardware people and there are software people... and they tend not to mix
Microcontrollers are a must (Score:2, Insightful)
Microcontrollers are an excellent bridge between code and hardware - you can code in C but your I/O is actually CMOS digital I/O which can then be plugged up to whatever digital devices or auxiliary chips you want.
The best subject of my undergraduate degree involved writing a pre-emptive task scheduler simultaneously running LCD interfacing code, kermit file transfer protocol, an LED chaser program selecting patterns based on input pins, and a USB client chip.
After that subject, a friend and I fuel injected a moke using an ATMEL microcontroller as the ECU - loads of fun.
I recommend the Maxim range of microcontrollers for simplicity - they have an inbuilt eeprom for code, run most instructions in 1 clock cycle, and can be directly programmed by sending HEX files over a PC serial port through their own in-built boot ROM (complete with menus and debugging support).