r/AskElectronics • u/throwawaysavage11 • 11h ago
r/AskElectronics • u/jjjjjjjjjjjjjjjjp • 19h ago
Help me find photo sensor on this board
I have this small photo sensitive motion activated light, I need to bypass the photo sensor when it can be activated even when it's in a lit area, would someone know where it is?
Sensor in the middle is a PIR N219S datasheet says it doesn't have an integrated photo sensor.
r/AskElectronics • u/DerDork • 20h ago
Help identifying an illuminated 6 × 6 mm SMD tactile switch – Dell Wyse 3040
I'm looking for a replacement power button with an integrated LED for a Dell Wyse 3040 thin client. The switch itself works fine, but the LED no longer lights up.
Specifications and observations:
- Body dimensions: approximately 6 × 6 mm
- Overall height: approximately 7 mm
- LED diameter: 2 mm
- SMD mounting
- Stationary central LED with a movable black actuator surrounding it
- Very short actuation travel
- PCB designation: PWR1
- One of the apparent LED terminals is marked "A" on the PCB.
The TE Connectivity (ALCOSWITCH) FSMIJ series appears to be a very close mechanical match, including the inner dimensions of the actuator.
However, Dell's documentation describes the power LED as bicolour (white/amber), whereas I could only find single-colour versions of the FSMIJ series.
I haven't confirmed the LED's pinout or whether it contains two antiparallel LED dies.
Does anyone recognise this exact switch or know its manufacturer and part number? Could this be a custom OEM version of the FSMIJ series, or is there another manufacturer offering a similar bicolour switch?
I'd also be interested in a suitable replacement LED if it can be replaced independently of the switch.
I also own a Wyse 5070 which seems to have the same problem.
Thanks!
r/AskElectronics • u/Everything143 • 17h ago
Electronic roulette with CD4017 counter and ULN2803 IC
I want to ask for help with creating an electronic roulette, im a beginner and this is a thing i need to work on in school, my consultant said it should be done with CD4017 and ULN2803 but i geniuely got no idea how to make the scheme and he wont tell me if there is something wrong with my older schemes or not, or help me in any way so im asking here. I know this is a simple project but i dont know much about this so if anyone knows how to help i would aprecciate if you would.
Attached is the latest scheme.

r/AskElectronics • u/clueless_dude_7143 • 23h ago
Oscillator with 74x04 hex inverter resulting in a sinusoid wave instead of square wave with Vp-p 2.85V and Vmin 1.05V
Looking at some old PONG clone schematics I saw that the main clock (at 14.31818 MHz) was done like that :

Having some 14.31818 MHz crystals lying around, i just wanted to play a bit with this and see if i can reproduce this with a 'modern' 74ls04... (a cheap SN74LS04N made by XBLW). "The Internet" claims it should work.
When measuring the (unloaded) node labeled CLK i get the right frequency around 14.3 MHz, but 1) instead of a square wave i get a sinusoid one and 2) it seems to oscillate between 1V and 4V, and not 0V to 4V which I would expect:

ok.. the sinusoid appearance might be due to the 50ns timebase of my cheaper-than-cheap "oscilloscope" which can't go lower than 50ns :)
But Vmin 1.05V?
This clock signal is is fed into a j/k flip flop to half the frequency to 7.159Mhz (J and K set to High, clock input on R). I just tried this, but it wont work as i guess 1V is to high to be recognized as low. The Q output remains a steady high and !Q stays at low the whole time.
But then again.... the datasheet of the J/K flip flop (a Lingxing SN74LS107) states:

If i got the datasheet of the 74ls04 (https://www.lcsc.com/datasheet/C42395516.pdf) right, it should be able handle the changes at 71ns...
But maybe I am just to uneducated (read: stupid) to read datasheets properly (the possibility is high on that one! 😄)
Any clues? Simply (too) cheap ICs that are not up to spec?
r/AskElectronics • u/Dhruv_Shah_120102 • 18h ago
Pump is not getting ON
In the above Figure, shows schematic of stm32 connection with pump through npn transistor for ON and OFF of Pump.
Case 1: Consider the above Figure, PB12 pin was toggling but I don't know why R1 was connected with PA1 Pin. I found pump was not being ON.
Case 2: I only disconnected R1 connection with PA1 Pin. Still pump was not getting ON. But, PB12 was toggling as I press switch for ON and OFF operation of Pump.
Case 3: I removed (-) connection of capacitor with ground and connected same capacitor across M7 Diode. Still pump didn't get ON.
Case 4: Removed C1 Capacitor completely. Still issue continues....
So, I thought Transistor may got damaged (I don't know why). Then replaced transistor with N-channel MOSFET. Still pump didn't get ON. Then replaced new M7 Diode. Still pump didn't get ON. Even the PB12 Pin also stopped toggling.
I Resoldered the stm32. But then didn't check. I assume there is some current leakage between STM32 Pin and R1 resistor. As, Voltage is proper when I check using multimeter at both ends of R1. If transistor or MOSFET was perfectly getting triggered then ofcourse one end of Diode will get connected to Ground. But multimeter displays both ends of Diode as 5V. Is my assumption correct or wrong? Please explain me , as I am facing the issue since last three days. But cannot troubleshoot further, as per my knowledge....
Even, the debounce circuit for keys are also working. To ON and OFF the pump I need to press two keys together. Program is also correct. Delay in program is also given proper.
Even, I checked only pump while giving a supply of 5V. It works. Issue is STM32 PB12 Pin stopped toggling and when it was toggling at that time PUMP was not getting ON.
r/AskElectronics • u/greysuru • 18h ago
Curious what this diagram represents
Isolation circuit of some kind? I don't know much. What component is the rectangle with internal divisions?
r/AskElectronics • u/corporaterebel • 6h ago
Zener diode identification, automotive, 10mm diameter!
marking: 27 043 N
diameter: 10mm
height: 5mm
type: THT, ~1.75mm dia wire
This is from a 1990's Honda climate control. It manages a few actuators and monitors interior/exterior sensors. I don't know why it is so robust.
Searching/AI informs me a diode of this size doesn't exist, at least not for automotive
Also any help on the standard diodes is also needed, but I haven't done an exhaustive search (yet).
r/AskElectronics • u/LucasMertens • 7h ago
Please help me fix my CDJ-400
The selector knob/dial on one of my CDJ-400s is not working properly. I can push to select things, but the scrolling function doesn't work at all in either direction.
Things I've tried so far that have not worked:
- Disassembled rotary encoder and cleaned internal contacts, then reassembled. Same result.
- Checked all solder joints for the encoder, removed all old solder and reflowed using 63/37. Same result.
- Replaced rotary encoder with known good one of same model from other CDJ-400. Same result.
Tools I have at my disposal are:
- Multimeter
- 4 channel oscilloscope
- Hot air station
- Soldering iron, flux, solder, etc.
I'm at my wits' end here trying to get this to work. Please, someone tell me they have a solution for this, because I'm getting pretty desperate here.
r/AskElectronics • u/FFunSize • 7h ago
Vintage phone mic into CM108 sound card on Raspberry Pi 5 - Voice barely registers unless I yell. what can i do?
I'm building an interactive voicemail phone for a party: a vintage Northern Electric 500 rotary phone with a Raspberry Pi 5. The handset's original mic was wired to a 3.5mm jack that’s plugged into a CM108 sound card. The signal from the mic is noisy and weak even when trying to up the gain. I tried replacing it with an electret condenser mic (Addison Electronique 080046)
At normal speaking volume the recording barely registers - mostly noise. If I yell directly into the handset it comes out kinda clear. Turning up ALSA capture gain/boost mostly just raises the noise floor.
What I've tried:
- Carbon → electret swap (red to signal, black to ground, and swapped — same result either way)
- ALSA capture volume and boost at various levels (up to ~80%) — louder noise, voice still buried
My suspicion is the CM108 has a weak mic preamp/bias. Before I buy a preamp — is the CM108 known to be this bad with electret capsules? Would a small preamp between the mic and the sound card fix it, or should I just get a better USB interface? Any specific USB sound card or interface you'd recommend for a Pi that has proper electret bias and gain?
Happy to post amixer/arecord details if helpful.
Thank you
r/AskElectronics • u/BE12UT • 12h ago
CarPlay radio repair - Peugeot 108/aygo mk2/ Citroen c1
Hi all, I have a radio which has an issue with the USB connection for CarPlay, searching the model number: AVH-9548ZC or 86140-YV020 I find that this is a common issue relating likely to the 5v supply to the usb
USB not working. How can I trace the internal 5V USB supply?
I’m trying to diagnose a USB fault on the head unit from a Peugeot 108 and would appreciate some advice on how to trace the USB circuit and locate the 5V supply.
Head unit details:
Manufacturer: Pioneer Corporation
Model: AVH-9548ZC
PSA software reference: B001130280 00
Peugeot/Toyota part number: 86140-YV020
Hardware version: F0/D0 D
Software version: V2.0
The fault:
The USB port is completely non-functional:
No phone charging.
Apple CarPlay does not work.
USB storage devices are not recognised.
Bluetooth audio works normally.
What I’ve identified on the PCB:
I’ve traced the USB connection from the vehicle’s USB socket to a white/grey four-pin connector on the head unit PCB.
This is the connector where the cable from the USB socket near the cup holders plugs into the radio. It has four solder connections.
The PCB has the following markings around this area:
USBV1_1
USBV1_2
D3009 / D3010 (these appear to be component reference markings, although I haven’t positively identified the components themselves)
USB_CHG
GNDV
GNDL
L3000
C3029
1st picture is zoomed out, grey connector above blue connector top left of picture.
2nd picture grey connector now top right, a little more zoomed into the area
Please do note the radio has multiple pcb’s connected via ribbon cables, this is just the first layer where the usb connection starts at the radio
Thank you in advance for any help!
r/AskElectronics • u/Secure_Custard_3677 • 14h ago
FAQ How to fix Bose Bassmodule 500 PCB?
Hey Guys,
My Bose bass module 500 is broken (no light when plugged in) and I don’t know what to do anymore.
I examined the PCB and like others I replaced the B340A diode. Unfortunately that wasn’t the problem.
After that I made sure that I get a clear 28V supply to the mosfet which I do. After that I checked for any possible shorts on the boards and couldn’t find any. I was wondering if anyone knows what current should be measured on the B340A diode, because I measure 1,7V which seems off.
I also checked with a thermal camera for any hotspots but without success.
I hooked up the low voltage site to a power supply with 28v and the draw was only around 1W.
Hopefully someone has an idea :)
r/AskElectronics • u/KillerSchlumpf- • 15h ago
Has anyone built remrc's self-balancing cube with the 12-wire Nidec 24H? What do the middle wires do?
Hi everyone,
I'm building remrc's self-balancing cube (ESP32 + MPU6050 + 3x Nidec 24H on a 3S LiPo, https://github.com/remrc/Self-Balancing-Cube). His Fritzing schematic uses an 8-pin Nidec 24H connector: +12V, GND, start/stop, PWM, direction, encoder power, encoder A, encoder B. Only the first five (the blue wires in his plan) are needed for the standard firmware; the red ones (encoder) are optional.
My motors arrived with 12 loose wires instead of 8. Colors in order: red, red, black, black, violet, beige, brown, orange, green, white, blue, yellow
I followed the pinout from the Arduino forum thread "Nidec 24H055M020 operation solved, mostly" and the Instructables article "Reverse Engineering the Nidec 24H055M020 Encoder Sensors", plus a Reddit comment that describes an RL78 MCU with TOOL0, RESET, ALARM, STEP and CW/CCW pins.
What works so far:
- Red/black go straight to the battery (11 V, 3S LiPo)
- Yellow (speed) goes to an ESP32 pin, green (direction) to another, and the brake wire to a third pin
- The motor spins in both directions and I can release/engage the brake
- Speed seems to depend on the frequency on the yellow wire rather than on PWM duty
My questions:
- Has anyone built remrc's cube (or a similar reaction wheel setup) with the 12-wire version? Did you need the three middle wires at all?
- Does anyone know what beige, brown and orange really do, and how they should be connected (leave open, pull-up, to the ESP32)? Is orange a status/alarm output?
- Is there any way to read the wheel speed or position from this version, or do you just rely on the commanded step frequency?


r/AskElectronics • u/WaidmannsHeil05 • 17h ago
Advice needed for microcontroller guitar pedal university project.
Hello everyone!
For my robotics course, we were given the option to freely choose a project that (ideally) used a microcontroller to some extent.
The whole semester we worked on the ESP32, but we were also given an Arduino we could use.
I also have a fairly shallow knowledge of circuits, as much as a 3rd year student could have: I know and have used most of the major components, am familiar with IC's and microcontrollers, but just started learning about signal processing in school.
Preface out of the way, I want to create a number of analog guitar effects, such as distortion, delay, EQ control, fuzz etc. The microcontroller would be serve a very basic role, that of displaying the current effect being modified, it's volume/value as it's changing, the order in which the effects are going through in the chain etc.
My guitar signal would go through the effects chain and then out through my (BOSS KATANA MKII) amplifier.
My questions would be:
- Is this realistic for a 1-1.5 month project?
- Can I also implement digital effects using such an underpowered micro-controller? What if I were to purchase separate DAC/ADC?
- Would chaining these effects be possible or result in a muddy, unpleasant sound?
- How much will my component quality affect the sound and what components should I prioritize purchasing in higher quality?
- What power supply would I used, considering that all these circuits usually run on 9V.
Hope this isn't too much, I know some of these question were asked before, but I couldn't find a satisfying answer combining all of these factors. I don't expect anyone to answer all of these and/or hand me my project on a plate, but I'd appreciate any answers and advice.
Thanks!
EDIT: I would rather not use the Daisy Seed if possible due to budget constraints :c