Robotics‎ > ‎

Blimp

Here you will find information on how to build and program blimps you can remote control with any cell phone or tablet using the resources developed for ASRA's second Blimps related module. I taught this module with Steven Kibler during the summer of 2016. He was the one to work out the majority of the kinks the previous year when he taught the first Blimps module with Mike Moss. Working with Steven was a great experience. As I continue to improve this project for use with students at Twindly Bridge Charter School and Teeland Middle School, I will share what I develop on this page.

Funding
During the fall of 2016 I received $2000 from the Voya Unsung Heroes Awards Program to fund the construction of 10 blimps and 10 submarines (see attachments below).

Prerequisites
Programming
To get started, work through the first two videos and test your code by remotely controlling an espMouse. Once you've done that, modify your code to control DC motors and add a slider to control a third vertical motor.
Modifications
You can make your blimp run a little quieter by setting the PWM frequency to 16 kHz in the setup() function before you drive your motors. Unfortunately, this does cause your motors to rev for no reason on occasion. If you figure out how to run quietly without that side effect, please let me know.
analogWriteFreq(16000);

Also, you may have already noticed that if you accidentally click you start button twice, your stop button won't work. To prevent this from happening, you can programmatically disable and enable your start and stop buttons using commands similar to the one below once you add id tags to both buttons:
document.getElementById('start').disabled = true;

I'd love to figure out a way to lock the orientation of the web app. Again, if anyone discovers a good method, please share.


Boards
Blimp v4I developed this board for use with my students at Teeland Middle School during the 2016-2017 school year. Changes from the board Steven developed for use with ASRA's 2016 Blimp module include:
  • Smaller (weighs less and is less expensive)
  • Traces to motors are 56 mils all the way from the motor drivers to the breakout pins.
  • Pinout has changed so that the motors do not run when programs are uploaded.

Troubleshooting
If you esp8266 is behaving erratically, consider erasing the flash using esptool.py. On linux, the command looks like:
python esptool.py -p /dev/ttyUSB0 --baud 115200 erase_flash

On a Mac, it looks like:
python esptool.py -p /dev/cu.SLAB_USBtoUART --baud 115200 erase_flash
Ċ
Michael Backus,
Jan 7, 2017, 12:38 PM
Ċ
Michael Backus,
Jan 7, 2017, 12:37 PM
Comments