Friday, May 2, 2014

So its been a week since I last updated this. So just to update anyone who does read this, I am in the middle of finals at the university so the updates will be slow for a couple of weeks.  Meanwhile, I got my ATtiny chips in and we are in the process of designing the circuit.  I think we have agreed on ordering a gyro sensor and a few more chips to make this a true addon system.  The idea is to take in the sensor data from the gyro to control the tilt of the distance sensors to keep them horizontal.  We were doing this by pulling that data and controlling the servos like they were camera gimbal servos.  But this requires a flight controller that has that ability to do.  Moving that to the embedded circuit will make things much better.  I am also toying with an idea to incorporate a different type of design to include a full frame.  Something that would allow someone to either take the addon system to their quad or they could build a new quad using the "smart" frame.  Just an idea.  I want to also look at a way to power the wall avoidance separately.  More information on this later, first I need a working prototype of the system to measure power requirements to see if it can be done effectively.
Embedded chips usage.  We hope to control 2 to 4 sensors on each ATtiny and output pins as high determined on the event triggered.  basically what I am thinking is assigning a 4 digit binary number to events.  so say the front sensor triggers at 2 feet then the four pins would be written as 0010, if it was 4 feet then they would be 0001.  Likewise the rear sensor would give 1110 for 2 and 1101 for 4.  I could add in the right left sensors to be 1010 right 2ft mark, 0110 left 2 ft mark.  The ATtiny chips I am using for this have 12 I/O pins.  If I rewire the ultrasonic sensors to have one shared pin for trigger and echo then I would need one pin per sensor, then 4 pins for output.  Thats only 8 pins used for pitch axis and roll axis.  That leaves me 4 pins available for maybe IR sensors in each direction for better detection of obstacles like sound absorbing humans.
Well back to studying for my finals.  Wish me luck

No comments:

Post a Comment