I like to do teach the students about the differences between the brain and a computer. Here is an interesting article about memristors and how they will revolutionize computers. They will be more brain-like in the future.
If you want to do an image processing lesson, you might want to do a CSI-like activity. Here is a great article on forensics and the tools they use. The example of matching foot prints is interesting. I did a lesson like that once. I gave the students a set of possible matches for shoe prints. I also gave them the crime scene foot print and they had to use image processing techniques to see if they could find the match! It was pretty good. It’s hard to find the right balance between making it too hard or too easy that you can eyeball it.
1. http://www.inpharmix.com/jps/PID_Controller_For_Lego_Mindstorms_Robots.html – Very detailed explanation of how to do it but doesn’t really have the code. The video shows that the method works great though!
2. http://www.techbricks.nl/My-NXT-projects/nxtlinefollower.html – Nice short write up and working NXC code.
List of links to computer science teaching resources
Enchanting is an open-source graphical programming environment for children to program their LEGO Mindstorms NXT robots(and, in the future, possibly other devices.) Enchanting is based on Scratchfrom the MIT Media Laboratory. Scratch is an excellent tool for empowering children to program, and familiarity with it will be very valuable for anyone using Enchanting.
Great list of useful robot designs.
I went through the list of line followers and found some interesting ones:
VosSniff – The 10 Minute Line Follower!
It uses a motor on the light sensor and “sniffs” from side to side.
Simple Line Follower (Calibrate)
Has a My Block to calibrate. Otherwise uses standard method. Does point out that where the light sensor is relative to the motors has a significant effect on how well it works!
Tribot Line Follower Program
Says it can do 90 degree turns
Super Accurate line follower – I haven’t tried it yet.
Uses very short duration turns while following.
LFR V1.0 – building steps
Program looks sophisticated compared to others. Need to look at it some more.
Beastly Line Follower
Also has light sensor far from the motors.
Very simple program. Does not use switch structure!