askelectronics

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

cmnybo, in USB Cable check

There are simple testers like this. It’s rather overpriced for what it is, but it would be trivial to make one yourself. That will only do a continuity check though. If you want to know what the current or speed ratings are, you will need to read the chip in the cable.

irdc, in What's your solder of choice?

I have a similar-sized roll of 0.5mm Felder Sn100Ni+ with their ultra clear flux. Love the shinyness.

Indeed, don’t skimp on solder, especially when soldering lead-free.

Lucien, (edited ) in What's your solder of choice?
@Lucien@hexbear.net avatar

Kester 48 SAC305 or K100LD, depending on the application. If you’re not trying for ROHS compliance, the Kester 44 with 66 Core is very good.

Godort, in What's your solder of choice?

I use ChipQuik’s 62/36/2.

I haven’t found a lead free solder that works as well as this stuff. Plus, I never need to worry about silver-plated stuff cracking at the joint.

ignotum, in Sanity check for LiFePO4 Charger Design

Just based on my experience and knowledge of these batteries, which is not that much really, don’t take any of this as gospel.

Constant voltage current-limited power supply is probably the easiest way to charge it, a regulator + current limited supply like you mention would be one way of achieving that, will waste a lot of the power and charging speed will be limited by how much heat the regulator is able to dump (which for a typical TO-220 regulator without heatsink is like a watt or two? So you’d have a max charge current of like 0.5-1.0 amp)

Your current approach probably also works just fine, but i’m not sure how good it is for the batteries in the long run

You can find charger for sale online though, at least modules that you can solder up to a battery holder or whatever, i would go for one of those if you plan to use these batteries for a longer period of time

Saigonauticon,

Makes sense!

I’d order online if there was a LiFePO4 charger on the market. However, in my country I’ve been unable to find one, and importing (excise & duties, paperwork) is more work than building it myself. I’ll also likely need a design that I can cheaply include on custom PCBs for manufacture (not for sale to end-users, but for internal use by maintenance technicians).

I gave it a test on a cell today and it seems to charge fine and at a reasonable rate – but in a sudden flash of brilliance, I forgot to physically connect the ADC pin to the battery, so it couldn’t shut off. Well, that’s what testing is for I guess.

Anyway after fixing this, it looks like I can call this a win and move on. If it undergoes destructive optimization, I’ll report back here with a warning to others.

nilloc,

There are really charging curves that should be followed to avoid damaging the cells.

You want to charge up to a certain voltage at a current (related to the battery capacity I believe) and when the cutoff voltage is hit, you switch to constant voltage (the max voltage of the cell) and then slowly drop the amperage as the battery is topped off.

I’m not sure about your cells, but some LiFe are 95-98% full at 3.45-3.5 volts, but the problem is that the voltage curve is really flat from 40-50% charged up to 95%. So you need really accurate measurement if you want to charge to 95%. The last 3-5% is when the battery ramps up to 3.65v and really is the riskiest part of the charge. It’s also the highest wear part of the battery use, if you can avoid charging it all the way up to that your cells will last much longer.

Decent video explaining charge/discharge here, though he’s using big LiFe prismatic cells.

ColeSloth,

My normal lithium battery charger automatically slows its charging speed as battery voltage nears its capacity. I could set it at 1000mah and it will step down to less than 1/10 of that before charging is complete.

HewlettHackard,

LFP cells have excellent cycle life anyway (2000+ cycles); is it worth worrying about staying at 95%?

nilloc,

It’s just that it’s really tricky to charge the final bit because the middle 80% is such a flat voltage curve. They have a 1000x life when they’re taken care of.

Eheran,

It is in no way tricky. Simply apply a constant voltage.

nilloc,

It’s tricky to stop at the right point, because lithium iron only have a very small voltage increase between like 40% and 90% and they ramp up to full voltage right near the limit of their capacity.

Eheran,

What you are talking about is nothing special at all and not following a charging curve. The curve automatically looks the way it does when charging CCCV. Constant Current -> Constant Voltage.

SamsonSeinfelder, (edited ) in Looking for a good Data Logger. Suggestions?

The Original Saleae logic analyzer (or one of its clones -> search for “Compatible Saleae”) or a LA104 (maybe with custom firmware) or maybe a DSlogic pro or ChronoVu. You can also browse the HackADay Archive to find an analyzer that suits your needs (e.g. build your own, or based on a pico). It all depends on the resolution/speed you need and usecase.

USB isolator, $10 saleae clone and sigrok/pulseview setup is very simple and cheap (except for the isolator).

ShadowRam,

Thanks for the info!

mvirts, in Fixed address WS2811/WS2812b clones.

On the adafruit page it says:

These LEDs are not shift registers. In fact, if you look closely, there’s no input and output pin, only one data line. That’s because each LED in this strand is pre-addressed from 0 to 100. Whenever it receives the NeoPixel data, it picks out the n’th color data (matching to its pre-address) and displays that. You cannot change the pre-address, its fixed permanently - or at least, we have no idea how to re-address it.

cynar,

Yes, I read that bit. I’m trying to find out more.

They are obviously made in bulk, somewhere in china, since they are quite common, and cheap. Unfortunately, I’ve only found them in pre-built products, and none actually identify the chip model.

They obviously can be programmed (at least once) since you can buy arrays of at least 400. There is no way a factory is making 400 different chips, given the end price.

mvirts,

Are you looking for info on how to set the led color or something else?

cynar,

I’m after a name or model for the chip/led itself. Potentially along with info on its extra functions.

litchralee, in Ferrit core as 555 trigger?

If your coil was oscillating, then perhaps an iron core moving through it would cause perturbations which are detectable. But that would require extra logic to compare the expected oscillation frequency with what the coil is actually oscillating at.

Since you say that tilt switches are not an option – for reasons I’m not entirely sure I understand – another option is to have a linear Hall effect sensor mounted nearby a small magnet. If the magnet moves relative to the sensor, then that is a change which can be acted upon. A linear sensor makes it possible to use a trim pot to tune the sensitivity.

prenatal_confusion,

thanks for the reply

i failed to mention the most important aspect of the project: (near) zero power consumption when idle.

it is a vacuum (that kinda looks like r2d2) that i want to play some r2d2 noises when used.

it is hauled around on a construction site on the scaffolding and wont be in an upright position while idle or in usage, so tilt switches didnt make sense to me.

i plan to run it from a coincell or maybe 2 aa, but it should only draw power when the sensor is triggered so the power should last years if i understood the 555 timer correctly. that means accelerometers and linear hall effect sensors are out too due to microcontrollers and thus power draw.

somebody else mentioned vibration sensors (SW-18010) that look promising.

my spool idea was just bad … :)

Saigonauticon, in Looking for really small motors

These are the smallest fans that I know of: www.mouser.com/new/sunon/sunon-mighty-mini-fan/

They go down to 9mm x 9mm x 3mm.

If this is to cool some component in the flashlight, have you considered a heatsink instead?

AI_toothbrush,

Soooo turns out mouser had a classical unit conversion error so they wrote 28 times as much airflow than there actually is in the fan specs so im not going to use fans in my flashlight as 2 watts of cooling matters so little that if i just use convection it would cool more.

Saigonauticon,

Hah! I totally didn’t notice that. Good catch.

AI_toothbrush,

These seem good and mouser has ip58 ones which are perfect for me. Maybe ill use two of them for example. But im ordering a few because if they dont work im gonna abandon the fan idea. Still cool fans. As for heatsinks the whole flashlight is one. Its a really high power, small flashlight(hotrod). It uses two 14500 lithium cells(basically aa size) to power a boost converter with more than 70 watts. Even tho the boost converter is really efficient the leds produce so much heat that the light overheats in seconds. So thats why i want to test if fans help.

Corkyskog,
@Corkyskog@sh.itjust.works avatar

Can we see this flashlight when all is said and done?

AI_toothbrush,

Yeah but its still months from completion. I want to machine it from aluminium but im explorimg all possibilites before i start ordering parts/writing software. When i learn to use github im gonna upload all the files with a permissive license because i want to contribute to the flashlight community.

Saigonauticon,

In seconds? Wow. I think you’re right, you might need more than a small fan!

It might be worth exploring heat pipes or peltier effect coolers. The latter makes the problem worse (they are inefficient and generate a lot of heat) but your LED can be locally cooler if you can e.g. move all that extra heat into a big heatsink (also condensation can be problematic).

One cheap source of heat pipes for testing could be old graphics cards – they often outperform simple copper heat sinks. Use thermal epoxy to stick your LED to it and see if the performance is acceptable. On the exotic end of things, you could also water/oil cool it, or (carefully) make your own thermal grease from industrial diamond powder for a small boost in thermal conductivity.

Also even at 95% efficiency, it sounds like your boost converter has some heat to dump too!

AI_toothbrush,

Yeah the problem is the light makes so much heat(the boost as well) that i cant dump it into the air with high enough efficiency. The bodys going to be aluminium and the pcb copper.

Saigonauticon,

Hm, that reminds me! If you’re designing your own PCB, some manufacturers will make the PCB out of aluminum for you instead of FR4. This is commonly used for high-intensity LED lights to help keep them cool.

Here’s some random info about them so you can see what I mean:

pcbgogo.com/…/An_Introduction_to_Aluminum_PCBs_by…

An alternative would be copper-clad polyimide adhered to the body. That also has better thermal properties than FR4.

AI_toothbrush,

I was already planning to use a copper core pcb. This is pretty common among insanely powerfull lights. The flashlight community has some great examples. But most of these lights use resistor based voltage regulators which waste a lot of energy in the form of heat so im trying to improve on the traditional design.

Saigonauticon,

That sounds even better!

sin_free_for_00_days, in Is it safe to use a laptop charger to power two parallel 24v fans?

Just get a boost converter. Cheap, like < $20. Your only worry would be amps, but fans can’t draw enough to really concern yourself.

chrischryse,

what would I connect it to for the power source?

sin_free_for_00_days,

I figured you already had some type of adapter already. Either the one you linked, or the DC connection from the printer. If that’s the case, then it’s ridiculously easy to do a DC to DC adapter. If you do not have a DC supply and just need a 24v power supply, splurge on something like this.

chrischryse,

I just have my laptop one which I don;'t want to splice because well I use it for my laptop too lol

Would I be better off with that type of power supply?

sin_free_for_00_days,

Honestly you’d probably be fine with your original idea. But, that means you can’t charge your laptop while printing and, the 24v power supply I linked to is cheaper than your original idea.

chrischryse,

It’s a spare laptop I use for random stuff, so I don’t mind lol.

ignotum, in How to Dimension a Power Supply for an Audio Amplifier ?

Disclaimer: not at all an expert on this, this is just my thoughts based on what i’ve heard, please correct me if i’m wrong

  • Normal power supplies are CV, so you don’t have to worry too much about that, CC supplies are a bit more niche
  • If you want to be able to run the amps at full power, you’ll have to add up all their rated powers and find a psu that is rated for that, it could also be wise to go with one slightly larger as well, as power supplies tend to get a bit noisy when they’re close to the limit (the voltage they give out gets noisy that is) which reduces the audio quality
  • what are the input for the amps? You say they have built in rectifiers and everything? Can they be aupplied by mains directly? What is the max input voltage?
megrania,

Hmm they are rated for 12V to 32V, and the seller recommends using a toroidal transformer to achieve the symmetric power it needs.

BigDanishGuy, in How to use Liquidwire (conductive paint)

Do you have a multimeter? Or other way of gauging the resistance of the new traces?

I don’t know the specific product you’ve used, and my experience with conductive paints and glues is almost nonexistent. But what I remember is that it was neither useful as a glue or a conductor. So I suspect that the resistance of the trace is too great to be used for traces going into the 100s of mm.

If my suspicion is correct, then maybe you can fix it by using the paint to attach something with little resistance in parallel to the paint traces. Maybe stripping a multicore wire and using a single strand of copper, lay it down on the trace and paint over it? Or cutting the traces out of tinfoil and gluing them down to the existing traces with some of the paint?

ReSordo,

I was thinking about using thin copper tape, it’s cheap and it should be better that some graphite ink I hope,

BigDanishGuy,

Definitely better conduction than the paint. Just make sure that the tape isn’t coated where it has to make a connection to the pads.

DontNoodles, in Microvawe transformer spotwelder. Is there a way to improve it?

I don’t have any improvements to offer but I want to mention that I saw a crazy video that used a circuit breaker as a spot welding device. The concept is pretty much right and it is as cheap as it can gets, but it is electroboom kind of crazy and the guy even hurt himself on camera while using it.

Rolive,

Where is the video? Electroboom craziness sounds entertaining.

DontNoodles,

www.youtube.com/watch?v=K_pD0W_Fm6g

He burnt himself off a 12v battery. Increase the voltage by the amount you want to live dangerously at the benefit of getting better weld. It also suggests using two MCBs in series in case one of them does not trip for any reason.

Hagdos, in Housing for resistor?

I would make sure the solder connection between wire and resistor is very solid, and then encase the stuff in heat shrink tubing with glue in it. (Adhesive Lined Heat Shrink Tubing)

If it’s good enough for Nasa, it will work for your car: makezine.com/…/how-to-splice-wire-to-nasa-standar…

BigDanishGuy, (edited ) in How to solve power supply whine with continuous dimming LED?

Are the changes in pitch alone, or does the amplitude change as well?

What happens if you set the frequency to something extremely low? I know that 50Hz is unusable, it will flicker, but does something still hum at 50Hz? What about if you increase the frequency in steps until you approach 200Hz?

Your multimeter couldn’t measure anything when you went to 25kHz? That may be an issue of the microcontroller not supplying enough current to charge the gate capacitance on the mosfet in time, or not drain it fast enough to turn it off. If you disconnect the esp from the rest of the circuit, can you measure something then?

If yes, then you’ll want to use a push pull pair for driving the mosfet. Or get a mosfet driver, but a bc547/bc549 pair and a bit of passives will be fine, available in through hole, and considerably cheaper.

If no, then either the esp can’t go that fast in this implementation (was it a software PWM?) or your multimeter doesn’t work in that range.

nucleative,

Interesting suggestions, I would not have tried such low frequencies except based on your suggestion and it turns out that going very low, below 1000Hz and even down to 100Hz causes the power supply whine to almost entirely go away. I also have a 470uF capacitor in between the power rails now too.

This range is a usable - there is no visible flickering even at very low duty cycles.

From what I understand in the reference guides the LEDC library attaches directly to the 80mhz or 40mhz esp32 hardware clock for PWM. Intuitively I’d have guessed that higher frequency would always mean less discernable audible feedback, but seems not in this case.

BigDanishGuy,

This range is a usable - there is no visible flickering even at very low duty cycles.

Before deciding on the frequency, and then mounting the strip in a position where the LEDs are directly observable, you should try moving the LEDs fast relative to your eyes. Eg. take the end of the strip and wave it from side to side. You may notice flicker at frequencies below 200Hz.

nucleative,

Ok, good thinking. I settled on 1000Hz and also made it something in remotely reconfigure should the need arise. That combined with the other suggestions, and getting a better power supply has made the system whisper quiet now.

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