“alin” BY shaoyi shi final presentation EEL5666
overview
Task I : “obstacle avoidance” Obtain distance from 3 directions with sonar Process with Arduino
special system: sound control Frequency identification with digital frequency meter made by Arduino. Sound transmission with cellphone and loudspeaker connected via Bluetooth.
digital frequency meter(comparative method) Use digital pin as shaping circuit. Use Attachinterrupt( , ,RISING/FALLING) as gating signal. Use TCNT1 as countor(16 bit), ATMEGA processor as oscillator. T=N/F(FIX) F(fix)=16000000/DIVIDER N=COUNT F(SIGNAL)=1/T
future adjustment Add some LEDs to show each movement. To deal with the noises, adjust the code, use timers so that my robot will act only when the incoming signal of certain range of frequency lasts for longer than about1second.
Thank you through this class, I got basic understanding and hands on experience for embedded design, as well as the complete process for making a simple robot. and I always think it necessary for engineering students to know basic ideas for ECE staffs. I also want to say thanks to Dr. Arroyo, Dr. Schwartz and DR. jadiaz, and all the TA. Especially to josh, he was like my babysitter.