element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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
RoadTests & Reviews
  • Products
  • More
RoadTests & Reviews
Review Blogs Roadtest Plus- Multipurpose Modular Light Bar Project: [10] Summary and Demonstration
  • Blogs
  • RoadTest Forum
  • Documents
  • RoadTests
  • Reviews
  • Polls
  • Files
  • Members
  • Sub-Groups
  • More
  • Cancel
  • New
Join RoadTests & Reviews to participate - click to join for free!
  • Share
  • More
  • Cancel
  • Author Author: ipv1
  • Date Created: 17 Jan 2016 3:21 PM Date Created
  • Views 1943 views
  • Likes 8 likes
  • Comments 9 comments
Related
Recommended
  • ip_modular_light
  • ledroadtestplus
  • ip_iot

Roadtest Plus- Multipurpose Modular Light Bar Project: [10] Summary and Demonstration

ipv1
ipv1
17 Jan 2016

  • Introduction
  • The design and build
  • The Interface
  • The demonstration
  • Conclusion
  • Links

 

Introduction

 

Last year element14 challenged us to create an IoT Holiday Light and we delivered. This year, we were challenged to use the Texas Instruments TPS92512 and Wurth Elektronik parts and LEDs to create something useful. So I set out to utilise the LEDs as best as I can. My initial proposal was to create a lighting solution that can be used for home as well as industrial use. The solution included the capability to be accessed via a mobile device like a remote and wifi connectivity was proposed. My initial proposal is available at Multipurpose Modular Light Bar Project: [01]: The idea

image

 

As the challenge evolved, so did my understanding of our requirement and the design became more specific. I ended up designing a modular plug and play lighting solutions for our unborn child’s room such that it had enough brightness to compete with commercial solutions as well as double as a dimmable light to be useful as a night light. Unlike philips HUEs which comes in sets of 3 bulbs that are point sources of light and need a central hub to work, my solution consists of larger light panels that can connects to the internet directly and accessed individually. The proof of concept is demonstrated here and can be expanded to work with other types of requirements such as work bench lighting etc.

image

All the design documents are available as design logs and the source code is available at github should you choose to make one yourself. We are thankful to Texas Instruments, Wurth Elektronik and Element 14 for this opportunity and their support.

 

I received a kit as well as budget and the details are presented in the post at Multipurpose Modular Light Bar Project: [02]: The UnBoxing and Multipurpose Modular Light Bar Project: [03] Shopping for Parts

 

The design and build

 

The hero of this design is the TPS92512 LED driver module which is used to control the brightness of the LEDs. Initially, we tested the module with a variety of lights to understand the response of the LEDs and the heat generated by the LEDs. It was concluded that an array of LEDs can be connected such that they operate at much lower average current levels thus producing less heat per LED. This results in a larger spread of light in a panel format all the while reducing eliminating the need for heatsinks.

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

 

We also tested our functionality with the CC3200 as a source of PWM which will be responsible for the dimming effect in the panel. The only thing to beware of with the CC3200 is the rate at which analogWrite is called. We need to create a small delay such that the main loop does not refresh the PWM signal over and over again. More on this later. I wrote a guide to the CC3200 and explained my code in the post at Multipurpose Modular Light Bar Project: [06] Setting up a TI CC3200 with Energia.

image

 

We also designed PCBs for the system such that the TPS92512 module was converted into a booster pack. We are still awaiting production on that end but the complete instructions for design are given in my blogs post at Multipurpose Modular Light Bar Project: [04] PCBs in the making and Multipurpose Modular Light Bar Project: [05] Creating the Layout: Parts from Wurth Electronics DE

Thank you Wurth Elektronik for their excellent library support for the parts they sell.

image

 

The last part is the enclosure which must be aesthetically pleasing while serving its purpose and then we recycled an old PC monitor, emptied it’s electronics and fitted it with our own parts. The font was replaced with frosted glass and the empty space was covered using a greeting card that my wife gave me on our first anniversary. The complete story of the build is available at our post at Multipurpose Modular Light Bar Project: [09] Recycling a Computer Monitor with a little love and romance

image

 

This prototype was designed to be hung on a wall and we did.

 

The Interface

 

The last part is the user interface which is also very important and I created a website that uses javascript to turn your PC, laptop, tablet or smartphone into a remote. The same page is designed to work on a multitude of devices and the javascript exposes four buttons on the page titled “Baby Room”. Each of these four buttons is responsible for sending the relevant command to the iot.eclipse.org MQTT broker to which our CC3200 is listening. The received commands are translated into actions and our entire project works. The details of the webpage design are given in the post Multipurpose Modular Light Bar Project: [07] A little web development for a GUI

image

A more detailed explanation is presented with code of the javascript at Multipurpose Modular Light Bar Project: [08] MQTT Communications at the CC3200 - Javascript, PAHO and TLV protocol

 

The demonstration

 

The final demonstration is shown in the video below. Its’ a short video on the summary and the working of our project.

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

 

Conclusion

 

This project is a proof of concept and has no limits. I am hoping to receive the PCBs I designed soon and will be upgrading the project to an RGB model and creating a duplicate to work as my bench light. I have already had friends come over and ask me what this would cost if I made some for them hence I am also looking at reducing the BOM cost to create a commercial version. The website will add a security feature such that not everyone can access the page.

 

This was a very different experience from my past projects as I concentrated on a smaller portion rather than making a large build and I hope it helps someone out there. Once again our thanks to Texas Instruments and Wurth Electronic and element14 for their support.

 

Thanks.

 

Links

  • GitHub Link
  • my github account
  • Wurth Electronics
  • Texas Instruments CC3200 guide
  • CC3200 part reference
  • CC3200 release notes
  • TPS92512 Datasheet
  • Element14 Product page for the TPS92512
  • Sign in to reply

Top Comments

  • dougw
    dougw over 9 years ago +2
    Well done - great application. Your RGB upgrade, especially adding red, yellow, green coloured LEDs is a good idea for night lights - apparently blue and white LEDs fool our circadian rhythm into keeping…
  • mcb1
    mcb1 over 9 years ago +1
    Excellent presentation and writeup. Clearly these challenges have been beneficial. It is nice to see the end result is both useful and desirable to others. Well done and good luck for the future arrival…
  • DAB
    DAB over 9 years ago +1
    Great detailed post. DAB
  • ipv1
    ipv1 over 9 years ago in reply to measley

    I am missing a current sense resistor which is in my cart at the moment. However I am running tight on funds hence its been put on the backburner.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • measley
    measley over 9 years ago

    Nice. How did the BoosterPack turn out?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ipv1
    ipv1 over 9 years ago in reply to shabaz

    Thank you shabaz sir. This is one of those times where the project wont be recycled since its already a live application. The only change will be User Access Control to the Web UI.

     

    Regarding the mac app, I remember having a Gnome theme and app that changed the wallpaper based on the system time. The same location was shot during different times of the day and as the time changed in the system clock, the wallpapers were cycled to reflect the time of day. Im not sure about better sleep but it was confusing at first as to who was changing the background- gremlins! image

     

    Again thank you for the support.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 9 years ago

    Hi Inderpreet!

     

    A personalized night light is such a great idea for a child's bedroom.

    I loved the simplification you managed for your project - rich in technology but an easy-to-use web portal that anyone would want to use!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 9 years ago in reply to dougw

    A colleague mentioned that to me today! Apparently there is a Mac app that auto-changes the display color scheme as evening time approaches : )

    He says it did give him better sleep.

    • 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