lightsaber

Public

@themagicfrog

Download board files

Files for version 1. Pick what you came for.

Share lightsaber

Check access before sharing the link.

Who can open this board

Anyone can open this board. No sign-in is required.

This link opens the latest version. Copying it does not grant additional access.

Loading 3D model… large boards can take a moment.

README

MAGIC FROG'S LIGHTSABER

This is a PCB lightsaber controlled by a gyroscope and accelerometer that I designed. I created it originally for The Trail, an event organized by Hack Club.

Project Overview

I initially designed the entire board with a ATmeag32U4 chip, and you can find the schematic and PCB design in the main branch. I also added some lighthouse-themed silkscreens as my original idea was to make it a desk lamp. I encountered a lot of problems along way and decided to use an Ardunio Nano instead. I used my PCB board as a base and connected the Ardunio Nano.

Features

Dynamic LED Control: LEDs light up based on movement detected by the gyroscope and acceleromenter.

  • The faster you accelerate, the more LEDs illuminate.
  • Each axis (x, y, z) on the gyroscope control a different LED color: red, blue, or green.

Components

  • Ardunio Nano Microcontroller
  • MPU-6050 Gyroscope and Accelerometer
  • NeoPixel LED Strip
  • 6V Battery

Photos!!

Here are some really cool long-exposure light photos I took with the lightsaber in action!

Video

Demo

Acknowledgements

Special thanks to Thomas Stubblefield, Kevin Yang, and Isaac Davenport for helping and encouraging me on the way!

License

Magic Frog's Lightsaber is licensed under the MIT License. See the full license text in License.

Comments

No comments yet. Be the first to ask about this board.

Ask about this board

Sign in to BoardRepo

New here? Signing in creates your account; there is no separate sign-up.