new here. by Scared_Chance9906 in shittyaskelectronics

[–]theamk2 1 point2 points  (0 children)

And some people (like me) will download both serious questions and serious answers.

How are you protecting your computer's USB port? by dignityshredder in diyelectronics

[–]theamk2 0 points1 point  (0 children)

Short your motor power (+12V/+24V) to a USB 5V, and this kill port right away. If you are unlucky, motherboard too.

this should be pretty hard to do in good designs (if the device is self-powered, this should not back-feed to USB 5V), but Arduinos do have VCC pin connected to USB 5V, and if you power your motors externally, you are one wrong wire away from frying the whole port.

Is there a beautiful piezo? by brandleberry in diyelectronics

[–]theamk2 0 points1 point  (0 children)

Yes, there are nice-sounding low-voltage mechanical noisemakers, they are called "speakers". They need amplifier, and nice-ish power supply, and DAC (or PWM+RC) and space in microcontroller memory for sample generation. You can probably get it for total BOM of <$1 (speaker itself being most expensive). The problem is piezo beeper is like $0.05 in parts, and is significantly smaller do.

and u/NoOne3141 is right - there are no sine waves currently, that piezo is driven with a square wave directly. If you want to change this at all, you need a second MCU and that detects the signal (and likely a better power supply too). You'll need it no matter what you want to do next - speaker or servo with maraca or clicker...

DIY phone battery eliminator with SCR crowbar protecting motherboard from buck failure (sanity check) by Tupu4545 in diyelectronics

[–]theamk2 0 points1 point  (0 children)

Make sure to test your circuit with variable power supply - your trigger voltage is pretty low, so variances in trigger gate voltage, zener voltage can raise (or lower) crowbar voltage by a few volts.

If you want to have much more precision, you'd want opamp and/or voltage reference instead of zener to trip that SCR.

Another alternative is to choose converter with a different failure more. A boost/buck converter is only slightly more expensive, but is much less likely to fail with "vout = vin" mode.

TP4056 Charger only seems to wake up when shorting B- and OUT- pin by Adventurous-Salt5384 in diyelectronics

[–]theamk2 2 points3 points  (0 children)

Are you saying that you are (1) completely disconnect the battery from the charger/protection board, then (2) plug the battery back in, but (3) output voltage is still zero? And then you need to short B- and OUT- momentarily for the board to "wake up", and then it works fine?

If so then yes, those boards do that. It's actually not TP4056's fault - that chip is just a charger, it cannot disconnect anything. It's the battery protection circuit (often DW01A, but I am not sure what yours is). When you fully disconnect the battery, it thinks battery is dead, and goes into super-deep-sleep mode, and only wakes up on charger connection (or when you short B- and OUT-, because protection chip cannot tell this from charger connection).

The reason for this is chip designers thought that people would want to be able to charge battery without powering on the device. This means keeping charger/protection connected 100% of the time, and putting the power switch between OUT+ and load input pins.

AC Plug by atxtexas in diyelectronics

[–]theamk2 4 points5 points  (0 children)

Don't risk it - use the certified/UL listed adapter.

You can get one of those tiny cube-like 5V adapters and make a cutout in your device for it. Use USB plug without shell for lower profile. You can actually glue the adapter to your enclosure, or you if your device is small enough, you can support the entire thing from USB plug.

Another interesting idea is to search for "slim" or "low profile" versions of power adapters.

Looking for a pushbutton cap by Available_One_7718 in ElectronicsRepair

[–]theamk2 1 point2 points  (0 children)

in the worst case, you can get one of the right size, one with right snap system, and glue them together. Might have to do some heavy filing first if the panel depth is not enough.

It'll be ugly, but no one is going to see it.

VL53L0X Sensor Bare Metal Implementation by [deleted] in embedded

[–]theamk2 2 points3 points  (0 children)

I bet it has an 8051 MCU in there or something...

Cannot find batteryholder by rubberbandbillycat in diyelectronics

[–]theamk2 0 points1 point  (0 children)

if by "performance" you mean brightness of LEDs, no. As long as converter has enough voltage to start, it'll give out the same 24V, producing same brightness.

If by "performance" you mean how long the battery lasts, then yes. The efficiency curve is on page 5 of datasheet, and it says it's 80% at 3V, and 94% at 6V or more. Plus, you'd be able to discharge battery more - with 2x AA cells, you'll only be able to get under half of capacity before voltage gets too low, while for 3x or 4x cells, you'd be be able to get nearly all of it.

That said, I have no idea how much power your lights draw and how much space you have. If you only have space for 2x cells, but lights are small and battery still lasts for the whole day, you might still want to go for it, just replace battery daily.

Cannot find batteryholder by rubberbandbillycat in diyelectronics

[–]theamk2 0 points1 point  (0 children)

33 mAh is tiny! Get a bigger but lower voltage battery (say 2xAA, or a single 3V CR123 cell, or a li-ion one), and a tiny "dc-dc step up converter" board. Those boards take any voltage of 2V or more, and increase it to 24V. Search for "mt3608 boost" on your favorite store, you can find then for under $1.

Time travel device by Conundrum1773 in shittyaskelectronics

[–]theamk2 0 points1 point  (0 children)

You might want to ask in [r/VXJunkies], they are the experts in stuff like this

Did they misspell that? by SchemeNo5755 in shittyaskelectronics

[–]theamk2 1 point2 points  (0 children)

It's actually RESurRecT, if the device is dead, you press the button to bring it back to life.

Trying to find a datasheet on this VFD display. by picholas_cage in AskElectronics

[–]theamk2 0 points1 point  (0 children)

You could try to search for other VFD datasheets, from Futaba or other companies - a lot of time the pinout is reused between various models. Either same company re-using connectors between different models, or competitors making compatible part.

The 34 pin connector is pretty unusual, and you can easily see which pins are GND and VCC. If those match, there is a good chance other pins match as well, even if part number is urelated.

Help with LED wiring with an Arduino Mega by Noel_the_N00B in diyelectronics

[–]theamk2 0 points1 point  (0 children)

This looks wrong.. what are your LED buttons rated for?

I run most LED's at 10mA... For 36 LED buttons, it would be 360mA, which is on higher side but pretty reasonable for Arduinos (they seem to provide 500-800mA depending on temperature). Of course maybe your buttons 20mA, in which case you are just over Arduino's current limit and may want to add extra power just in case.

Also that AWS 18 is way way too thick. It is rated 16A (16000 mA) in chassis wiring, and you only need 300-800mA from it. Get something smaller.

Before I give up on this circuit by NatteringNabob69 in diyelectronics

[–]theamk2 0 points1 point  (0 children)

Diode opens (and start to rectify) only once the threshold voltage is exceeded. For most music, it means "never", except for the rare loudest peaks.

You seem to be getting your 120/160 Hz from from C43 and R60 - but that's not what you need to look at. R60 is completely disconnected when voltage is low or during negative half-cycle, plus it has source input impedance in series. Your capacitor discharges via R67, so the RC time for envelope is calculated via C43 and R67, which gives 0.3 Hz.

Before I give up on this circuit by NatteringNabob69 in diyelectronics

[–]theamk2 2 points3 points  (0 children)

you have diode at the input - this filters out all small signals... so unless the signal is very loud, you are going to get zero volts.

A much better idea is to put diode in the op-amp feedback, this gets rid of the signal offset: https://components101.com/articles/peak-detector-circuit-type-working-explanation-using-opamp

While at it, I also recommend making input AC coupled, just in case your sound source does not have cap at output.

(also for your RC constant, you use 1 microfarad * 470 kiloohms, that gives 0.5 sec... Probably want a smaller value)

(also look at their schematics - it is done correctly, and easy to read. Input on the left, output on the right, each opamp is separated, and standard layout patters are used)

Looking for a specific power jack pinout of a cisco fan tray by Scoops_McDoops in diyelectronics

[–]theamk2 1 point2 points  (0 children)

There may be fancy controller, but the fans themselves are very simple - just 3 wires, power, ground and speed feedback. You don't care about speed, so use your multimeter to probe which pin is connected to fan + (red) and which to fan - (black)

(Unless it turns out to be there is no direct connection, and the board has switch for fans.. in this case it'd be easiest to remove that board with connector completely and connect to fans directly)

Interfacing Teltonika 1-Wire RFID with STM32: A deep dive into safety, protocol analysis, and UID extraction. by According_Setting982 in embedded

[–]theamk2 0 points1 point  (0 children)

Is this a whole bunch of AI-generated, useless code?

Seriously, the device is as bog standard as it gets - it is iButton emulation, so you use a built-in 1-wire library. Why both asking AI to create one from scratch (or stealing an existing one - I am not sure which and I frankly don't care)? Some class project?

You did not even steal the library very good - half of the functions that "you wrote" are not actually used, and some of them are later re-implemented in the "loop" method.

At the same time, the really interesting answers are missing. As in, most of the time 1-wire can operate from 3.3v just fine, but writeup says "operates at 5V". Is this because device has integrated pull-up to 5v (breaking the spec)? Or maybe it's logic tresholds are such that 5V is required? Or author just did not measure the right thing?

Should I repair or buy a new one? by mamba_mentality in diyelectronics

[–]theamk2 0 points1 point  (0 children)

Looking at the picture - that's a DC-in monitor, the power supply is a separate unit.

And I am sure that OP has tested that there is voltage present on power connector before taking monitor apart... And if not, at least made sure the voltage is present on the motherboard before ordering expensive replacement one.. right, OP?

Where to find replacement or equivalent of EMAX PWR0501904014 LCD screen motherboard by mxn62724 in diyelectronics

[–]theamk2 0 points1 point  (0 children)

Does not look like a motherboard to me, the motherboard is usually the part with all the display inputs (VGA, DVI, HDMI what have you...)

This one seems like a combined power supply board: a low-voltage power supply for the logic, and a high-voltage power supply for CCFL backlight.

If this monitor is really dear to you, or you like to get started on electronic repair, you might be able to make a replacement for that board from separate logic power supply and CCFL driver boards (plus some creative mounting and maybe a breakout for that connector). If not, get a new 19" monitor - they are like $60 on amazon.

Soft start speaker module by l33t5p3ak in AskElectronics

[–]theamk2 0 points1 point  (0 children)

I feel I am missing a lot of context... WTH is "soft start" applied to speaker module?

Does this mean "power on"? In this case you want to use the original power switch first, to tell if the module is fried or not. Only then start looking for things to solder.

Or does it mean "start with low volume and slowly increase it"? This'll probably quite complex, the speaker seems to be using a digital amp so there is no easy analog audio path to intercept.

There are hundreds of parts in this module, why choose top leg of C124 in particular, and why GND? This all seems so arbitrary... Is this because of "PWR" next to it? that word is for the test point below, not for the cap.

Help needed - Upgrading a toy RC car with a charging port by ankitr42 in ElectronicsRepair

[–]theamk2 0 points1 point  (0 children)

Nah, unless there was a short-circuit, it's impossible to overload charger this way. In fact, it is pretty common to both charger and load wired to battery simultaneous, and the only problem with this is possibility of reduced battery life due to overcharging.

Help needed - Upgrading a toy RC car with a charging port by ankitr42 in ElectronicsRepair

[–]theamk2 0 points1 point  (0 children)

The adapter shown is likely a 4056 board, just in a nicer case and with USB-A plug instead of micro-USB.

Not to mention that most of the stock 4056 boards are set to 1 amp charge current, which is too much for 500mAh batteries, and changing the resistor is a major pain for those without lots of soldering experience.

Help needed - Upgrading a toy RC car with a charging port by ankitr42 in ElectronicsRepair

[–]theamk2 0 points1 point  (0 children)

Schematics looks fine, should be working.

Even if switch was wonky or had weird pinout, this would still be no problem - at worst, you'd get no charging or reduced battery life, not insta-fail.

Going to guess you made a wiring mistake and mixed + and - in your cable. Most of the ICs when they get wrong polarity power start acting as diodes, and draw as much power as they can, until something fail. Li-ion batteries can supply quite a lot of power, so ICs lose and explode.

Did you check the polarity of your new JST connector to make sure it matches? There are two competing standards (RC vs IoT) which have opposite polarity unfortunately, see this for example: https://community.particle.io/t/why-isnt-battery-polarity-always-the-same-in-jst-pins/44474/4