askelectronics

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

cmnybo, in Ferrit core as 555 trigger?

No, moving a ferrite core through a coil won’t generate a voltage. You would need to move a magnet to generate a voltage.

Look for a vibration switch like one of these. If you want more control, you could use an accelerometer and a microcontroller to trigger it from a specific amount of movement.

prenatal_confusion,

thanks for your reply

lemmy.one/comment/4791215

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 … :)

glibg10b, in Ferrit core as 555 trigger?

I haven’t done a course in electromagnetism yet, but as far as I understand, the ferrite core is just a piece of metal with no magnetic field, so moving it doesn’t induce a voltage

I think it would, however, change the inductance, just like the iron core in a transformer does

prenatal_confusion,

thanks for your reply

lemmy.one/comment/4791215

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 project idea for low power motion triggered r2d2-sound source

From a conceptual perspective, very low quiescent current (aka idle/standby current) when unactivated is entirely achievable. What your design will need to do is assess how much each component will draw at idle, and if it’s too high, then you may need to have gates which turn off those high-draw components when idling.

From a cursory Google Search, the DFPlayer Mini datasheet shows a standby power of 20 mA, which far too high. A forum post shows that if the sleep mode is enabled using the serial interface, current drops to 0.4 uA. This is much better.

For the 555 itself, you mention an astable oscillating configuration, although I’m wondering what your intention for the 555 is. Ostensibly, the DFPlayer either needs a brief pulse to start playing (roughly “edge triggered”) or needs to be kept active for as long as the music should be playing (roughly “level triggered”). In either case, a 555 in a one-shot configuration would make sense, since an astable oscillator would imply the music would restart on its own every so often.

If you’re insisting on the 555, then you may not be able to access the sleep mode in the DFPlayer Mini. So your option might be to gate the DFPlayer so that it only gets Vcc power when the 555 supplies it, probably using a MOSFET. Alternatively, using a cheap microcontroller would let you control the DFPlayer Mini via serial. Your microcontroller could then also receive the signal from the vibration switch and come out of deep sleep to issue commands to the DDPlayer.

The ATTiny uC and MSP430 uC families can draw as low as microamps or even nanoamps in some low-power modes. So that neatly addresses the standby current.

What you’ll also have to assess is the active current, or how much the music player draws when it runs for however long. This should give you an idea of the total lifetime for your application on a single battery charge.

cmnybo, in Can anyone find datasheets for these ICs ?

The flash chip is a common 16 MiB SPI NOR flash. An easy way to read or write it would be to use flashrom on a single board computer like a Raspberry Pi.

Unfortunately, that router is not supported by OpenWrt or DD-WRT, so you probably won’t be able to do much with it.

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!

Saigonauticon, in Ferrit core as 555 trigger?

No, that won’t work.

A vibration switch will work.

If that’s not sensitive enough, another option is using a piezo element coupled to the case to detect vibration, with an op-amp or hex inverter to buffer + trigger the 555. However if you couple it too closely with e.g. the floor or furniture it will pick up nearby footsteps or cars. Might be good depending on the situation.

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.

Fiivemacs, in What is this connector called?

micro jst 1.25 ?

waz,

That was one of the two I found in my search. The other was Molex PicoBlade. None of the pictures I saw of gave me confidence either way.

Heir_Of_Isildur,

www.jst.com/products/category/wire-to-wire/

Probably good to check these out, maybe the XA series?

Iamsqueegee, in What is this connector called?

A 2-pin connector?

waz,

Yes, 2 pins.

Adramis,

I think they’re saying that’s generally what it’s called.

RobotToaster, in What is this connector called?

This isn’t an easy question mattmillman.com/…/common-jst-connector-types/

hardaysknight, in What is this connector called?

Why not just splice the wire?

Eheran,

This is by far the best option for awkward connectors. You could even remove the pins and put the new cables in by opening the crimp and soldering the new ones without any splice.

gazter, in What is this connector called?

Your 2nd best bet would be to get the pin spacing, and filter your search using that.

Your first best bet would be to just replace both ends.

I settled on a ‘standard’ and just bought a massive kit of each of those connector types- wire-wire, wire-board, wire-panel in M and F, in various pole counts. Buy once, cry once.

lnxtx, in What is this connector called?
@lnxtx@feddit.nl avatar

Molex 51021 or similar. Could you measure the pin pitch?

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