This Halloween, the TI LaunchPad™ development kit team decided to have some fun with our coworkers and use this spooky LaunchPad kit-based Halloween project to prank them. By using several new BoosterPack™ plug-in modules from TI and the MSP432™ microcontroller (MCU) LaunchPad development kit, we are able to create a system to drop a toy spider from the ceiling to scare unsuspecting coworkers – all controlled from a smartphone!
For this project, you will need:
At the heart of this project is the MSP432 MCU LaunchPad kit. This MCU development kit is the brains of the project and its maker-friendly hardware and software made it quick and easy to get our project up and running. All of the code used in this project was developed with the easy to use Energia IDE and the stackable LaunchPad kit headers made our hardware setup as easy as stacking four boards together.
MSP-EXP432P401R LaunchPad kit
To complement the MSP432 MCU LaunchPad kit, I used three different BoosterPack modules: The ULN2003 Stepper Motor BP, the SimpleLink™ Bluetooth® low enery CC2650MODA BoosterPack module, and the Fuel Tank MKII BoosterPack kit. All of these BoosterPack modules stack on top of the MSP432 MCU LaunchPad kit with the standard LaunchPad headers and have Energia libraries for quick software development.
To drop and retract the toy spider, we are using a stepper motor powered and controlled with the brand new ULN2003 Stepper Motor BoosterPack plug-in module. This BoosterPack kit can control two stepper motors with just three GPIOs and is powered from the 5V pin on the LaunchPad kit. This makes it an easy choice for any projects that need a motor
Since I wanted to be able to control the spider drop from a distance, I used the Bluetooth low energy CC2650MODA BoosterPack kit. This BoosterPack kit adds Bluetooth low energy connectivity to the system which lets me control everything from my smartphone. The Energia library includes a Bluetooth low energy serial example, so for this project I just need to send a string that says “boo!” to trigger the spider to drop.
The final BoosterPack kit I used is the FuelTank MKII BoosterPack which has a rechargeable battery, fuel gauge, and charging circuit. This BoosterPack lets any project become portable by adding a rechargeable battery.
The only thing left to do was plug in the motor and attach the spider with a string to the motor. I packaged everything up in a plastic pumpkin using a zip-tie and double stick tape.
As you can see, the LaunchPad ecosystem makes developing any project quick and simple. The standard LaunchPad kit headers and the easy-to-use Energia IDE are the perfect combination for your next rapid prototyping project. For more information about the LaunchPad ecosystem, please visit www.ti.com/LaunchPad.
Hi-Could you please share the source codes? Thanks
The files are available here: github.com/.../lp_halloween
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.