Archive for the ‘ Electronics ’ Category

Sound Reactive LED Schematic

Lots of people have been asking me for a schematic for my sound reactive circuit shown here:

So without further delay, here’s the schematic:

Note: You’ll have to add resistors based on your supply voltages and your LED voltages. The two LEDs I used ended up not needing a resistor, but if you use a higher input voltage, or have less-powerful LEDs you’ll need to add a resistor between the + voltage and the LEDs.

Arduino Powered Mini-Bot: A 24 Hour Robotics Project

We had a lot of snow this Friday. This meant that I was snowed in, and since the snow meant I couldn’t work on my Sparkfun AVC (Autonomous Vehicle Challenge) Vehicle (even frozen water is not kind to electronics), I decided to busy myself with a new project. It started out as just some experimenting, but then I decided to turn it into a full robot, and here’s the result. Enjoy:

Sound Reactive LEDs with TIP31 Transistor

Recently I built some sound reactive LEDs to put into my gaming computer:

Read more

Canon T1i Remote

I like to take pictures of lightning and stars, but the only problem is that these require relatively long exposure times (15 sec – 2 min) so holding down the shutter button for that long causes some camera shake from my hand. Therefore, I decided to build a remote to control my camera so that I don’t have to actually touch the camera itself. Here’s what the remote looks like:

The bottom button auto-focuses the camera (although, since lightning and astrophotos are in the dark, manual focus is normally used). The middle red button takes a picture for whatever length is set on the camera. It’s just like pressing the shutter button. The toggle switch on the top acts like holding down the shutter button. If a shutter time is set on the camera, then it will continuously take pictures for the set time. Otherwise, if the camera is set to “bulb” mode, it will lock the shutter open for as long as the switch is toggled. Here’s a picture I took using the remote:

To see the full-sized picture, please visit: simharry3.wordpress.com

 

Arduino LED Light Game Code and Schematics

Here’s the schematic:

Code is after the break:

Read more

Arduino LED Arcade Game

Ok, so this one was tough to program… I’ll be the first to admit, I’m a total newbie to Processing so the code was horribly inefficient, took forever to write, and is probably way more complicated than it should be. That said, here’s the video:

Schematics and code should be up soon.

7 Segment Arduino Controlled Display

The above is a 7 segment display controlled by an Arduino UNO. The pins are connected on ports 1-8 on the controller. Here’s a schematic:
Code is after the break:

9 Bit Self Resetting Binary Counter Schematics

Here’s the schematics. Sorry they’re not done in any kind of CAD software, but I don’t have access to any CAD software at the moment… I’m still trying to learn EAGLE, so I will draw up future schematics in that when I finish the learning process. But for now I will just be hand drawing schematics.

9 Bit Self Resetting Binary Counter

Here’s a quick update of what I have been working on:

I’ll post schematics in the next day or so…

Let’s Build It: 3x3x3 LED Cube Part 1: Concept

If you’ve ever seen a video of an LED cube, it’s pretty impressive. Here’s a video of my LED cube, and the one that you will be learning about in this post:

Today, we are going to cover the concept of how these led cubes work, and what materials we will need to gather before we start to build and program one. While LED Cubes can be any size, 3x3x3 is usually the easiest size to work with and program.

What is an LED?

An LED is a special type of Diode that emits light when current is run through it. What’s a diode you ask? A diode is an electrical component that only allows electricity to flow in one direction. So with an LED, if you apply current in one direction it lights up, but if you apply current in the opposite direction it stays off

The Cube:

The cube itself is made up of 27 LEDs arranged in a specific pattern so we can control which lights light up and which ones stay off. The idea behind the cube is that we want to be able to control the LEDs individually. And, as a matter of fact, we can!

The Concept:

LEDs have 2 leads coming off of them, a positive anode and a negative cathode. If we want to light specific LEDs in our 3x3x3 cube up, we can solder the leads together in a specific way so that we can. For a minute, let’s take a trip back to 8th grade algebra. If you remember the torture of graphing functions over and over, you might recall that if we have a vertical line and a horizontal line, there is exactly one point where the two lines intersect. Why do we care? Well, since the LEDs have 2 leads, if we solder all the negative ends (cathodes) together in each 3x3x1(length x width x height) level that’s 3 LEDs long, 3 LEDs wide, and 1 LED high. This is a view from the top down:

This shows one layer of the cube, the actual cube is made of 3 of these stacked on top of eachother

And each positive end (anode) in each 1x1x3 (one LED long, by one LED wide, by 3 LEDs high) column together we can specify a level and a column which will light up one LED. We can even go a step further and call each level a horizontal line on the  z-axis of a 3d graph and each column a point on the (x,y) plane. Then to get an LED to light up, we would define an (x,y) coordinate that relates to the position of the column that our LED that we want to light up is in. Now, all we need to do is define a position on one of the 3 positions available to us on the z-axis (there are only 3 positions, because our LED cube is only 3 LEDs high).

This diagram shows the what the connections should look like from the side view. Red connections indicate the anode connections, and blue indicates the cathode connections.

Red Indicates Positive Connections and Blue indicates Negative/Ground connections

So how does this allow us to control individual LEDs? Well, say we want to light up the top layer, rear right LED. We would ground the top layer, while keeping all the other layers charged (remember, the LED won’t light with current flowing the wrong away) and then charge the rear right anode.

Why don’t you try one?

How would we light the middle layer center LED?

Highlight here for the answer:

We would charge all the layers except for the middle one, which we would ground. Then we would charge the center anode.



Follow

Get every new post delivered to your Inbox.