[ExI] self-riding bicycle test board

spike at rainier66.com spike at rainier66.com
Sun Oct 2 21:17:05 UTC 2022


 

 

Hey cool, so we integrated an SD shield so this Arduino can write files to
external memory.

 

The adapter came today so now we can use the micro SD cards.  It works on
the desktop:

 



 

So far we have a three-axis accelerometer with three-axis gyro.

 

Here's the plan, kind of a crazy ass idea we cooked up.  Do feel free to
point out if we are crazy, but if so be more specific than a simple: spike,
yer crazy, lad.

 

We get this thing working to our satisfaction on the bench, then transfer
our code over to Seeeduino, which is smaller, then solder the interface
wires.  Test to make sure everything still works.

 

Then we package the Seeeduino with the three-axis accelerometers and gyros
into a matchbox or condiment cup or something, attach it to our quadrotor
drone with Velcro.

 

Then we fly the drone around the local softball field while the
accelerometers gather data, starting at home plate and trying to fly over
each base.  Run a few laps around the bases.

 

Take out the SD card, dump the data into a spreadsheet, double integrate to
see if the resulting position data agrees you flew a pattern that looks like
a player running the bases.

 

Follow me so far?  So if the double integration of acceleration data notion
works better than I expect, we are ready to move up to the self-riding
bicycle idea.

 

Plan: 

 

1.	Mount this gyro/accelerometer package on our bicycle, start the
program, ride the bicycle down the hill until it stops
2.	Double integrate the acceleration data the same way we did with the
drone flights
3.	Use the resulting position information as an input to the
self-riding bicycle as a guide for where it is supposed to go

 

 

Note this is a bit different from the original idea.  This isn't actually a
feedback control system as I envisioned, but rather it's a programmable
bicycle.  You hafta ride it down the hill before it knows where the road is.

 

This might not work (I ha' me doots, Captain) but we are having fun.

 

Adrian do you suppose this approach will work?  Or will the bike drift off
and crash spectacularly?

 

spike

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.extropy.org/pipermail/extropy-chat/attachments/20221002/a44640aa/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 16055 bytes
Desc: not available
URL: <http://lists.extropy.org/pipermail/extropy-chat/attachments/20221002/a44640aa/attachment-0001.jpg>


More information about the extropy-chat mailing list