Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
namlosh
Feb 11, 2014

I name this haircut "The Sad Rhino".

Foxfire_ posted:

Board stackup, decoupling capacitors, and ground plane cuts are all related topics.

All current flows in loops. Every outgoing current path has a return path back to the source and flows along the path of least impedance.

For DC current, resistance dominates and it'll find the fattest copper. Capacitors look open to DC since there's no direct conductive path.

For high frequency AC current that is changing quickly, inductance dominates instead. The return current will flow as closely as possible to the outgoing current, even if there's some other lower DC resistance path. If you have a full ground plane, when a trace switches, the return current in the ground plane copper will follow under the top trace, including all your routing wiggles. It doesn't go in a straight line. The amount RF it radiates and picks up is related to the area of the current loop. If there's a full ground plane, that's the length of the trace times the thickness of the board. If there's ground plane cuts and the return current has to divert around, the loop area is bigger, it will radiate more noise, and it will pick up more noise from the environment or other parts of the circuit. Ideally you don't cut ever cut the ground plane, but if you need to for routing, you want to make sure that the return paths are still short.

Picture:


The slot in the ground (cyan) with a trace (red) running over it makes the return current (blue) for the trace have to divert around and make a bigger loop. It'll pickup and radiate more noise than if the slot wasn't there. The circle cut in the ground plane does nothing. No (AC) current wanted to flow over that anyway so it doesn't really matter that there's no copper there.

The purpose of decoupling capacitors is to provide a small loop for transient switching currents. Capacitors look like shorts to AC. When something switches inside an IC, the current path for it will go from one side of the cap, into the IC's VCC pin, through the IC circuitry, out the IC's GND pin, across the ground plane, then into the other side of the cap. Alternately, you can think of it as the current for the fast transient switching being sourced from the nearby capacitor instead of the power supply.

Board stackup is a combination of routing and reference plane concerns. For a 4-layer board, you'd typically put GND and VCC/another GND on the inner layers then route signals on the outer layers. All the signals have a return plane no more than one layer away.

You'd have to understand what they're doing to know. A decoupling cap isn't particularly sensitive to the capacitance value, but if it's doing something like constructing a filter with a sharp cutoff, an RC circuit with a well-controlled time constant, or setting the gain for an amplifier it'll matter.

Those particular values suggest to me that they will matter. Like 49.9 for example is an E series number, it's just from E96 instead of E24 and will usually be a 1% tolerance instead of 5%. You might also have problems; building a nominally 49.9k resistor out of multiple 5% resistors may not work since you're unlikely to actually get a value within 49.9k +/- 1%.

Sharp angle changes like that will change the impedance of the trace and cause reflections as current moves and the voltage changes. When the driving end of the trace starts to change voltage, physics doesn't know what's on the other side. The current that moves in those first picoseconds just depends on the local geometry of the trace and board. Then as that current propagates to the other side and encounters different stuff, it'll bounce around until eventually everything settles out at the DC solution.

It's maybe easier to think about if you imagine a very long wire going out to the moon, 2 light seconds away. When you put a voltage across the earth side, current flows without knowing if the moon end is open/shorted/has a resistor/whatever. The situation on a PCBA trace is similar, just over much smaller timescales. 1cm of trace takes about 30ps to cross.

On your board, it's probably fine and won't stop anything from working as long as whatever signal is on that trace is slow enough that you don't care about reflections and can treat it as a lumped element. But the sharp bend also isn't doing anything useful for you and it's easy to get rid of, so there's no reason to keep it besides not wanting to keep fiddling with the board


e: You can spend a lot of time fiddling with layout but at some point you should just suck it up and call it done even though it isn't perfect. Even a pretty slapdash board is going to be much better than a well executed stripboard

This is an awesome post... thanks.

Here's a good video that explains them as well. If people aren't aware of this guy, he has some amazing learning electronics videos
https://www.youtube.com/watch?v=9EaTdc2mr34

Adbot
ADBOT LOVES YOU

A Proper Uppercut
Sep 30, 2008

Shame Boy posted:

Neat! And thinking about it, if it's just going to wave the things back and forth, even if the servos make the arduino glitch it will probably just cause it to reboot and it will just immediately start waving back and forth again.

Also looks like a pretty decent wiring job too considering you were splicing into a wire, I always find it to be a pain in the rear end to not have it look like a huge mess that's gonna fall apart the second any strain is put on it and I've been doing this for over two decades.

e: Oh pro tip, once you plug the servos into the arduino, put a dab of hot glue or something on the plugs to keep em' from falling out, cuz that style of pin connector that arduinos use will fall out if so much as a light breeze brushes against it. I made someone some electronics for a costume a while ago that were RGB LED's in a ring so they could project the specific cyan and yellow colors of Sans from under TVtale from their mask's eye when they hit a button, and the connector jostled partially loose even though I thought it was pretty well secured and the ring somehow interpreted that as "turn bright red", which admittedly was terrifying but kinda broke the theme :v:

Thanks, good tip on the hot glue. I was trying to think of some way to make it more secure.

And for the splicing, I've done my fair share of car radios and had to do similar, just use an xacto to cut a strip of insulation away, wrap them together and solder. Was rather proud how well that part came out.

HaB
Jan 5, 2001

What are the odds?
Howdy, folks.

So I am trying to get into animatronics - mostly modding existing things, etc.

Nearly all the links in the First Post are dead. Even a linked youtube video now requires payment to watch?

So - assume I don't know a capacitor from a diode from a potentiometer I mean - I DO, but assume I don't.

Where's a good place to start learning the basics of simple circuits?

Shame Boy
Mar 2, 2010

HaB posted:

Howdy, folks.

So I am trying to get into animatronics - mostly modding existing things, etc.

Nearly all the links in the First Post are dead. Even a linked youtube video now requires payment to watch?

So - assume I don't know a capacitor from a diode from a potentiometer I mean - I DO, but assume I don't.

Where's a good place to start learning the basics of simple circuits?

I think it kinda depends on what kind of learner you are. Personally I always found playing around with simulators to be the easiest way for me to figure this out, so if I were getting started again I'd either use Falstad or iCircuit, which is apparently available for windows now in addition to mac so that's neat. You have to buy it but it's only a few bucks, it's basically just the Falstad engine with a much nicer UI. iCircuit at least also comes with a bunch of example circuits so you can start with those and play around.

If you want a comprehensive, up-to-date textbook that covers... basically everything, The Art of Electronics 3rd Edition is the go-to choice of basically everyone. And hey guess what, it's on archive.org for free! https://ia803204.us.archive.org/6/items/art-of-electronics-3e/Art%20of%20Electronics%203e.pdf. I paid like $150 for my physical copy of it when it first came out, don't I feel silly!

Though honestly nothing really beats just getting some stuff and playing around with it, like a kit to assemble, an arduino "starter pack" with a breadboard and some rando components, etc.

I would blow Dane Cook
Dec 26, 2008

HaB posted:

Howdy, folks.

So I am trying to get into animatronics - mostly modding existing things, etc.

Nearly all the links in the First Post are dead. Even a linked youtube video now requires payment to watch?

So - assume I don't know a capacitor from a diode from a potentiometer I mean - I DO, but assume I don't.

Where's a good place to start learning the basics of simple circuits?

[url]http://www.zpag.net/Electroniques/Kit/Getting_Started_in_Electronics_-_3ed_-_[Forrest_M.Mims].pdf[/url]

namlosh
Feb 11, 2014

I name this haircut "The Sad Rhino".

HaB posted:

Howdy, folks.

So I am trying to get into animatronics - mostly modding existing things, etc.

Nearly all the links in the First Post are dead. Even a linked youtube video now requires payment to watch?

So - assume I don't know a capacitor from a diode from a potentiometer I mean - I DO, but assume I don't.

Where's a good place to start learning the basics of simple circuits?

As someone who was in the same boat 1-2 years ago and has made at least some progress since then, I created a cheat sheet of good youtubes that might help.

I think I've posted this before in the thread, and I know I'm missing a few. Let me know and I'll add them.

Here's the full cheat sheet, including random notes around the bottom. maybe it'll help.

Youtube Channels

Electronics

CuriousMarc literally got me back into studying electronics
https://www.youtube.com/c/CuriousMarc

so entertaining... and if you keep up with what he says, I'm pretty sure he knows his stuff
https://www.youtube.com/c/Electroboom

I have to put this here... not only are some of the electronics vids
really helpful to understanding the physics, but
some others are bat-poo poo insane like check this poo poo out:
https://www.youtube.com/watch?v=9Tm2c6NJH4Y&t=85s
https://www.youtube.com/user/EugeneKhutoryansky

So good... maker of the breadboard 6502 thing
https://www.youtube.com/c/BenEater

Holy crap is this guy really good to learn from.
https://www.youtube.com/user/w2aew

The grand-daddy of all Electronics Channels. I like him a lot but his voice is super high-pitched
https://www.youtube.com/c/EevblogDave

Big Clive rules... mostly teardowns and reverse engineering
https://www.youtube.com/c/Bigclive

Really good electronics/chemistry vids... moves fast. Definitely helpful
https://www.youtube.com/c/TheOrganicChemistryTutor

Really good basic stuff... some better than others
https://www.youtube.com/c/element14presents

Really good videos from a professor of a small college. Older vids were better in my opinion
https://www.youtube.com/c/DavidWilliams_ca

Pretty good build/maker content
https://www.youtube.com/c/greatscottlab

Hacking stuff together
https://www.youtube.com/c/hackaday

Mostly audio stuff... I'm impressed he has as many subscribers as he does
https://www.youtube.com/user/JohnAudioTech

You already know what this is
https://www.youtube.com/c/khanacademy

seems good, but haven't watched much
https://www.youtube.com/c/learnelectronics

I really liked the amplifier electronics vids
https://www.youtube.com/c/mateoaboytube

I like this channel for some reason, even though it's a shill for a paid service
https://www.youtube.com/user/mathtutordvd

Mostly old radio restoration... I haven't watched a lot
https://www.youtube.com/c/MrCarlsonsLab

Acconpany's his university course... pretty good to listen to
https://www.youtube.com/user/rolinychupetin

Just started watching. Kind of teaches stuff in a different way, might be worthwhile
https://www.youtube.com/c/RSDAcademy

haven't watched a lot, but seems fine
https://www.youtube.com/c/Thesignalpath

Haven't watched a ton of him, but seems ok
https://www.youtube.com/c/ELECTRONOOBS

Doesn't really post anymore, but has some useful ones
https://www.youtube.com/c/Afrotechmods

Television transmitter - Big power stuff. kinda neat
https://www.youtube.com/user/TheOnLineEngineer

Shows historic videos related to computing history. better than you'd think
https://www.youtube.com/channel/UCOyJD0RHtF_77_oAf5tT1nQ
Same as above the transistor vids are pretty good
https://www.youtube.com/user/PeriscopeFilm

Seems pretty good
https://www.youtube.com/c/TheOffsetVolt

Ok vids... a lot of circuit simulation and such
https://www.youtube.com/c/FesZElectronics

Sparkfun's channel. it's aight
https://www.youtube.com/c/sparkfun

Keysight company content, has some good vids
https://www.youtube.com/c/KeysightLabs




Mathematics

https://www.youtube.com/c/3blue1brown




General Science and Entertainment

Frickin awesome, this guy rules
https://www.youtube.com/c/AppliedScience

Awesome Channel from Fran. Hope she gets here lab situation resolved
https://www.youtube.com/c/FranBlanche

His series on radio and video is really good/fun
https://www.youtube.com/c/TechnologyConnections

Mostly does sceptic stuff... I haven't watched a ton, but super popular
https://www.youtube.com/c/CaptainDisillusion

Mostly discusses old product design decisions. Super awesome
https://www.youtube.com/c/CathodeRayDude

Veritasium is pretty good mostly
https://www.youtube.com/c/veritasium

Other good physics stuff
https://www.youtube.com/c/Lesics

Makes amazing things with a fully stocked machine shop
https://www.youtube.com/c/MakerB

Demonstrations of sciency stuff
https://www.youtube.com/c/HarvardNaturalSciencesLectureDemonstrations

Hacker - White hat stuff
https://www.youtube.com/user/DeviantOllam

Animated Quick takes on Physics stuff
https://www.youtube.com/c/minutephysics

Entertaining somewhat
https://www.youtube.com/c/AlphaPhoenixChannel

Entertaining
https://www.youtube.com/c/brainiac75

Lego Brick neatness
https://www.youtube.com/c/BrickExperimentChannel

Physiology as it relates to poisoning
https://www.youtube.com/c/ChubbyemuGames





Akro-Mils - The name brand of some great storage

Circuit to decrease A/C Ripple in a power supply line:

Capacitance Multiplier Circuit
essentially, increase the capacitance filtering of an RC circuit with a BJT transistor

Common Emitter Amplifier

Tank circuit

Shame Boy
Mar 2, 2010

namlosh posted:

As someone who was in the same boat 1-2 years ago and has made at least some progress since then, I created a cheat sheet of good youtubes that might help.

I think I've posted this before in the thread, and I know I'm missing a few. Let me know and I'll add them.

Here's the full cheat sheet, including random notes around the bottom. maybe it'll help.

Youtube Channels

Electronics

CuriousMarc literally got me back into studying electronics
https://www.youtube.com/c/CuriousMarc

so entertaining... and if you keep up with what he says, I'm pretty sure he knows his stuff
https://www.youtube.com/c/Electroboom

I have to put this here... not only are some of the electronics vids
really helpful to understanding the physics, but
some others are bat-poo poo insane like check this poo poo out:
https://www.youtube.com/watch?v=9Tm2c6NJH4Y&t=85s
https://www.youtube.com/user/EugeneKhutoryansky

So good... maker of the breadboard 6502 thing
https://www.youtube.com/c/BenEater

Holy crap is this guy really good to learn from.
https://www.youtube.com/user/w2aew

The grand-daddy of all Electronics Channels. I like him a lot but his voice is super high-pitched
https://www.youtube.com/c/EevblogDave

Big Clive rules... mostly teardowns and reverse engineering
https://www.youtube.com/c/Bigclive

Really good electronics/chemistry vids... moves fast. Definitely helpful
https://www.youtube.com/c/TheOrganicChemistryTutor

Really good basic stuff... some better than others
https://www.youtube.com/c/element14presents

Really good videos from a professor of a small college. Older vids were better in my opinion
https://www.youtube.com/c/DavidWilliams_ca

Pretty good build/maker content
https://www.youtube.com/c/greatscottlab

Hacking stuff together
https://www.youtube.com/c/hackaday

Mostly audio stuff... I'm impressed he has as many subscribers as he does
https://www.youtube.com/user/JohnAudioTech

You already know what this is
https://www.youtube.com/c/khanacademy

seems good, but haven't watched much
https://www.youtube.com/c/learnelectronics

I really liked the amplifier electronics vids
https://www.youtube.com/c/mateoaboytube

I like this channel for some reason, even though it's a shill for a paid service
https://www.youtube.com/user/mathtutordvd

Mostly old radio restoration... I haven't watched a lot
https://www.youtube.com/c/MrCarlsonsLab

Acconpany's his university course... pretty good to listen to
https://www.youtube.com/user/rolinychupetin

Just started watching. Kind of teaches stuff in a different way, might be worthwhile
https://www.youtube.com/c/RSDAcademy

haven't watched a lot, but seems fine
https://www.youtube.com/c/Thesignalpath

Haven't watched a ton of him, but seems ok
https://www.youtube.com/c/ELECTRONOOBS

Doesn't really post anymore, but has some useful ones
https://www.youtube.com/c/Afrotechmods

Television transmitter - Big power stuff. kinda neat
https://www.youtube.com/user/TheOnLineEngineer

Shows historic videos related to computing history. better than you'd think
https://www.youtube.com/channel/UCOyJD0RHtF_77_oAf5tT1nQ
Same as above the transistor vids are pretty good
https://www.youtube.com/user/PeriscopeFilm

Seems pretty good
https://www.youtube.com/c/TheOffsetVolt

Ok vids... a lot of circuit simulation and such
https://www.youtube.com/c/FesZElectronics

Sparkfun's channel. it's aight
https://www.youtube.com/c/sparkfun

Keysight company content, has some good vids
https://www.youtube.com/c/KeysightLabs




Mathematics

https://www.youtube.com/c/3blue1brown




General Science and Entertainment

Frickin awesome, this guy rules
https://www.youtube.com/c/AppliedScience

Awesome Channel from Fran. Hope she gets here lab situation resolved
https://www.youtube.com/c/FranBlanche

His series on radio and video is really good/fun
https://www.youtube.com/c/TechnologyConnections

Mostly does sceptic stuff... I haven't watched a ton, but super popular
https://www.youtube.com/c/CaptainDisillusion

Mostly discusses old product design decisions. Super awesome
https://www.youtube.com/c/CathodeRayDude

Veritasium is pretty good mostly
https://www.youtube.com/c/veritasium

Other good physics stuff
https://www.youtube.com/c/Lesics

Makes amazing things with a fully stocked machine shop
https://www.youtube.com/c/MakerB

Demonstrations of sciency stuff
https://www.youtube.com/c/HarvardNaturalSciencesLectureDemonstrations

Hacker - White hat stuff
https://www.youtube.com/user/DeviantOllam

Animated Quick takes on Physics stuff
https://www.youtube.com/c/minutephysics

Entertaining somewhat
https://www.youtube.com/c/AlphaPhoenixChannel

Entertaining
https://www.youtube.com/c/brainiac75

Lego Brick neatness
https://www.youtube.com/c/BrickExperimentChannel

Physiology as it relates to poisoning
https://www.youtube.com/c/ChubbyemuGames





Akro-Mils - The name brand of some great storage

Circuit to decrease A/C Ripple in a power supply line:

Capacitance Multiplier Circuit
essentially, increase the capacitance filtering of an RC circuit with a BJT transistor

Common Emitter Amplifier

Tank circuit

I think last time you posted the list someone else suggested Usagi Electric. I hadn't heard of them at the time but boy do they make some good stuff, they're building an entire functioning vacuum tube computer and simultaneously restoring a weird-rear end 1970's minicomputer.

e: Also Big Clive has the best most silky voice on all of youtube, I know a lot of people who watch him who aren't even into electronics lol

e2: Oh! and BigClive did a video specifically about basic components a while ago that would be a good place to start:

https://www.youtube.com/watch?v=6Maq5IyHSuc

HaB
Jan 5, 2001

What are the odds?

Everybody posted:

:words:

And so many links!

Holy crap, y’all. Thanks so much. That is a metric buttload of places to check out!

Splode
Jun 18, 2013

put some clothes on you little freak
To add to the list, I'm a fan of bitluni, I particularly liked his experiments with phased array ultrasonics:
https://youtu.be/z4uxC7ISd-c

PDP-1
Oct 12, 2004

It's a beautiful day in the neighborhood.
This guy is a very good presenter and puts his Caltech EE lectures up pretty much uncut. Whenever I run into one of those subjects that I learned a long time ago but now need a refresher, I check to see if he's got something on the subject.

https://www.youtube.com/c/AliHajimiriChannel/videos

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
Does somebody want to create a new thread with all these nuggets at some point? This one is well past its prime.


There are lots of topics that keep coming up. Like software to use, why no one will answer your hyper specific battery question, and why you don't actually want to simulate every part of your circuit.

Also a reminder to always post your schematic if you have a question, otherwise it's like trying to answer a programming question without seeing the code

Foxfire_
Nov 8, 2010

HaB posted:

Howdy, folks.

So I am trying to get into animatronics - mostly modding existing things, etc.

Nearly all the links in the First Post are dead. Even a linked youtube video now requires payment to watch?

So - assume I don't know a capacitor from a diode from a potentiometer I mean - I DO, but assume I don't.

Where's a good place to start learning the basics of simple circuits?

Ignoring you assumption :), once you know what basic circuit elements do, I think the best way to proceed is to pick a project, get someone to vet that it's not super hard, and then go for it, reading & learning how to do actual problems that come up (e.g. "I want to make this thing run on a different battery, I'm going to go learn about buck/boost converters" or "I want to add an extra motion to this thing, how do I drive a motor from a microcontroller?"

It's hard to stick with abstract lessons, and there's also not a substitute for struggling through how to actually design something new vs following along something that already exists.

Rexxed
May 1, 2010

Dis is amazing!
I gotta try dis!

I'll throw in a mention for James Bruton for animatronics adjacent stuff, since he's got a series making some dancing robots that perform along with music, as well as just cool robotics projects.
https://www.youtube.com/c/jamesbruton/videos

Splode
Jun 18, 2013

put some clothes on you little freak
I can't watch James Bruton.
He tries to build everything with hobby grade stuff. When his Arduino isn't fast enough he adds another Arduino, instead of just buying a faster microcontroller and leaving the Arduino framework behind.

He ends up spending far more time and money designing something far more complex than it needs to be because he thinks it's "easier".

At some point, Arduinos and 3D printing is just not going to cut it, and that point is a long, long way before you get to "I want to design a full scale robot dog".

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS

Splode posted:

I can't watch James Bruton.
He tries to build everything with hobby grade stuff. When his Arduino isn't fast enough he adds another Arduino, instead of just buying a faster microcontroller and leaving the Arduino framework behind.

He ends up spending far more time and money designing something far more complex than it needs to be because he thinks it's "easier".

At some point, Arduinos and 3D printing is just not going to cut it, and that point is a long, long way before you get to "I want to design a full scale robot dog".

I thought the same thing for a long time, but at this point I have to grudgingly respect just how far he pushes it

Cory Parsnipson
Nov 15, 2015
Oh man, this is all good stuff, but now I have a few hundred hours of youtube backlog to sort through...

If we can't get these links plugged into the OP, maybe we can just piggyback off of cruft's electronics swap spreadsheet and put them in a tab over there? Not sure what the general preference is.

===============================

On an unrelated note... I'm trying to use this class D amplifier breakout from Adafruit and I'm reading the tutorials and I see this:

Adafruit posted:

This amplifier is designed to drive moving coil loudpeakers only. Speaker impedence must be 4Ω or more.

It's bolded, so I assume it's important. :thunk:

This makes me feel bad because I am trying to use it to power this speaker and I have a strange hunch that it isn't a moving coil loudspeaker...

...or is it? If I look at the stats, it says "technology: magentic" and then trying to google "magnetic speakers", "magnetic vs moving coil speakers", or "neodymium speaker" doesn't yield anything that makes sense to me. What the heck is this thing I bought?!

What happens if I just ignore this and hook them up anyway? (assume I'm using 3.3 Vcc so I don't exceed the 1.2W input power) Will something melt? Or, since the rest of the paragraph is about how the speaker coil acts as a low pass filter, will it work but just sound like crap?

Also, how should I pick speakers for this? I mean, the internet says to match power output, so if the amp page recommends 3.2W at 8 ohms, then I should find an 8 ohm speaker that has a max power rating of at least 3.2 watts?

================

e. Just tried doing a search for "what speakers are in cell phones" and got the term "micro speakers". Hmmmmm

Cory Parsnipson fucked around with this message at 08:21 on Oct 5, 2022

Bondematt
Jan 26, 2007

Not too stupid
Whelp, I just learned a, thankfully cheap, lesson in buying cheap components.

Picked up 100 packs of 3mm IR LEDs and Receivers on amazon to make some extra sets of eyes for my old paintball gun. Got one all wired up, plugged it in, and the range of detection is only like 1/4"-1/2" and in a very narrow FOV. Tried running the emitter "hot" at 1.5v using my supply and still barely made it further than 1/2".

Got the real deal coming, but going from the LEDs costing 15 cents to $1 a pair, which is basically nothing compared to the time it takes to wire it up.

Stack Machine
Mar 6, 2016

I can see through time!
Fun Shoe

Cory Parsnipson posted:

This makes me feel bad because I am trying to use it to power this speaker and I have a strange hunch that it isn't a moving coil loudspeaker...

It is. The other options are moving the magnet (nobody does this because trying to move all of that extra mass doesn’t make sense) and things like electrostatic and piezo that aren't 4/8/16 ohms and don't have a coil like that.

Cory Parsnipson posted:

What happens if I just ignore this and hook them up anyway? (assume I'm using 3.3 Vcc so I don't exceed the 1.2W input power) Will something melt? Or, since the rest of the paragraph is about how the speaker coil acts as a low pass filter, will it work but just sound like crap?

The coil works as an inductor. Class D amplifiers work by switching the output like a buck converter, and it relies on that inductance to keep the current waveform from looking like the voltage waveform (a PWM signal). It may or may not still work with, say, only a piezo tweeter as the load, depending on the design, but it would invalidate a ton of the statements in the datasheet about performance.

Stack Machine fucked around with this message at 09:35 on Oct 5, 2022

Cory Parsnipson
Nov 15, 2015

Stack Machine posted:

It is. The other options are moving the magnet (nobody does this because trying to move all of that extra mass doesn’t make sense) and things like electrostatic and piezo that aren't 4/8/16 ohms and don't have a coil like that.

The coil works as an inductor. Class D amplifiers work by switching the output like a buck converter, and it relies on that inductance to keep the current waveform from looking like the voltage waveform (a PWM signal). It may or may not still work with, say, only a piezo tweeter as the load, depending on the design, but it would invalidate a ton of the statements in the data sheet about performance.

Oh I see. That's great then! Thanks.

Dang I guess it is pretty obvious that there is a speaker cone in here. It's so small though

Cory Parsnipson fucked around with this message at 09:45 on Oct 5, 2022

Pollyanna
Mar 5, 2005

Milk's on them.


Bondematt posted:

Whelp, I just learned a, thankfully cheap, lesson in buying cheap components.

Picked up 100 packs of 3mm IR LEDs and Receivers on amazon to make some extra sets of eyes for my old paintball gun. Got one all wired up, plugged it in, and the range of detection is only like 1/4"-1/2" and in a very narrow FOV. Tried running the emitter "hot" at 1.5v using my supply and still barely made it further than 1/2".

Got the real deal coming, but going from the LEDs costing 15 cents to $1 a pair, which is basically nothing compared to the time it takes to wire it up.

Yeah, good components are worth it. So’a good technique tho, and I’m too scared to use good components without good technique :(

Pollyanna
Mar 5, 2005

Milk's on them.


There has to be a better way to design panels than trying to work backwards from a Kicad PCB. It’s good for schematics and basic PCB layouts, but once you need to ensure the panel holes and board components line up it starts to really suck. :negative:

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
If you're doing anything moderately challenging in 3D, then you go back and forth between KiCad and a 3D CAD package. I think there is a plugin to easily do it with FreeCAD, but usually I just keep a mental model and sketch out dimensions on a notebook, and then into Fusion 360 at the very end to make sure I didn't gently caress it up

Pollyanna
Mar 5, 2005

Milk's on them.


What I really need is an SVG editor that doesn’t suck as bad as Inkscape. It is dead simple to define plain-rear end rectangles and circles of a certain size and distance away from each other but noooo I have to do some dumbshit file tango.

PokeJoe
Aug 24, 2004

hail cgatan


every svg editor ive ever used is like that

TacoHavoc
Dec 31, 2007
It's taco-y and havoc-y...at the same time!

ante posted:

If you're doing anything moderately challenging in 3D, then you go back and forth between KiCad and a 3D CAD package.

Pollyanna, draw a board outline and mounting holes in the 3d package. Export as DXF, and import into kicad and use it to guide your board outline and holes. Export resulting pcb and 3d components into a step (stp?) file and import it back into your 3d package as a solid to check the design.

i'm sure there's a better way, but I do this with solidworks and kicad and it works well enough.

Pollyanna
Mar 5, 2005

Milk's on them.


:sigh: Guess I’ll actually learn OpenSCAD for once.

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
Why would you do that to yourself? Just use OnShape

cruft
Oct 25, 2007

Pollyanna posted:

:sigh: Guess I’ll actually learn OpenSCAD for once.

I really like OpenSCAD.

It is absolutely not for everyone, though.

Pham Nuwen
Oct 30, 2010



FreeCAD has done the job well enough for my purposes.

ynohtna
Feb 16, 2007

backwoods compatible
Illegal Hen
For designing front panels, I like to use Front Panel Designer. :buddy:

One Legged Ninja
Sep 19, 2007
Feared by shoe salesmen. Defeated by chest-high walls.
Fun Shoe
Just make a PCB front panel, then you don't need to learn any new software. :haw:

Rescue Toaster
Mar 13, 2003
I've been trying to find good flows for tying together a board edge layout to a front panel .svg that I can import into carbide create or whatnot to mill front panels.

Especially it's annoying when you have a pre-existing panel to use, like with the hammond aluminum extrusion cases that come with two nice panels. Figuring out how to lay out the design, match it up with the PCB, correctly mount and align the front panel pieces, then zero it out since they won't be perfectly flat, then mill it.... bleh.

The results are awfully nice though, but it's soooo much loving work. I did some boards that went in some hammond 1455's like these: https://www.digikey.com/en/products/detail/hammond-manufacturing/1455C802/460161 And they came out great but... so much freaking math to do and triple-check.

Hobnob
Feb 23, 2006

Ursa Adorandum

Pollyanna posted:

What I really need is an SVG editor that doesn’t suck as bad as Inkscape. It is dead simple to define plain-rear end rectangles and circles of a certain size and distance away from each other but noooo I have to do some dumbshit file tango.

In fusion 360's sketch editor it's very easy to layout shapes like that (you can place rectangles etc. then size and position them with dimensions as you like). There's a plugin available that exports svg.

If you want a more complex/complete solution, I believe you can also export a STEP file from KiCAD to get a 3d model of the board in F360 and then use the projection function to replicate component outlines etc. into a sketch as needed.

Fusion 360 is free for hobbyist/non-commercial users with some function limitations that won't bother you.

Shame Boy
Mar 2, 2010

Hobnob posted:

In fusion 360's sketch editor it's very easy to layout shapes like that (you can place rectangles etc. then size and position them with dimensions as you like). There's a plugin available that exports svg.

If you want a more complex/complete solution, I believe you can also export a STEP file from KiCAD to get a 3d model of the board in F360 and then use the projection function to replicate component outlines etc. into a sketch as needed.

Fusion 360 is free for hobbyist/non-commercial users with some function limitations that won't bother you.

Yeah this is exactly what I do and it works pretty well.

Stack Machine
Mar 6, 2016

I can see through time!
Fun Shoe

cruft posted:

I really like OpenSCAD.

It is absolutely not for everyone, though.

:emptyquote:

I like things that can be called from scripts and makefiles and kept in version control with all of the nice plain-text-only features of version control like line-by-line attribution and commit-to-commit diffs. Like doing documents in LaTeX it's great for collaboration if you find yourself collaborating with other people who can stomach it.

Also I imagine if "documents in LaTeX" sounds like a bad time to you, openscad will be too.

Pollyanna
Mar 5, 2005

Milk's on them.


I’m a computer toucher by trade (a sentence that will not age well in a hundred years) so I’m used to translating requirements, specifications, and patterns into code. OpenSCAD is fine.

What really screws me over is the lack of 3D models for my components (Alpha pots, NKK switches, QingPu jacks) and my own laziness (I ain’t making them). I’m hitting up Mouser anyway, might as well use other components…

…whiiiich inspires me to condense a couple components down to one on my board! Cool.

Pollyanna fucked around with this message at 14:14 on Oct 6, 2022

Shame Boy
Mar 2, 2010

Pollyanna posted:

I’m a computer toucher by trade (a sentence that will not age well in a hundred years) so I’m used to translating requirements, specifications, and patterns into code. OpenSCAD is fine.

What really screws me over is the lack of 3D models for my components (Alpha pots, NKK switches, QingPu jacks) and my own laziness (I ain’t making them). I’m hitting up Mouser anyway, might as well use other components…

…whiiiich inspires me to condense a couple components down to one on my board! Cool.

Google around for like "[component name] STEP" if the manufacturer's website doesn't have CAD models, sometimes you can find a model for them someone else made that way. Gotta double check it's accurate of course, but it's saved me a lot of time in the past.

Pollyanna
Mar 5, 2005

Milk's on them.


They all want me to pay money :mad:

Edit: or at least they expect me to use my work email. This is a hobby, not a job.

Edit 2 fiiiine snapeda works

Pollyanna fucked around with this message at 15:00 on Oct 6, 2022

namlosh
Feb 11, 2014

I name this haircut "The Sad Rhino".
added
Usagi Electric has some of the coolest content ever.
buuuut, for some weird reason, I just can't stand him.
something about his cadence or voice or speech patterns annoys me.
I recognize that this is my issue, and I'm worse for it.

added

added

added

I've copy and pasted it into swap.xls

Adbot
ADBOT LOVES YOU

namlosh
Feb 11, 2014

I name this haircut "The Sad Rhino".

ante posted:

Does somebody want to create a new thread with all these nuggets at some point? This one is well past its prime.

There are lots of topics that keep coming up. Like software to use, why no one will answer your hyper specific battery question, and why you don't actually want to simulate every part of your circuit.

Also a reminder to always post your schematic if you have a question, otherwise it's like trying to answer a programming question without seeing the code

Sorry for doublepost, but this is a really good idea.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply