[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vr / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / asp / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / qst / sci / soc / sp / tg / toy / trv / tv / vp / wsg / wsr / x] [Settings] [Search] [Home]
Board
Settings Home
/diy/ - Do It Yourself


Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • There are 89 posters in this thread.

05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
06/20/16New 4chan Banner Contest with a chance to win a 4chan Pass! See the contest page for details.
[Hide] [Show All]



File: 1505394469016.jpg (248 KB, 600x900)
248 KB
248 KB JPG
flat thread: >>1416580

>I'm new to electronics, where to get started?
There are several good books and YouTube channels that are commonly recommended for beginners and those wanting to learn more, many with advanced techniques. The best way to get involved in electronics is just to make stuff. Don't be afraid to get your hands dirty.

>Books?
Beginner:
Forrest Mims III, Getting Started in Electronics
Charles Platt, Make: Electronics
Michael Jay Geier, How to Diagnose & Fix Everything Electronic

Intermediate:
Kybett & Boysen, All New Electronics Self-Teaching Guide
Paul Scherz and Simon Monk, Practical Electronics for Inventors

Advanced:
Paul Horowitz and Winfield Hill, The Art of Electronics

>YouTube?
mjlorton
BigClive
paceworldwide
eevblog
EcProjects
greatscottlab
AfroTechMods
Photonvids
sdgelectronics
TheSignalPathBlog

>Project/idea websites?
http://adafruit.com
http://instructables.com/tag/type-id/category-technology/
http://makezine.com/category/electronics/

>Components/equipment sources?
Mouser, Digi-Key, Arrow, Newark are global full-line distributors with small/no minimum order.
RS Components (Europe)
eBay/AliExpress sellers, especially good for component assortments/sample kits (caveat emptor)
Your local independent retail electronics distributors
ladyada.net/library/procure/hobbyist.html

>Circuit simulators?
This mostly comes down to personal preference. These are the most common ones though:
LTSpice
CircuitJS (quick, dirty, interactive)
NI Multisim
CircuitLab
iCircuit for Macs

>PCB layout software?
KiCAD (recommended), why use anything else

>My circuit doesn't work. Halp?
Check wiring, soldering, part pinouts, and board artwork if applicable, then post schematic. Supply ALL relevant info and component values when asking for help.
>Li+/LiPo batteries
Read this fine resource first: https://www.robotshop.com/media/files/pdf/hyperion-g5-50c-3s-1100mah-lipo-battery-User-Guide.pdf
>I have junk, what do?
Take it to the recycler.
>>
File: 1513243104218.png (289 KB, 1062x1375)
289 KB
289 KB PNG
this thread's digits brought to you in part by the TPA3156D2 70W class-D audio amp
>>
>>1423156
>>>1423159
So besides shoving them on my butt, what I could do with those chargers? the transformers are shit because they are teeny weensy. I'm repurposing a washing machine motor as a grinder but I have no idea of what to do with the chargers.
>>
>>1423163

the proper attitude is ''i have a need, how do i achieve it''
the incorrect attitude is ''i have some junk, how do i create a need for it''
deviant attitudes are not allowed in /diy/ so you must leave.
>>
>>1423167
>/diy/
>home of the 6 axis dildo bot
>not deviant
and besides; everyone here, including myself, shoves stuff up their butts now and then. I'm no homo tho.
>>
File: 1531242609496.jpg (3.38 MB, 3120x4160)
3.38 MB
3.38 MB JPG
Thanks anon >>1423156
I already posted it in /g/ but here is my improved fender blinker led i came up with.
>>
File: 1531249088897.jpg (3.51 MB, 4160x3120)
3.51 MB
3.51 MB JPG
>>1423175 improved because this one will sit flush in the holder. because i put the led on the wider side.
>>
File: IMG_20180524_003329.jpg (3.63 MB, 4160x3120)
3.63 MB
3.63 MB JPG
>>1423178
and tucked the wires out of the way.
Pic related is the first one I made.
>>
File: socket.jpg (242 KB, 2133x2161)
242 KB
242 KB JPG
>>1423180
>>
File: IMG_20180710_164256.jpg (3.4 MB, 4160x3120)
3.4 MB
3.4 MB JPG
>>1423181
Almost right. An amber led could make it perfect.
>>
I have an ads1015 and a chinese arduino nano.
the ads1015 is supposed to be able to sample at 3.3khz. But the max Im able to get is about 2khz.
I add the line
> TWBR = ((16000000 / 400000L) - 16) / 2;
to set the i2c speed to 400khz but the read/write combined takes about 300us. I had to add a delay of 200us to get it to not spit out garbage.
Anyone here can tell me how I can increase the sample rate of the ads1015. I modified the arduino playground lib so that theres a function to set the sample speed and the delay along with changing the delays to delaymicroseconds.
>>
>>1423173
>implying the norms of a bunch of dried-up boomers have any legitimacy

>>1423163
tbqh that seems like the best course

>>1423175
seems like you're generating quite a bit of heat in there, with the resistor glued to the LED, which isn't worth worrying over unless it's meant to come half-on when your headlights are on. other than that, decent

>>1423190
how are you setting the ADS1015 config register?
>>
found this, I think it was from a fan. How do i wire it? The capacitor seems to be already connected to it. I tried conecting the red and yellow to main but it went smoky and bang. Tried googling the part number and the company and I can't find anything.
>>
File: image.jpg (2.39 MB, 4032x3024)
2.39 MB
2.39 MB JPG
A couple (stupid) questions:

1) For a multimeter, the A plugs are the only ones that are fuses, right? Like if I have the red lead plugged into V and touch something pulling 20A, it won’t blow the 10A fuse, yes?

2) I forgot I had the lead plugged into the 500mA hole and touched a car battery and blew that white fuse. Looked around Home Depot and the only thing they had that looked real similar were these “Microwave Fuses” but were like 5A+. So I grabbed these quick-blow 500mA fuses but they’re only rated to 250V whereas the original 500mA fuse is rated to 1000V. Will it work fine until I get the OE replacements from the interwebs?

I figure it’s better to go with the 0.5A/250V than the 10A/1000V to replace the 0.5A/1000V.
>>
File: kat.jpg (2 KB, 100x125)
2 KB
2 KB JPG
>>1423220
Red to yellow resistance is 70-60 ohms
red to white is 100ohms or so
yellow to white is 10-20 ohms
>>
>>1423222
yes, as long as you don't exceed that 250V
>>
>>1423233
Cool. Working on the cars and household stuff, I probably won’t go above 250V. Plus it’s on the <500mA plug so I’m guessing that will be lighter stuff. I should order it before I forget. And if I go >250V on that plug, the worst thing is the fuse blows and I got a 5pk of those fuses for like $2 since they didn’t have singles.
>>
>>1423240
the fuse won't do anything if you go above 250V, it doesn't also blow at 250V, it just isn't guaranteed to actually blow at 500mA if you go above that; it's up to you to make sure you don't exceed that voltage
>>
>>1423247
Another dumb question: simple continuity test is a good way of testing a fuse, right? I was reading smth online about resistance and the continuity seemed easiest.
>>
>>1423220
>it went smoky and bang
probably won't matter which way you connect it now
black and white are line (hot) and neutral
>>
>>1423255
yup, continuity works fine
>>
>>1423256
so how do I wire it? connect black and white to the line and the other to the neutral? what about the other two? it's a single phase motor
>>
>>1423200
>how are you setting the ADS1015 config register?
I commented out the default setting of 1600 sps and added on the next line.
> config |= m_sps;
I have a function that sets m_sps and its an enum of the sample rate values.
>>
File: image.jpg (1.66 MB, 4032x3024)
1.66 MB
1.66 MB JPG
Another random question- why do these iPhone lightning cables crap out after 6mos or a year? Even the OE and $35 Tuff Cable do it. The end of this orange one reads ~4.8V just like a good white one so it has power.

I’m trying to play with the DC amp function. This was one of the cables that crapped out after some use but I was trying to get it to work a couple more times instead of destroying a good cable. Interesting part is it the meter reads 40mA after plugging it into the AC adapter, then reads 100-120mA after plugging it into the phone. But the phone doesn’t show the little lightning bolt.

There’s 3 smaller cables inside the lighning cables so would it be (+), then some data in the middle, then (-)?
>>
File: 1513393756728.jpg (381 KB, 1300x868)
381 KB
381 KB JPG
>>1423226
>>1423264
no, black to line and white to neutral
>>
>>1423183
Without a heatsink, the LED is going to burn out very quickly.
>>
TS-100 BTFO?
https://www.tindie.com/products/vlk/rt-soldering-pen/
>>
File: IMG_20180710_233440866.jpg (1.88 MB, 4160x3120)
1.88 MB
1.88 MB JPG
how much could I reasonably expect to sell this fat piece of shit for? I've had it for about 9 months now and have had about as much as I can take of it. Everything works perfectly, I put in a new NVRAM chip, and it'd come with two HP 10M probes.
>>
>>1423399
Doesn't come with a case? Or do you just use it like that with no strain relief?

Are 3.5mm weller tips common/good?
>>
>>1423401
eBay's prices for working ones in decent condition seem to be around $100-$200.
Not too sure whether the pricing is based on the idea that anyone wanting that scope is a collector and thus willing to pay, or that anyone wanting that scope is a retard who can't read the manual.
>>
File: 1517602693278.jpg (302 KB, 3382x1964)
302 KB
302 KB JPG
>>1423408
RT series tips look like they're god-tier for fine SMT work (options include 0.4mm chisel, 0.1mm conical, 0.2mm needle) and the "tip" includes a grip. about $20-30 per so a bit spendy, but if you work with 0201s it's probably good/necessary shit
>>
File: IMG_20180711_000530.jpg (3.88 MB, 4160x3120)
3.88 MB
3.88 MB JPG
>>1423200
>>1423371

It not ideal but should be ok. The light is only used when indicating. The resistor is more a heat soak if anything. The resistor runs about 1.2w but its only on half the time so .6w of heat generated on average. Then blinkers are on for maybe a minute at a time at most. The total power is about 300ma on 13 volts or so. If anyone is really interested i can measure the exact values.

Even if the leds would last 10 hours its more than enough for many years of driving.
>>
>>1423432
Probably more of the latter, given that the slightly higher end/newer HP models of that era routinely go for $400+. Would I be better off selling off the scope and keeping the probes for when I get an actual decent, new DSO?
>>
>>1423335
by black you mean gray right? because the black wire is connected to the capacitor and it goes straight into the engine. pls no bully I'm retarded
>>
>>1423222
Glass fuses won't extinguish any arcing and can spall the filament everywhere if they explode. Nevermind the shrapnel if anything escapes the casing. They use sand-filled ceramic fuses for a reason.
>I figure it’s better to go with the 0.5A/250V
Marginally, given it's the wrong type of fuse for the application.
>than the 10A/1000V
May as well be sticking a steel rod into the fuse holder and calling it a day.
>>
>>1423438
Then what's the go-to tip series for larger stuff

We really need a /ohm/ tip spreadsheet.
>>
>>1423439
oh, the wing light. you'll be fine

>>1423445
Hakko 900-M, my dude. cheap, ubiquitous, widely cloned, and still useful for SMT. you can do 0402s with them, if you also bring flux, tweezers, patience, and swearing
>>
>>1423447
Those 3.5mm tips are probably so expensive because each one has a heater and thermocouple inside, so it isn't really surprising.

It doesn't look too easy to homebrew a chassis to hold those Hakko elements.
>>
>>1423443
well aparently the correct connection was red->live white and yellow neutral. but it got angry on the last test and burnt out.
>>
I have this old roland electrical piano which works fine with headphones but when playing through the speakers everything seems fine except for the right speaker. The right speaker seems to have 3 states, sometimes there is nothing, not even on the scope, sometimes it is acting normal and sometimes it sounds like there is some sort of resonation happening, it almost sounds like there is a resonating pile of coins on top of the piano but with all frequenties. I think this might just be a shitty cap because this piano is really old. Does anybody know of a way to check caps without desoldering them. Just by looking at signals when playing on the piano. I have a good digital oscilloscope and a multimeter.
>>
File: IMG_20180711_134509.jpg (1.76 MB, 4640x2610)
1.76 MB
1.76 MB JPG
>>1423478
Forgot pic
>>
File: New Doc 2018-07-11.jpg (139 KB, 3348x2112)
139 KB
139 KB JPG
Hello, I want to make a circuit that turns a relay off when the thermistor gets too hot, and remains off until I turn it on again. Could pic related work?
>>
File: 20171026_100929.jpg (1.23 MB, 2048x1232)
1.23 MB
1.23 MB JPG
Might as well show off my brake light I prepared earlier.
>>
>>1423478
I'd say you have a bad contact somewhere.
>>
>>1423479
>>1423478
Swap your left speaker to the right speaker channel. See if the problem follows. If you have an oscilloscope, stop wasting your time trying to eyeball the fault and do some actual troubleshooting by tracing the signal chain from the output of the signal generators through the amp. See where the fault manifests, test the components within that block. What are you even doing with diagnostic equipment if you are not prepared to use it?
>>
when discharging 18650s with a 10ohm resistor, should i measure the voltage under load and consider the battery discharged when it is 3.0V, or does the voltage need to be 3.0V after the load is removed? this is not clear to me because voltage always slowly rises to some level when the load is removed
>>
is it possible to connect several smps in parallel to have higher currents? I'm thinking about some sort of active current balancing with opamps and transistors but having sources or terms to google would help.
>>
>>1423553
Yes, and it is a common way to build high-current switchers. It is normally done with switchers specifically designed to be paralleled, with synchronized clocks and whatever is needed to make it work well.
You could google multiphase (parallelable) switchers.
>>
File: Capture.jpg (27 KB, 444x320)
27 KB
27 KB JPG
>>1422248
Tube pedal anon here. I'm back with tube voltages.
Nothing changes when the volume drops. The hair dryer trick works really well though.
I guess it's time to see if my scope works?
>>
File: 20180711_171202.jpg (618 KB, 2048x1152)
618 KB
618 KB JPG
Ay what up /diy/, /o/tist here.
I don't frequent diy as much as I should but I have a question.Tl;dr of situation:
>gf uses my motorcycle for a day
>full of bugs, she goes to her dad's house on the way back and washes it with a pressure washer
>tells me she washed it with a pressure washer and thanks me for use
>day after, headlight goes out at random times
>burning plastic smell
>think the bulb is fucked, go to replace
>connector looks like this
I'lI post a few other pics, it looks like it shorted out. It now doesn't work at all. I'lI be changing the bulb anyway but what would be the best option for addressing this? The bulb is a H4 if that matters. Will cutting the wires back a bit and buying a new connector suffice? How do I weatherproof connectors like this, if possible at all?
>>
File: 20180711_171206.jpg (588 KB, 2048x1152)
588 KB
588 KB JPG
>>1423581
>>
File: 20180711_171157.jpg (597 KB, 2048x1152)
597 KB
597 KB JPG
>>1423582
>>
File: 20180711_171144.jpg (667 KB, 2048x1152)
667 KB
667 KB JPG
>>1423583
Last pic. I think I covered all sides of the connector now
>>
>>1423516
bump, help a brainlet out
>>
>>1423486

yeah, looks alright. if you use the common 339 comparator or something from the same family, it needs a pull-up resistor on the output. also, you probably wanna have a trimmer pot to adjust the trip point.
>>
>>1423560
Nothing beats a scope. Excellent log btw.
>>
>>1423581

the water caused oxidation on the contacts, which meant their resistance went up, which caused heat to be dissipated at the contact point, which melted the plastic connector.

you could pull out the contacts and sand them back to clean metal as a temporary measure, but replacing the connector should be the ultimate goal.

as for weather-proofing, there's a million things including melted wax.
>>
>>1423581
You go down to your local auto parts store and buy whatever three conductor connector set strikes your fancy and use that.

>just take the wires back
That would depend if the wires are long enough to do it. You should inspect them and check voltages and resistance in your whole electric system. But if probably just got unlucky there
>>
>>1423610
thanks man. I have the 393 here at hand, or some normal op amps
>>
>>1423450
well, no. but you can pick up Hakko elements and handles for dirt cheap and control them as you like

>>1423560
ah, good thx. heater voltages look alright
>tube 2, pin 6, 129V
huh? that should be connected directly to V+ which should be 180 or so, unless the schematic lies. check for shorts, goop, other physical degradation in the vicinity of V2? trace and ensure that plate really is meant to go to the same V+ as everything else? or maybe it changed while you were measuring?

>>1423621
consider a D flip-flop with preset/clear as you can buy them in solo packages
>>
>>1423687
Oh, right.. I just didn't number the tubes correctly. Just gave them a number without thinking much of it..
>>
>>1423716
you need to be more careful about that, anon
anyway I think the two halves of V2 are swapped on the schematic. in that case, the "Tube 1" voltage readings make some sense
so you've got the hair dryer, can you narrow it down to a part of the circuit that is most responsive to heating? after finding the general area of the board, you could make a foil cone with ~1.5cm opening at the small end and attach it over the end of your hair dryer to pinpoint the problem component
>>
File: R14kkDj.jpg (35 KB, 657x527)
35 KB
35 KB JPG
>>1423738
>you need to be more careful about that, anon
Sorry. I'm trying my best.
I did consider your method but I'm going to see if I can do it with my scope. It's an old Meguro. I've had it for more than a decade but only just tried firing it up now. The test signal isn't perfect, so I guess the probe is a bit out of whack. Shouldn't matter for this I guess.
>>
I was playing around with the idea of using a CD4017 IC to control my variable transistor base drive circuit. (>>1421397)

Pic related shows the general idea.
I realized a precise constant current sink can be formed with just a single op-amp, NPN transistor and a resistor. It could be used to control the base current (I_load) of the high power PNP. Then I could use a logic counter IC + resistor divider to form the reference voltage (U_adj) for the current sink.
>>
>>1423687
nah, I have a billion bjts and fets here. no need to be a buy fag when I can make one with two transistors
>>
>>1423746
You have invented a rather clumsy DAC.
If you want to retain the same basic idea, you could replace the 4017 with a small binary counter like 74hc161 and the diodes and resistors with an R-2R ladder or a bunch of binary-weighted resistors.
https://en.wikipedia.org/wiki/Resistor_ladder
>>
how do I find out what specs a thermistor has? It's a green turd with NTC 500-11 written on it. I know what NTC is but can't find any datasheets or manufacturer. it's about 16C here and it measures 100 ohms
>>
File: Stare.jpg (10 KB, 325x244)
10 KB
10 KB JPG
Could somebody please point me to site or something where i could find newer version of SEE Electrical?? I've been looking everywhere without any luck.
>>
>>1423761
Buy it or use the student version.
>>
>>1423746
if you need precision, consider a MOSFET whose basically zero gate current won't confound your current measurement

>>1423744
I know you really want to use that scope, but waveforms aren't going to tell you much of anything. a heat source and your ears would be the correct tool for troubleshooting heat-related problems

>>1423750
I think we did this circuit a few threads ago. why not just force the comparator to the desired fault state by pulling one of the inputs to ground or Vcc thru a diode or transistor?

>>1423756
you could calibrate it in an ice bath or boiling water
>>
>>1423756
NTC's nominal value is measured at 25C. If you measure the resistance at two different temperatures, you can calculate both the nominal value and the beta value from those.
https://en.wikipedia.org/wiki/Thermistor#B_or_%CE%B2_parameter_equation

The results will differ from the datasheet's values if you pick significantly different temperatures than the manufacturer.
>>
File: 1fe.png (59 KB, 658x662)
59 KB
59 KB PNG
>>1423774
>waveforms aren't going to tell you much of anything
But I thought this was how audio guys did things. Follow the signal through the circuit.
>>
File: 1513802651510.jpg (72 KB, 1920x1080)
72 KB
72 KB JPG
>>1423787
you certainly could do that, but if you're still going to need to heat the thing and supply an input signal to get it to malfunction... just how many hands have you got anyway?
>>
>>1423774
I don't understand what do you mean. That won't have hysterisis, will it?
>>
File: FIOJC9DI1C460L7.LARGE.jpg (17 KB, 537x253)
17 KB
17 KB JPG
I've used this circuit to fade an LED on and off.
I noticed it's essentially rising and falling in a sine wave pattern.

I thought I might be able to use it as a synthesizer, but when I replace the LED with a capacitor and speaker, it produces no sound.
Am I mistaken in how this works, or am I just not setting the circuit up correctly to generate audio?
>>
File: IMG_20180712_003811.jpg (1.59 MB, 1840x3264)
1.59 MB
1.59 MB JPG
>>1423789
I'm hoping the hold function on pic related will do the trick for the signal. A good blast with the hair dryer and I should be good for at least 5-10 minutes.
I'm finally going to make daddy proud. You'll see.
>>
>>1423802
the signal wouldnt be a sine wave, it would be an approximated triangular wave, and if you can see the fading, it is too low frequency for your ears to perceive it as audio
>>
When using a coupling capacitor, will a larger value result in a weaker signal?

I'm RGB modding a tv and the image is too bright.

On each input line (R,G, B) there is a 75ohm resistor tied into the ground, then a .1uf coupling capacitor (in line). I'm trying to figure out if say a .2uf coupling capacitor will make the image darker.
>>
>>1423822
Dont know about video, but impedance increases with smaller capacitors. So smaller caps => smaller signal.
>>
>>1423825

OK, so it sounds like I may actually need smaller caps than .1uf. Thanks.
>>
>>1423826
Also you should know that a cap and resistor create an RC filter which attenuates different parts of the signal differently depending on their frequency
>>
>>1423443
>by black you mean gray right?
yes - gray, red, and yellow are speed taps
white is neutral
white to neutral and ONE of the speed taps to hot
>it's off a 3 speed fan
>>
File: 1514438304271.png (9 KB, 727x610)
9 KB
9 KB PNG
>>1423794
sort of. Pic related effectively turns off the pullup on the - input once the pulldown is turned on by the + input exceeding the - input, ensuring the + input always exceeds the - input and the output therefore stays pulled low until the button is pushed. you might be able to merge R1+R2 into R4+wire depending on how much current your transistor wants, hence the MOSFET

>>1423804
bretty gud, never thought of that

>>1423822
better to add some resistance to ground after the cap, or add some resistance inline. TVs use signal level references embedded in the composite signal which you appear to have bypassed, and you might want to reverse-engineer it a bit more to either bypass the AGC properly or push your green signal into it to provide that reference
>>
>>1423868
>better to add some resistance to ground after the cap, or add some resistance inline. TVs use signal level references embedded in the composite signal which you appear to have bypassed, and you might want to reverse-engineer it a bit more to either bypass the AGC properly or push your green signal into it to provide that reference

Sorry, I didn't detail the whole mod, the sync line ties into the tv's composite or a luma input, this sets the tv to the proper level, the RGB all tie into the tv's jungle chip, basically it uses the on screen menu to inject rgb into the set. If you're interested google rgb tv mod and it's the one over on the shmups.system11.org forum.

This damn image is still way too bright though, I need to do some more research.
>>
>>1423190
Bumping this question. I cant really find any examples of how to use the ads1015 besides the terrible adafruit one. I figured this would be a common adc and have decent documentation but Im really struggling. Has anyone used this or one of the ads10xx?
>>
Does anyone know how hard it would be for someone to 1.) monitor RPM with an arduino 2.) log the RPM at regular intervals and 3.) store the logged data with a time stamp on an SD card?

I already have a sensor set up that counts RPM so this is mainly a coding thing I think, unfortunately I have little experience with arduino, I can make a light blink and that's just about it

How hard would it be for me to learn the skills needed to do this from the ground up?
>>
>>1423401
I have one in my basement, Am giving it to a friend who doesn't have a scope. The 10 MSPS is quite shit, but it's better than nothing. I thought about selling it, but I wasn't keen on changing the NVRAM and line filter as I have another, perfectly fine working scope with better specs.

I still think I'll be somewhat sad to see it go, I love the big screen and the measurements it provided are real nice, providing statistics etc.
>>
>>1423265
are you running in continuous-conversion mode? if not, you probably should be
is there anything else on your I2C bus that might be slowing it down?

>>1424019
could you just throw together some code that talks I2C directly to it? the protocol looks pretty simple: to set up, I2C write a 1 byte followed by the config register contents establishing continuous conversion. then, to read, I2C write a 0 byte, I2C read two bytes of data, and it doesn't look like they even need to be in the same transaction

>>1424052
look up the SD library, which has a datalogger example
then, if you need interval support, check out the SimpleTimer library
>>
I was thinking it would be pretty easy to have an MP3 player that is just a microcontroller and a USB slot such that you can plug any USB flash-drive into it and play the music off it, with a small low-res display for folder navigation. Build it into a single-cell power-bank housing and you'd have a pretty compact device. Thoughts?

I've not messed around with playing files from a microcontroller, but how hard would it be to have it work on all the common USB formats and all the common audio formats?
>>
>>1424060

you wanna recreate a gadget they now sell in dollar stores for about $3? surely there are more worthy projects just waiting for someone to realize them.
>>
>>1424060
>all
that's not a question
look up Rockbox and stop fantasizing
>>
File: 20171026_101707.jpg (1.18 MB, 2048x1232)
1.18 MB
1.18 MB JPG
>>1423491
slow day at the office
>>
File: 20171026_104636.jpg (743 KB, 2048x1232)
743 KB
743 KB JPG
>>1424108
Shine
>>
>>1423516
please, anyone?
>>
I have some old Li+ batteries that are working just fine...Can I wire them together and make a power bank? What should I be concerned about?
>>
>>1424168
Idk. Why are you doing this? I would just go with worst case scenario, so under load.
>>
>>1424183
>Can I wire them together and make a power bank? What should I be concerned about?
sure

try to use the same size/brand/model cells in a single bank
>>
>>1423516
Whether intermittent test load or continuous test load is more representative depends on the intended end use. Either way, you measure the voltage when the load is still connected.
>>
So I got chinked, and I might be retarded but how the fuck do I connect wires to these banana plugs? the screws are hollow inside but I don't think I'm suposed to solder stuff in there.
>>
File: IMG_20180712_110921.jpg (313 KB, 464x348)
313 KB
313 KB JPG
>>1424210

and of course my image
>>
>>1424189
Forgot to mention they are the phone batteries with protection circuits, does that change anything?
>>
>>1424210
>>1424211
solder it anyway
>>
>>1424113
Looks great. Are those some pre-built LED modules? What are the specifications?
>>
File: 20171026_100417.jpg (277 KB, 2048x1232)
277 KB
277 KB JPG
>>1424284
xcuse me
>>
>>1423560
>>1423868
Things aren't going so well.. Now it's fugged all the time. Trying to figure out things with my scope but it would probably help to know more about how the circuit works.
I'm getting a decent signal right before r34 but after I can't see anything. Output of u4a looks ok though. So does the output of u4b. Haven't gotten any further yet.
>>
>>1424186
>>1424191
thanks for the answers, i need to measure the capacity without an advanced charger with the built-in discharge function, hence i need to know the point at which to unplug the resistor
>>
why do stereo/surround sound audio systems sometimes require you to connect the speakers by coiling together the positive and negative copper wires and then putting them through a mechanism that clips them in? it's difficult to connect them in such a way that the signal is clear and if you move the wire just a little bit, it might make something loose and the signal is not 100%.

this is so inconvenient. why don't companies just put connectors on the speaker wires so you can simply plug them in without any loose connection issues?
>>
found the remains of a old tube tv, transformers were taken and valves smashed but I got the main board. Can someone tell me what the fuck is this thing with a hose coming out of it?
>>
File: bazingo.jpg (494 KB, 927x695)
494 KB
494 KB JPG
>>1424447
Fuck my image.
>>
>>1424449
Ah, just found out that is a flyback transformer. Nice. I don't think the driver is there tho.
>>
File: apu.jpg (68 KB, 1000x712)
68 KB
68 KB JPG
>>1423560
>>1424407
I did it guys. Turns out it was the optocoupler (R38, like audio-anon mentioned). Or at least assume it is, because I'm getting a nice big signal before and a tiny one after. On the clean channel the signal is lower as well, but not a whole lot.
>>
>>1424429
Because you can easily trim that type of wire. Easier than having to buy special fittings and a tool to crimp them every time you decide you want to rearrange your living room.
>>
>>1424547

I'd honestly rather just be given a long wire and then roll up the wire to the desired length.

is that the only reason?
>>
>>1424449
if you don't understand what that hose is or what it does you should absolutely stay the fuck away from it.
it can and will bite you
>>
>>1424554
But then you have 6 giant coils of wire hanging off the back of the receiver because Sony doesn’t know if you’re trying to set it up in your backyard or tar paper shack.

What’s so difficult? I always fold the bare end of the wire over itself (I think my dad taught me that trick) and stick it in the little spring holder deal and I have never had a problem with a loose connection causing shitty sound.

Don’t fix what ain’t broken. Don’t be German and overcomplicate shit just so you can sell extra specialty tools to maintain it. Pic related, goddamn Germans.
>>
File: 1523979274657.jpg (49 KB, 679x679)
49 KB
49 KB JPG
>>1424554
you are always free to crimp ferrules onto the ends of wires if you're so triggered about it

>>1424542
cheers, the scope found what the voltmeter could not
you might try removing the D27 half of the opto from the circuit (or tack a shorting wire across it, if that's easier) and seeing if the signal stays good. but I'm kinda suspecting the logic that drives it might be to blame, esp since I don't see a +5V supply source on the schematic anywhere and who knows how they're generating it

>>1424423
I suggest to stop at the first drop below 3V. some people discharge to first drop below 2.8V but you start to eat into the capacity below 3V
>>
>>1423438
>>1423399
I use the real deal at work and they are absolutely THE best for surface mount work when paired with their tweezers
>>
>>1424542
>>1424614
oops, derp, light makes the resistance smaller
you're right, probably time to just replace the optocouplers, if you don't want to remove the LED half from the circuit and give it 10mA in the right polarity with a resistor
>>
>>1424293
Hi Clive.
>>
File: ohm challenges.png (150 KB, 1920x1080)
150 KB
150 KB PNG
>>
>>1424554
Higher end stereos have banana jack posts for you to either screw the wire onto, or you can crimp a banana jack onto it and jam it in
>>
>>1424747

maybe in the good old days. the fashion today is to use custom jacks and plugs, so that you wont be able to connect 100W speakers to a 120W receiver, even from the same manufacturer. and to lock you into buying their brand.
>>
>>1424792
>speakers and receiver from the same maker
Does not sound very high-end to me.
>>
https://www.aliexpress.com/item/microscope-to-find-my-benis/32884635847.html
is it garbage? should I spend the extra $40 on the famous ANDONSTAR 201?
>>
Anyone know a relay logic circut that shuts itself down?
>>
>>1424809
Like on a delay? Should be easy, just make yourself a truth table.
>>
>>1424811
on a codition. I'm too stupid to understand feedback and hysterisis. Like a circuit that cuts it's own power.
>>
File: 1521915118287.png (7 KB, 450x689)
7 KB
7 KB PNG
>>1424812
determining the condition is up to you
>>
>>1424813
>>1424812
also feel free to add extra sets of contacts to the relays to control whatever thing it is you're trying to control, these are just the logic elements
>>
File: Capture3.jpg (65 KB, 572x666)
65 KB
65 KB JPG
>>1424614
>esp since I don't see a +5V supply source on the schematic anywhere
Yeah, the schematic isn't perfect. Someone mentioned that it was for a prototype of the pedal. There's a 7805.
I'm going to need some more help though. Honestly I don't understand how this optocoupler stuff works, nor the switching stuff. With the diode test function on my multimeter I'm getting 1.55V across both LEDs, which seems fine. When the pedal is on I'm measuring 4,998V at the anode of both LEDs, so that's obviously fine as well. But then I've got 3,5V at the cathode of D6, and 0 at D27?
>>
>>1424909
>I've got 3,5V at the cathode of D6, and 0 at D27?

so, D6 is off and D27 is on. it's certainly possible to have them at diff states depending on the position of switch S1.
>>
Can I connect my car speaker wires to an RCA to 3.5mm adapter and then just plug in an mp3 player? Would it work?
>>
>>1424996
I've got 0V on that no matter what positions the switches are in.
>>
>>1424813
>>1424814

thanks my man, the logic part is all I needed. What software you used to draw that btw?
>>
File: 20171122_131806.jpg (1.75 MB, 2592x1944)
1.75 MB
1.75 MB JPG
>>1424293
>>1424108
Im not the clive you seek.
>>
File: 20171011_135522.jpg (1.18 MB, 1232x2048)
1.18 MB
1.18 MB JPG
>>1425017
But boy do I love lights
>>
File: IMG_20180624_183952.jpg (635 KB, 1534x1311)
635 KB
635 KB JPG
>>1425018
And customizing them in any way possible.
>>
>>1424407
looks good anon, just a couple signals away from absolute zero
>>
>>1425035
Tfw I don't know what that's supposed to mean.
>>
File: IMG_20180624_142423.jpg (1.38 MB, 4160x3120)
1.38 MB
1.38 MB JPG
>>1425020
dont it look funky
>>
>>1425015
KiCAD

>>1425011
when in the gain mode, what voltage across D27? how about R56?
if D27 and R56 have appreciable current through them while R38 is high-resistance, that LDR is definitely bad
if D27 and R56 have appreciable current through them whether in clean or lead mode, Q12 or whatever's feeding it is bad, in which case measure the gate and drain of Q12 in both clean and lead modes
>>
Building my collection of electronics components. What should I get? I already have plenty of ICs (the only thing I think I might need more of are 555 timers). Right now, the only thing I already know I want are some infrared LEDs (to make a TV remote).

All suggestions accepted.
>>
>>1425242
0402 SMD passives
>>
>>1425243
wtf is that

I am very new to electronics
>>
>>1425250
only kidding. if you're new you probably don't yet have the gear to deal in small surface-mounted devices
the usual and very good advice is to buy the stuff you'll need for what you expect to make. plan out a couple or three projects ahead, perhaps based on designs you see online that look manageable. instead of buying to build one, buy around ten of each item to build up your stock
for an IR remote type of thing, in addition to the IREDs, you'll probably want some microcontrollers, probably on a dev board like arduino/bluepill/D1-mini
if you're at all serious about the hobby, you'll probably want a good selection of "jellybeans", common components that you'll use in just about everything you build. you'd probably want a variety of 1/4W resistors (10 per value), a variety of ceramic caps (5-10 per value), a selection of electrolytic caps (5-10 or so per value <100µF, a couple each of bigger ones), ten or so each of the dozen or so most common transistors and MOSFETs, 10-20 each of a few different colors of LEDs, some LM358 op amps, maaaybe some DIP sockets for ICs you plan to use. aliexpress has a wide variety of component assortments that are suitable for a growing workbench
don't neglect tooling. if you don't have a good power supply, consider getting a 12V supply plus those little step-up and step-down converter boards that are literally all over aliexpress. they're not exactly a bench power supply, but they're usable and convenient
>>
>>1423156
Hello, I'm /g/, but /g/ is for consumerism not for technology.

How do I tell if a cable is sufficient enough to not burn my house? Like for example 20 to 24 atx adapter from China. It's not a "standard" part and it's hard to get, and /g/ is afraid of everything that doesn't have a big brand name slapped on it.

Also I have >FSPXXX-5DD01 pico-psu, but I know only that it's for 12v laptop adapter, but I can't figure out what wattage total it accepts (missing amperage). Finally, how do I figure out what (laptop) power supply won't fry it? I mean, these come only as - o +, right? so it's just jack size and amperage?

Sorry for a rambling post. I'm building a really small build and also I'm from a third world country, better stuff isn't sold here.
>>
>>1425426
the wires should have a gauge ("AWG") printed on them. refer to any online AWG current rating chart for the max current through any cable. their values are pretty conservative.

not all laptop bricks give 12v and you do need to check the polarity of the jack. it'll say so on the brick. you don't have to worry about it frying your board (unless the board wants to fry).

you're not likely to find a power rating for your supply.
>>
>>1425426
laptop PSUs vary widely in voltage. I haven't seen one yet that's only 12V, usually it's higher so it can fully charge 3 lithium-ion batteries in series with plenty of headroom. also, some laptop PSUs are "smart" and expect to communicate with the laptop, and won't give full power until they do (Dell...)
if you can get them, you might be better off using the power supplies intended for those LED strips, which are usually 12V @ lots of amperes. they're usually cheaper per watt than new laptop power supplies. I use one to power my workbench, my lighting, the fans in my server closet, ...
>>
>>1425433
How can I check polarity of the psu that is inside the computer the FSPXXX-5DD01? (so of the board that the jack goes into).

>it'll say so on the brick
I got the psu without any brick to supply it. I'm considering asking someone with more experience to solder a Chinese 12v "led" power supply to a jack and a power cable (make a laptop brick for me) but first I need to figure out polarity and max wattage of that board.

>the wires should have a gauge ("AWG") printed on them
Aliexpress doesn't provide details on stuff and if they do, then sellers would lie anyways.
>>
>>1425426
>How do I tell if a cable is sufficient enough to not burn my house?

it's actually super duper simple: you plug it in, let it run normally for 5 mins and grab it. is it cold, barely warm, slightly warm, warm, hot, too hot to hold? anything but the last two is acceptable.

>how do I figure out what (laptop) power supply won't fry it?

it's rated 12V so you apply 12V exactly, and it'll work.
current rating on the power supply just has to be able to deliver the needed watts. it doesnt matter if the amp rating is high. the computer will only take as much as it needs.
>>
>>1425441
>current rating on the power supply just has to be able to deliver the needed watts. it doesnt matter if the amp rating is high. the computer will only take as much as it needs.

So if I'll have a 12v20a power supply custom made for that pico-psu, it'll draw only as much as it needs from that laptop brick?

Finally, how do I figure out what polarity the psu has? It's not written anywhere on the PCB.
>>
>>1425438
>a Chinese 12v "led" power supply

bad idea. they're not designed to be particularly clean like a computer power supply. i regularly find 12V supplies at the thrift store from various gadgets at high amperages, most often Xbox power bricks. they cost around $5.

for polarity, almost everything is now standardized as PLUS on the center pin, MINUS on outer shell.
>>
>>1425446
>it'll draw only as much as it needs from that laptop brick?

that's the way all power supplies work. dunno why noobs think otherwise, coz it seems so logical.
>>
File: seNT9.jpg (29 KB, 709x205)
29 KB
29 KB JPG
I'm confused, I'm new to electronics and I'm using a tantalum capacitor for the first time. I thought the marking meant negative? It even has a K next to the strip, it exploded into flames as soon as I powered the circuit. Can I get a quick rundown?
>>
>>1425451

yeah, tantalums are the exception. they made 'em specifically backwards to fuck with noobs.
>>
>>1425447
>i regularly find 12V supplies at the thrift store from various gadgets at high amperages, most often Xbox power bricks. they cost around $5.
I'm from a third world country. They wouldn't cost $5 and if they did it's still a lot of money. I'm already worried if the money I invested in that psu and small desktop computer parts isn't too much if there's a risk I might burn everything.

>>1425448
I'm worried that the draw from computer components might exceed the capability of the psu while the brick will be happy to deliver, resulting in fireworks.
>>
>>1425454
Would they explode on a 5v circuit (the one was 12v) or just not work? If it was working fine for an hour, would it eventually explode?
>>
>>1425456

you cant predict catastrophic failure. it will eventually leak, or break apart, or explode depending on many factors.
>>
>>1425455
>draw from computer components might exceed the capability of the psu

a properly designed circuit will do one of two things (1) put out the max current it can and no more, meaning the computer will fail to operate but everything will survive, or (2) shut down the power to the computer, and everything survives.

what a bad design will do is, of course, unknown.

you have to have balls to do this kind of work, or pay someone else to do it for you.
>>
>>1425446
it looks like the largest 5DD01 is 150W, so a 20A supply should be ample
"LED" supplies should be fine imho, especially if over-rated by 50%, and your mains power is clean. according to https://www.fspgroupusa.com/2013%20Industry%20Catalogue_V1.pdf it looks like the board reprocesses almost every voltage, and the 12V that passes thru gets reprocessed by the CPU power supply on the motherboard anyway
or, wait until you can accumulate $20 US and find a mains-powered supply that's a little less questionable
>>
I was reading all the posts carefully.

>>1425461
Thank you for you explanation.


>>1425460
>what a bad design will do is, of course, unknown.
It certainly can power a computer but I don't know how to judge a design quality. I just hope that if I'll connect one of the new less power hungry motherboards and cpus, It will not exceed the 120-150w.

I seen on youtube that there are small pico-psus power supplies that seem more reliable but these are not sold here and importing would probably be very very expensive adding postage and import tax and risk of it never arriving.
>>
>>1425466
you should get a hobby you can afford. what do the other third worlders do?
>>
>>1425457
Let me ask you this. If it was reversed, would the circuit still work?
>>
>>1425471

depends on the application. some caps are simply added to stabilize a voltage and are there JUST IN CASE they're needed. on the other hand, some have critical functions and the fact that the capacity is different depending on polarity, would make the circuit mis-behave a little or a lot.
>>
>>1425478
If it's the only capacitor on the board and it's reversed, I don't understand how it hasn't popped yet or how the circuit is working. It runs from 5v > 300ohm resistor then to the rest of the simple circuit.
>>
>>1425482
Wouldn't the circuit short and stop functioning once the 5v goes through the incorrect polarity capactior, thanks for your help.
>>
>>1425482
triple post fail

5v directly to 300ohm resistor directly to reversed polarity tantulum then to tl;dr video signals. Circuit seems to work fine?
>>
>>1425236
>when in the gain mode, what voltage across D27? how about R56?
I can't measure anything across either. Same goes for the clean channel ones though.
>measure the gate and drain of Q12 in both clean and lead modes
Seems like the schematic has drain and source swapped..? Drain is connected to ground. I've got 0V on source in both on and off state. Around 1V on the gate when on, and 9,8V when off.
>>
>>1425484

it sounds like the cap is being used as a bypass capacitor. here is definition according to google:
"The bypass capacitor is a capacitor that shorts AC signals to the ground in a way that any AC noise that's present on a DC signal is removed producing a much cleaner and pure DC signal."

so it's likely present in case the 5V supply is noisy. if the one you have is clean, then it's not needed and the circuit will work fine without it, or with it backwards. the other possibility is that the cap is not tantalum, and so it's polarity is correct.
>>
>>1425482
>If it's the only capacitor on the board and it's reversed, I don't understand how it hasn't popped yet or how the circuit is working.
low voltage through a resistor may have reformed it to suit polarity.
>>
File: Untitled.jpg (333 KB, 1591x666)
333 KB
333 KB JPG
>>
>>1425835
just use lead. metallurgists btfo.
>>
>>1425541
sources and drains are usually interchangeable on a JFET. also, the convention for current flow was established before we figured out electrons actually move in the opposite direction
my mistake, I meant D27 and R72
hmm, so Q12 isn't actually turning on? try shorting the drain and source (that area's all low power and high impedance, nothing will break if you do it right). if Q12 is bad, you get signal from the gain channel (is it mixed with the clean channel?) when this is shorted

>>1425840
>mmmm, paint grayons
>>
>>1425862
>hmm, so Q12 isn't actually turning on? try shorting the drain and source
Nothing changes when I do that, so I guess that rules out everything but the optocoupler? Was hoping it was something in the switching circuit, as axial optocouplers are apparently going out of style.
>>
>>1425889
to confirm, you could test the part out of the circuit (take care to mark polarity first). you'd need an ohmmeter on the highest setting (20Mohm?) and some way of lighting the LED (a 1k resistor and a 12V power supply, or a 750 ohm resistor and a 9V "transistor" battery). with no power, resistance should be well into the megohms (maybe higher than your meter can read). apply power, see if the resistance drops by a lot. if not, try reversing the power to the LED. if still no action, that's confirmation. if there is action, note resistances reinstall and there's still hunting to do
>>
I sketched this current limiter circuit for LEDs from a BD 136 power transistor, bunch of BC 547/-557, resistors and one diode.
I built a lower-current version of it on breadboard and it seems to work; it is short-circuit proof and the red LED lights up (and stays lit) whenever the transistors start to limit the load current.

How should I use the "Thyristor circuit" formed by Q201/Q202 to also switch off the main power transistor Q204?
>>
>>1426056
you could just stop pulling R215 down and thus shut the pass transistor off. not sure whether R216/Q206 would defeat it by feeding Q204's base from the output and keeping Q204 on
>>
>>1425835
Out of curiosity, has anyone here ever had troubles with tin pest? As far as I know it should be bloody rare, provided you're not using electronics in a deep freeze, in which case you should be using parts designed for such temperatures.
>>
>>1425426
Usually don't need a 20 to 24 pin cable, just leave the +4 empty, modern mobos don't really need it.
>>
>>1426056
You only need to change a single connection.
>>
what multimeter would you recommend for a complete beginner?
is there a difference between the 10€ ones and the more expensive ones?
i have a soldering iron already, should i get anything else?
>>
>>1426135
>what multimeter would you recommend for a complete beginner?
the aneng meter is highly regarded here but i haven't used it

>is there a difference between the 10€ ones and the more expensive ones?
yes but everything under $100 is garbage in its own way so there's no point in spending $50 rather than $10.

>i have a soldering iron already, should i get anything else?
a cheap power supply, hopefully with current limiting. you should only buy an oscilloscope, hot air gun, or usb microscope when you decide you need them. there's a lot of cheap odds and ends like tweezers or heat shrink that i can't be bothered to list.
>>
>>1426135
From somebody like 1 step ahead of you in attempting to learn what those things do, even the $10 ones give you a ton of the same readings and are accurate enough. I do like having the “Auto Ranging” feature which you can get on a lot of $20-$30 meters but not on the $10 ones. Also the backlight is nice if you’re working in the dark.

Pic related is auto ranging and super popular on Amazon. I have seen a couple anons with them and they never complain about them not wirking.
>>
>>1426141
>yes but everything under $100 is garbage in its own way so there's no point in spending $50 rather than $10.

this is just wrong. a $70 dollar meter is the same as a $10 dollar meter? Some other clown might as well chime in and say everything under $1000 is garbage in some way.
>>
>>1426141
>you should only buy an oscilloscope, hot air gun, or usb microscope when you decide you need them.

Anyone working with analog electronics should buy a scope as soon as they can afford one, whether they realize that they "need" one or not. Once they have used one, they will realize that they needed one.

I agree about the hot air gun and microscope; those are tools that lots of people will never need.
>>
>>1426147
autoranging, continuity testing, etc on "mid market" meters is universally terrible so what are you getting? a thermocouple? a voltage detector? fuck me if i'm paying $50 for that. i own a $60 extech and i'd just as soon grab my harbor freight special.

>>1426150
you're right, i just worry about telling someone brand new to spend good money on something that they might lose interest in a few months from now.
>>
>>1426155
>autoranging, continuity testing, etc on "mid market" meters is universally terrible
Werks for me :^)
Could be faster ofc, but would I rather not have these things? Nah.
>>
>>1426141
i have a chieftec aps-850c laying around, will that do?

>>1426142
>>1426155
so auto ranging yay or nay?
>>
>>1426155
There’s so many options on Amazon for $20-$40 that have all the features of a $100+ yellow thing but without paying for that exotic yellow pigment that costs $3,000 per gram that they use in Flukes.

The $40 meters on Amazon do a little more, at leasr are easier to use than the $6.99 HF special. And if somebody spends $35 on a DMM and loses interest in whatever hobby a month later, it’s only $35 and it will still come in handy diagnosing shit in the future. That’s the great thing about tools- it’s rarely a waste of money because there’s a good chance they will get you out of a jam years down the line.
>>
>>1426161
You don’t need auto ranging, it’s a convenience thing. Like the cheap meters have settings for 2V, 20v, 200V or whatever so you have to cycle through them manually to find the correct range sometimes. Auto-ranging has one setting for voltage and will figure where to put the decimal point for you.

The one thing my free HF was missing is continuity.
>>
>>1426161
>chieftec aps-850c
it will. it needs a bit of external circuitry to run so it can double as your first project. see the spam link and heed its warning in the 5th paragraph from the bottom.
www dot electronics-tutorials dot ws/blog/convert-atx-psu-to-bench-supply.html

you'll be missing out on nice features of a lab supply like variable voltage and current but nothing beats free.
>>
>>1426166
if you try 20v while it's set to 2v, will it explode spectacularly, show 2v, or somewhere around 20v?
>>
>>1426170
I believe it will just give you the OL reading.
>>
>>1426062
>>1426081
I tried throwing more transistors (Q207) to the problem but could not figure it out yet.
I feel like I'm doing this way too complicated. Any other hints?
>>
I made some changed and finally it works. Q207 now switches off power transistor's base current. And red LED notifies the user about the overload condition.
>>
File: diff.png (5 KB, 382x223)
5 KB
5 KB PNG
>>1426081
>>1426287
>>
>>1425324
Thanks for the reply cutie. I already decided on buying an Arduino Uno (forgot to mention that). I don't know what projects I want to do, aside from the TV remote, but that's because I don't know what I'll be capable of doing or not.

A couple of extra questions:
- Why would I want different types of transistors/capacitors? Why not get just ceramic capacitors, for instance?

- What is an "LM358" good for?

- Why would I want DIP sockets if I can just put my ICs in a breadboard already?

- What's a step-up/step-down converter board good for?

Please don't laugh too hard, it's been years since I took a digital systems course. Also, when you say that I'll want several resistors, capacitors, etc per value, what should be the "step" of the values? e.g. 10 1W resistors, 10 2W resistors, ..., or 10 1W resistors, 10 1.1W resistors, ...?
>>
>>1426386
>Why would I want different types of transistors/capacitors? Why not get just ceramic capacitors, for instance?
ceramics are more "ideal" capacitors but they're less dense so they're not practical for large capacitances. electrolytics are shitty but can have large values. regarding transistors, you need npn bipolars, pnp bipolars, and nmos mosfets. these are very different devices and aren't often interchangeable, despite all fundamentally just being switches.

>LM358
it's an "operational amplifier". it can take a weak signal (low voltage, high source impedance) and make it strong, as well as a fuck ton of other things. op amps are fundamental building blocks.

>Why would I want DIP sockets if I can just put my ICs in a breadboard already?
you don't really need them, but if you're making a perfboard or anything other than a breadboard they can let you debug easier or salvage pricier chips like microcontrollers.

>What's a step-up/step-down converter board good for?
in electronics you commonly need a lot of different voltages. you can live with just +12 and +5 from an atx psu but it'll be pretty annoying.
>>
>>1426395
So DIP sockets are basically just little houses for your IC spiders to live in and be protected when you're soldering/unsoldering them a lot?

Thanks for the other answers. I also found this guide http://blog.thelifeofkenneth.com/2011/06/so-you-want-to-build-electronics.html, is it any good? It seems to agree with what >>1425324 said.
>>
>>1426386
>step of the values
there are standard series, e.g. E24 which divides an order of magnitude into 24 somewhat evenly spaced values. usually you only need such precision for resistors, and then only if you're doing much analog stuff. as a microcontroller user, you probably won't need a full complement, at least at first, and 1/4W will be perfectly adequate for most anything you would do. this is a good starter kit for a microcontroller user https://www.aliexpress.com/item/ow-my-butt-hurts/32475181535.html
>don't know what I'll be capable of doing
read, read, read, read, read. pause to parse, and then read a bit more. if there's one good thing about arduino projects it's that they're copiously documented and you can usually puzzle your way through them

>>1426395
>fundamentally just switches
I prefer the term "current sources"

>>1426287
but does Q207 stay on even when the fault is removed? also, 1mA isn't much current to light an LED
I was thinking, in relation to v4, to run the right leg of R227 to Q201 collector instead

>>1426539
think of them as less permanent connections, like mains outlets vs. hard-wiring
>>
>>1426549
Are these series (E24, 1/4W, ...) standardised? I can't really find what I'm looking for when I google for 1/4W resistor.

Also, 2 other questions:

- >>1426395 said I would need different types of transistors, but I don't understand why he said they weren't interchangeable. I understood the part about capacitors (ceramic = low capacitance, high accuracy // electrolytics = high capacitance, low accuracy), but they would still be interchangeable if I didn't care about accuracy and happened to have 2 different types of capacitors with the same capacitance. Is this not the case when it comes to transistors?

- Would making a shitty radio be a viable project for someone as new as me? I don't want to do the sort of project where I'm just following recipes, ideally I'd be doing projects where I know what I want to do and have the ability to do it myself out of the building blocks I have (like programming).
>>
>>1426560
Ok, I semi-answered my first question: E24 is a standardised series, and you just apply it to different components. I still don't understand the 1/4W terminology though.
>>
>>1426560
for a radio you will need inductors, you can buy them or make them
"the art of electronics" has instructions for a shitty radio in the chapter about filters or oscillators
>>
>>1426565
>I still don't understand the 1/4W terminology though.
resistors have 2 values: resistance and max power

the resistance is measured in ohms (or kohms, or Mohms) and it is how much it resists against current flowing through it (ohm law)

the max power is a rating of how much power it can safely dissipate, larger resistors can dissipate more power
P = I^2 * R
P = V^2 / R

So, if you have a 1 kohm resistor rated for 1/4 w, it can safely sustain a current of I = sqrt(0.25 / 1000) = 0.016 A = 16 mA
>>
>>1426574
Oh, so 1/4W is literally just 0.25 watts. I get it now. I thought >>1426549 was telling me to get a series of resistors called 1/4W (with some fixed step), not a series of resistors that could handle 1/4W.

Last question I can think of for now: how would you tell a resistor's wattage by looking at it? For the resistance you have the colour codes/ohmmeters, but what about maximum wattage?
>>
>>1426581
>how would you tell a resistor's wattage by looking at it?
As far as I know, you don't, when you buy them they say what is their power rating
if you take them out of some scrap board, you'll have to guess (1/4w seems to be very common, bigger, fatter resistors should be higher power)
>>
File: resistor power.jpg (123 KB, 828x469)
123 KB
123 KB JPG
>>1426581
Each "package", the standardised dimensions the components are made to, will have a maximum temperature rating (in °C or K) and a thermal resistance to air (in K/W). By taking the difference between the maximum temperature and the air temperature and dividing this by the thermal resistance in air, you'll obtain the maximum power rating. This applies not only to resistors but to all packages from ICs to transistors to inductors, and you'll find values on each packages' datasheets that tell you their thermal resistance to their top or bottom for connecting to heat sinks/PCBs if these apply. Any heat sinks you buy (and thermal pads/heat sink compound) should also give a thermal resistance value.

All you have to do is measure the dimensions of an unknown package and search for a similar package online, but it should be easy to search instead for "0.25W resistor dimensions" for something along the lines of pic related. This one's off aliexpress so take it with a cube of salt.
>>
>>1426589
>wattage
>>
>>1426560
transistors are more complex than that. there are a few dozen general forms of transistor, which are not drop-in interchangeable, and each of the thousands of types of each are optimized for certain parameters at various trade-offs with others. for example, package size, max collector/drain current, speed, current gain/transconductance, max voltage, and of course cost. you would need to lightly analyze the circuit to determine whether it would still work with a substitute transistor
fortunately, for non-critical applications and most experimentation, one can usually get by quite well with a limited cross-section of the thousands of types available: a small-signal NMOS, a power NMOS, a couple or three small-signal switching npns (and pnps to complement them), maybe a power pnp and a power npn, and a power PMOS if you really want to get fancy
I recommend: BS170, FQP30N06, PN2222, PN2907, 2N3904, 2N3906, MPSA42, MPSA92, TIP31, TIP32, FQP27P06
in the event of a special need, you can of course buy a special transistor to fill it
>>
File: smoke detector.png (2.15 MB, 2448x3264)
2.15 MB
2.15 MB PNG
Just took apart an old smoke alarm, found it doesn't have two ion chambers but rather a single one and a built-in reference for use with its comparator. (If they have two only one is open to the air to get a comparison value from the other to determine when to trigger the alarm). I was hoping to remove one of the ion chambers and use it as a standalone radiation detector to use alongside the geiger counter I've not yet built for some rudimentary testing and comparisons, as well as using the americium as a radiation source to test with. Unfortunately the americium is built in to the sole ion chamber, so I can't really use it as a standalone detector for anything except establishing a benchmark against the americium source. It's wrapped in foil at the moment and I'm not stupid enough to try to pry the two apart and create americium dust.

I might take the americium in to uni tomorrow and use a geiger counter they've left out to measure its activity. I'll also see about turning the source+chamber into something I can get observable counts from, since the original circuitry that was present has its comparators, timers and audio oscillators built in. It might be possible to circuit-bend a smoke alarm into a radiation detector if you remove the americium, tune the alarm timer to <1ms, and "invert" the buzzer signal, but I'll not try that unless I get an external ion chamber.

>>1426697
The TIP31 is ass.
>>
>>1426697
I'd add a pair of Darlington transistors to the list. They are often useful.
BD681 + pnp equivalent.
>>
>>1426662
>voltage
>amperage
>ohmage
>watts???
it's wattage
>>
>>1426735
>voltage
Only autistic people say anything else, but potential is technically more correct.
>amperage
If you're a welder and you don't know any better, but the correct term is current.
>ohmage
The actual term is resistance and you have brain problems.
>>
>>1426744
>Only autistic people say anything else

only autistic people engage in these kind of nugatory discussions.
>>
>>1426744
>If you're a welder and you don't know any better, but the correct term is current.
How many currents should I use for 3/16" E7018 DCEP?
>>
should i start with embedded or do electronics first
>>
File: 40531-1.jpg (619 KB, 1500x1500)
619 KB
619 KB JPG
Forgive me if this is a stupid question. But can't you use a DC power supply like the one in the picture as a means to charge batteries?

Say for example I have a NiMH battery that charges at 12V 0.5A. Can I not just set the DC power supply to those values and connect to the battery with crocodile clamps?

Why even bother with individual power banks with preset values?
>>
>>1426734
when have you actually needed one tho?

>>1426804
sure, if you don't mind overcharging it and shortening its life, you could do just that
I suggest you read up on the individual battery chemistries and their recommended (and disrecommended) charging algorithms. voltage @ current is a grossly oversimplified charging profile
>>
So I want to use raspberry pi GPIO, but i have trouble understanding difference between input and output.

It seems to me that the only difference is that as output it generates 3V or 0V and as input it RECIEVES 3v or 0v, but then what is the purpose of pull up and pull down mode in the input? input always needs to be pulled down when the foreign 3V from some device stops
>>
File: brainlet AKA you.gif (9 KB, 645x773)
9 KB
9 KB GIF
>>1426836
>i have trouble understanding difference between input and output.
pic related

>It seems to me that the only difference is that as output it generates 3V or 0V and as input it RECIEVES 3v or 0v
when in input mode the pin has a high impedance, but before this impedance there can be a pullup/pulldown connection, this acts a "default" state for the pin if it is disconnected (so it doesnt float), you use that with buttons
>>
>>1426847
But why does connecting 3V to the pin and setting it to output instantly destroys that pin forever?
>>
>>1426852
When the pin is in OUTPUT it can be HIGH (connected to 3v3) or LOW (connected to ground).
In either state it as low impedance, as opposed to INPUT.
If you connect 3v to an OUTPUT pin on LOW state, you have a short to ground because of the low impedance, this causes a high current that fucks the transistors or whatever.
>>
>>1426867
So if the pin is in input mode it should be save to short the 3V3 rail to the pin right?
>>
>>1426891
Yes, because the high impedance means low current.
>>
>>1426589
>>1426643
>>1426697
>>1426734
Thanks for everything, cuties.

>>1426744
What's your problemage?
>>
What happens when I add a single capacitation into a circuit in series? Will it allow current flow until it charges?
>>
>>1426804

dont listen to that negative nancy, current-limited lab supplies are great for charging nicads and nimhs. even lipos if you have an intelligent supply. i've been using my lab supply for 15 years this way, coz i have so many gadgets, it would be insane to have individual chargers for each one.

once the batteries are full, they tend to get warm (or hot) so i do one of two things, (1) charge at low current, say 0.2 times the rated ampere-hours, or (2) use a meat thermometer with an alarm function to warn me when they get above 50-deg C.
>>
File: charge.gif (30 KB, 541x695)
30 KB
30 KB GIF
>>1427018

google that shit, nigger.
>>
>>1426744
voltage literally means electrical potential.
saying "potential is technically more correct" is industrial-grade autistic nitpickery.
>>
>>1423156
It's been so long since i studied ohms law I forget how to calculate it but answer me this: if a teensy 2.0 has a pin set to input_pullup, how many mA does the 10k? internal pullup draw on 5v and 3v, with a regulator soldered underneath.
>>
>>1427025
depends what the pin is connected to. if it's left unconnecting the only current draw is the pin leakage, which is a uc datasheet spec (and a very imprecise one at that)
>>
>>1427031
in this case the pin is connected to ground and used as a switch.
>>
File: overcurrent switch v5.png (16 KB, 618x600)
16 KB
16 KB PNG
>>1426549
>run the right leg of R227 to Q201 collector instead
That's a great idea. I tried it; works great. Thanks a lot.
>>
>>1427033
is it connected to ground through the switch? if it's hard connected to ground then it'd draw (5V,3V)/10kohm=500uA or 300uA.
>>
>>1427035
perfect thanks.
>>
>>1427034
That's a rather iffy idea, as pulling enough current from that node makes the "scr" trigger.
>>
File: PSX_20180716_160753.jpg (219 KB, 900x1200)
219 KB
219 KB JPG
>>1425987
Thanks for your help, anon. I swapped it out with the clean channel one and it works now, so I just need to find a suitable replacement.
It's a NSL 37v31, but I can't find a datasheet on it. It's run at 3 mA and I measured the on-resistance to 440 ohm. Didn't bother measuring the bad one. Allegedly the vtl 5c9 is compatible, but it has lower on-resistance than what I measured. Not sure how much that matters in this circuit? It's also retardedly expensive at more than $10 + shipping because it's out of production. A german shop wants €17.
>>
Any ways to add a delay to a led? i need the thing to turn on about half a sec after power is applied and stay on for for half a sec as well after the power turned off. it also needs to be small
>>
>>1427068
capacitors
>>
how do you design power supplies for custom electronic circuits

everything commercial uses 5, 9, or 12 volts meanwhile if I do the math on my circuits I wind up with weird values like 8.5, 11, 7, 6, and so on. How do I make this work? Adding resistors or voltage regulators seems like a waste of battery life
>>
>>1427107
>meanwhile if I do the math on my circuits I wind up with weird values like 8.5, 11, 7, 6,

I hate when that happens.
>>
File: how tf.png (47 KB, 1594x890)
47 KB
47 KB PNG
Any idea why my instrumentation amplifiers decide to fuck with me when the input signal is switching polarities?

I'm using a H-bridge driver (square wave) to drive a coil and am measuring current and voltage signals over it (pic related only shows current measurement)

I have no idea why this happens. Any guesses?
If I put a resistor instead of a coil everathing is fine, the output is a square too
>>
>>1427131
>If I put a resistor instead of a coil everathing is fine, the output is a square too

I'm a noob too but I think this might be a clue.
>>
>Me: Brit who has had 5-second powercut recently that messed with PC
>Have surge protection because not retarded, but nothing against short outages
>Remember there's a UPS that nobody's paying attention to at workplace (second-hand shop/thrift store)
>Get hold of it
>Turns out the brand is Polish, and it's got a schuko plug with a UK adaptor stuck on it
>fug
Can you buy a third pin for connecting the earths of the plug and the socket? Or am I stuck being paranoid about having no earth?
>>
>>1427136
Or do you mean the socket? Really not sure what's what here. Just get a 3 pin adaptor, or replace plugs - whichever is relevant to you.
>>
I've been soldering with rosin like... Forever. But I've moved to other country, where I can't buy rosin.
I've tried plumbing flux - too conductive and corrosive.
Recommend me fluxes, pls.
>>
>>1426770
I didn't say I wasn't autistic.

>>1426774
I'm not a welder. Also it's "how much current", you illiterate coat-hanger.

>>1427023
Yes.

>>1427131
I'm not sure how well ICs handle reactive loads. Perhaps adding some sort of push-pull transistor buffer would help. The IC probably just has a single transistor to control its output, which might explain why it's only hitting a problem when going down through 0V and not up. Measure current as well with another scope channel, it might give you some insight.

>>1427240
No-clean flux.
>>
File: 89S9zlF.jpg (415 KB, 1080x1920)
415 KB
415 KB JPG
>>1423156
Dodgy lamp you say?
>>
>>1427253
That a toaster?
>>
>>1427245
>No-clean flux.
Can you give links or brands?
>>
File: Capture.jpg (61 KB, 1216x514)
61 KB
61 KB JPG
>>1427257
Ion pump.
>>
>>1425448
Some devices actually depend on the power supply to limit current or they'll pull too much and end up burning themselves out.
Particularly older stuff, like the Apple fucking Lisa.
>>
>>1427025
in fact, it's about 50k, and so E=IR and remember your algebra

>>1427045
lower on-resistance is no problem at all, the impedance from the source is hundreds of kohms. off-resistance must still be in the tens of megohms or higher
>3mA
you sure? from the schematic it looks more like 12mA, but you can easily replace R72 with 3.9kohms to make that so
>retardedly expensive
das stimmt, they're boutique items now, much like vacuum tubes

>>1427107
in volume, you just call up the manufacturer and say "I can haz" and they quote you. not that these are 100% fficient either
in less than volume, switchers are pretty efficient. most good datasheets offer detailed component sizing and selection guides

>>1427131
your inputs are almost certainly going outside the rails. try adding some voltage dividers/input resistance to the ina to keep its inputs within the rails, and maybe a ±12V supply for the ina

>>1427240
hm, start reading safety data sheets for fluxes and see if you can get the appropriate constituents. glutaric acid is an ingredient in some no-clean fluxes

>>1427253
very dodgy
t.brent rambo
>>
File: IMG_20180716_213314674.jpg (3.6 MB, 4008x3006)
3.6 MB
3.6 MB JPG
>>1423156
I have a pair of Skullcandy headphones here that the right earpiece suddenly stopped working in. I assumed that the wire just came loose, so I opened them up. The wire appears fine. I opened the left earpiece to see if it looked the same and it appears the same to me. What should I do? Should I just resolder the wires on the right earpiece? I was thinking maybe the connection in the plug is broke, but I don't know what part corresponds to what on the plug to the earpieces. It has a button on the side on the side of the left ear piece, but it is only a skip button.
>>
I have a question related to headphones - one side stops working due to fucked 3.5mm jack or wire that connects to it (it works only at cetain angles). I get it replaced by an electronics repair service and afterwards the frequency response or outright gain (or both) is different on separate sides.
When my other pair did the same thing, i went to a really high end repair shop and said that price doesn't matter, but i needed a good repair. They said i shouldn't worry, but the same fucking thing happened, though they didn't charge much.

Why? Is it a resistance caused by solder amount? Can this shit be avoided? I remember doing the same thing in my father's workshop as a kid, and it worked fine, but now i'm at uni and can't do it. It's really important to me since i produce music and while gain problem can be tweaked, mixing a track is a nightmare with problems like different frequency response.

>inb4 buy new headphones
I got these high end phillips ones as a gift, but am a poorfag
>>
>>1427334
Not sure it will help, but I just found that the button is Android compatible and these also have a built-in mic. Still trying to figure out that jack.
>>
>>1427341
OK I found a diagram. How do I use my multimeter to test to see what is broke?
>>
>>1427280
>off-resistance must still be in the tens of megohms or higher
Alright. That's no problem.
>you sure? from the schematic it looks more like 12mA, but you can easily replace R72 with 3.9kohms to make that so
Yeah. It's actually 5V and not 12. If I could run it at 20 mA I could just use a 5c1 which is cheap af.
>they're boutique items now
Hmm.. Seems like the people who are interested in these kinds of optocouplers are mostly building compressors, so I think they may actually want them for their electrical peoperties. Or they're just trying to fix shit like me.
>>
File: 1509913889720.png (225 KB, 1021x884)
225 KB
225 KB PNG
>>1427377
>the schematic is just an artist's impression
kek
>5c1 which is cheap af
5c8 also look alright, even the 5c1 if you gave it about twice the current, which that FET should be able to supply. R37 and R45 being large (parallel to 200kohm or so), a couple more % of R(on) won't mean shit
see also http pdf datasheetcatalog com/datasheet/perkinelmer/VT500.pdf
>>
>>1427342
Never used it before to check continuity?
>>
>>1427428
A long time ago. Mine doesn't get much use.
>>
>>1427429
First you connect the test leads and switch it on. Select the continuity/smallest resistance function. Then you connect both tips and note the displayed value. This is your zero for later reference. Next you check both (!) headphone systems directly at their solder joints. Both should show (almost) the same resistance. Then you check the wires that lead to the plug. If your diagram is the right one (there are two different wiring schemes) it tells you what should be connected. It helps if you log the results.
>>
>>1427334
Those use the CTIA / AHJ standard, the pinout should be [left, right, ground, mic] from tip to sleeve. Chances are the jack itself has gone internally, you can either try carefully peeling away the rubber around it, trimming and resoldering the wires, and coating the thing in epoxy/hot-glue/silastic/etc. or just replacing it with another one. Using hot glue/etc. on a replacement plug is also an option as it will help with strain relief.

>>1427342
That diagram doesn't look right, the terminals should be like concentric cylinders, so the blue "left" conductor should be both the right-most solder terminal on that diagram.

>>1427336
That sounds very unusual. I'd go to the shop and tell them they did a shitty job.
>>
So, I have a circuit with some sensitive electronics that can't handle any extra current. Will adding inductor protect my shit from things like lightning strikes which can raise the voltage from 5V to 5M V for a short moment?
It should right, since the inductor resists current changes?
>>
>>1427471
not very well. inductors are also slightly capacitive, between the windings. you should instead use a shunt technology like TVS diodes, MOVs and/or gas discharge tubes
>>
I noticed i connected a capacitator backwards, the capacitator is rated for 25V and i fed in 3V, was than low enough to not brick it? i see no smoke or bulging
>>
File: bb[1].png (99 KB, 640x294)
99 KB
99 KB PNG
FUCK why isn't this working?
both resistors are 1k ohms,
the capacitator is 1uF since i didn't have anything smaller
yellow line is 3V
orange wire is input pin which waits for voltage to go over 2.6V in order to read logical 1
and blue wire is ground

the theory is simple, the current flows and voltage drops directly from yellow line to the ground through the capacitator
the voltage on the logical pin is at this point too small so it reads as low (or zero)
when the capacitator charges, the resistance will become too high for current to flow, and the voltage on the logical orange pin rises high enough to read 1

I have a python script running which counts or loop cycles it takes for the capacitator to charge before the logical pin reads 1 and then it outputs the amount of loop cycles (python's while)

The problem is that it always outputs 1, which is stupid because there is no way the capacitator charges itself fast enough to rase the voltage on the logical pin so fast

So what is going on?
Is it because i don't have the 220nF capacitator and am using 1uF instead? But that is only like 5 times bigger so it should be fine and should actually take even more time to charge. So how the fuck is the logical pin getting over 2.6V on it instantly?
>>
>>1427507

if the pot is at minimum, the the time constant is roughly 1 millisecond (from 1K and 1uF). so maybe your timer cant catch anything that fast.

this is one of 1 million possible scenarios. it's by working through them on your own that you gain expertise; so get going.
>>
>>1427536
Already managed to figure it out.

It was a typo in the pythong code


fucking one missing space

should be
return
instead of
return
>>
>>1427537

ahaha, interpreters that dont catch syntax errors. welcome to 1980.
>>
>>1427543
No IDE with catch a typo that isn't a syntax error.
The bug was a perfectly valid syntax where the return was a part of the loop, while without the space it was executed only after the loop.
>>
>>1427136
if the schuko has no earth then its designed to not need an earth i guess?
surprised its not a replaceable iec lead
>>
I asked this in a thread a while ago, but forgot to come back and check,so sorry if this sounds familiar:
Good books on analog circuit design? Maybe it has some common circuits, their uses, and a little bit of analysis? I had an interview a while back with an instrumentation company and it made me realize how little I know about analog stuff beyond amplifiers.
>>
>>1427136
which part of the plastic case do you want to 'ground'?
>>
>>1427820
passing earth through the UPS to the protected devices is wise
except for those polack UPSes that just backfeed into the mains
>>
>>1427253
Where did you get that T section?
>>
How long does it take for a 1uF capacitator to charge through a 1K resistor at 3.3V? And how long to discharge?
>>
>>1428049
See >>1427020
>>
>>1428049
>I = C*dV/dt
Where V = voltage across capacitor. Do the differential equation.
>>
>>1428076
Meh i'll just eyeball that shit, math is gay
>>
>>1428100
in R*C seconds, your C will be charged to 63.2% (or was it 62.3%?) of the voltage on the other side of the R
gloogle RC time constant, nigger
>>
>>1424730
>>
>>1428107

he said he couldn't do math.
>>
>>1427756
Schuko does have a ground, uses clip/spring contacts on the sides. You can fit the schuko plug into some other kinds of sockets that don't have the proper ground contacts though.
>>
So I've recently bought new earphones, but when I use them with my ipod touch, sometimes the music will stutter a bit, play at a higher volume for < half a second and then return to normal. It happens seemingly at random, at least I haven't found a way to trigger it. I've never experienced this with my old earphones.
The only difference I can tell is that the new ones have a mic and a button, whereas the old ones were plain TRS. I've also tried setting a max volume on the ipod, which resulted in only stuttering without the volume bump.
Is it possible that the mic can somehow make the device think that volume- or other control buttons on the earphones have been pressed? It's the best guess I could come up with.
Apple uses CTIA/AHJ I think, but I couldn't figure out how the playback control works exactly.
>>
>>1428194
absolutely possible

>>1428119
in which case he needs to gtfo and pick a hobby more suited to his abilities
>>
>>1428224
>absolutely possible
thanks. Is there a way to make a TRRS plug appear like a TRS plug to the device it's plugged into?
The inside of the mic case looks like this:
wire 1 ---------------------------------- speaker wire
wire 2 ---<|.play/pause- |>---/ mic \
wire 3 ---<|.button.........|>---\ /
wire 4 ---------------------------------- other speaker wire
seems like the button shorts wire 2 and wire 3, which I assume are ground and mic. Could I just short those permanently? The mic has two terminals labelled + and C, could I replace it by some other part that makes it look like a mic that doesn't change? I don't need the playback control, so I don't mind if it doesn't work afterwards.
>>
>>1428228
I'v managed to replicate similar behaviour by touching some unisolated wires together in the mic case, so I'm pretty sure that's the source of the problem
>>
>>1428224
>in which case he needs to gtfo

I really don't like the snobbish attitude on this general. When Edison or whoever was inventing capacitors do you think he stopped to check everything with math? All the original work was done by the seat of the pants.
>>
File: 1529204354099.jpg (101 KB, 999x848)
101 KB
101 KB JPG
>>1428228
if you can't triforce, post images
anyway, I think you want to short the second ring (from the tip) and the sleeve, whatever that works out to inside the little case. that would be electrically equivalent to a plain, old-school TRS headphone plug. so wire 2 and wire 3

>>1428251
4/8, git gud or go back
>>
>>1428262
yeah I decided to go ahead and short mic and gnd and put a little isolation around them. The headphones still work, I'll see if the glitches disappeared tomorrow.
>>
>>1428251
>compares himself with edison
>but we're the snobs
Fucking niggers
>>
>>1428251
>When Edison or whoever was inventing capacitors

>edison
>capacitors
>>
>>1428251
>Edison
>inventing
>>
>>1428381
this
Edison was a salesman and promoter
He bought other peoples inventions and had employees improve them - INCLUDING THE FUCKIN LIGHT BULB
Tesla worked for him for a while but Edison reneged on a promise (surprise) and Tesla went his own way.
>>
I have an SMPS, that is supposed to give 24V on output, but it gives only 4-8V.
I've changed TL431, all caps... Doesn't chooch.
Voltage is unstable as a fuck.

What do?
>>
>>1424730
Rolling
>>
>>1428228
One wire is ground, one is left, and one is right, so you've only got one wire with the buttons and such on it (the sleeve). The centre button is just shorting this microphone wire to ground, while the volume buttons short to ground via a resistor. It is possible that the mic is receiving enough of a signal that it drags the voltage (~2.5V through a few kΩ pull-up) down enough to make a volume change, but then always having it change back again, not to mention the added glitchiness makes me think the problem is with the iPod itself. I know my iPhone has been giving me glitchy audio lately, though without the volume changes (my headphones don't have volume buttons).

>>1428251
I think you should be talking about Michael Faraday instead, he was all about magnetic experimentation but couldn't do math to save himself. Everyone talks about how he discovered induction and all that, but the unit named after him is for capacitance. Lenz BTFO.
>>
>>1428460
This isn't the 1800s anymore where you're doing shit in unknown waters. We know the math behind this shit. If you're unwilling to use even a bit of math, then yes, that anon is correct in saying perhaps you're involved with the wrong fucking hobby
>>
What happens if you try charging your phone with an ac source? Will it get charge/discharged/charge/discharged?
>>
>>1428420
>promise

>boss say "Ill give you a million dollars if you fix this"
>autist thinks thats a bonding contract
>>
>>1428509
You'll kill the phone.
>>
>>1427809
Sedra/Smith for basics of circuit design. You can find the book + solutions manual on chegg.
>>
>>1428522
Whoops. Not chegg. On libgen. Someone took the answers from chegg and uploaded it to libgen
>>
>>1428502
No I wasn't arguing either side of that point, just noting that he picked the wrong dude to talk about. I was the guy who suggested he do the differential equation in the first place.
>>
>>1428518
Why?
>>
>>1428529
it's not meant for negative input
>>
>>1428529
Phone batteries require a very careful method of charging, putting in the right amount of current at the right time. By whacking it up to an AC source you'll not do that and probably ruin the battery. If you use a low-current source up to a big enough battery by itself then it will probably just oscillate a little as you said, but to make matters worse phones have a bunch of battery control circuitry already inside them. Meaning you'll probably put a negative current through a reverse protection diode and fry the thing.

>inb4 they should be called "phone cells"
>>
>>1428527
Fair enough - my mistake anon
The Faraday is a better role model yes, but I doubt that the anon was willing to keep meticulous records and descriptions on what was going on, and would actually just tinker blindly with no method to his approach
>>
File: 7bx4LwQ.jpg (585 KB, 1920x1080)
585 KB
585 KB JPG
>>1428028
Same place I got the Ion Pump.
The T-section was actually part of an Ion Gauge, but I couldn't implement the internals into the design, so I pitched it (too delicate to be functional). My next lamp will be much, much bigger.
>>
>>1428425
Well, it was a cracked trace. I fixed it with waking with hammer. Like old TV.
>>
>>1428582
>I fixed it with waking with hammer
Welcome to the board, Red.
>>
>>1428576
i want to fill those flanges with bolts
>>
>>1428576
What does the lamp's ion pump actually do? Does it evacuate the bulb itself?
>>
>>1423156
Nice flashlight bro.
>>
>>1428510
edison was a retard tho
>have an employee who is clearly a genius
>fuck him out of what is pocket change to you causing him to quit instead of givinng him a raise and shit so he can use his genius to make you trillions
fucking dumbass cracker edison
>>
>>1423190
>I had to add a delay of 200us to get it to not spit out garbage.

sounds like it's noise on the wire?
twist the cable, keep it as short as possible.
i2c is not as nice as you would like it to be.

ads1015 may have a upper limit of sampling rate, read the datasheet carefully.

(I am unsure:)
Maybe the Arduino are too slow for you?
Maybe you'll need to change ADS1015 to something else?
Maybe your circuit solution could be improved?
Not enought caps? (to keep the noise down)
Maybe you don't have enought or dirty power?
AD1015 may be heating up, so it'll be unstable.
You could also have ESD-issues, just to fuck you up! :)

Do not begin to solve problems with software, debug FIRST the hardware, be asbolute sure that everyting is okay. It's often small and stupid things that breaks everything else!
Then fix errors in the software. Your code (and later solutions) will be cleaner.
>>
>>1425451
>using a tantalum capacitor

run for your life!
I hates tantalum capacitor, they seems too fragile, an electonic caps do the job much better. Why do they exist?

They even short circuits when they're dying, and that's the reason I really hate them. I was fooled into buying some to a project, and later discovered how scarey they are. Very nice for companies who wants to save some dimes and restrict the lifelenght of their products.
>>
>>1428757
>Maybe the Arduino are too slow for you?

commenting/correcting myself:
Arduino is coded to 100Khz, can be changed to 400Khz. The ADS1015 can do 3.4Mhz.
Rise time on the ADS1015 should be a least 160ns.
>>
>>1428762
>why Ta
before ceramic caps could be made in the larger capacitance values necessary to handle the current demands of serious digital ICs with simultaneously switching outputs, Ta caps were the most reasonable way to get the low ESR necessary to brace the supply rails robustly enough
>restrict the lifelength
>implying electrolytics don't
hmmmmm

>>1428767
what are your I2C pullup values?
>>
If I plug a high-order high-pass filter to my mains, can I listen to audio frequencies or demodulate RF?
>>
>>1428776
why not, it's what X10, HomePlug, etc. do, more or less
(except they use signal transformers)
>>
>>1428778
It's more wondering if there'd be any useful signal around. I'd probably want to ensure I miss any PWM buzz also, I wonder if you'd get that up near 500kHz?
>>
>>1428785
probably not, it most likely gets filtered out by distributed capacitance/inductance in the feed lines. maybe, just maybe, you might be able to pull in a nearby AM station using it as an antenna, or very possibly some power-line carrier utility internal traffic. the only way to find out for sure is to build a filter and hook your SDR up to it
>>
>>1428776
Of course you can, mains frequency is audio. Enjoy all the switch mode creatures you will hear. It sounds like in a jungle. As an RF antenna better use something else.
>>
File: DaveLabARMSS.jpg (76 KB, 601x490)
76 KB
76 KB JPG
BLOIMY THEITS A NOICE BIT OF KIT ROIGHT THEIR
>>
>>1424730
roll
>>
>>1423438
Its so good holy shit
>>
File: Untitled.jpg (82 KB, 1440x768)
82 KB
82 KB JPG
>>1427069
thanks anon you inspired me. I even managed to cobble together a prototype from my junk bin.
https://streamable.com/f3p4d
>>
is this the right thread to ask about fixing a speaker? or should I start a new thread for that?
>>
>>1428873
>whiny sperg who finds fault with everything
I don't know how this guy is tolerable irl
>>
>>1428650
An ion pump is used to pull ultra high vacuum.
When one wants to evacuate something, they typically use what is known as a roughing pump. But this vacuum is not perfect and there is still residual gas within the vessel. An ion pump is used to ionize and trap residual gasses within the vessel, creating an ultra high vacuum.

Within the scope of my lamp, it is just high-tech decor. The parts come from a very iconic machine.
>>
>>1428788
>hook your SDR up to it
I've only got a shitty one with minimum 25MHz, but I'll give it a shot.

>>1428837
I meant more actual audio being backfed into the wall from the variable load caused by people's amplifiers.
>>
>>1429035
yes, ask away
>>
File: powered-speakers-01.jpg (158 KB, 1200x900)
158 KB
158 KB JPG
I started this thread over at /g/ but no one has any ideas.

I've got these powered speakers which have an analog amplifier circuit inside. When I lower input volume and raise it slowly sound cuts out and then past a certain threshold I hear a pop and sound comes back in. I popped them open and couldn't see any swollen caps or burn out resistors. I'm a noob to this stuff, where should I start with diagnosing this thing? I'm guessing I'd need an oscilloscope to probe the signal on the board to see where it's going dead?
>>
>>1429138
Just to clarify, I'm not touching the volume knob, it's only the volume on the input device like the output volume from a phone or pc.




Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.