Slashdot Mirror


Robotics/Electronics Class - How Would You Do It?

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!"

19 of 58 comments (clear)

  1. Bad Idea? by Mshift2x · · Score: 2, Insightful

    As much fun as this might be, this is up there with 400 level college courses, students really need a good electronics backround to comprehend most of the stuff you should be teaching them. There is something to be said for giving students a well rounded education in high school (literature, math, composition, history) and leaving this sort of thing for college.

    1. Re:Bad Idea? by stefanlasiewski · · Score: 4, Informative

      Most high school students are perfectly capable of learning how electronics work and how to build robots. The courses won't necessarly prevent a well-rounded education.

      Building a robot is a great way to stimulate interest in math, science & mechanics, which applies to a wide variety of careers-- from high-level software architects to an auto mechanic.

      In addition, if you limit this sort of education to the 400-level college courses, you exclude the majority of students who will never go to college, enroll in a EE program, or make it the 400-level college courses.

      --
      "Can of worms? The can is open... the worms are everywhere."
    2. Re:Bad Idea? by nocomment · · Score: 3, Interesting

      I see your point, but disagree with you. My High School electronics teacher was teaching us robotics. He essentially was working on his own projects but teaching us what to do why and how and having us do the dirty work. I learned enough in my first year to know I wanted to be an EE. I of course decided to major in alcohol and eventually dropped out to work in IT (hmmm correlation there?).

      I don't remember enough of what we did to be of any use to the discussion though. I graduated in '93. I DO remember that we had 2 386 motherboards ( I remember thinking "I will NEVER need more power than that"), and some prepackaged gear sets. We could program in several thousand instructions for the Robot to follow. Sadly, it was a 2 year long project and I graduated before I could see the thing in action, but it can and has been done before.

      --
      /* oops I accidentally made a comment, sorry */
      /* http://allyourbasearebelongto.us */
    3. Re:Bad Idea? by Meest · · Score: 2, Interesting
      http://hardware.slashdot.org/article.pl?sid=05/03/ 30/1426214&from=rss/

      Considering High School Students that "wouldn't comprehend most of the stuff"

  2. American Science & Surplus by stefanlasiewski · · Score: 3, Informative

    The submitter says he has a bunch of links, but this is for the rest of you :)

    American Science & Surplus has a ton of cheap electronic components for sale. No breadboards, but they do sell LEDs, some resistors, motors, etc. They even have a whole "Robot Parts" selection, with items such as Windshield Wiper motors, etc. They also have a great (and entertaining) paper catalog, and their inventory changes very often. Lasers, high quality optics, weather balloons-- all sorts of fun, geeky stuff.

    I haven't built any robots myself, but I have been ordering random bits and pieces for various projects for more then 5 years.

    --
    "Can of worms? The can is open... the worms are everywhere."
  3. Electronics and Robotics by jpolonsk · · Score: 2, Insightful

    I strongly disagree with the parent post. Learning about electronics and robotics early allows students to become interested before having to decide what they want to take in University/College and it inspires them to finish the necessary high school courses needed to enter Engineering. I would say though that unless the poster is a EE himself and an expert in the parts that he's using it may be more effective to go with the $100 packaged boards first otherwise you run into problems when students decide to branch out on their own.

  4. Physical Computing by cshirky · · Score: 2, Interesting

    Take a look at Physical Computing. It's sub-titled "Sensing and Controlling the Physical World with Computers" and features instructions and projects for basic work wiht sensors and simple chips like the PIC and BX-24. (Full disclosure: The authors are colleagues of mine at the Interactive Telecommunications Program at NYU.)

  5. First FIRST robotics post by BigT · · Score: 5, Informative

    You may want to look into theFIRST robotics competition. It is a tele-robotics competion for high school students held annually. This would give you something to teach towards. There may be FIRST-specific curriculums out there already, also.

    Other than that, I wouldn't try to be too ambitous. Teach basic DC/AC circuits, maybe the basics of transistors, and program some PICs or similar in BASIC.

    --
    Is it weird in here, or is it just me?
  6. Don't discount lego mindstorms by xenocide2 · · Score: 3, Interesting

    Several of my professors have been teaching robotics classes to students for years. Before I explain their opinions, I should inform you that they are Computer Science professors, and their slant is toward programming robots.

    Basically, their theory is that building robots is difficult work, and most of the students wound up spending more time cutting, welding and soldiering than programming. The Lego mindstorms kit (with a firmware hack so we can use Not Quite C) proved very useful for programming the lego robots to do various things. There's still plenty of room to learn about various mechanical and electrical systems with mindstorms, but you don't have to worry about dorking around with soldiering, which is a pretty risky business with the hot iron, nasty fumes and toxic chemicals. I've seen more than a few mindstorms hacks onto their electrical systems to add stuff. The one problem is that they're probably pretty expensive, even with a qualified academic discount.

    --
    I Browse at +4 Flamebait

    Open Source Sysadmin

  7. Parts by rir · · Score: 2, Informative


    Sounds like a good course... I wish I had something like that when i was in highschool :). Anyways, for parts, http://digikey.com/ is probably the best. You might also want to check out http://jameco.com/. If you're teaching robotics, you'll probably want some simple MCUs to teach basic microcontroller concepts with. I would suggest a simple PIC micro from http://microchip.com/ or better yet a BASIC stamp from http://www.parallax.com/

  8. Hardware focus or Software focus by MerlynEmrys67 · · Score: 2, Insightful
    So - robotics/electronics is about two things...
    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

    --
    I have mod points and I am not afraid to use them
  9. Ebay by Usquebaugh · · Score: 3, Interesting

    Coming from many years in programming I've recently been learning about hardware. Being of a lazy disposition I needed to quickly and cheaply build up a large stock of components. Nothing I hate more than not having a part on hand.

    I picked up a breadboard locally and that was the last item I bought retail. Everything else came off ebay at ridiculous prices. The problem for me was usually I ended up with too many items.

    The best thing about the cost is that I'm not afraid to break things. That burning smell doesn't mean I've blown $10 more like 10c.

    For robotics you can go with the latest pic/stamp + prgrammer. But think simple, Z80 + EEPROM + SRAM gives you the same sort of thing at a much reduced price. For instance I picked up 100+ Z80 chips for less than $10.

    Decide which controller you're going to use, I'd suggest Z80/6502 etc for cost reasons, but the low end pics are very reasonable as well. Once you have that decided, there are numerous emulators etc available for Linux for each controller. Cheap serial burner can be built for pennies, make that the first class. Kids hate theory.

    Build the course around the controller and only delve into theory briefly. Show how to build a drive controller, light/ir/sound detector etc etc. Make one class cover a topic. Give weblinks so the interested kids can follow up in there own time.

  10. Zach's Cool Stuff by linuxwrangler · · Score: 3, Informative

    Check out Zach's Cool Stuff. You might even be able to contact him for ideas. He is doing very similar stuff. Rather than building from a kit he chooses raw materials so people get hands on experience with fabrication.

    --

    ~~~~~~~
    "You are not remembered for doing what is expected of you." - Atul Chitnis
  11. Your first stop... by WasteOfAmmo · · Score: 2, Informative
    Two great magazines to get subscriptions to.... even for the school library:

    http://www.servomagazine.com/ - mainly robotics

    and their sister (parent?) magazine:

    http://www.nutsvolts.com/ - mainly electronics but covers robotic stuff quite often.

    These magazines also have Lego Mindstorms articles in them quite often.

    Server has advertising for several companies carrying various kits. In my opinion the kits would be the way to go...even if you can only purchase a few and run you class in groups. As one poster mentioned, the problem with building from the ground up is that you spend most of your time building the hardware and very little of your time programming and running.

    Once you have the class going with kits then add some simple "build from scratch" projects like BEAM robotics. Even with these various PIC or ATOM kits will come in handy.

    Disclaimer: I am not associated with the Servo or Nuts&Volts but I am a long time satified customer (Servo: since its first issue two years ago or so; Nuts&Volts: several years since when another electronics magazine died and switched the remainder of my subscription to N&V).

    Merlin.

  12. Pseudo-Prepackaged, but... by chicken_moo · · Score: 2, Informative

    Take a look at the Handyboard line of projects. My college actually uses one of them as the basis for a class called car in a box. The one we use is a little price - about $100 for the whole kit, but that includes the PC board, components, servos for wheels, and the M68HC11 processor. Its a decent kit, and is a good intro to embedded systems as well: http://www.handyboard.com/

  13. YAAARC JanBot by Doug+Dante · · Score: 2, Informative

    For about $70.00, a student can assemble a YAAARC JanBot, which is a small mobile robot with touch sensors and simple vision sensors (for line following), from raw components (breadboard, wires, PIC, motors, and sensors) without any power tools (soldering irons). (OK, you may end up using a glue gun for one or two parts).
    We did this as a group, and high school students actively participated.
    Also, one of our members is developing a mobile robotics kit using the AVR Butterfly, which has a similar components cost, but has an LCD and LED screen. (See our web site).

    --
    The world will not get better through technology. We must seek to be better people.
  14. High School Robotics student by Radioactive+Zorm · · Score: 3, Interesting

    I had a robotics class in high school last year and it was rather fun. We used http://handyboard.com/ Handyboards for the brains of most of the robots we made. They aren't like mindstorms in that a bit of work is still required to use different servers and motors with it. The handyboards are programmed with IC which is Interactive C. IC is somewhat open source and has a linux version so we used it. The only downside is that they are rather pricy at $200 a unit. Some other robots we made were simple touch sensor robots using breadboards and servos(Servo motors are nice you should get lots of them as they can be used for just about everything!). This project came from a book called 'Mobile Robotics'. For another project we got an old floppy and cdrom drive and had to make a robot to win a race with them. Everything had to come from the floppy and cdrom drive all the wire/motors/switchs we only got tools to work with. This project was the most fun and likely the easiest for the teacher to manage as he didn't need to provide parts. You could do variations or even make the project more complex. One thing that helped a lot is that we started out working on simple projects and at a slow pace so that everyone in the class could participate regardless of having had an electronics course before. We often built robots in stages where we would make a robot with a touch sensor first and then go back and add light sensors and so on.

  15. Microcontrollers are a must by rips123 · · Score: 2, Insightful
    I can't stress enough how much fun can be had with microcontrollers!

    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).

    1. Re:Microcontrollers are a must by ttsalo · · Score: 2, Interesting
      I can't stress enough how much fun can be had with microcontrollers!

      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.

      Seconded! Forget the combination of diodes, resistors and old PCs and get some Atmel AVR prototyping boards and set up a C programming environment for them on a Linux PC. Then get a bunch of cheap RC servos - these are very versatile and very easy to control from a MCU. Then some leds, switches of different kinds, and sensors (light, sound). You can whip up all sorts of stuff from these in no time and learn a ton in the process.

      --
      If the road to hell is paved with good intentions, where does the road paved with evil intentions lead to?