Giter VIP home page Giter VIP logo

astromechmagicpanel's Introduction

Astromech Magic Panel (AMP)

This project enables the building of LED Magic Panels for Astromech (R2-D2) droids. For more information on building your own droid, visit Astromech.net

About

This version cycles through 8 predefined color pallets at 30 second intervals. The brightness pulses. The colors, intervals, sequences, speed, and density are all configurable. AMP requires 5v.

The default color sequence is:

  • Red, <Off>
  • Red with hints of Blue
  • Blue, <Off>
  • Red with hints of White
  • White, <Off>
  • Blue with hints of White
  • Blue, <Off>
  • Rainbow, <Off>

The build is pretty straightforward but if you are looking for a prebuilt, preprogrammed unit, send me a message in the Astromech forums. I can also be found on Instagram.

Videos

Click each of the images below to view a video on Youtube of the animation.

Rainbow Animation

Red and Blue Animations

Horizontal & Vertical Lenses Compared

Getting Started

To build the Astromech Magic Panel (AMP) you will need the following hardware:

Here are the components prior to assembly

Sparkfun LuMini

Adafruit Dotstar

Note: You will also need a semi-transparent Magic Panel. If 3D printing this panel I recommend printing the panel vertically using a clear PETG filament. I used 6 perimeters/shells with 10% gyroid infill. Fewer perimeters and less infill will result in poorer LED diffusion. I highly recommend using Michael Baddeley's excellent 3D printable models.

Step 1: Solder

First, solder the straight header pins to the Adafruit QT Py facing up.

Next, solder two wires to the power pads on the opposite side of the QT Py.

Sparkfun Instructions

Next, solder the 5V, CO-CI, DO-DI, and GND pads together on a flat surface. Also place a bit of solder on the remaining 5V, CI, DI, and GND pads on the top board.

Next, spread the pins of the right angle headers apart slightly and solder them to the 5V, CI, DI, and GND pads on the top board.

Adafruit Instructions

Next, solder the capacitors supplied with the matrices to the boards. Be sure to solder the + and - capacitor leads to the corresponding pads on the board. Once soldered trim the leads. Also place a bit of solder on the CIN, DIN, GND, and +5V pads. Do the same for the +5V, GND, DOUT, and COUT pads on one of the boards.

Next, solder the right angle headers to the pads prepared in the step above. Note that with the Adafruit board the right angle headers do not need to be spread apart.

Step 2: Program

Using a USB C cable, a computer, and the Arduino IDE, connect the QT Py microcontroller and upload the AstromechMagicPanel.ino sketch found in the src directory.

Step 3: Print

3D print the QT Py and Base mounting brackets found in the models folder. Only print the base model corresponding to the LED matrix you are using.

Print the Magic Panel vertically (standing on the shorter side) using clear PETG filament. I used 6 perimeters/shells with 10% gyroid infill. Fewer perimeters and less infill will result in poorer LED diffusion. I recommend using "Panel 7" model from Michael Baddeley's project. The light is diffused perpendicular to the print layer direction.

Step 4: Assemble

Next, use CA glue to attach the QT Py bracket to the base.

Next, screw the LED panels into the bracket.

Then connect the QT Py to the LED panels using the female jumper wires. If using the Sparkfun Lumini, connect CI to pin 0 and DI to pin 1. If using Adafruit Dotstar, connect CIN to pin 0 and DIN to pin 1. Don't forget to connect the 5V and GND pins as well.

Assembled Sparkfun LuMini AMP

Assembled Adafruit Dotstar AMP

Once assembled, AMP can be installed into the dome directly over the semi-transparent Magic Panel and connected to a 5v power supply.

More Help

For additional assistance please contact Michael Whitley (umlungu) on the Astromech.net forums.

astromechmagicpanel's People

Contributors

mtwhitley avatar miwhitle avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.