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
Hardware Hacking
  • Challenges & Projects
  • Project14
  • Hardware Hacking
  • More
  • Cancel
Hardware Hacking
Blog Hacking an old darth vader lamp
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Hardware Hacking to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: daniloo94
  • Date Created: 10 Jun 2020 3:08 AM Date Created
  • Views 934 views
  • Likes 9 likes
  • Comments 1 comment
  • hardwarehackingch
Related
Recommended

Hacking an old darth vader lamp

daniloo94
daniloo94
10 Jun 2020

Hello everyone, in this post I will show, how I hacked my old star wars lamp, including wifi support, using an esp8266 and voice control using Python + Google Speech API.

The code used in this project can be found in https://github.com/danilo94/IotLamp

 

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

 


 

 

1 - Understanding the Hardware

 

Firstly to hack the lamp, I need to understand how the hardware of the project works, so disassembling I found this PCB:


image

 

The PCB is composed by a simple line of RGB leds, and a microcontroller ( probably an Attiny85 ) responsible for control the brightness of each color, using a PWM signal. So, testing the pins, i found the color channels, next when old microcontroller stay in pcb as shown in figure.

image

 

2 - Hacking RGB signals, using an Arduino

 

So, to test the signals, I soldered the wires in each color channel and connected it to an old Arduino nano, to test the color transition.


image

 

image

 

3 - Adding ESP8266 to the project

So, after the test of RGB channels using the Arduino, I connected the wires to an esp8266 to use them as main controller.

 

image

 

4 - Using Python + Google Speech API to add voice commands

 

To add voice control to this project, I created a python script to listen to@@ my voice and using the Google Speech API, the script detect the following words:

 

  1. Luke Skywalker: Change color of the light to blue.
  2. Mestre Yoda ( Master's Yoda ): Change color of the light to green.
  3. Darth Vader: Change color of the light to red.
  4. Desligar ( Turn off ): Turn off the lamp.

 

 

image

5 - Youtube Video ( i will add subititles as soon as possible )

 

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

  • Sign in to reply

Top Comments

  • dubbie
    dubbie over 5 years ago +1
    I like the lamp. Does it say 'Luke, I am your Father' as well? Dubbie
  • dubbie
    dubbie over 5 years ago

    I like the lamp. Does it say 'Luke, I am your Father' as well?

     

    Dubbie

    • Cancel
    • Vote Up +1 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