Latest / CyberSecurity Summary / Hacking Electronics: An Illustrated DIY Guide for Makers and Hobbyists
Transcript
- 0:00Speaker 1: Have you ever looked at a circuit board, you know,
- 0:02Speaker 1: all those tiny little bits and pieces and just felt
- 0:05Speaker 1: totally lost, like it's some secret code.
- 0:07Speaker 2: Oh yeah, Or maybe you've just had that urge, you know,
- 0:10Speaker 2: to tinker to make something work, or maybe fix an
- 0:14Speaker 2: old gadget.
- 0:15Speaker 1: Exactly. There's just this amazing feeling when you figure out
- 0:19Speaker 1: how something clicks right, adapting tech with your own hands,
- 0:22Speaker 1: making something new, And the best.
- 0:24Speaker 2: Part, you really really don't need some fancy engineering degree
- 0:29Speaker 2: or like tons of complex math.
- 0:31Speaker 1: No, not at all. It's more about just being curious
- 0:34Speaker 1: and having that just do it kind of attitude.
- 0:37Speaker 2: And that, my friend, that's exactly what we're diving into today.
- 0:40Speaker 2: Welcome to the deep dive.
- 0:42Speaker 1: Yep, we're digging into a really cool source, hacking electronics.
- 0:46Speaker 1: An illustrated DIY guy for makers and hobbyists.
- 0:49Speaker 2: Our mission basically is to cut through the noise, grab
- 0:52Speaker 2: the most important stuff, and give you a shortcut to
- 0:54Speaker 2: feeling confident with practical electronics. You're gonna have some real
- 0:58Speaker 2: aha moments, I think definitely.
- 1:00Speaker 1: So what's the plan. Well, we'll walk you through the basics,
- 1:02Speaker 1: like what tools you actually need, and don't worry, it's
- 1:04Speaker 1: not expensive.
- 1:06Speaker 2: And understanding the fundamentals current resistance, voltage, all that stuff.
- 1:10Speaker 1: Then we get to the fun parts, lighting up LEDs,
- 1:13Speaker 1: powering your projects.
- 1:14Speaker 2: We're even talking building a small robot maybe, or like
- 1:17Speaker 2: a toy you can control from a web page. Super cool.
- 1:20Speaker 1: It's all about practical hands on stuff, getting those electrons
- 1:25Speaker 1: doing what you want them to do. You know.
- 1:26Speaker 2: The core idea of this guide is really this just
- 1:30Speaker 2: do it philosophy for hacking electronics.
- 1:33Speaker 1: Right.
- 1:33Speaker 2: It basically says, look, the moment you decide you want
- 1:36Speaker 2: to build something or modify something, you're already qualified.
- 1:39Speaker 1: Huh. I like that?
- 1:41Speaker 2: Seriously. The best way, the only way really to learn,
- 1:44Speaker 2: is by rolling up your sleeves and just trying things.
- 1:46Speaker 2: And mistakes are okay, mistakes are great. They're not failures.
- 1:49Speaker 2: They're just learning opportunities, just as valuable as getting it
- 1:53Speaker 2: right the first time, maybe even more so sometimes.
- 1:55Speaker 1: You know, that's such a refreshing approach compared to those
- 1:59Speaker 1: terrified textbooks full of theory.
- 2:01Speaker 2: First totally, this flips it. Get your hands dirty, build something,
- 2:05Speaker 2: then maybe dig into the why if you're curious.
- 2:07Speaker 1: It taps into that natural curiosity, right. It makes it
- 2:10Speaker 1: feel like playing experiments.
- 2:11Speaker 2: Exactly and you learn faster that way. I think you
- 2:14Speaker 2: get an intuition for why things work and why they
- 2:18Speaker 2: sometimes well don't.
- 2:19Speaker 1: Practical intelligence love it? Okay? So getting started, people probably
- 2:26Speaker 1: think they need a whole lab right, expensive gear, Nah,
- 2:29Speaker 1: not at all.
- 2:30Speaker 2: That's the beauty of it. The book suggests a really minimal,
- 2:34Speaker 2: cheap toolkit to start, like a masic soldering iron, okay,
- 2:38Speaker 2: some solder a stand for the iron, important flyers, snips,
- 2:42Speaker 2: maybe a few screwdrivers.
- 2:43Speaker 1: Like basic kitchen tools, but for electronics pretty much.
- 2:46Speaker 2: And then the one really invaluable tool is a digital multimeter.
- 2:50Speaker 1: Ah, the DMM.
- 2:51Speaker 2: Yeah, and again don't need to break the bank. Under
- 2:54Speaker 2: twenty bucks gets you a decent one.
- 2:55Speaker 1: And what are the key things you'll measure with it?
- 2:57Speaker 2: Mostly DC volts, DC current resistance. Oh and the continuity
- 3:01Speaker 2: test that beeping thing super useful.
- 3:04Speaker 1: Gotcha okay? And for actually trying out circuits before solder.
- 3:07Speaker 2: Red boards SOLDERI list breadboards. They are just fantastic for
- 3:10Speaker 2: quickly trying designs.
- 3:11Speaker 1: You just poke the component legs into the les.
- 3:13Speaker 2: Yep, and underneath there are these metal clips connecting rows
- 3:17Speaker 2: of holes, so you just push wires in to connect
- 3:20Speaker 2: things up.
- 3:21Speaker 1: And you mentioned wire.
- 3:22Speaker 2: Yeah, grab some solid core wire. Different colors help a lot,
- 3:26Speaker 2: like use red for positive voltage, black for negative or ground.
- 3:30Speaker 1: Makes it easier to see what's going on.
- 3:31Speaker 2: Totally keep things organized. Maybe yellow or blue for signals.
- 3:35Speaker 1: Okay, and are all wires the same, good question?
- 3:38Speaker 2: No, that solid core wires sometimes called hookup wire. Great
- 3:42Speaker 2: for breadboards because it's stiff, easy to push in, but
- 3:46Speaker 2: but it can break if you bend it back and
- 3:48Speaker 2: forth too many times.
- 3:50Speaker 1: Uh. Okay, So for connecting say, different modules.
- 3:53Speaker 2: Together, Yeah, for that, multi core wire is better. It's
- 3:55Speaker 2: more flexible. And hey, pro tip, you can often salvage
- 3:59Speaker 2: good wire from old broken electronics save some money.
- 4:02Speaker 1: Nice the hacker way. Yeah, and what about audio cables
- 4:05Speaker 1: they seem different? They are.
- 4:06Speaker 2: That's usually screened wire. It's designed to stop electrical noise,
- 4:09Speaker 2: like that annoying hum from your main's power, from messing
- 4:12Speaker 2: up sensitive audio signals.
- 4:14Speaker 1: How's it work?
- 4:14Speaker 2: It's clever. There's an inner wire or wires carrying the signal,
- 4:18Speaker 2: and that's surrounded by a woven metal sheath like a shield.
- 4:22Speaker 2: That shield blocks the noise.
- 4:23Speaker 1: Elegant. Okay, so you have wires. Yeah, you need to
- 4:26Speaker 1: strip the ends right, yep.
- 4:28Speaker 2: You can buy wire strippers, sure, but the book shows
- 4:31Speaker 2: you can actually do a pretty decent job with just
- 4:33Speaker 2: pliers and snips.
- 4:34Speaker 1: Takes practice, I beg It takes a little practice.
- 4:36Speaker 2: Yeah, you gotta be careful not to nick the wire
- 4:39Speaker 2: inside or stretch the insulation. But it works.
- 4:42Speaker 1: And joining wires, but if you can't soder right away.
- 4:46Speaker 2: Quick and dirty method, just twist them together works okay
- 4:49Speaker 2: for multicore wire. Twist the strands of each wire tight clockwise.
- 4:55Speaker 2: Then twist the two wires together, make a little knot maybe,
- 4:58Speaker 2: and wrap it well with PBC tape. Good temporary fix.
- 5:01Speaker 1: But for permanent stuff it's got to be Solder.
- 5:03Speaker 2: Soldering is the main skill. Really, It unlocks so much.
- 5:06Speaker 2: But safety first, always right.
- 5:08Speaker 1: Hot metal fumes exactly.
- 5:10Speaker 2: Hot iron means molten metal, nasty fumes. You don't want
- 5:12Speaker 2: to breathe, so always use a stand for the iron always, okay,
- 5:16Speaker 2: Wear safety glasses. Molten solder can splash seriously.
- 5:20Speaker 1: Ouch, okay glasses.
- 5:22Speaker 2: If you do get a burn, run it under cold
- 5:24Speaker 2: water immediately, and solder in a well ventilated space. Use
- 5:28Speaker 2: a small fan maybe to pull the fumes away from
- 5:31Speaker 2: your face.
- 5:31Speaker 1: Good tips. What about holding tiny components while you solder?
- 5:36Speaker 2: Ah? Yeah, those helping hands tools with the clips. They're
- 5:40Speaker 2: not essential, but man they are a great help. Highly recommend.
- 5:43Speaker 1: Getting some makes sense. So how do you actually solder
- 5:45Speaker 1: wires together?
- 5:46Speaker 2: Two main ways. You can do that twist we talked about.
- 5:48Speaker 2: Then just flow solder into the not works fine, Or
- 5:52Speaker 2: for a cleaner, joint, less lumpy, you tin each wire first.
- 5:56Speaker 2: Just coat them lightly with solder, then hold the tinned
- 5:59Speaker 2: end side by, heat them both with the iron and
- 6:01Speaker 2: let the solder fuse them. Then insulate it.
- 6:03Speaker 1: Of course, it's got it. And how do you check
- 6:06Speaker 1: if your connection is actually good or if wire is broken? Somewhere?
- 6:09Speaker 2: Back to the multimeter that continuity mode.
- 6:11Speaker 1: The beeping one, the beeping one.
- 6:13Speaker 2: If it beeps when you touch the probes to two points,
- 6:16Speaker 2: it means there's a connection. No beep, no connection, simple
- 6:19Speaker 2: as that.
- 6:19Speaker 1: What could cause a bad connection after soldering?
- 6:22Speaker 2: Often it's a dry joint that's where the solder didn't
- 6:24Speaker 2: flow properly, didn't really bond, or maybe a tiny crack
- 6:28Speaker 2: in a circuit board track.
- 6:29Speaker 1: Are those hard to fix?
- 6:31Speaker 2: Usually not dry joints, just reheat and add a tiny
- 6:35Speaker 2: bit more solder track cracks. Carefully scrape off the green
- 6:39Speaker 2: lacquer on either side, and bridge the gap with solder.
- 6:42Speaker 1: Easy pasy cool. So the book uses a project to
- 6:46Speaker 1: illustrate this, the fume extractor.
- 6:48Speaker 2: Yeah it's a great first practical hack. We just talked
- 6:51Speaker 2: about solder fumes.
- 6:52Speaker 1: Being bad, right right, nasty stuff.
- 6:54Speaker 2: So the hack is dead simple. Take an old computer fan,
- 6:57Speaker 2: hook it up to a switch and a twelve volt pad.
- 7:00Speaker 2: Supply point it so it blows the fumes away from you.
- 7:03Speaker 1: Functional, not fancy.
- 7:04Speaker 2: Exactly, and this super simple project becomes your first lesson
- 7:08Speaker 2: in reading schematics. Those circuit diagrams, yeah.
- 7:10Speaker 1: They always look like hieroglyphics to me.
- 7:12Speaker 2: They can seem this way, but the book breaks it
- 7:14Speaker 2: down few simple rules. Positive voltage is usually shown at
- 7:18Speaker 2: the top. Okay, Things generally happen kind of left to
- 7:20Speaker 2: right like reading. Components have label like S one for switch,
- 7:24Speaker 2: one M for motor.
- 7:25Speaker 1: Ah. Okay, makes sense, And you.
- 7:28Speaker 2: Learn how to check power supply polarity with your multimeter.
- 7:31Speaker 2: Look for the dc VULT symbol the solid line over
- 7:34Speaker 2: the dotted line. Knowing these little visual rules makes schematics
- 7:39Speaker 2: way less scary.
- 7:40Speaker 1: Okay, good, So fundamentals, let's talk about the really core stuff.
- 7:44Speaker 1: Current resistance, voltage. Power sounds heavy.
- 7:48Speaker 2: It sounds heavy, but the analogies in the book are brilliant,
- 7:51Speaker 2: makes it really click. Current think of electrons like little
- 7:55Speaker 2: balls flowing through pipes, or just current in a river.
- 7:59Speaker 1: So how much stuff is flowing per second?
- 8:00Speaker 2: Exactly measured in amps? Okay? So if current is the
- 8:03Speaker 2: river flow, what's resistance?
- 8:06Speaker 1: Ah, something slowing it down like rocks in the river.
- 8:09Speaker 2: Perfect a resistor resists the flow. It's like a constriction
- 8:12Speaker 2: a narrow part of the river. More resistance, less flow
- 8:15Speaker 2: measured in ohms.
- 8:16Speaker 1: Okay, okay.
- 8:17Speaker 2: And voltage sticking with the river, voltage is like the
- 8:20Speaker 2: height difference the slope of the river bed. A bigger
- 8:23Speaker 2: drop in height, faster flow, more push.
- 8:25Speaker 1: So it's a difference between two points.
- 8:27Speaker 2: Always voltage is relative. You need that potential difference, that
- 8:31Speaker 2: drop for current to flow measured in volts.
- 8:33Speaker 1: Right, So how do these three current voltage resistance relate?
- 8:37Speaker 1: Is there like a magic formula?
- 8:39Speaker 2: There is, and it's probably the single most useful thing
- 8:42Speaker 2: in basic electronics. Ohm's law.
- 8:45Speaker 1: Ohm's law Okay, it's simple.
- 8:46Speaker 2: I equals V divided by R. Current equals voltage divided
- 8:50Speaker 2: by resistance.
- 8:51Speaker 1: I equals v R.
- 8:53Speaker 2: Got it. So voltage goes up, current goes up, and
- 8:55Speaker 2: if resistance goes.
- 8:56Speaker 1: Up, current goes down. Makes intuitive sense, right? Yeah?
- 8:58Speaker 2: Actually it does. Can you give a quick examp numbers?
- 9:00Speaker 1: Sure? Say you have ten volts across a one hundred
- 9:03Speaker 1: OM resistor. Ten divided by one hundred is point one,
- 9:06Speaker 1: so point one amps or one hundred million amps of
- 9:08Speaker 1: current will flow.
- 9:09Speaker 2: Okay, I see how that works. Simple relationship. What about power?
- 9:13Speaker 1: Power is basically energy being used or transformed, usually into
- 9:17Speaker 1: heat over time. As current flows through resistance, things can
- 9:20Speaker 1: get warm.
- 9:21Speaker 2: And there's a formula for that too.
- 9:22Speaker 1: Yep. The main one is P equals I times V.
- 9:25Speaker 1: Power equals current times voltage measured in watts ev. You
- 9:29Speaker 1: also see p I squared R or PV squared over R.
- 9:32Speaker 1: Same thing, just rearranged using Ohm's law.
- 9:35Speaker 2: Why is knowing the power important? Because components have limits.
- 9:38Speaker 2: Every resistor, every chip has a maximum power rating. Exceed
- 9:42Speaker 2: it and dot poof it burns out uh one poof
- 9:45Speaker 2: definitely not. And the book has this great table of
- 9:49Speaker 2: household appliance power like an electric kettle three thousand watts.
- 9:54Speaker 1: Whoa yeah, and.
- 9:55Speaker 2: That's why you don't see battery powered kettles. Right a
- 9:58Speaker 2: little AA battery you just can't pump out that kind power.
- 10:01Speaker 2: It's theory meeting.
- 10:02Speaker 1: Reality makes total sense. Okay, So quick recap on schematics,
- 10:05Speaker 1: then the diagrams.
- 10:07Speaker 2: Yeah, worth repeating rule one positive voltage usually up top,
- 10:10Speaker 2: rule two, action flows left or right?
- 10:13Speaker 1: Got it.
- 10:13Speaker 2: Component names are systematic b one for battery one, are
- 10:16Speaker 2: one for resistor one, see one for capacitor one, and
- 10:19Speaker 2: so on, and their values are written right there. It's
- 10:21Speaker 2: a visual language.
- 10:22Speaker 1: Okay. Feeling a bit more confident about the basics. Now,
- 10:24Speaker 1: let's talk about something flashy, literally LEDs, light emitting dios.
- 10:29Speaker 2: Ah, Yes, LEDs. Everyone loves blinky lights. They're delicate little things.
- 10:35Speaker 1: Elected.
- 10:35Speaker 2: How you cannot just connect an LED straight to a battery,
- 10:38Speaker 2: Well you can, but only once. It'll blow instantly.
- 10:41Speaker 1: Okay.
- 10:41Speaker 2: What they need a specific limited amount of current? Too
- 10:45Speaker 2: much and they burn out. So you always need a
- 10:47Speaker 2: current limiting resistor in series with them.
- 10:50Speaker 1: And how do you figure out the right resistor? Back
- 10:52Speaker 1: to alms law?
- 10:53Speaker 2: You got it? You need to know the LED's forward voltage.
- 10:57Speaker 2: That's the voltage it uses up when it's on. For
- 11:00Speaker 2: a typical red LED, maybe around two volts. Okay, you
- 11:03Speaker 2: subtract that from your battery voltage and then use Ohm's
- 11:06Speaker 2: law r v A guy to calculate the resistor value
- 11:10Speaker 2: needed to limit the current.
- 11:11Speaker 1: How much current do they typically need?
- 11:13Speaker 2: Usually somewhere between ten and twenty million ams is good
- 11:16Speaker 2: for brightness. Just check the data sheets so you don't
- 11:19Speaker 2: exceed its maximum rating, often around twenty five na.
- 11:21Speaker 1: Right, Okay, here's a mistake I bit people make. Can
- 11:25Speaker 1: you wire up like five LEDs in parallel and just
- 11:28Speaker 1: use one resistor for all of them?
- 11:30Speaker 2: Ah, the classic parallel LAED trap.
- 11:32Speaker 1: No, definitely don't do that when it seems efficient.
- 11:34Speaker 2: Because LEDs aren't perfectly identical. One will always have a
- 11:38Speaker 2: slightly lower forward voltage than the others. That one will
- 11:40Speaker 2: hog most of the current and poof, then the next
- 11:43Speaker 2: one goes and so on cascade failure.
- 11:46Speaker 1: Yikes. So the rule is.
- 11:48Speaker 2: Always, always use a separate series resistor for each individual
- 11:52Speaker 2: LED or series string of LEDs every time.
- 11:54Speaker 1: No exceptions, got it. So LEDs aren't just little red
- 11:56Speaker 1: indicator lights.
- 11:57Speaker 2: Right, Oh gosh, no, they come in every color. Imagine
- 12:00Speaker 2: different shape sizes, brightness levels, that's luminous intensity. You even
- 12:04Speaker 2: get RGB LED's.
- 12:05Speaker 1: Red, green, blue, yep.
- 12:07Speaker 2: Combine those three in one package and you can mix
- 12:09Speaker 2: basically any color you want.
- 12:11Speaker 1: Cool and what about light we can't see.
- 12:13Speaker 2: Right, infra red LEDs. Ir LEDs like in your TV
- 12:17Speaker 2: remote and UV ultramolet LEDs use for things like curing
- 12:22Speaker 2: resins or spotting counterfeit money.
- 12:24Speaker 1: What about really bright LEDs like for lighting.
- 12:27Speaker 2: High power LEDs. Yeah, they're a different beasts. They generate
- 12:30Speaker 2: a lot of heat, so they absolutely need heat sinks,
- 12:33Speaker 2: and you don't usually power them with just a resistor.
- 12:36Speaker 2: Use a constant current driver circuit, often based on an
- 12:39Speaker 2: IC like the LM three seventeen, and make sure the
- 12:42Speaker 2: LED gets the exact current it needs regardless of voltage changes.
- 12:45Speaker 2: Use more complex a little yeah, but necessary for those
- 12:49Speaker 2: high power ones. And if you're using a bunch of
- 12:51Speaker 2: LEDs together, the book suggests actually measuring their forward voltage
- 12:55Speaker 2: first with a multimeter and a variable resistor helps keep
- 12:59Speaker 2: the brightness consist.
- 13:00Speaker 1: Smart okay, project time. How about making LED's flash perfect application?
- 13:05Speaker 2: The book introduces a super useful little chip, the five
- 13:09Speaker 2: to five to five timer.
- 13:10Speaker 1: I see the five five to five heard of it?
- 13:13Speaker 2: Versatile, incredibly versatile, great for making LED's flash, making sounds,
- 13:17Speaker 2: timing things. Just a brilliant little building block. You can
- 13:20Speaker 2: whip up an LED flasher circuit on a bread board
- 13:23Speaker 2: in minute.
- 13:24Speaker 1: Cool that breadboards aren't permanent, right.
- 13:25Speaker 2: Wires fall out exactly, great for testing, but not for
- 13:28Speaker 2: a finished project. That's where strip board comes out.
- 13:31Speaker 1: Strip Board, Okay, what's that?
- 13:32Speaker 2: It's like a general purpose circuit board. It's got parallel
- 13:34Speaker 2: strips of copper running along one side. You solder your
- 13:37Speaker 2: components onto it, making connections via the strips.
- 13:40Speaker 1: So more permanent than breadboard, much more robust.
- 13:43Speaker 2: But you have to plan your layout a bit more carefully.
- 13:46Speaker 2: You figure out where components go based on your schematic.
- 13:49Speaker 1: And you mentioned cutting tracks.
- 13:50Speaker 2: Yeah, sometimes you need to break a copper strip to
- 13:53Speaker 2: stop a connection. You just use a small drill bit
- 13:55Speaker 2: twist it by hand to cut the track.
- 13:57Speaker 1: Okay, so how do you build that five fifty five
- 14:00Speaker 1: flasher on strip board?
- 14:01Speaker 2: You'd plan the layout, maybe, sketch it out, cut the
- 14:03Speaker 2: board to size, make any track cuts needed. Then solder
- 14:07Speaker 2: things in order. Start with the lowest components like wirelings to.
- 14:11Speaker 1: Resistors so they don't get in the way later, right.
- 14:14Speaker 2: Then maybe the icy socket, then taller things like capacitors, LEDs, connectors,
- 14:19Speaker 2: and always always check carefully for solder bridges or mistakes
- 14:23Speaker 2: before powering it up.
- 14:25Speaker 1: Good habit. Okay, a more advanced LED project.
- 14:28Speaker 2: Slot cars, Yeah, this one's fun. Hack a toy slot
- 14:31Speaker 2: car to add working headlights and brake light.
- 14:33Speaker 1: Brake lights. How do they work?
- 14:35Speaker 2: It uses a capacitor that's an electronic component that stores charge.
- 14:38Speaker 2: When the car has power, A diode charges the capacitor. Okay,
- 14:41Speaker 2: when you let off the power, the track goes dead,
- 14:43Speaker 2: but the charge capacitor then discharges through the brake light LEDs,
- 14:47Speaker 2: keeping them lit for a second or two.
- 14:49Speaker 1: That's clever, like regenerative breaking, but just for lights kind of.
- 14:52Speaker 2: It's a neat little circuit shows how you can combine
- 14:55Speaker 2: components for cool effects, and LEDs are perfect because they're
- 14:58Speaker 2: small enough to fit in the car.
- 14:59Speaker 1: Right, Okay, powering these creations, every project needs juice.
- 15:03Speaker 2: Batteries seem obvious obvious, but there's a bit to consider.
- 15:06Speaker 2: Key things are capacity. That's them millionamp hours basically how
- 15:10Speaker 2: much energy it stores and it's maximum discharge rate. How
- 15:14Speaker 2: fast can you pull power out? Batteries have internal resistance.
- 15:18Speaker 2: Try to draw too much current and.
- 15:19Speaker 1: They get hot, sometimes dangerously hot.
- 15:21Speaker 2: You mentioned especially Leipo batteries. Yeah, need respect, but the
- 15:25Speaker 2: book has this great hacking spirit advice. Sometimes just try it.
- 15:30Speaker 2: See how hot it gets, how long it lasts?
- 15:32Speaker 1: Learned by doing within reason Hopefully. What if one battery
- 15:35Speaker 1: isn't enough voltage.
- 15:36Speaker 2: Easy put them in series in a battery holder end
- 15:39Speaker 2: to end their voltages add up. Just remember rechargeable cells
- 15:43Speaker 2: often have slightly lower voltage than single use ones. Like
- 15:47Speaker 2: a rechargeable AA is one point two V not one
- 15:49Speaker 2: point five V.
- 15:50Speaker 1: Good point. And there are different types of batteries.
- 15:52Speaker 2: Right loads single use you've got your standard alkaline, lithium,
- 15:56Speaker 2: higher energy density, zinc, air, silver oxide, and recharge. Common
- 16:00Speaker 2: ones are NIMMH nickel metal hydride, LiPo lithium polymer very
- 16:05Speaker 2: popular now, and sealed lead acid like in cars or
- 16:09Speaker 2: backup systems. Rosen cons quick rundown. NIMMH is decent costwaight,
- 16:13Speaker 2: but self discharges kind of quickly. LiPo is light, lots
- 16:16Speaker 2: of power for its size, low self discharge, but can
- 16:20Speaker 2: be fiery if mistreated and of care definitely sealed. Lead
- 16:24Speaker 2: acid is heavy and bulky, but cheap, tough, and pretty
- 16:27Speaker 2: forgiving if you accidentally overcharge it a.
- 16:29Speaker 1: Bit okay, charging them sounds like another potential pitfall. What's
- 16:33Speaker 1: the sea rate?
- 16:34Speaker 2: Sea just stands for capacity, So a one C charge
- 16:37Speaker 2: rate means you're charging it at a current equal to
- 16:39Speaker 2: its capacity, theoretically charging it in one hour point one
- 16:43Speaker 2: CE means charging at one tenth capacity taking about ten hours.
- 16:46Speaker 1: And you mentioned overcharging is bad.
- 16:48Speaker 2: Very bad for most types, causes damage, overheating LiPo especially
- 16:52Speaker 2: doesn't like it, and over discharging running them completely flat
- 16:55Speaker 2: is also bad for their lifespan.
- 16:57Speaker 1: So trickle charging.
- 16:58Speaker 2: Trickle charging is just a very slow, gentle charge safer
- 17:02Speaker 2: for some types, helps avoid overcharging. Many modern batteries, especially lipos,
- 17:07Speaker 2: have protection circuits built in now, which helps.
- 17:10Speaker 1: Do we chargeables last forever?
- 17:11Speaker 2: Nope? They have a limited number of charge discharge cycles,
- 17:15Speaker 2: maybe five hundred times give or take, before they really
- 17:18Speaker 2: start to lose capacity. Something to keep in mind.
- 17:21Speaker 1: How do you charge specific types?
- 17:22Speaker 2: Then the MH You can trickle charge simply with a
- 17:25Speaker 2: power supply and a resistor. Calculate the right resistor using
- 17:28Speaker 2: Ohm's law. Fast charging needs a proper charger let acid
- 17:32Speaker 2: less fussy can trickle charge or charge faster with a
- 17:35Speaker 2: fixed voltage like fourteen point four V for a twelve
- 17:38Speaker 2: V battery, but with current.
- 17:40Speaker 1: Limiting and lipos the tricky ones.
- 17:43Speaker 2: Very specific needs a fixed voltage exactly four point two
- 17:46Speaker 2: V per cell and limited current. Crucially, you cannot charge
- 17:49Speaker 2: multiple LICO cells and series with a simple charger. You
- 17:52Speaker 2: need to charge each cell individually or use a balanced
- 17:55Speaker 2: charger and no trickle charging.
- 17:56Speaker 1: Wow, okay, good to know. What about using old phone batteries?
- 18:00Speaker 1: People have those lying around?
- 18:01Speaker 2: Yeah? Great hack. You can often salvage and reuse old
- 18:05Speaker 2: cell phone lip bo batteries. Just be a little careful.
- 18:07Speaker 2: Older ones might not have the same safety cutoff circuits
- 18:10Speaker 2: as new ones. Test them cautiously right now.
- 18:13Speaker 1: Batteries don't maintain constant voltage, do they. They droop as.
- 18:16Speaker 2: They discharge exactly, and that voltage drop can cause problems
- 18:20Speaker 2: for sensitive electronics, especially digital chips that need a very
- 18:23Speaker 2: specific voltage like three point three V.
- 18:25Speaker 1: So how do you get a steady voltage from a
- 18:27Speaker 1: dropping battery.
- 18:29Speaker 2: Voltage regulators cheap common three pin ICs like a seven
- 18:33Speaker 2: eight oh five that takes a variable input SA seven
- 18:36Speaker 2: V to twenty five V and spits out a rock
- 18:39Speaker 2: solid five folds magic pretty much, usually at a couple
- 18:42Speaker 2: of small capacitors with them for stability, And if the
- 18:44Speaker 2: difference between your battery voltage and desired voltage is small,
- 18:48Speaker 2: look for LDO regulators low drop out. They're more efficient
- 18:51Speaker 2: in that case.
- 18:51Speaker 1: Okay, calculating battery life seems complex, it.
- 18:55Speaker 2: Can be surprising. The book uses this example of an
- 18:57Speaker 2: automatic chicken coop door opener. You've got a motor that
- 19:00Speaker 2: runs briefly twice a day using a burst of power.
- 19:04Speaker 2: But you've also got the control circuit, the brain, which
- 19:06Speaker 2: is on all the time, sipping a tiny.
- 19:09Speaker 1: Amount of current in the surprises.
- 19:11Speaker 2: The surprise is that the controller's constant low power drain
- 19:14Speaker 2: adds up to way more total energy used per day
- 19:18Speaker 2: than the motor's short high power bursts. So a set
- 19:21Speaker 2: of AA batteries might last months mostly drained by that
- 19:24Speaker 2: always on part.
- 19:25Speaker 1: Wow, that's counterintuitive. Good lesson. Okay. Shifting gears solar cells
- 19:31Speaker 1: free power from the sun sounds amazing.
- 19:34Speaker 2: It is amazing, but tempering your expectations slightly. They often
- 19:38Speaker 2: produce fairly small amounts of electricity, especially indoors.
- 19:41Speaker 1: They need direct sunlight pretty much.
- 19:43Speaker 2: A good clear view of the sky best for low
- 19:46Speaker 2: power projects that live outdoors. Bigger panels are just lots
- 19:49Speaker 2: of small cells wired together to get useful voltage.
- 19:52Speaker 1: How do you know how much power you'll actually get?
- 19:54Speaker 2: Test it, don't just trust the label. The book suggests
- 19:56Speaker 2: connecting a resistor a dummy load across the panel and
- 19:59Speaker 2: measuring the voltage and current under real conditions shade, clouds,
- 20:03Speaker 2: direct sun. Maybe log it into spreadsheet.
- 20:06Speaker 1: You'll learn a lot good advice. Can you charge batteries
- 20:09Speaker 1: with solar?
- 20:10Speaker 2: Absolutely, that's a common use, usually trickle charging. Yeah, but
- 20:14Speaker 2: you must use a diode between the panel and the battery.
- 20:17Speaker 2: Why the diode to stop the battery current flowing backwards
- 20:20Speaker 2: into the solar panel at night or in heavy shade.
- 20:23Speaker 2: It protects the panel.
- 20:25Speaker 1: What kind of battery works well with solar trickle charging?
- 20:28Speaker 2: Lead acid is often used because it's pretty tolerant of
- 20:31Speaker 2: being gently overcharged, which can happen on very sunny days.
- 20:35Speaker 1: And the key takeaway for solar projects.
- 20:37Speaker 2: Minimize power consumption. Every little bit counts when your power
- 20:41Speaker 2: source is sunshine. Make your circuit sleep when it can
- 20:44Speaker 2: use efficient components.
- 20:46Speaker 1: Makes sense. Okay, let's talk about the brain Arduino. This
- 20:49Speaker 1: feels like where things get really powerful.
- 20:51Speaker 2: Totally micro controllers. These little computers on a chip were
- 20:54Speaker 2: around before our Dueno, but Arduino made them accessible, easy
- 20:58Speaker 2: to program, great for hobbyists, artists. Makers just blew the
- 21:02Speaker 2: doors open.
- 21:02Speaker 1: So first steps the hello world of r tweno.
- 21:06Speaker 2: Linking an LED. There's usually one built right onto the
- 21:09Speaker 2: board labeled L. You use the Arduino software, the.
- 21:12Speaker 1: IDE Integrated Development Environment.
- 21:15Speaker 2: Right, you write a simple program called a sketch.
- 21:17Speaker 1: Cute.
- 21:18Speaker 2: Yeah, you tell the IDE what board you have like
- 21:20Speaker 2: an Ardueno Uno. You upload the sketch via USB. Watch
- 21:23Speaker 2: the little rxtx lights flicker and boom, Your LED starts blinking,
- 21:28Speaker 2: super satisfying.
- 21:30Speaker 1: What's in that basic blink sketch? Is it hard to understand?
- 21:33Speaker 2: Not at all? You'll see comments notes for humans that
- 21:36Speaker 2: the Arduino ignores. Then commands like pin mode to set
- 21:39Speaker 2: a pin as output digital, right to turn the LED
- 21:43Speaker 2: high on or low, e off, and delay to pause
- 21:48Speaker 2: for milliseconds.
- 21:49Speaker 1: And there are two main parts.
- 21:50Speaker 2: Yeah, set up and loose exactly. Set up runs once
- 21:53Speaker 2: when it starts up, sets things up. Loop runs over
- 21:55Speaker 2: and over and over again forever. That's where your main
- 21:58Speaker 2: action goes.
- 21:58Speaker 1: And you can change the delay ember and see the
- 22:00Speaker 1: blink speed change.
- 22:01Speaker 2: Instantly, instantly upload again, and it blinks faster or slower.
- 22:05Speaker 2: That immediate feedback is awesome for learning.
- 22:07Speaker 1: Okay, blinking is cool. But how do you make arduino
- 22:10Speaker 1: interact with bigger things like mains voltage stuff?
- 22:13Speaker 2: Ah, good question. Use a relay. Think of it as
- 22:16Speaker 2: an electrically controlled switch.
- 22:17Speaker 1: So the arduino sends a small signal to the relay YEP.
- 22:20Speaker 2: The ardueno's low power output pin maybe five V twenty
- 22:24Speaker 2: m A activates an electromagnet inside the relay, and.
- 22:27Speaker 1: That flips a bigger switch inside exactly.
- 22:29Speaker 2: A switch that can handle a high power, high voltage
- 22:32Speaker 2: like ten amps at one hundred and twenty volts AC easily.
- 22:36Speaker 2: Usually need a small transistor to help the arduino drive
- 22:39Speaker 2: the relay coil, and a diode for protection.
- 22:42Speaker 1: So you could write a sketch to turn a lamp
- 22:43Speaker 1: on and off every few seconds.
- 22:45Speaker 2: Totally, or hack a toy Ooh tell me more. The
- 22:49Speaker 2: book suggests taking a simple battery powered toy, finding its
- 22:52Speaker 2: power wires, cutting one and wiring those cut INDs through
- 22:56Speaker 2: the relay contacts. Now your Ardueno sketch can turn the
- 22:59Speaker 2: toy on and off.
- 23:00Speaker 1: That's brilliant, giving our dueno control over everyday objects. Yeah,
- 23:04Speaker 1: how do you tell the ardweno when to turn the
- 23:06Speaker 1: toy on or off?
- 23:07Speaker 2: Use the serial monitor in the ardueno ide. It's like
- 23:09Speaker 2: a little chat window between your computer and the ardueno.
- 23:12Speaker 1: So you can type commands.
- 23:13Speaker 2: Yep, you could write your sketch. So if it receives
- 23:15Speaker 2: the character one over the serial connection, it turns the
- 23:18Speaker 2: relay on toy on. If it receives zero, it turns
- 23:21Speaker 2: it off.
- 23:21Speaker 1: Direct control from your keyboard. Nice. Can our Dweno sense
- 23:26Speaker 1: things too, like voltage levels?
- 23:27Speaker 2: Absolutely? It has analog input pins usually labeled A zero,
- 23:32Speaker 2: A one, et cetera. They can read a voltage between
- 23:34Speaker 2: zero and five volts usually.
- 23:36Speaker 1: How would you use that?
- 23:37Speaker 2: Simple example? Connect a variable resistor like a volume knob
- 23:41Speaker 2: or a true po as a voltage divider. Connect the
- 23:44Speaker 2: middle pin to an analog input. As you turn the knob,
- 23:48Speaker 2: the voltage changes, and the Ardweno reads it as a
- 23:51Speaker 2: number between zero and three to zero ten twenty.
- 23:54Speaker 1: Three, so it can read the position of a knob exactly.
- 23:57Speaker 2: You can see the number change live in the serial monitor.
- 23:59Speaker 2: It's how Ardueno senses variable inputs.
- 24:02Speaker 1: What about outputs? Can it do more than just on off?
- 24:04Speaker 1: Like dimming an led.
- 24:06Speaker 2: Yes, using PWM pulsewith modulation.
- 24:08Speaker 1: We mentioned that briefly flickering really fast.
- 24:10Speaker 2: Super fast on certain ur Adreeno pins. You can use
- 24:12Speaker 2: the analog rate command. You give it a number between
- 24:15Speaker 2: zero fully off and two hundred and fifty five fully on.
- 24:19Speaker 1: And values in between give you difven brightness levels.
- 24:21Speaker 2: Correct. The Arduino pulses the pin on and off very rapidly,
- 24:24Speaker 2: changing the ratio of on time to off time. Your
- 24:26Speaker 2: eye averages it out, perceives it as dimming. Very useful.
- 24:29Speaker 1: Can it make sounds?
- 24:30Speaker 2: Yep. If you connect a small speaker or piazo sounder
- 24:34Speaker 2: to a digital pin, you can turn the pin on
- 24:37Speaker 2: and off rapidly at different frequencies to create musical tones. No,
- 24:41Speaker 2: there's a tone function. You tell it the pin number
- 24:43Speaker 2: and the frequency and hurts for the note you want. No,
- 24:46Speaker 2: tone turns it off. You can easily make a little
- 24:48Speaker 2: two buttons synth.
- 24:49Speaker 1: Fun And you mentioned shields earlier ways to add capabilities.
- 24:53Speaker 2: Yeah. Shields are premade boards that just plug right on
- 24:56Speaker 2: top of the r dueno. There are shields for motor control, Ethernet, networking, LCD, screens, GPS,
- 25:03Speaker 2: tons of stuff. Makes adding complex functions much easier.
- 25:06Speaker 1: Like controlling that relay over the Internet.
- 25:08Speaker 2: Exactly. Slap on an Ethernet shield, connect it to your network,
- 25:11Speaker 2: and your Arduino can become a tiny web server.
- 25:14Speaker 1: So you could pull up a web page on your phone.
- 25:16Speaker 2: And click a button on the page to turn your
- 25:18Speaker 2: hack toy on or off from anywhere on your network.
- 25:21Speaker 1: That's seriously cool. You're setting that up hard.
- 25:23Speaker 2: It involves a bit more coding. You need to configure
- 25:26Speaker 2: the network settings, MSESE address, IP address. The arduinos sketch
- 25:31Speaker 2: uses libraries pre written code to handle the web server stuff.
- 25:34Speaker 2: It listens for browser requests and sends back the HTML
- 25:37Speaker 2: for the page, including buttons that send commands back to
- 25:40Speaker 2: the Arduino.
- 25:41Speaker 1: Wow. Okay. Movement servos step promotors, what's the difference.
- 25:46Speaker 2: Servos are for precise position control over a limited range
- 25:49Speaker 2: usually like zero to one hundred and eighty degrees. Think
- 25:52Speaker 2: robot arms steering.
- 25:54Speaker 1: How do you control them?
- 25:55Speaker 2: You send them specific electrical pulses. The width of the
- 25:58Speaker 2: pulse tells the servo what angled go to. The Arduino
- 26:01Speaker 2: servile library makes this super.
- 26:03Speaker 1: Easy, okay, And stepper motors.
- 26:05Speaker 2: Steppers are for precise incremental rotation. I think three D printers,
- 26:10Speaker 2: CNC machines. They move in dioscrete.
- 26:12Speaker 1: Steps also controlled by Ardwena.
- 26:14Speaker 2: Yep. You need a driver module, often an h bridge
- 26:16Speaker 2: like we discussed for DC motors, because you have to
- 26:19Speaker 2: energize their internal coils in a specific sequence to make
- 26:22Speaker 2: them step forward or backward.
- 26:23Speaker 1: Gotcha? What about driving lots of LEDs with few pins?
- 26:26Speaker 1: Seemed impossible?
- 26:28Speaker 2: Ah, Charlie plexing It's a very clever trick.
- 26:31Speaker 1: How does it work? Sounds like magic?
- 26:33Speaker 2: It kind of feels like it. You rapidly switch the
- 26:36Speaker 2: Arduen pins between being outputs high or a low and
- 26:40Speaker 2: inputs high impedance kind of like disconnected. By doing this
- 26:44Speaker 2: very quickly, you can light up one specific LED at
- 26:47Speaker 2: a time while the others connected to the same pins
- 26:50Speaker 2: are effectively off or ignored. Your eye sees them all
- 26:53Speaker 2: blinking so fast it looks like many are on at once.
- 26:55Speaker 1: Wow, brain hurts slightly. What's special about the Arduino Leonardo?
- 27:00Speaker 2: So, Leonardo and micro has a neat trick. It can
- 27:03Speaker 2: pretend to be a USB keyboarder mouse when plugged into
- 27:06Speaker 2: a computer. Seriously, yep, so you could build a little
- 27:09Speaker 2: box with a button. Press the button and the Leonardo
- 27:12Speaker 2: automatically types your complex password into whatever program is active
- 27:15Speaker 2: on your PC.
- 27:16Speaker 1: WHOA, that's potentially useful and slightly scary.
- 27:20Speaker 2: Yeah, shows the power of bridging electronics and computers directly.
- 27:23Speaker 1: Okay, let's talk sensors making projects aware of the world.
- 27:27Speaker 1: Pir motion sensors, asive infra.
- 27:29Speaker 2: Red Yeah, those little white dome things, super cheap, easy
- 27:32Speaker 2: to use. They detect changes in infrared radiation, basically body
- 27:35Speaker 2: heat moving.
- 27:36Speaker 1: The book mentioned detecting farts.
- 27:39Speaker 2: Hey, yeah, that's one memorable, if slightly puerile example of
- 27:42Speaker 2: detecting gas movement. More practically, they're great for security lights
- 27:46Speaker 2: or automatic doors. Simple three pin connection, power ground and
- 27:51Speaker 2: an output pin that goes high when motion is detected.
- 27:55Speaker 1: Easy. What about measuring distance like a robot avoiding walls?
- 27:58Speaker 2: Ultrasonic rangefinders They work like sonar or bats send out
- 28:01Speaker 2: a burst of ultrasound.
- 28:02Speaker 1: Too high frequency for us to hear right.
- 28:05Speaker 2: Then they listen for the echo bouncing back. By timing
- 28:07Speaker 2: how long the echo takes and knowing the speed of sound,
- 28:10Speaker 2: they calculate the distance.
- 28:11Speaker 1: Are they easy to use with our dueno?
- 28:13Speaker 2: There are different types. The cheap HCSR zero four needs
- 28:17Speaker 2: the Ardueno to do more work. Send the trigger pulse,
- 28:20Speaker 2: measure the echo pulse with using pulsen, then do the math.
- 28:24Speaker 2: You sometimes get weird readings you need to.
- 28:26Speaker 1: Filter out, and more expensive ones.
- 28:28Speaker 2: Modules like the max botex ones do all the hard
- 28:30Speaker 2: work on board. They just send you the distance measurement directly,
- 28:33Speaker 2: maybe via serial data or an analog voltage. Easier to code,
- 28:36Speaker 2: but costs more trade offs.
- 28:38Speaker 1: What about wireless control like a simple remote?
- 28:41Speaker 2: Yeah, there are cheap RF modules often come with a
- 28:44Speaker 2: little key fob remote press a button on the remote
- 28:47Speaker 2: and a corresponding pin on the receiver. Module goes high
- 28:50Speaker 2: GH or low.
- 28:51Speaker 1: W, so you could connect that receiver pin to an Arduino.
- 28:55Speaker 2: Input exactly read the state of the pins to know
- 28:58Speaker 2: which remote button was pressed.
- 29:00Speaker 1: Simple wireless control motor control. Again, you mentioned mossfets for
- 29:03Speaker 1: smoother speed control.
- 29:05Speaker 2: Right. Instead of just on off with a relay, a
- 29:08Speaker 2: power mosfet controlled by our duino's PWM output lets you
- 29:11Speaker 2: vary the power going to a DC motor much more smoothly,
- 29:14Speaker 2: better speed control.
- 29:16Speaker 1: And for reversing DC motors. That h fridge thing again.
- 29:19Speaker 2: Yep, the H bridge module is essential if you need
- 29:21Speaker 2: a DC motor to go both forwards and backwards. Our
- 29:24Speaker 2: duino tells the H bridge which direction to spin and
- 29:26Speaker 2: using KWM how fast.
- 29:29Speaker 1: And stepper motors need h bridges.
- 29:30Speaker 2: Too, Yes, Usually steppers have multiple coils, and the H
- 29:34Speaker 2: bridge or a dedicated stepper driver module which often contains
- 29:38Speaker 2: multiple H bridges, handles energizing those coils in the correct
- 29:41Speaker 2: sequence to make the motor step accurately.
- 29:44Speaker 1: Okay, let's put it all together. The robot rotor project
- 29:47Speaker 1: sounds cool.
- 29:48Speaker 2: It's a great Capstone project uses a basic robot chassis,
- 29:52Speaker 2: two DC gear motors, an H bridge module to control
- 29:56Speaker 2: them in Arduino.
- 29:57Speaker 1: Brain, and the RF remotor control and the.
- 30:00Speaker 2: RF remote receiver module hooked up to the arduino So
- 30:03Speaker 2: you press buttons on the remote Arduena reads them and
- 30:05Speaker 2: tells the H bridge how to drive.
- 30:07Speaker 1: The motors any tricky parts.
- 30:09Speaker 2: One common issue is a motor's drawing a lot of
- 30:11Speaker 2: current when they start, which can make the battery voltage
- 30:14Speaker 2: dip suddenly and reset the arduino.
- 30:16Speaker 1: Ah, how do you fix that? Hat?
- 30:17Speaker 2: Add some capacitors across the power supply lines close to
- 30:20Speaker 2: the arduino. They act like tiny temporary reservoirs of power
- 30:24Speaker 2: to smooth out those dips.
- 30:26Speaker 1: Smart and the code logic.
- 30:28Speaker 2: The arduino sketch just reads the pins connected to the
- 30:31Speaker 2: RF receiver. If pind three goes high, maybe remote button C,
- 30:35Speaker 2: it tells the h bridge to drive both motors forward.
- 30:38Speaker 2: If D two goes high, button B, maybe turn right,
- 30:41Speaker 2: and so on. You have to handle the fact that
- 30:43Speaker 2: the RF receiver pins often just toggle on off with
- 30:46Speaker 2: each press.
- 30:46Speaker 1: Okay, that makes sense. Lots of other cool sensors out there.
- 30:49Speaker 2: Too, Oh yeah, loads like four digit seven segment displays
- 30:53Speaker 2: for showing numbers.
- 30:54Speaker 1: Like an old alarm clock display.
- 30:56Speaker 2: Exactly. You can get modules that use it.
- 30:58Speaker 1: Two C I two C.
- 30:59Speaker 2: It's a serial communication protocol needs only two arduenopins SDA
- 31:04Speaker 2: and SCO to talk to multiple devices. Super handy for
- 31:07Speaker 2: reducing wiring.
- 31:08Speaker 1: What about keeping time. Our Dueno forgets when you own plug.
- 31:11Speaker 2: It rain YEP solution a real time clock or RTC module.
- 31:16Speaker 2: It's a little chip with its own battery backup. It
- 31:19Speaker 2: keeps track of time accurately, even when the r greener
- 31:22Speaker 2: is off. Our Dueno just asks it for the time
- 31:25Speaker 2: when needed.
- 31:26Speaker 1: Useful color sensors yeah, like.
- 31:28Speaker 2: The TCS thirty two hundred uses photodiodes with different color
- 31:32Speaker 2: filters to measure the intensity of red, green, and blue light.
- 31:35Speaker 2: Lets your project see color vibration PIAESO sensors. They generate
- 31:39Speaker 2: a little voltage spike when vibrated or noted. Connect one
- 31:42Speaker 2: to an arduino analog input. You'd probably want your code
- 31:45Speaker 2: to figure out the baseline reading when there's no vibration,
- 31:47Speaker 2: then look for spikes above a certain threshold temperature. Easy one.
- 31:51Speaker 2: The TMP thirty six sensor is a simple three pin chip.
- 31:54Speaker 2: Voltage on the output pin is directly proportional to temperature.
- 31:57Speaker 2: Connect to analog input, do a little math, gets some
- 32:00Speaker 2: lcs or fahrenheit.
- 32:01Speaker 1: And accelerometers measuring tilt and movement.
- 32:04Speaker 2: Yeah, tiny little modules that can sense acceleration, including the
- 32:07Speaker 2: constant pull of gravity. On three axes at twy and z.
- 32:12Speaker 2: Lets your project know its orientation or if it's being shaken.
- 32:15Speaker 1: Like the egg and spoon raised project.
- 32:18Speaker 2: Yeah, that's a fun one. Arduino reads the accelerometer. If
- 32:21Speaker 2: the reading's change too much too fast, like you jiggled
- 32:24Speaker 2: your spoon, it beats a buzzer and lights an led
- 32:26Speaker 2: you drop the egg.
- 32:28Speaker 1: Clever use of sensors for interaction. Okay, shifting to audio
- 32:31Speaker 1: again and fixing things custom audio cables right.
- 32:35Speaker 2: Main point again. Use screened wire for audio signals prevents
- 32:39Speaker 2: that annoying.
- 32:40Speaker 1: Hum and soldering those fiddly headphone jacks takes patients.
- 32:44Speaker 2: Strip the wires carefully, inner core an outer screen, tin
- 32:47Speaker 2: thum sowder quickly to the plug terminals, make sure the
- 32:50Speaker 2: strain relief grips the cable properly.
- 32:52Speaker 1: How do you combine stereo left and right into a
- 32:54Speaker 1: single mono signal?
- 32:55Speaker 2: Simple trick. Use two resistors maybe one ko me each.
- 32:59Speaker 2: Connect one resistor from the left channel to your moto
- 33:02Speaker 2: output point and the other resistor from the right channel
- 33:04Speaker 2: to the same point. Mixes them without shorting them together.
- 33:07Speaker 1: Okay. Microphones they produce tiny signals.
- 33:11Speaker 2: Very faint. They always need a pre amplifier or preamp.
- 33:14Speaker 2: This often uses an operational amplifier or op amp.
- 33:18Speaker 1: I see pop amps. High game, Huge game.
- 33:21Speaker 2: Yeah, way too much on their own. So you use feedback,
- 33:24Speaker 2: connecting the output back to the input through resistors to
- 33:27Speaker 2: control and reduce the game to a usable level. It's
- 33:30Speaker 2: fundamental to analog electronics.
- 33:32Speaker 1: Book has a FM bug hack sounds dotchy.
- 33:36Speaker 2: It's a cheat hack. Really. You take a cheap MP
- 33:39Speaker 2: three FM transmitter, one of those things for playing music
- 33:41Speaker 2: through your car radio. Yeah, You open it up, find
- 33:44Speaker 2: the audio input connections left, right, ground. Then you connect
- 33:47Speaker 2: a little microphone module's output to the left and right
- 33:49Speaker 2: inputs and power the MIC module from the transmitter's battery.
- 33:52Speaker 1: So the mic signal gets transmitted over FM exactly.
- 33:55Speaker 2: Tune a nearby FM radio and you can hear whatever
- 33:58Speaker 2: the mic picks up. Move the radio away to avoid
- 34:00Speaker 2: squealing feedback.
- 34:02Speaker 1: Clever repurposing, very clever loud speakers. How do they work? Simply?
- 34:06Speaker 2: Cone coil of wire magnet. Electrical audio signal goes through
- 34:10Speaker 2: the coil, makes it move in the magnetic field. Cone
- 34:13Speaker 2: moves back and forth, pushes air, creates sound waves. Key
- 34:16Speaker 2: specs impedance usually like eight omes power rating, how many
- 34:21Speaker 2: watts before it burns out? And frequency response? What range
- 34:24Speaker 2: of sounds it reproduces well. Low sounds need big whiffers,
- 34:27Speaker 2: highs need small tweeters.
- 34:28Speaker 1: You build your own amplifier definitely.
- 34:30Speaker 2: The book shows a simple one watt amplifier project on
- 34:33Speaker 2: stripboard using a TDA seven zero five to two chip.
- 34:37Speaker 2: That chip does most of the work.
- 34:39Speaker 1: What other parts we needed?
- 34:40Speaker 2: A potentiometer variable resistor for volume control, a capacitor CEE
- 34:44Speaker 2: one at the input to block any DC voltage, but
- 34:47Speaker 2: let the AC audio signal pass. That's called coupling. And
- 34:50Speaker 2: another capacitor C two near the chip's power pins for smoothing,
- 34:54Speaker 2: helps provide quick bursts of current.
- 34:56Speaker 1: You build it on stripboard, checking for shorts.
- 34:58Speaker 2: Yep, solder, carefully test it with an MP three player
- 35:01Speaker 2: or a signal generator app on your phone. Here your
- 35:04Speaker 2: creation make noise.
- 35:06Speaker 1: What about the five five to five timer again for sound?
- 35:08Speaker 2: Yeah, that versatile chip we used it for flashing LEDs.
- 35:12Speaker 2: Change the component values and it can oscillate much faster
- 35:15Speaker 2: producing audio tones.
- 35:16Speaker 1: The book mentions a Therman.
- 35:18Speaker 2: Like thing kind of use a light dependent resistor LDR
- 35:22Speaker 2: A resistor whose resistance changes with light level in the
- 35:25Speaker 2: five P fifty five circuit. Wave your hand over the LDR.
- 35:28Speaker 2: Change the light, change the resistance, change the frequency, the
- 35:30Speaker 2: pitch of the tone changes. Wobbly sound controlled.
- 35:33Speaker 1: By light fun Okay. Last big topic, troubleshooting. Fixing stuff
- 35:39Speaker 1: when it breaks.
- 35:40Speaker 2: Safety first, absolutely paramount rule number one. Never ever work
- 35:45Speaker 2: on stuff that's plugged into the wall outlet. Unplug it first.
- 35:48Speaker 1: Always all about things with big capacitors.
- 35:50Speaker 2: They can hold charge, yes, dangerous charge. Sometimes safely discharge
- 35:54Speaker 2: high voltage capacitors using a suitable resistor across their terminals.
- 35:58Speaker 2: Don't short them with a screwdriver. And always check voltages
- 36:01Speaker 2: with a multimeter before touching things.
- 36:03Speaker 1: If something just stops working, what's the first check?
- 36:05Speaker 2: Check the fuse use your multimeter's cartinuity mode be bit good, No,
- 36:08Speaker 2: be blown.
- 36:09Speaker 1: Are all fuses the same?
- 36:11Speaker 2: No, there are fast blow and slow blow time delay types.
- 36:15Speaker 2: Replace with the exact same type and rating. If a
- 36:18Speaker 2: new fuse blows immediately, there's a short circuit somewhere. Don't
- 36:21Speaker 2: just keep putting fuses in.
- 36:23Speaker 1: How to test batteries properly.
- 36:24Speaker 2: Multimeter voltage check gives a rough idea. For example, a
- 36:28Speaker 2: one point five vaa below one point two v is
- 36:31Speaker 2: probably dead. Better test check voltage while it's under a
- 36:35Speaker 2: small load, like with a hundred year room resistor across it.
- 36:38Speaker 2: See if the voltage holds up.
- 36:39Speaker 1: Heating elements like in a toaster, you.
- 36:41Speaker 2: Can calculate their expected resistance r fers via veryp and
- 36:45Speaker 2: check it with the multimeter's resistance mode. Infinite resistance means
- 36:49Speaker 2: it's broken.
- 36:50Speaker 1: Finding failed components look for burns.
- 36:52Speaker 2: Yeah, look for anything obviously burnt, charred, cracked, or bulging.
- 36:55Speaker 2: Test suspect resistors or capacitors with the multimeter. Use a
- 36:59Speaker 2: magnifying glass or phone camera to read tiny component markings.
- 37:02Speaker 1: Removing soldered components desoldering it takes practice. Sometimes adding a
- 37:06Speaker 1: bit of fresh solder helps the old stuff melt and
- 37:08Speaker 1: flow better. Or use desoldering braid it's like a copper
- 37:11Speaker 1: wick that soaks up molten solder or a solder sucker tool.
- 37:14Speaker 2: What about reusing old power adapters like phone chargers great
- 37:18Speaker 2: source of power, but plugs are often nonstandard. Cut the
- 37:22Speaker 2: plug off if needed, but be very careful to identify
- 37:25Speaker 2: the positive and negative wires using your multimeter before connecting
- 37:28Speaker 2: it to your project, get the polarity wrong and poof.
- 37:31Speaker 1: Lots of potential poofs and electronics. Okay, beyond the basics,
- 37:35Speaker 1: what tools might you invest in later?
- 37:37Speaker 2: A proper lab power supply is a great next step.
- 37:40Speaker 1: Why what's better than a wall adapter?
- 37:43Speaker 2: So much better? You can set the exact voltage you need.
- 37:46Speaker 2: It shows you how much current your project is drawing.
- 37:49Speaker 2: Brilliant for debugging. You can limit the current, preventing damage
- 37:52Speaker 2: if there's a short. Some have constant current mode, great
- 37:55Speaker 2: for LEDs.
- 37:56Speaker 1: How do you use it when first powering up a
- 37:58Speaker 1: new project?
- 37:59Speaker 2: Cash set the voltage needed, set the current limit low,
- 38:03Speaker 2: Initially turn it on. If it doesn't hit the current limit,
- 38:06Speaker 2: slowly increase the limit while watching for smoke or overheating.
- 38:10Speaker 2: Safe way to test.
- 38:11Speaker 1: What about seeing signals change over time? Multimeters are slow?
- 38:14Speaker 2: That's where in acilloscope comes in. It's like a TV
- 38:17Speaker 2: screen for electricity.
- 38:18Speaker 1: Shows waveforms YEP voltage on the vertical axis, time on
- 38:21Speaker 1: the horizontal. You can see exactly what a signal is doing.
- 38:24Speaker 1: It's shape, peak, voltage frequency Indispensable for anything beyond simple
- 38:30Speaker 1: DC stuff uses special high impedance probe so it doesn't
- 38:34Speaker 1: interfere much with the circuit.
- 38:35Speaker 2: Any useful software tools Oh yeah.
- 38:37Speaker 1: Online circuit simulators like circuit lablet you build and test
- 38:40Speaker 1: circuits virtually saves time and money.
- 38:43Speaker 2: And for designing proper circuit boards.
- 38:45Speaker 1: PCB design software egl E is a popular one. Fritzing
- 38:49Speaker 1: is more beginner friendly. Maybe let you go from schematic
- 38:52Speaker 1: to a professional looking board layout.
- 38:54Speaker 2: Where do people find project ideas, help parts?
- 38:58Speaker 1: The internet is amazing for that, sites like instructibles, Hackaday,
- 39:01Speaker 1: the official Ardweno site, Arduena, dot, CC maker suppliers like
- 39:05Speaker 1: spark fun and a to fruit endless inspiration and tutorials,
- 39:08Speaker 1: and eBay or ali Express for cheap components if you
- 39:11Speaker 1: don't mind waiting.
- 39:12Speaker 2: Wow, Okay, we have covered a lot of ground today.
- 39:14Speaker 1: We really have, from tiny resistors and LEDs right up
- 39:17Speaker 1: to building robots and web controlled gadgets and the core
- 39:20Speaker 1: ideas behind it all. Yeah, and hopefully listening to this
- 39:24Speaker 1: you feel a bit more empowered, less intimidated by electronics.
- 39:29Speaker 1: That was the goal, right, to see it as a
- 39:30Speaker 1: playground not a fortress exactly.
- 39:32Speaker 2: You've got the foundations now, the basic techniques, the tools,
- 39:35Speaker 2: the mindset, you're ready to start your own hacking adventures.
- 39:38Speaker 1: You really are the powers in your hands, literally.
- 39:41Speaker 2: And think about this. Every gadget around you, your phone,
- 39:45Speaker 2: your microwave, your car, it's all just made up of
- 39:48Speaker 2: these same basic principles and components. We've talked about simple
- 39:52Speaker 2: stuff combined in clever ways.
- 39:54Speaker 1: So here's a thought to lead you with. What hidden
- 39:57Speaker 1: potential is lurking inside some old, overlook device you have
- 40:01Speaker 1: lying around What what could you make it do just
- 40:04Speaker 1: by taking it apart and messing with it?
- 40:06Speaker 2: What new possibilities could you unlock?
- 40:07Speaker 1: So our final advice go find a screwdriver, grab that multimeter,
- 40:12Speaker 1: maybe that old broken radio in the garage, and just
- 40:14Speaker 1: do it.
- 40:14Speaker 2: Start experimenting, start hacking, see what you discover appy hacking