Sine Lab

Electronics Projects and Guides

5 Ways to Generate a Sine Wave

Sine waves are the most important AC waveform, since they are the basis for all other waves. Unfortunately, a sine wave isn’t as easy to generate as something like a square wave. Well, in this video I’ll show you a few different ways that you can generate sine waves for yourself. So without further ado, let’s dive in! Square Wave Filtering Like I said in the intro, sine waves aren’t the easiest to generate, but square waves are.

Discrete Class D Amplifier

Here is a large 45 watt speaker. And well, the most obvious way to drive it would be with a class D amplifier. Class A and class B would both be too inefficient. And that’s what this video is about: class D amplifiers. And to give us a better understanding, we will make it completely discrete, in that we will only use the transistors themselves. So, let’s dive in!

Shrink Your Projects With ATtiny

Each of these mini-projects has one thing in common, this little microcontroller: the ATtiny. Now, I’ve made three of them since they will be given as Christmas gifts, but they are all a little different in their own ways. Anyways, the point of this video is for you to learn about the ATtiny, but also some more advanced AVR programming topics, namely sleep mode and flash memory. And as an added bonus, you’ll learn how to make these projects as a whole.

Are PIC Microcontrollers Any Good?

If you take a look at my channel’s videos, you’ll find that nearly everytime a microcontroller comes up, it’s usually an AVR. And while they are what I am most comfortable with, it’s usually a good thing to learn a new platform. And what better microcontroller to learn other than AVR’s old rival PIC? And well, PICs are actually a very interesting series of microcontrollers, so I’ve made this video to teach any newcomers about the basics of PIC programming.

The Ultimate Guide to Transistors (BJT Edition)

Transistors are the components behind all modern electronics. Unlike resistors, capacitors and inductors, they are active components. This means that they ‘add’ to our circuits, considering that they have an adequate power supply. Now, depsite being so important, transistors can be very confusing, since you have to juggle two separate signals. That’s what I’ll be helping you with in this video, understanding transistors. There are many different types of transistors, most notably BJTs and MOSFETs.

The Ultimate Op-Amp Comparison

Intro This is an op-amp that I’ve made completely from scratch in order to find out what exactly goes into making a good op-amp. Despite being perhaps one of the most important analog components, op-amps are oftentimes the most confusing, with all of their datasheet parameters and whatnot. That’s why I’ve put together this video, so you can find out what exactly you should look for when you’re deciding on an op-amp for your next project.

DIY Microphone

This is a microphone that I have custom made. And if you’re wondering how good it sounds, well you’re hearing it right now. I’d say that it sounds really good considering that it is homemade. The circuit isn’t even that complex, although there certanly is a lot of room for improvement, as you will see later in this video. Really, the secret to the audio quality all starts with this piece right here, the microphone capsule.

DIY Stepper Motor Driver

Here is my stepper motor making those precise 180 degree turns. Well, I think you may be surprised to see that the driver is actually this huge breadboard circuit. Some of you are probably thinking that I’m insane. I mean, why not just use this tiny A4988 stepper driver? It’s a whole lot simpler, more efficient, and will save a lot of space. And you are right, but today’s video is an exercise in engineering.

Diy Linear Bench Power Supply

A power supply is one of those electronics projects that is popular among beginners. And linear supplies are popular in this case for their seemingly simple nature. However, their design can be deceptively complex when you add more and more functionality to them. Unfortunately, I myself have neglected to make one of my own. That’s why I’ve documented my design process so hopefully you can make one of your own.

AVR Parallel Programming

I’m sure many of your are familiar with a device much like this. This is a microcontroller programmer. More specifically, an AVR ISP MKII. And as a programmer is meant to do, it takes our code written on a computer, and then writes it into our microcontrollers. And usually, this process works with a hitch, until you make a specific mistake that locks you out of the microcontroller. And then, this thing becomes a glorified paper-weight, unless you know about a different method of programming.