RGB Playground Lamp – SCOPES-DF

Lesson Details

Age Ranges*
Fab Tools*
Author
Additional Contributors

Author

Tyson Jones
Tyson Jones
K-12 teacher

Summary

Students are guided through the design process to model and produce a lamp that houses an Adafruit Circuit Playground Express.

Students will then use block code to enable their Adafruit Circuit Playground Express to function as an RGB lamp with their designed activation functions.

What You'll Need

 

The Instructions

Remixing and Modeling

Using the provided snap mount with alligator clips, you first need to import the .f3d file at the following link into Fusion360 by creating a new design and pressing upload under the files tab.

Download the .f3d file for the playground mount.

 

Circuit Playground Express Snap Fit Mount with Alligator Clip Cutouts

https://www.thingiverse.com/thing:3982715/files

Circuit Playground Express Snap Fit Mount with Alligator Clip Cutouts

by paulblankenbaker is licensed under the Creative Commons – Attribution license.

 

Using Fusion360, upload the .f3d file.

Ensure you save your work to your project library.

 

Using Fusion360 you can now start adding components and building your lamp as you see fit.

When adding to the mount component you want to ensure you have activated that component and can add material to that component any way you see fit.

 

This file is available through resources as an .f3d file

 

The design can be altered in any way to allow light to pass through and projected through the lamp.

The following example displayed how this may look.

Exporting STL from fusion and Slicing the model

Once the model has been finalised each component will need to be exported individually as a .STL file and then sliced through BAMBU or other applicable slicer software.

Export each component as a .STL

  • In Fusion360 this must be done by right-clicking on the component in the component library (You will only need to print the two halves of your lamp, not the circuit component, this is used as reference for the electronics and spacing).

 

  • Ensure you select Save as Mesh

 

 

  • Press OK to confirm

 

  • Save to your desired location, press SAVE

 

Slice Model

The following step will walk through slicing a model in BambuStudio to print on a 3D printer.

  • On a new project select the ADD tool to import your .STL/s or equivalent exported files for your model’s components.
  • Ensure you level and space each model part correctly.
  • Select Slice Plate
  • Check you are happy with your settings then either Save plate or Print plate if you want to directly send to printer through Bambu Studio.
  • Print your parts.

 









 

Code your Adafruit Circuit Playground Express

You will now code your Adafruit Circuit Playground Express to interact allowing you to change its colour under a selected function such as the use of sound (clapping).

 

  • The following code allows the Adafruit Circuit Playground Express to set all LEDs to white light when turned on.

 

  • Upon clapping or making a sound the colour of the LEDs will change to a random colour within the Adafruit Circuit Playground Express’s range.

 

  • You can change the input (Pink) function to another form of input, you can adjust your RGB lights function.

 

Assembly your RGB Light with chosen power supply

Assemble your RGB light and test its function with the desired power supply.

 

  • Place your Adafruit Circuit Playground Express in the alligator housing.
  • Pass your power supply cable through the cable hole and plug it into your Adafruit Circuit Playground Express.

 

 

 

  • Turn on your power supply and test your RGB lamp function.

 

Lesson Feedback

Contact us

Having trouble? Let us know by completing the form below. We'll do our best to get your issues resolved quickly.

"*" indicates required fields

Name*
Email*
This field is for validation purposes and should be left unchanged.
?