Ask Electronics

3881 readers
27 users here now

For questions about component-level electronic circuits, tools and equipment.

Rules

1: Be nice.

2: Be on-topic (eg: Electronic, not electrical).

3: No commercial stuff, buying, selling or valuations.

4: Be safe.


founded 2 years ago
MODERATORS
1
 
 

As my collection of small components grows, it is becoming... messy. And it is not even large yet, I have only done a handful of hobby projects.

Recently I had the realization that I can make use of Chinese 'Sample Books' to keep the smaller reel components well organized. I have ordered 0402, 0603, the 0805, and two empty books to use these as the basis of my organization:

What made me originally select the strategy of keeping the original packaging that the components came and stuffing them into project-specific bags is the labeling. My first attempt at organization was to to use small storage boxes for sorting, but when I tried to keep single labeled components per box I ran out of boxes very quickly... When I mix multiple components in a box (like different photodiodes, for example), then it is difficult to label them separately without using too much space.

I am curious about what methods others use for keeping a component library organized and easy to search.

2
3
NAND Gate Qucs (lemmy.world)
submitted 1 day ago* (last edited 1 day ago) by luruca@lemmy.world to c/askelectronics@discuss.tchncs.de
 
 

I’m trying to simulate a NAND gate using MOSFETs in QUCS, but I’m having trouble getting it to work. Could someone help me figure out what’s going wrong?

All the resistors are set to 1 kΩ, the supply voltage is 1 V, and the square wave generator has a period of 1 ms and 2 ms with a 10 ns switching time. When I draw the same circuit in Voltsim on my phone, it works as expected.

3
 
 

I’m replacing a trivial pcb in a battery pack for a small fan. It’s 6V (4xAA) with a SPST top left and a USB socket top right. But why on earth would the power line on the pcb follow that curved path? There are no other components, just the 2 ends of the battery pack and a plastic housing.

Maybe just ‘because you can’?

4
 
 

So I am working on an Arduino project and have trouble communicating over UART.

I have a SIM7600G-H 4G Module from Waveshare and hooked it up to an Arduino Nano ESP32. The connections are as follows:

SIM7600<->Nano ESP32

TXD<->RX0

RXD<->TX0

VIN<->VUSB

GND<->GND

CTS<->D3

RTS<->D12

It mostly works, I can send AT commands and receive responds. However sometimes I only receive parts and chunks are missing or being send to the next command. I strongly suspect RSPs ("unsolicited result code") to be the reason behind it. As documented in the manual RSPs are being send without an implicit action and happens for example if the module receives a call or SMS.

I have read about hardware flow control which seems to theoretically solve the problem of those module talking over each other and have connected the CTS and RTS pins to generic digital pins. According the manual the SIM Module it has hardware flow control enabled as an default.

On the Arduino side of things I have added these lines in hopes of enabling it, however I do not see a change, they do not return any error but I still see data missing. I have also tried swapping CTS and RTS just for fun, but without any luck.

Serial0.setPins(-1,-1,12,3);
Serial0.setHwFlowCtrlMode(UART_HW_FLOWCTRL_CTS_RTS);

Here are the logs which shows some responds being cut off.

20:57:47.991 -> Send AT command: AT
20:57:47.991 -> Response: AT
20:57:47.991 -> OK
20:57:47.991 -> 
20:57:47.992 -> Send AT command: AT+CPIN=1234
20:57:47.992 -> Response: AT+CPIN=1234      <- This responds ending is cut off
20:57:47.992 -> Send AT command: AT+CSQ
20:57:48.025 -> Response:                    <- This responds start is cut off
20:57:48.025 -> OK
20:57:48.025 -> 
20:57:48.025 -> Send AT command: AT+CREG=1
20:57:48.059 -> Response: AT+CREG=1
20:57:48.059 -> OK
20:57:48.059 -> 

And this is my function to send those commands.

char* SIMClass::send(const char* command) {
  // Clear buffer
  while (Serial0.available() > 0) Serial0.read();
  Serial.print("Send AT command: ");
  Serial.println(command);

  unsigned long timeout = millis() + 10000;
  char* response = (char*)malloc(1024 * sizeof(char));
  uint16_t index = 0;

  Serial0.print(command);
  Serial0.print("\r");


  while (Serial0.available() == 0) {
    if (millis() > timeout) {
      response[index] = '\0';
      return response;
    }
  }

  while (Serial0.available() > 0) {
    response[index++] = Serial0.read();
    timeout = millis() + 1000;
  }
  response[index] = '\0';
  Serial.print("Response: ");
  Serial.println(response);
  return response;
}

After enabling hardware flow control unsing Serial0.setHwFlowCtrlMode(UART_HW_FLOWCTRL_CTS_RTS) I expected Serial0.print(message) to wait until the SIM module is not busy and vice versa. Am I wrong in that assumption? Am I missing something else or is it maybe recommend to implement the hardware flow yourself?

5
 
 

Trying to trouble shoot a cheaper wireless meat thermometer. It was working find when put away last year.

Now won't turn on or respond when put on charge.

The lithium pouch cell looks fine and reads 3.5v at the battery tabs. No voltage read on the output of the small circuit board attached to the pouch cell. A bit of googling has lead me to believe it is some kind of "battery protection circuit" or possibly a BMS or charge controller. I have found many similar ones but no exact match on AliExpress. It reads QLD-3036.

If anyone is familiar with those little boards can they let me know

If there would be any reason it would be stopping power getting from the battery to the main unit?

If there is some easy way to reset the board?

If the small board modifies the voltage of the battery at all and if not would it be ok to bypass the small board and supply dc to the main board where the red and black wires connect for testing purposes? I have a variable power supply and would have no issue with converting this unit to run connected to a power supply permanently.

6
 
 

This is what's known as a Master 4 module in a LHM550 Liebherr harbour crane.

Earlier this week it was hit by lightning causing the module to output a combined 8 volts out on the can line 3 circuit.

The rest of the module works fine, all functions work except anything related to can line 3.

Can line 3 output is the 2nd white plug port on the top left of the photo.

I know it's probably a long shot but does anyone have any familiarity with these kinds of things?

I have added a couple more photos in the comments.

I couldn't visually see any sort of obvious fail point.

7
 
 

I recently acquired an old electro-cautery unit. Think it is from 1910s or 1920s. Has a big old multi tapped torodial transformer running to a couple of connectors/poles. It is by F. Geiger of Philadelphia. Wood case is labeled 110V. 60 CY. and 4V. 100A. Seriously old school cool and a little horrifying.

Insulation on power cord was brittle as was insulation from secondary to pole. Both have been replaced. I used crimp connections on the primary wires (didn't measure gauge but it's on the order of 20 AWG). I was in a hurry to test and will eventually solder it properly. I added a switch to the new power cord.

It works with output voltage varying from 0.1V to 4V. It gets a woodburning tip glowing orange at setting 4 (2 volts or so). Should make a great woodburner and be useful if I ever need to interrogate someone.

There isn't really a way to ground it and the screw on the control knob is electrically connected to the secondary. I have a gfci adapter that I could plug it into. Basically, if the transformer shorts, 110V could be exposed on the face.

There are two holes on the face plate, the power cord is running through the largest and the other is empty. It may have had a foot pedal.

I want to add a RGB indicator light for voltage level using the small hole. It's a little tricky to tell when the tap is lined up and you're getting voltage. A green - yellow -red fade and maybe white for NC. I have a spare Arduino Nano clone, but am not sure what circuit to rectify the AC with for the ADC. Maybe an Op amp follower? Power supply would be a 110-5v usb charger board. I would prefer to avoid a dual rail supply or higher than 5v.

Thoughts and suggestions appreciated!

8
 
 

Is this feasible at all?

My idea is to have a battery of 112 Li Ion cells in series, ending up with a nominal voltage of about 414V. This is apparently how car batteries are configured as well and it's the easiest for an EGS002 inverter.

Charging however is quite difficult as stepping up to those voltages is not trivial.

The idea is to have a charge pump circuit on every single cell. 2 mosfets for charging, a capacitor, 2 mosfets for discharging. The capacitor would charge from a 4.2V supply and discharge into the battery.

The mosfets on the battery side can be controlled with optocouplers. The gate voltage is provided by cells further up in the chain so the gate always has at least 12V on it.

Is this a bad idea? Things that come to mind are the mosfet losses. Essentially the on resistance counts 4 times per cell but usually the rDS on is in the 20 mOhm range, so 80 mOhm per cell.

Balancing is much easier this way.

Perhaps a compromise that charges several cells in series and watches the balancing could work too if efficiency is the biggest reason against this.

I'm aware of the safety considerations.

9
22
submitted 1 month ago* (last edited 1 month ago) by Sadbutdru@sopuli.xyz to c/askelectronics@discuss.tchncs.de
 
 

Can anyone help me identify this touch sensor module from a UK home bathroom light switch?

The IC is a QT113 charge transfer touch sensor, the only writing on the board is SAT 02.

I'd like to know enough about it to order replacements.

https://sopuli.xyz/pictrs/image/256ab3e9-90b3-4e38-affe-5c716332cbc3.webp

10
 
 

Hey!

I have made a 24v supercapacitor bank which is made of 12 2.7v 20F supercapacitors, balancing resistors, charge resistor and a diode to bypass the charge resistor when in discharge mode.

The mistake was made when it was connected to a mean well LRS-100-24 which is a 24v 100W supply. When I powered it up the other control board was starting and stopping - the power supply was current limiting. Im not sure what voltage would have been applied to the supercapacitors but I think it wasn't high as the microprocessor on the other board was constantly resetting so the supercaps were not charged.

This happened for a maximum of 60s until I realised what was wrong and disconnected the caps.

My question is - will the capacitors be damaged from this event? Any help is very much appreciated.

Thanks

11
 
 

So far I have been using RCY connectors to connect some low power fans for a custom thingy (fursuit head, this will be relevant later (space limitations)). They have a fairly low power draw, so around 5v 0.1A.

This has worked for around a year, but as there is a lot of movement where I use it, the power leads have ripped right at the connector. It looks like this is caused by the lack of any strain relief as the connector is crimped and does not have the usual stress relief thingies, which are often seen at other stuff like psu cables, usb etc.

So I'm looking to upgrade / replace that with a different connector. I'm looking for one which has:

  • stress relief against bending
  • is twistable / unidirectional (so something more like a barrel jack / headphone jack)
  • is small / slim (I have very limited room that's why I initially used RCY). The size is mostly limited in thickness, not length.
  • is able to carry the very low voltage and current of 5v 0.1-0.2A (so basically anything will do that)
  • available in germany (most likely most things should be)

Things I have already considered:

  • 5.5mm 2.5mm (/2.1mm) barrel type connector --> too thick sadly
  • trying to protect the RCY plug with stuff like shrink tubes --> doesn't work, just slips off
  • thinner barrel type connectors --> can't find a matching set of cable with plug and cable with receptacle

Rn my best bet seems to be 2.5mm headphone jacks. I do have the feeling that there might be something better out there, so that's why I'm asking here.

Any help would be very appreciated. Thanks in advance!

Edit: Thanks for the suggestions so far, I forgot to add it to the list of the requirements that, the plug needs to be round, as one of the issues I had is that the 90° edges of the plug can get caught in the fabric. So I'm really looking for something round, so something without sharp hooks and release mechanisms.

12
 
 

All the fridge repair videos I have seen demonstrate how a fridge with a damper works -- in which case all the cooling happens in the freezer and a vent with configurable damper diverts some cold air to the fridge. Perhaps that is a US design.

European fridges are apparently different. The fridge and freezer are separate with no interconnecting vent. No fans either. The freezer is surrounded with coils embedded in the surface panels. The fridge has a plate with embedded tube for coolant. I am surprised that a plate the size of a large dinner plate/platter is big enough to cool the whole fridge.

The plate also has a tube in a loop of tubing that is not embedded into the plate but against it. The two ends of the tube join into a molding with 3 wires going to the thermostat (one of which is a ground wire). What is that thing?

There is a separate wire that goes to the thermostat. I think that is the probe that actually reacts to the temp.

I couldn’t easily send pics because the plate does not come off. I can barely pry it to get an eyeball behind it. I think everytime I bend the plate to see behind it I probably bend the tubes carrying coolant (not good).

13
 
 

Hey I'm not sure if this is the right community for this but it seemed applicable, let me know if I need to delete!

I am seeking anyone with a Square brand magstripe reader (not contactless, magstripe specifically) willing to run a quick test for me. It's just:

  • Connect Square to computer
  • Open any text editor
  • run any card's magstripe (except a chipped payment card. Costco, non-chipped card, gas station rewards card, etc will work fine) through
  • Does it type out the data from two or three tracks in the text editor, the way traditional USB readers do?

Thank you for your time reading this, and double thanks for anyone willing to test. This is as close as I can get to trying before buying lol.

14
 
 

I am wiring this up, and I would like to limit the current being drawn from 18v DC/DC converter.

What would be the simplest way of doing this?

15
 
 

cross-posted from: https://slrpnk.net/post/26897688

Either the relay is broken or the thermostat. I know this because I could force the fridge to run by hotwiring 220V across the common and run pins then briefly jumping the start pin to the run pin (thus sending 220V through the start winding for a split second).

The thermostat assembly has too many wires to know what to measure resistance on. But I figure that the thermostat can be black-box tested simply by checking whether it sends 220v to the relay switch. There are THREE wires involved (in addition to ground). With the relay removed (thus compressor disconnected), I plugged the fridge into mains. Got these measurements:

common pin to run: 220v
common pin to start pin: 20v

I’m tempted to conclude that the start winding /can/ accept 220v (proven by hotwiring), but 20v is also sufficient to cause enough motor movement to get it started. Does that sound reasonable? Can I conclude that the thermostat works and the relay is toast?

It’s hard to be confident without a service manual, particularly when the relay¹ has continuity. The common pin goes through a cylinder marked “Klixon MRP342LZ-32Q1”, which as 0.5 Ω. The start and run pins go through what seems to be a ceramic disc having 45 Ω. Is that reasonable?

I am ½ tempted to attach the relay, bypass the thermostat, and wire the relay to mains with start-run jumped persistently. Is that crazy? I assume the relay would internally disconnect the start winding. The fridge has no fans AFAICT, so no need for anything else to have power in this test.

¹ The relay I have has part № “A 3B7 8100” printed on it, which I cannot find online. But it looks exactly like this one.

Update

I hot-wired the relay. It was non-trivial because the relay has /3/ inputs. After studying it closely, I realised that one of the inputs (apparently for the start winding) is phony. The spade connector that attaches to it ultimately goes nowhere. When connecting the remaining 2 pins to load and neutral for the house mains, the fridge started and ran just fine.

Thus I have to conclude that the thermostat went bad. And replacements are not sold. However, Amazon has what’s claimed to be a universal fridge thermostat. It’s cheap, but I boycott Amazon. I think I will wait until someone throws out their fridge. Perhaps I can just take any thermostat and make it work.

16
 
 

Hello everyone. totally nob here but very enthusiastic. I'm trying to repair an old SA610 pioneer amp that is shorted. I remove the power transformer and it's ok, generating 64 volts between red and orange as 32 volts between any of these and the white wire.

So, the short lies elsewhere, but I'm having a little trouble trying to find it ou. Can anyone help me?

17
 
 

I have an older electrical device which I would like to switch to charging with a USB C cable and a standard USB power supply. The device's power supply unit supplies 14V and 400 mA, so 5.6 W. The device documentation certifies it for 12V with 2 Ah.

I found a useful answer on stackexchange about the Source Power Rule for USB 3.1. This implies to me that my device is not compatible with 3.1 because at a power draw below 15W, PD 3.1 defaults to 5V.

According to Wikipedia, a USB4 DFP is required to supply at least 7.5W Type-C current, which is above the power requirements for my device.

Based on this, it seems to me that the power supply of my device is too non-standard to be supplied by a standard USB power supply. Have I understood this correctly?

Thank you for your help.

18
 
 

I recently got a bunch of old 80's crts which I cant find any information about online.
I do have the service manual tho link
Looks like standart composite with external Horizontal and Vertical Sync to me but I'm not 100% sure and I dont want to fry anything

Thanks,
Oha

19
 
 

(Electrical Discharge Machining)
In terms of current, voltage, frequency, rise time, etc. What makes this one special for switching topologies?

20
 
 

Got a used business laptop and found a recessed dongle in it. The original owner says they have no clue, that it’s been in there since they got it. There’s no way a dongle is keeping this thing running, is there? I’ve already swapped the OS, if that matters at all

Update: yubikey! Thank you all for the information, I’m definitely still learning

21
 
 

I have a controller for an electric throw blanket that I would like to repair, but I have no experience soldering on boards

You can see at bottom left a yellow box and a resistor. Something has burnt out in this area, and likely both will need to be replaced at a minimum

I would also need help identifying parts. The yellow box is embossed 'Tenta' and has printed on the side 'TC MEX/TENTAMKP 0.1 uf 275VAC' with some other markings obscured or damaged

Is this an achievable project?

22
 
 

So there are tons of 12"x9" magnetic grids out there for dropping screws onto when taking apart electronics, but my projects typically involve integration into other materials.

Having a sewing mat (about 24"x18") with all the metric/imperial grid lines and angle lines, but with a magnetic backing for holding screws in place would be perfect.

Has anyone ever tried to make a DIY magnetic desk pad? And if so, how did it go?

23
10
submitted 4 months ago* (last edited 3 months ago) by bvoigtlaender@feddit.org to c/askelectronics@discuss.tchncs.de
 
 

Hi, hope this post is fine in regard of rule 2.

Currently doing some fun stuff with an Arduino and have it hooked up to an 128x160px and communicate with it over SPI. If i color in all 20480 pixels it takes about 2 seconds to be done and i can watch the rows change one after another.

I was wondering if there are some tricks to speed this process up a bit or does it really just come down to minimizing the pixels to be changed?

The module im using is this one: https://www.waveshare.com/wiki/1.8inch_LCD_Module

Here is also my current code if anybody cares to take a look, even though i just rewrote the example code more or less so i would understand it. https://codeberg.org/bvoigtlaender/open-phone/src/branch/main

EDIT: Thanks to jeinzi, nickwitha_k and cmnybo I have managed to bring the rendering time down from 2142ms to 80ms

24
 
 

After playing around with some greeting card modules to modulate sound onto a LED i found out that the driver part of said greeting card modules are not audio drivers but PWM drivers (oscilloscope confirmed).

This made me wonder if normal PWM controllers could be used to drive more power full LEDs.

My idea was to just remove the potentiometer and feed in music from Aux at that point.

Is there a chance of this working?

Update: I just tryed if it works and sadly it dosent, LED gets modulated somewhat but there is not audio to recover from it afterward, its only noise.

25
20
submitted 4 months ago* (last edited 4 months ago) by UnH1ng3d@lemmy.world to c/askelectronics@discuss.tchncs.de
 
 

I tried to start my laptop earlier, only for nothing to happen. It won't start on battery or when plugged in (it can run without a battery when plugged in). The battery does seem to be dead, and so is the 3V CMOS battery.

I opened it up and noticed a circle visable on one of the inductors. Hopefully you can see it in the picture.

Could this be the problem, or is that normal?

Update: I've tested some suggestion and watched some repair videos, but I found nothing. Goodbye old friend 🥲🤚

Thanks for the help guys

view more: next ›