Coder Social home page Coder Social logo

chapstick_flashlight's Introduction

๐Ÿค– Build a Chapstick Flashlight

๐Ÿค“ Overview and learning outcomes

Soldering is a skill that takes practice. This assignment will allow you to have some fun practicing soldering. In the end you will have a pushbutton flashlight made from a chapstick tube.๐Ÿš€

Preparation

You will need the following items:

Materials

  • ChapStick Tube
  • Tactile Switch
  • A23 Battery (12V)
  • 470-Ohm Resistor
  • 10mm White LED (28,500mcd, 20mA, 3.5V)
  • Solder
  • Heat Shrink Tubing
  • Wire
  • "N" Battery Holder
  • Epoxy and/or super glue
  1. Remove the Chapstick from the tube and remove the bottom piece and screw from the tube assembly.
  2. Cut 6 mm of the chapstick off the may body and set it aside.
  3. Clip off the opposite leads of the tactile switch.

IMG_20210823_084516398

The Circuit you will build

The circuit for this device is simple enough. There are only four components as shown here:

Chapstick_Circuit

Build the circuit on your breadboard first to make sure you understand how it works.

Soldering the LED to the Resistor

  1. Cut the cathode of the LED to 6 mm.
  2. Solder the resistor to the cathode.

IMG_20210823_092652551

  1. Shrink some heat shrink tubing over it.
  2. Push both leads through the top of the ChapStick platform.

IMG_20210823_093207139

Complete the top section

  1. Cut the spring from the "N" battery holder (leaving the plastic portion it's attached to intact)
  2. Insert the 6 mm section of the battery holder with the spring attached into the bottom of the platform (this will help to make the base of the spring more stable.)
  3. Slide the positive lead of the LED through the center of the spring.
  4. Solder it to the base of the spring and then clip any remaining portion of the lead off.

IMG_20210823_093547753

Build the Switch Base

  1. Cut a square in the bottom portion large enough to put the tactile switch through.

IMG_20210823_085415535

  1. Position the switch to where the button sticks out just slightly past the bottom.

IMG_20210823_085522645

  1. After it's in place, glue the back side (the portion that goes up into the tube). Be careful not to put too much on. If it leaks through to the other side it can make the switch inoperable.
  2. After the Epoxy/glue dries, you can trim it up with a razor blade or exacto knife.

Wiring the Switch

  1. Place the top assembly, including the battery, inside the tube and position is so that the resistor that is attached to the cathode is sticking out of the tube.
  2. Position the switch base next to the tube so that you can solder the resistor lead to one leg of the switch.

IMG_20210823_094943566 (1)

  1. Solder that connection.
  2. Solder the base to the other leg and be careful not to create a short between the two legs.

IMG_20210824_075340983

Final Assembly

Close up the base. Test out the switch. If everything is connected properly, your light should come on. IMG_20210824_075601011

๐Ÿ“ Next steps

In order to complete the assighment, take a video of the working flashlight (mp4 or mov file type). Create a new markdown file which describes, in your own words, how you think this flashlight works. Use the technique in the video below, embed your video in the file so I can see your working flashlight.

Embed.a.Video.in.a.Markdown.File.mp4

๐Ÿ“š Resources

This lesson is in no way an original lesson plan by this author. It is based on this Instructible from BCat. Thank you for the insiration!

chapstick_flashlight's People

Contributors

stcline avatar

Stargazers

 avatar

Watchers

 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.