Skip to main content

Toggling my LED using any remote control

In the previous email, I was able to turn an LED on for one second using any remote control. Today, I expanded on that to toggle it instead.

So press any button once - LED turns ON.
Press any button again - LED turns OFF.
Press any button once again - LED turns ON.
...and so on.

The only change from last time is that I added a JK flip flop on the output. If both the J and the K inputs of a JK flip flop are high when the clock pulse comes, it toggles its output.

I didn't have time to solder and make it work with my electronic candle yet, but it's pretty cool just to be able to control an LED with any remote 😎

I'll continue the project in the show & tell section inside of Ohmify (for members only), but for the curious mind, here's the complete schematic:

Keep On Soldering!
Oyvind @ build-electronic-circuits.com

PS! Whenever you're ready, here are two ways I can help you learn electronics:

  • ​​Join Ohmify​: Ohmify is for people interested in electronics who want to learn skills like PCB design, soldering, and project-building - while also getting a proper understanding of the basics.
    ​
  • Get the eBook ​Fun Circuit Experiments with Sound and Light​ where you'll learn basic electronics through experiments. If you're new to electronics, this is the perfect place to start. The book comes bundled with a component kit for an easy beginning of your journey.

Comments

Popular posts from this blog

Design and construct it! A DIY speaker resonance tester, a compact warning flasher, and more

If you can't see this message properly, view it in your browser. May 10, 2024 | #590    Compact Warning Flasher This little project should give peace of mind to bicycle riders pedaling in the dark without street lighting. At the same time it provides early warning to faster, motorized road users to pay attention and pass with care.   more...     Fnirsi SWM-10: Repair Battery Packs With This Portable Intelligent Spot Welding Machine (Review) Anyone who has ever tried to solder a wire or metal strip to a battery will know that this is near to impossible. What you really need for such a repair job is a spot welding tool. This is where the Fnirsi SWM-10 comes in.   more...     Raspberry Pi   ...

Understanding voltage by digging a hole

John is 1.8 meters (6 feet) tall. And in this email I'm going to put him into a hole to show you what negative voltage means. But first, what does it mean that John is 1.8 m tall? Could you find his height by only looking at his head? No. You have to compare the top of his head to the ground he is standing on to be able to find his height. That John is 1.8 m tall really means that the top of his head is 1.8 m higher than the ground that he stands on. ​ It's the same thing with voltage. You can't say anything about the voltage without comparing it to another point. It's common to define a zero point, or "ground", in a circuit. In a simple battery circuit, the ground point is usually the minus terminal of the battery. So if someone says that "this point is 5V", they usually mean it's 5V compared to ground. ​ What is a negative voltage? Back to John. What if we dig a hole of 1.8 meters, then put John into the hole. (Poo...

Weekend DIY electronics projects! Talking colorimeter, gamma ray measurement, and more

If you can't see this message properly, view it in your browser. May 3, 2024 | #589    Measure Gamma Rays with a Photodiode: Radiation Detector Using a BPW34 The first device that springs to mind when thinking about measuring radioactivity is the Geiger-Müller tube. However, these counter tubes can be difficult to find and expensive; and, even if you do manage to get hold of one, you will still need to find a way to generate its operating voltage of several hundred volts. It is less well known that even a humble photodiode such as the BPW34 can be used to detect X-rays and gamma radiation.   more...     The Andonstar AD210, an Affordable Digital Microscope with a 10.1" Display The Andonstar AD210 is an entry-level model digital microscope with a large 10.1...