Skip to main content

Fixing the Flicker Afflicting a Night Light

It’s hard to part with some things, even if they’re broken and were worth next to nothing to begin with. But some things are just special, y’know? And we would say in this case, the thing was definitely worth saving.

[Taste the Code]’s daughter’s beloved night light had a terrible flickering problem, and then stopped working altogether. Eager to make her happy, he cracked it open and found that one of the wires had disconnected from the outlet pin it was soldered to. That’s a simple enough fix, but trying to solder in tight quarters where the walls are soft plastic can be quite challenging.

Once that was fixed, [Taste the Code] plugged it in to a test outlet. It’s back to working, but also back to flickering, because there is no capacitor to smooth out the signal going to the LEDs. [Taste the Code] measured the voltage drop across the output of the bridge rectifier and soldered in an electrolytic cap with more than double the necessary voltage rating, just to be safe. You can check out the video after the break.

This goes to show several things: one, you can learn from fixing and improving cheap electronics from the likes of your local dollar store. Two, you can also get some kinds of components there quite inexpensively from things like magnetic sensor-based window alarms and dirt cheap solar garden lights.

You can also do some fun stuff with those cheap IKEA lamps designed for children. Here’s an adorable cloud lamp with an RGB LED upgrade that shows the weather mood using an ESP8266.



from Hackaday https://ift.tt/2RPiQw9

Comments

Popular posts from this blog

Bill Gates steps down from Microsoft’s board to focus on philanthropy

In an announcement on Friday, Microsoft revealed that company co-founder Bill Gates has decided to step down from his role on its Board of Directors in order to focus on his philanthropic efforts at the Bill & Melinda Gates Foundation. This is Gate’s biggest change to his role at Microsoft since stepping down as company chairman in February 2014. According … Continue reading from SlashGear https://ift.tt/2We90Gu

World Economic Forum launches Global AI Council to address governance gaps

The World Economic Forum is creating a series of councils that create policy recommendations for use of things like AI, blockchain, and precision medicine. Read More from VentureBeat http://bit.ly/2EKBjD4

A Mini USB Keyboard That Isn’t A Keyboard

A useful add-on for any computer is a plug-in macro keyboard, a little peripheral that adds those extra useful buttons to automate tasks. [ Sayantan Pal] has made one, a handy board with nine programmable keys and a USB connector, but the surprise is that at its heart lies only the ubiquitous ATmega328 that you might find in an Arduino Uno. This isn’t a USB HID keyboard, instead it uses a USB-to-serial chip and appears to the host computer as a serial device. The keys themselves are simple momentary action switches, perhaps a deluxe version could use key switches from the likes of Cherry or similar. The clever part of this build comes on the host computer, which runs some Python code using the PyAutoGui library. This allows control of the keyboard and mouse, and provides an “in” for the script to link serial and input devices. Full configurability is assured through the Python code, and while that might preclude a non-technical user from gaining its full benefit it’s fair to say that ...