Raspberry Pi Backlit Logo

Raspberry Pi Logo that is Backlit and only lights up when office lights are on.
3
30
0
171
updated November 10, 2023

Description

PDF

I wanted a backlight Raspberry Pi Logo for my work bench at work. I thought it would be fun to have one since we use a lot of Raspberry Pi for random things in my job and I mainly work on them at my bench. 

I made this model using Fusion 360. It is powered with a Raspberry Pi Pico W and it only turns on when my work bench light is on. 

 

The following is what I used for this product:

For the shell of the logo - Prusament PLA Prusa Galaxy Black

Leaves Insert - Transparent Green HATCHBOX PLA 3D Printer Filament

Berry Insert - Transparent Red HATCHBOX PLA 3D Printer Filament

1 - 10K ohm Resister 

1 - Mini Photocell

1 - Raspberry Pi Pico W

16" of Neopixel Led Strip 

-----------------------------------------------------------------------------

Wiring Diagram:

---------------------------------------------------------------------------------------

Code:

import machine
import neopixel
import utime

np = neopixel.NeoPixel(machine.Pin(0), 8)
photo_pin = machine.ADC(26)
n = np.n

       


while True:
    val = photo_pin.read_u16()
    val = val / 100
    print(val)
    if val > 400:       
        for i in range(n):
            np[i] = (0, 0, 0)
            np.write()
        utime.sleep(.25)
            
    else:
        for i in range(n):
            np[i] = (255, 255, 255)
            np.write()
        utime.sleep(.25)
           

Tags



Model origin

The author marked this model as their own original creation.

License