Dear all,
I would not have brought it up, but I could find zero threads on this forum about accelerometers and gyroscopes. As mentioned before, I'm going to try to use one and while Internet is full of Arduino based gyroscope and accelerometer applications, I think it is worth discussing this for our beloved Picaxe as well.
What I want to do is to equip this vehicle with a gyroscope. Then, I want to travel the line as in the video and register angle change (say, yaw axis) the car is at for every 1 mm of travel. Then, I want to reconstruct the angle into a 'virtual line' and feed this back to the steering co-processor instead of the white line information from the sensor and make the car follow the line without there being a line.
I'm thinking about the following roadmap:
1. Get the car to count travelled millimetres, interrupt on it; DONE
2. Get the gyro/accelerometer combo running; DONE
3. Add memory - I2C or SPI min 16kb (something from the parts drawer);
4. Learn to store angle data or pre-calculated virtual line in memory while driving the line;
5. Learn to read the data and feed it back to the steering co-processor (HSERIN?);
6. See if this works.
Am I missing something major? As in, 'this is totally not gone work, you need to go back to school again if you think it could' .
Any comments on using accelerometer data as well for this? People seem to use gyro and accelerometer combos for indoor navigation and I have one, but I don't quite understand what I could use it for in case I have my odometer (point 1 above). From simple geometry, I should be able to virtually 'segment' the line into 1 mm straights and if chained and angled correctly, I should be able to arrive where I want.
Thank you for your thoughts,
Edmunds
I would not have brought it up, but I could find zero threads on this forum about accelerometers and gyroscopes. As mentioned before, I'm going to try to use one and while Internet is full of Arduino based gyroscope and accelerometer applications, I think it is worth discussing this for our beloved Picaxe as well.
What I want to do is to equip this vehicle with a gyroscope. Then, I want to travel the line as in the video and register angle change (say, yaw axis) the car is at for every 1 mm of travel. Then, I want to reconstruct the angle into a 'virtual line' and feed this back to the steering co-processor instead of the white line information from the sensor and make the car follow the line without there being a line.
I'm thinking about the following roadmap:
1. Get the car to count travelled millimetres, interrupt on it; DONE
2. Get the gyro/accelerometer combo running; DONE
3. Add memory - I2C or SPI min 16kb (something from the parts drawer);
4. Learn to store angle data or pre-calculated virtual line in memory while driving the line;
5. Learn to read the data and feed it back to the steering co-processor (HSERIN?);
6. See if this works.
Am I missing something major? As in, 'this is totally not gone work, you need to go back to school again if you think it could' .
Any comments on using accelerometer data as well for this? People seem to use gyro and accelerometer combos for indoor navigation and I have one, but I don't quite understand what I could use it for in case I have my odometer (point 1 above). From simple geometry, I should be able to virtually 'segment' the line into 1 mm straights and if chained and angled correctly, I should be able to arrive where I want.
Thank you for your thoughts,
Edmunds
Last edited: