element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Project Videos
  • Challenges & Projects
  • element14 presents
  • Project Videos
  • More
  • Cancel
Project Videos
Documents Interactive Light Up Window using a Raspberry Pi and micro:bit -- Episode 527
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Project Videos to participate - click to join for free!
Related
Recommended
Engagement
  • Author Author: tariq.ahmad
  • Date Created: 1 Dec 2021 11:11 PM Date Created
  • Last Updated Last Updated: 13 Nov 2023 4:19 PM
  • Views 397566 views
  • Likes 8 likes
  • Comments 13 comments

Interactive Light Up Window using a Raspberry Pi and micro:bit -- Episode 527

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Lorraine wanted to use lots of her skills by creating an interactive window for her neighbors to play with. Each season the window will change theme and how you can interact with it. Friends, family, and neighbors can change the color of the window from the street. This season the project uses a Micro:bit connected to a raspberry pi over UART. Three capacitive touch buttons sit on the wall outside connected to the Micro:bit. The Raspberry Pi sends signals to two sets of lights: wired NeoPixels and over infrared signals. This project gives lots of useful tips like connecting a Micro:bit to a Raspberry Pi over serial, without using a USB cable. Adding capacitive touch buttons to the Micro:bit. Easily setting up a Raspberry Pi with individually controllable RGB LEDs and how to hack cheap RGB LED lights over infrared.

 

Supplemental Content:

  • Episode 527: Bonus Video: Digital Window
  • micro:bit Window Hex file
  • Strand Test Python files
  • Window Test Python file
  • Turning Raspberry Pi into A Remote Controller (external link)

Bill of Material:

Product Name Manufacturer Quantity Buy Kit
RASPBERRY PI 3 Raspberry Pi 1 Buy Now
Raspberry Pi Power Supply Raspberry Pi 1 Buy Now
SD Card TRANSCEND 1 Buy Now
Multicore Cable Multicomp Pro 1 Buy Now
Female Crimp Socket Harwin 9 Buy Now
Crimp housing Harwin 9 Buy Now
micro:bit BBC MICRO:BIT 1 Buy Now
micro:bit Edge Connector Kitronik 1 Buy Now
Breadboard MCM 1 Buy Now
10 kohm resistor TT ELECTRONICS 1 Buy Now
200 ohm resistor NEOHM 1 Buy Now
2n 2222 transistor ONSEMI 1 Buy Now
940 NM infrared LED Kingbright 1 Buy Now
Waterproof box FIBOX 1 Buy Now

Additional Parts:

Product Name

WS2812b string lights

Vinyl for adding decorations to the window

Infrared lights with remote

element14 presents

element14 presents  |  About Lorraine |  Project Videos

  • micro:bit
  • Infrared remote
  • e14p_LU
  • lorraine
  • microbit
  • raspberry pi
  • element14 presents
  • RGB LEDs
  • lorraine underwood
  • friday_release
  • Multicolor lights
  • capacitive touch
  • Share
  • History
  • More
  • Cancel
Actions
  • Share
  • More
  • Cancel
  • Sign in to reply
  • beacon_dave
    beacon_dave over 3 years ago in reply to lorrainbow

    Excellent !  

    Next challenge - turn your front window into a rhombic dodecahedron infinity mirror... Slight smile

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • lorrainbow
    lorrainbow over 3 years ago in reply to beacon_dave

    I've done it! I used a time of flight sensor

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • beacon_dave
    beacon_dave over 3 years ago in reply to lorrainbow

    If you think that ornaments secured on the wall would survive, then that perhaps opens up some possibilities for tactile input options. Small artificial Xmas trees fitted with resistive flex sensors that will generate a varying signal with decay when brushed against could generate interesting lighting. ( I recall Tom Igoe sewing such sensors into limbs of cuddly toys to act as a user interface). Likewise reindeer with noses that glow red when touched / pressed. Standardise the base and you could have different ornaments for the different seasons such as a flexible cat's tail, and light up pumpkins which can be pressed. Endless fun with the 3D printer.

    Perhaps could have a 'Simon' type memory game where robust buttons or touch sensors light up and you have to repeat the sequence shown by the lights in the window. With games though you generally need some sort of a reward if successful e.g. Santa Claus appearing out of your chimney...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • beacon_dave
    beacon_dave over 3 years ago in reply to lorrainbow

    LED light chaser hoops can be quite eye-catching and relatively easy to do with pixel LED strips. You can add to them over time as well. You can have lots of patterns that can be controlled over your user inputs. Relatively easy to weatherproof and secure.

    A step up might be to use persistence of vision wheels which then allows for animated text and graphics in addition to colour changing. Perhaps could be upcycled from old bicycle wheels if you don't want to design from scratch.

    Just need a 'garden network' to connect them all into Smiley

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • beacon_dave
    beacon_dave over 3 years ago in reply to lorrainbow

    I think this depends on what you plan to do with the input triggers, along with aspects such as weatherproofing, robustness, and as previously mentioned physical restraints ( I doubt the council will take kindly to you digging up the pavement, even if they appear to let everyone else do it these days...).

    You could have some sort of 'button wall' along the top of the wall but then what does each button do. If you had more of a video display in the window you could start to do giant retro video games with the controllers located on the wall.

    With the RGB LEDs you could perhaps have a colour sensor to match the colour in the window to someone's clothing. Lighting could be tricky here so it may have to be a sleeve in close proximity to a sensor rather than someone walking past. 

    With Bluetooth input, you could have an app that allows neighbours to program their own light show and run it when passing the house. However you may need to add more lights for this.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • beacon_dave
    beacon_dave over 3 years ago in reply to lorrainbow

    I was initially thinking more of gobo projection. Something like projecting a sequence of animal footprints as people walk past. Depends on how brightly lit the pavement is though.

    You could probably back project onto the window, or use transparent LED film, which would open up all sorts of interactivity options.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • rmd6502
    rmd6502 over 3 years ago in reply to lorrainbow

    Apropos of capacitive sensors, I had wanted to put squares of mesh (e.g. chicken wire) under the welcome mat to detect when someone stepped on it. You could make mats of all different colo(u)rs.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • lorrainbow
    lorrainbow over 3 years ago

    What inputs should I use for my next video??

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • lorrainbow
    lorrainbow over 3 years ago in reply to beacon_dave

    Definitely working on more sensors for my next video. Projecting onto the footpath would be tough given the angles, weather and closeness of the road. I actually projected out a bedroom window onto the front garden, it was fun! But not visible from the path

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • beacon_dave
    beacon_dave over 3 years ago in reply to lorrainbow

    Perhaps work  your way up to a 'smart wall' - modular blocks that can house sensors, lights, displays, project onto the pavement... 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube