CPX Headlamp

17520

Intro: CPX Headlamp

This is a circus playground express headlamp. This headlamp consists of a go pro head strap, a CPX, a battery, and a servo to make it work. This was created specifically for people who are outdoors a lot such as hikers and construction workers but it can be used by anyone. The headlamp also has a lid that is meant to cover the light when it is bright and it is meant to go up when it is dark.

STEP 1: Download

Click on link attached to download CPX holder and battery holder. Press export, .STL (see in picture attached)



STEP 2: 3D Print

  • Once you have it downloaded go to http://cloudprint.makerbot.com
  • Select "start new print"
  • Switch the "Method X" on the top of the screen to "sketch"
  • Then click import and attach your downloaded file
  • In the Makerbot quick setting change your support type to "breakaway" and your base layer to "none"
  • Click export then save it to a USB and print it when you are ready


STEP 3: Download and Print

Download Servo holder to your computer and 3D print it the same way you 3D printed in the previous step using this link

https://www.tinkercad.com/things/1CNgm09mVRb-copy-of-cpx-holder/edit?sharecode=54IBJksiyvdN85eLb3ktJ6v4bJDbXVjTKu42KtWzOSs

STEP 4: Glue

Attach the servo holder to your CPX holder using gorilla glue and a clamp

STEP 5: Attach 3D Print

Insert the CPX into the CPX holder using screws and attach it to your GoPro head-strap

STEP 6: Servo Attachment and Set Up

  • Take servo and attach the part with 1 wing
  • Then take your alligator clip wires and attach the BROWN to GND, the RED to VOUT, and the YELLOW OR ORANGE to A1 on your CPX

STEP 7: Cardboard Cover

Cut out a cardboard circle about 2 inches in diameter

STEP 8: Attach

Attach Cardboard cover to the headlamp using a paperclip and glue

STEP 9: Code

  • Download and Install Mu editor https://codewith.mu/
  • Copy and paste code into Mu Editor
  • Save to code.py
  • This code shows that when light it detected the lid will go down and when it is dark the lid will go up and the light will flash