askelectronics

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

ciko22i3, in What's the thinnest E-ink screen that is closest to 3.5×2.5 inch?
@ciko22i3@sopuli.xyz avatar

Try finding it on AliExpress. Just search “e ink display” or "e ink screen. The webiste is hot garbage but their app is ok.

Corkyskog,
@Corkyskog@sh.itjust.works avatar

Thanks I did try before, but now I had success. I stumbled upon those little price tags stores use to digitally update prices. Those could possibly work for this.

ciko22i3,
@ciko22i3@sopuli.xyz avatar

good luck

your project sounds really interesting, make sure you post an update when its done

jjagaimo, in How to improve my battery measurement circuit?

You could use a single MOSFET on the high side of the divider and use a cap + diode to boost the voltage and fully turn on the FET:

https://lemmy.ca/pictrs/image/8b22113e-3ad3-40c1-80ee-e7b3e6be24cb.png

My gate driver is fairly crude but you could probably make something a bit better with a PNP transistor and either pull it down or leave it floating, or instead use a szaiklai pair

nilclass,

Hm, I don’t understand how this is supposed to work - is that a n-channel or p-channel FET?

When I sketch it using falstad’s circuitjs, it looks like the FET (n-channel) is a little bit on all the time

https://discuss.tchncs.de/pictrs/image/dae3ca56-da12-4a48-a023-d3c08c614efb.png

and fully on, when a pulse is applied

https://discuss.tchncs.de/pictrs/image/e929b967-601c-4796-8b42-1f17de54f037.png

Source:

spoiler$ 1 0.000005 10.20027730826997 50 5 43 5e-11 r 144 80 144 176 0 1000 r 0 192 96 192 0 100 t 96 192 144 192 0 1 -8.999999980890745 9.099999980846458e-10 100 default c 144 176 304 176 0 0.000001 -1.7996761414451612e-8 0 f 304 176 384 176 32 2 0.02 d 304 80 304 176 2 default r 384 192 384 272 0 1000 r 384 272 384 352 0 1000 g 384 352 384 384 0 0 g 144 208 144 256 0 0 w 144 80 304 80 0 w 384 160 384 80 0 w 384 80 304 80 0 v 528 256 528 208 0 0 40 9 0 0 0.5 w 528 256 528 352 0 w 528 352 384 352 0 w 528 208 528 80 0 w 528 80 384 80 0 g -48 208 -48 256 0 0 R -48 176 -48 128 0 0 40 5 0 0 0.5 S 0 192 -48 192 0 0 false 0 2 p 384 272 272 272 3 0 0 g 272 272 272 304 0 0___

jjagaimo,

It is an N channel FET. The concept is called “bootstrapping” since Vgs needs to be greater than Vth for the MOSFET to be on. When the FET is on the high side and you want the full 9V on the output, you use the diode to charge the capacitor, and the other side of the cap is 0V. Then, when the other side of the cap is connected to 9V, the charge on the cap can’t go anywhere so the voltage on the other side jumps to 18V. This creates a Vgs of 9V. Ideally you would have something better to drive the gate to fully turn off the FET, but I just used a quick and dirty driver where the bootstrap capacitor directly feeds the gate instead of being the input to the driver. Because if this, the Vgs doesn’t drop completely to 0

nilclass,

Nice, than you for sharing!

I won’t be using this for my measurement issue (the other options are much simpler, and i was aiming for less parts, not more), but I’ll do some experiments to familiarize myself with bootstrapping

Black616Angel, in Can anyone help how to fix my led?

There is like a multitude of possible reasons.

Can you open it up, without destroying or damaging it?

If so, you would need a multimeter to trace, which components are broken and maybe you can repair them.

NextNoobi,

After opening up, it might also be obvious what’s the problem.

Double_A,
@Double_A@discuss.tchncs.de avatar

Most likely it’s just a worn out micro usb port, which are usually super shitty.

Shanedino, in Is “harvesting” small amounts of electricity a fools errand?

Some cool stuff I saw when I worked in a lab in college working on wearables. Movement, heat, etc.

Root, in Transformer question

The coils in EI-core transformers are all wound around the middle leg. My last build had five separated coils: primary, 520V, 80V, 25V, 6,5V.

sokkies, in Attiny85 the right choice for 24h led timer?

ATTiny would definitely work. Ive use them for really really long timer systems with some trial and error.

You should maybe just look at a bigger battery depending on what lifetime you would expect? They are not exactly super low power(at least the ones I have used)

P03,

Is there a more low power alternative?

Goodman,

You could go with an DS1339 which is an RTC with two programmable time of day alarms. If you only need timing you might as well do that. But if electronics isn’t really your thing then just add a bigger battery for the attiny85, make sure to run it at it’s lowest clock speed.

Saigonauticon,

I use the Attiny10 in this context. At 3.5V operation and using the Watchdog timer + deep sleep… that should cost you about 4.5 uA when the lamp is off. Then a bit more when it is on (about 40uA assuming whatever the GPIO is connected to is high impedance), as you have to enable the I/O clock (but most things and peripherals can stay off). So an average consumption of 10.4 uA, or 31 years of operation off two 1.5V cells – of course they’re not rated for this long and the actual light will consume far far more power. The point is that the current consumption of the system is absolutely dominated by the light-producing component, in other words the control system is highly efficient.

You can implement as a state machine, e.g. something vaguely like:

Set WDT to trigger an interrupt instead of the RESET vector. Then set WDT to trigger after 8s. Then on wake increment a register (you will need 2 registers, 8 bits isn’t enough). Compare these registers to constants that set the timer duration. On compare match, change the machine state.

Machine state 1: GPIO HIGH, timer duration 4h, I/O clock enabled. CPU sleep mode IDLE. Machine state 2: GPIO LOW, timer duration 20h, sleep mode POWER DOWN.

I think in assembly language but should be a similar process in C++. I’ve successfully implemented very similar (night-light timing) algorithms on this chip. I can’t give you power consumption metrics as none have ever run out of power over the past 6 months.

skillissuer, (edited ) in Some advice on creating a 2.4 GHz antenna for Seeed ESP32-C3
@skillissuer@discuss.tchncs.de avatar
  1. no, this is fine, you can find it in routers all the time (usually with printed antennas, or wire antennas)
  2. so it seems, however remember that at microwave frequencies you might start seeing distributed elements as a part of matching circuit (patches, open or shorted transmission lines etc) every fraction of mm is critical. i don’t know what impedance gets this thing on output, but it might be very well non-real. it’s usually done so that everything is matched to 50 ohms
  3. assuming that output is matched to 50 ohm, which is usually the case, you can use any length of coax, as long as losses don’t kick in too badly. this means you also have to make your antenna 50 ohms. i see you’re using ceramic antenna, which provides matching circuit for you, but there are other options like inverted-F antenna (3cm long) or even smaller zigzagged *inverted F antenna or halo antennas (some 2cm dia), which would require matching. tradeoff is better efficiency (less heating; one of these antennas wastes almost 40% of power) and the fact that you can make them on your own
KyuubiNoKitsune,

Thank you for your detailed reply, I really appreciate it. It answers my question and raises a whole bunch more :D, I think I need to brush up on general RF and get a better understanding of how it actually works. I shall do some youtubing and reading on it. I found a really good pdf that discussed antenna design but a lot of it I didn’t understand, so I’m going to need to learn a bit more.

Ill also take a look at the drone antennas too.

Thanks again for your help.

skillissuer,
@skillissuer@discuss.tchncs.de avatar

if you want to measure anything rf, you’ll need a vector network analyzer like nanoVNA (some $40), this will be very useful in tuning/matching antennas (and making sure you won’t get reflections that could potentially damage transmitter if you screw up badly enough)

KyuubiNoKitsune,

This all seems really complicated but at the same time super interesting. Thanks for the recommendation.

skillissuer, (edited )
@skillissuer@discuss.tchncs.de avatar

antenna design is usually limited by one of these things: size, gain/radiation pattern, efficiency, bandwidth (fixed here, entire 2.4ghz band)

you can probably use off the shelf antennas used for drones if these are small enough for your application

soldering coax can be tricky, don’t melt center insulation. you’ll need to size microstrip line so that it’ll have impedance 50 ohms as well www.pasternack.com/t-calculator-microstrip.aspx

dack, in How do you guys enclose relay modules into the switch board?

Can you explain what you mean by “inside the switchboard”? Maybe a photo?

Normally, you would use standoffs to mount it.

WhyAUsername_1,

Perfect. Ended up using the standoffs idea.

This is the wall outlet.

https://lemmy.world/pictrs/image/6f10b3af-5832-4548-83fc-a54b9ac4ff44.jpeg

This is the switchboard that will be now mounted on wall mount. Wanted to avoid relay board from touching its back side.

https://lemmy.world/pictrs/image/5b84789d-0d97-4843-90a9-5a2626d8e209.jpeg

This is the relay board now:

https://lemmy.world/pictrs/image/9c9316ab-0b8c-4365-b56c-b55d5af0d90b.jpeg

Sieguito, in How do you guys enclose relay modules into the switch board?

I think you should use turrets, the board has mounting holes for a reason

WhyAUsername_1,

I ended up using spacers so that it does not come in contact with the metal box enclosure. Thanks for pointing out the mountijg holes. It was right there and I never noticed haha. I feel like an idiot.

oldfart, in Communication protocol suggestion for peer-to-peer device network?

CAN BUS is relatively easy to implement and ticks your boxes

surepancakes,

Thank you for your suggestion. Is it really that easy to implement? So far the people I talked with irl told me otherwise, but I will look into it and judge myself whether I am up to the task.

oldfart,

Exactly, hard/easy depends on your background. It’s been almost 20 years since I worked with it, I’m sure there are ready made libraries or chips implementing 99% of the protocol these days.

lxpw, in Neat trick for desoldering many-pin components

I picked up a Hakko desoldering gun many years ago to save me from this. It was pricey (~$300), but has been worth it over the years.

naonintendois,

This trick might be more useful for people who are budget constrained. In the past I’ve resorted to cutting the plastic between the headers (making them unusable), so this is a nice alternative without the need for another tool. If budget wasn’t an issue I’d likely buy a much nicer iron and an extra wide knife-style tip.

Saigonauticon,

Haha, I’ve done that too. However sometimes it rips the pads off or otherwise damages the vias. So instead I cut them along the other axis (parallel to the PCB), then remove the remaining nibs.

These days I mostly use a hot air rework station though. In my city this is integrated with many soldering stations on the market, for maybe an extra 10$. I think mine is Yihua brand, it’s quite OK.

deksesuma,

Same. It’s been a lifesaver and a confidence booster because I know I can more easily recover from mistakes.

dmention7, in What is this "220?" component and how do I determine a compatible replacement?

Maybe I’m looking at the wrong thing, but I don’t see melted plastic. I see a collapsed bubble (a “fisheye”) in the conformal coating that is providing moisture resistance to the components.

mvirts, in What is this "220?" component and how do I determine a compatible replacement?

Clearly R27 is installed backwards 😹 oh yeah also you can guess that they’re resistors because the label (screen print) uses an R to identify them

chinpokomon,

As a resistor, there isn’t a forward or backwards. Diodes and some capacitors perhaps, but resistors have no forward or reverse bias. Upside down might be a problem because all the electrons will fall out. /s

ShadowAether, in How to get rid of swollen laptop battery?

Did you check if your city will take them? Sometimes you need to go a specific dropoff site but usually they have instructions for household hazardous material

goldgate,

That’s a good advice. I checked the process for my city. I had to go to the city office, and after I provide my proof of residence they would give me a voucher. I could then use that voucher to dispose any hazardous household waste at a designated waste collection center.

For my battery, I went to Batteries and Bulbs. They did not charge me anything, even returned my lipo bag.

eman_sdrawkcab, in Attempting to repair controller, Have I damaged it beyond repair?

As others have said, your pad is gone. If you’re struggling to expose the trace needed to solder, it might be easier to find out which one of those test points corresponds to the battery terminal and solder a wire to that instead.

Here’s a great resource I used to repair an Xbox one controller after destroying the pads in an attempt to replace an analogue stick.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • askelectronics@discuss.tchncs.de
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #