Tim Giles
Published © CC BY-NC

Drone Race Practice Companion

Use a Walabot sensor, Amazon Alexa, and Raspberry Pi to keep track of your stats while practicing for your next drone race!

AdvancedFull instructions provided12 hours729

Things used in this project

Story

Read more

Custom parts and enclosures

RPI3 touchscreen case top

Walabot Creator Top & Bottom Plates

Walabot Creator Top & Bottom Plates. Designed in Designspark Mechanical, includes the .rsdoc, .dxf and .svg. Intended for laser cutting.

Raspberry PI 3 Touchscreen Case

I 3d printed this with flexible filament; makes fitting it all together a little easier. Designed in Designspark Mechanical, this includes the .rsdoc design files and .stl printing files. If they import small scale by 25.4 to convert from inches to mm.

RPI3 touchscreen case bottom

Schematics

Drone Race Practice Companion Connection Diagram

Connection is pretty simple! Plug a USB A to Micro B cable between the Raspberry Pi and Walabot Creator. Use the larger USB plug and configure the jumper for power over USB. Use an external 5V power supply to power the Raspberry Pi and connect external speakers to hear to start, stop and lap tones!
Schematic vkcyd4wfam

Code

Lambda function

Python
When making your own version of Drone Race Practice Companion, upload the entire contents of this zip file to your lambda function. Se the language to Python 2.7. You will need to add your own keys in the cert folder. Add cert.crt, priv.key, and pub.key in the cert folder. These allow you to communicate with your IoT thing.
No preview (download only).

Raspberry Pi Code

Python
When making your own Drone Race Practice Companion use the contents of this folder on your raspberry pi. From the open a terminal in the RPi folder and type "python DRCP_w_Walabot.py" to start your drone race practice companion! If you are making your own version of the skill then you will need to create an AWS IoT thing and copy is cert.crt, priv.key and pub.key into the cert folder. If would like to use my public skill you can use the keys I provide in the keys uploaded to this project
No preview (download only).

Keys

Plain text
These are the keys used to talk to the IoT thing that I created for Drone Race Practice Companion. Feel free to use them for testing, but if multiple people are using them simultaneously we may run into authentication issues.
No preview (download only).

Alexa Skill Utterances

Plain text
These are the sample utterances used by the Drone Race Practice Companion Alexa Skill
FreePracticeIntent()
I just want to practice
fun fly
free fly
practice
free practice
start a free practice


GetBestTimeIntent()
how fast did I fly
what is my best time
what is my best lap time

GetLapsIntent()
what is the lap count
what is my lap count
tell me my lap count
how many laps
how many laps have I flown

HelpIntent()
What
I dont know
what can I say
help

ResetBestTimeIntent()
Reset best lap time
reset best time

ResetLapsIntent()
redo
start over
set laps to zero
reset lap counter

ResultsIntent()
race results
practice results
free practice results
how did I do
what are my time attack results
time attack results
results
hows my flying
how is my flying

StopIntent()
Im finished
end practice
end race
end session
close
Im done flying
stop

TimeAttackIntent()
Drone race
race
time attack
start a time attack

Credits

Tim Giles

Tim Giles

1 project • 1 follower

Comments