Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
babyeatingpsychopath
Oct 28, 2000
Forum Veteran


Shelvocke posted:

My intention is to regulate and rectify the non-cdi coils to 12v with a 110w max reg/rec and help smooth out variations with a large capacitor, as battery space is limited and these bikes tend to kill them. I'm also going to install a fuse box which was missing in the original harness.

Before you get into any of your numbered questions: what voltage is the coil putting out? If you're 100% replacing everything, why not build a new lighting system from scratch in something more friendly? You could probably have your R/R output 5V or 3.3V and just use hobby RC stuff off-the-shelf. This seems to be a perfect use case for pre-designed modules you plug together. A bridge rectifier to get noisy, ripply DC, then a pre-built DC-DC converter that already has all of these design considerations implemented for you, so now you just need to plug in pre-built 6V or 12V LED lights.

I built an arduino-controlled lighting system for my motorcycle that ended up being the size of a deck of cards (not including the DC-DC converter), used the existing switchgear, and consumed basically no power, using only "conversion" type LED lamps that fit in the factory housings.

To directly answer your questions now:
1: skip this question with a pre-built regulator that gives cleanish power. Don't build your own R/R.
2: Always use a current-limiting resistor, and know that you may need heatsinking of some kind with high-power LED modules. Low-side switching is a good idea; it's what I used, because I could use easy and cheap power MOSFETs to do it.
3: In a box with vent holes is probably fine. The commercial DC-DC stuff is good up to 80C operating temp; any airflow or even decent fins is good enough.
4: If all that's on it is lights, you won't even notice 20% ripple current. Depending on the frequency of the alternator, you may not even notice 90% ripple current.

One thing that comes to mind is maybe your coil system is going to be super unhappy with massively unbalanced currents in each of the coil windings.

Adbot
ADBOT LOVES YOU

Shelvocke
Aug 6, 2013

Microwave Engraver
Thanks for comprehensive reply.

I've not tested it myself, but I believe the coil puts out anywhere from 9-15v.
The capacitor was going to be in addition to the R/R, because the original loom had one and it seemed like a good idea.

I like the look of the stepdown module - the harness needs to power horn, lights, and possibly phone charger, so having lower voltage could make sense.

On resistors - I still need one if voltage drop matches supply?

Dairy Days
Dec 26, 2007

Please do not buy an extremely bottom barrel dc/dc converter for something like running your headlights and taillights. You probably want something that is potted or covered with silastic so vibrations dont cause all of the component leads to metal fatigue and fall off.
What else is on this harness that makes you need it to be 110w? If this is a bike that goes on roads or is used at night you are going to want way more than 9 watts of headlight unless you have predator vision. You cannot run series LEDs with no resistor (for much more than a second anyway) just by making the voltage close to the combined drop, the resistor is for limiting the current not for limiting the voltage. You should not run series LEDs for safety critical lights, because if one fails open circuit then all of them turn off, and if one fails closed circuit then the others will be on, but way over current and will likely fail because of it, so you should run them parallel with each having their own resistor.

Shelvocke
Aug 6, 2013

Microwave Engraver
The 110w is the maximum rating of the r/r unit I already have, not my intended draw.

Sorry for not elaborating - the headlight unit I already have has lenses that will focus rows of 3 LEDs into a legal light image. There's room for 4 X 9w rows, 18w each for main beam and high beam.

I admit I've struggled to grasp the resistor, it makes sense that it limits current.

taqueso
Mar 8, 2004


:911:
:wookie: :thermidor: :wookie:
:dehumanize:

:pirate::hf::tinfoil:

You need to be able to withstand something like 80V in the event of a load dump. Get a DC/DC that can survive high input voltages or put a big honking zener diode in front of the DC/DC.

peepsalot
Apr 24, 2007

        PEEP THIS...
           BITCH!

So this is probably a dumb idea and way beyond my electronics design capabilities, but I'm wondering what it would take to simulate a very simple neural network(just a handful of "neurons") in analog hardware.

I wouldn't need to it to be "trainable" with back-propagation, and I'm picturing adjusting weights manually with potentiometers or swapping resistor values. But I'm wondering what is the simplest circuit that could be used to sum multiple analog inputs.
I don't suppose it would be feasible to implement with just discrete components?

I guess I was originally thinking that it would sum voltages, but maybe summing currents as inputs would make a lot more sense and simplify things to the point that I could use a single transistor for each neuron?

peepsalot fucked around with this message at 21:24 on Nov 9, 2019

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
I remember a write-up from the Neurobytes guys talking about how the excitation current of (real) neurons works, and it seemed really do-able and fun in analog. They did it in code, but I think your idea has legs.

ante fucked around with this message at 03:37 on Nov 10, 2019

taqueso
Mar 8, 2004


:911:
:wookie: :thermidor: :wookie:
:dehumanize:

:pirate::hf::tinfoil:

Yeah that sounds workable and fun.

Shame Boy
Mar 2, 2010

I read some other article that was discussing doing it with memristors so all you need to do is get yourself some memristors. Easy!

PDP-1
Oct 12, 2004

It's a beautiful day in the neighborhood.

BattleMaster posted:

Kilowatts and whole amps are a different world from what I'm used to in radiation detection. I live in a land of gigaohms and kilovolts and picoamps.

I'm having trouble figuring out proper grounding practices though. Here's a picture of the charge-sensitive preamplifier I built:



However if I plugged a cable into that SHV connector on the left, the cable seemed to act as an antenna even if it was terminated with a proportional counter. Like I was getting really bad 100 MHz noise with a 1-foot cable and really bad 40 MHz noise with a 3-foot cable.

As a test I added the second chassis ground wire on the left, to the tab on the SHV connector. Everything is good now.

Why was that second ground connection the difference between really bad performance and good performance?

From a few pages back, but is the metal box itself connected to earth ground in any way? If not, you just have a big floating node that only has its own internal charges to work with to block passing EM noise. If the box is tied to earth ground it would have a much better source of charges to pull from to make shielding currents / arrange internal charges to counter external E fields.

My guess is that your box is not earth grounded, then you add one 'ground' wire to an SHV line that is also not earth grounded so it doesn't help improve shielding much. Then you add the second ground wire to a line that is actually connected to earth ground and shielding gets a ton better.

BattleMaster
Aug 14, 2000

The second SHV connector I added the ground to was to the detector, which isn't grounded. However, the other SHV connector and one BNC connector were going to a NIM crate (for an HV supply and tail pulse generator) which was definitely earthed, and the output (which had the first ground lug around it) was connected to a scope which should also be earthed but I'm not as certain as the NIM crate.

Yeah that makes a couple of big ground loops, but all the radiation detector setups I've ever seen are a big mess as far as ground loops go and that wasn't even the problem anyway.

The next time I build equipment I'm going to consider using isolated coax connectors on one side of each coax cable and grounding through only one wire, like in this setup here:



but I don't think I'm good enough at the ground thing yet to do advanced stuff like that, if I'm having trouble understanding wtf is going on here

BattleMaster fucked around with this message at 06:38 on Nov 11, 2019

Splode
Jun 18, 2013

put some clothes on you little freak
I've seen high end audio amplifiers that have a big switch to connect or disconnect ground. The idea is that if you have ground loop problems, flip the switch and see if that works, because grounding is mysterious.

My first audio project started working better all of a sudden, and I realised that my audio negative cable had fallen out, fixing an accidental ground loop. poo poo is wack.

longview
Dec 25, 2006

heh.
The high end audio gear probably has transformer coupled inputs if it has a ground lift function. DI boxes are often used for this function as well, especially when interfacing with things like instruments.

There shouldn't really be a need for that feature if the transmission cable is balanced+shielded and grounded to PE at the source and receiver.
The fact that it's common to need to float the ground on equipment used for live sound reproduction is pretty scary from an electrical safety perspective, since it indicates that it's common to have equipment with potentially hazardous ground/isolation faults.

Ambrose Burnside
Aug 30, 2007

pensive
Are those $50 long wei k3010d 30V10A regulated power supplies (for ex https://www.aliexpress.com/item/33030880652.html?spm=2114.12010610.8148356.2.60706f77U08ScH ) well-suited to electroplating?

I wanna gently caress around with copper electroforming (like plating but different) for the purposes of making experimental short-run sheet metal 'rapid tooling' dies for use in the rubber-pad sheet metal forming process. For context, this is an old manufacturing technique that replaces the conventional two-part mating die (v expensive and finicky to make properly) with a single die and a pad/block of polyurethane rubber. The rubber acts as a universal conforming die that adapts to whatever tooling you throw in there. The technique is fantastic for prototyping and small production runs because it hugely simplifies the basic tooling requirements to start turning out parts.
anyways, electroformed tooling is an established rapid tooling production technique in industry, but I see no reason why it shouldn't scale down to my needs. I want to see how electroformed tools stack up to my other rapid tooling approaches already in use, stuff like like building up dies from laser-cut acrylic slices or casting and recasting them using reusable low-melt fusible alloys.

the process I'm planning on using is:
- produce die model 'mandrel' using combination of stereolithography resin printing for the high-detail art/geometry parts and laser cut acrylic/hardboard for the base/lower-detail stuff
- paint mandrel face with sealant and then with an unbroken coating of conductive graphite paint
- hang conductive model from copper wire in electroforming bath, chuck a copper sheet anode in there as well
- use regulated power supply to plate a heavy copper layer over the mandrel face
- carefully remove mandrel from copper shell
- fill shell with incompressible mineral/metal-filled epoxy
- use completed composite tool to produce up to several hundred or thousand parts before the die wears out

It's not actually too hard to get started with jewellery-scale work, the only expensive part is the regulated power supply. As I understand it, electroforming has very forgiving power supply requirements irt precision, you dial in the supply based on the surface area of the part and then fiddle with it during operation based on the plating appearance/colour. I will need more than 5A to do the parts I want, though, and most 10A supplies are out of my budget. the k3010d seems to meet my needs p well, and I dug up enough non-shill youtube reviews where they ran the thing at 9A draw for a week straight to be comfortable in at least some of these supplies working for hours without exploding.

Ambrose Burnside fucked around with this message at 03:16 on Nov 13, 2019

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
Report back if you get something working


I've done some gold electroplating and it's pretty easy, but not the same thing really

Ambrose Burnside
Aug 30, 2007

pensive
yeah electroforming is easy to "do" but very hard to do to a professional standard. getting an even plate thickness across a part w highly-variable geometry is apparently a nightmare, you gotta tailor the sacrificial anode's geometry to follow the mandrel contours closely + a specified offset. once the forming bath gets saturated good results become really hard to lock in, etc etc

i'm gonna start with some artsy freeform stuff, i've got a background in silversmithing which dovetails nicely w the usual first exploratory project, forming an organic/freeform copper bezel onto a mostly-finished piece of jewellery with the stone set in place but not actually mechanically-retained by anything

Mr. Bubbles
Jul 19, 2012
I'm looking for sensor recommendation for measuring level of a liquid in a container. The distance from sensor to liquid will be less than 2m. If like accuracy of +/- 1cm or better. The environment will essentially be without light (does this matter for infrared type sensors)? I've played around with the HCSR04 sensor but measurements seem to float s fair amount. Would the Garmin Lidar be something to look at?

CopperHound
Feb 14, 2012

Mr. Bubbles posted:

I'm looking for sensor recommendation for measuring level of a liquid in a container. The distance from sensor to liquid will be less than 2m. If like accuracy of +/- 1cm or better. The environment will essentially be without light (does this matter for infrared type sensors)? I've played around with the HCSR04 sensor but measurements seem to float s fair amount. Would the Garmin Lidar be something to look at?
How deep of a range are you trying to measure? +/-1cm is a lot easier when you are dealing with 30cm total range variation as opposed to 2m. Is sticking a float sensor in the liquid possible?

sharkytm
Oct 9, 2003

Ba

By

Sharkytm doot doo do doot do doo


Fallen Rib

Mr. Bubbles posted:

I'm looking for sensor recommendation for measuring level of a liquid in a container. The distance from sensor to liquid will be less than 2m. If like accuracy of +/- 1cm or better. The environment will essentially be without light (does this matter for infrared type sensors)? I've played around with the HCSR04 sensor but measurements seem to float s fair amount. Would the Garmin Lidar be something to look at?

They make ultrasonic tank level sensors, I'd give those a shot if a float sensor isn't viable.

Mr. Bubbles
Jul 19, 2012

CopperHound posted:

How deep of a range are you trying to measure? +/-1cm is a lot easier when you are dealing with 30cm total range variation as opposed to 2m. Is sticking a float sensor in the liquid possible?

I'd prefer not to use a float sensor. Range appx 5cm to 1m, now that I think more about it shouldn't need 2m.

Ambrose Burnside
Aug 30, 2007

pensive
you shouldn't have to spend more than idk $5-10 for this sensor, lots of budget options. given that you require short(ish) range and a decently-high precision as far as bargain-bin rangefinding goes, a ToF laser sounds like the best fit- except for the pesky fact that water doesn't reflect well enough to get an accurate reading. if you pointed it at a flat-topped float in a tube in the tank it'd work fine, but then you're introducing a moving part, albeit the type that should only be an issue if the water is allowed to freeze. cheap ultrasonic rangefinders will be pure non-contact, but they're also a lot noisier signal-wise and that +/- 1cm might be hard to hit with a $2 ebay ultrasonic rangefinder. theyre commonly-used for this purpose when the fluid is more inconvenient than water, though, so a sensor that meets your specs should do just fine.

You could even DIY a conductance-based sensor with a resistor ladder and dozens of open connections stacked at 1cm or w/e intervals in a tube- the output voltage values will all correlate to a specific number of circuits being closed by water, giving you your water level. it can be as accurate as you have patience to put together. if you printed the ladder contacts onto PCBs and designed them to tile end-to-end while maintaining the needed spacing it probably wouldnt be too painful to put together.
a float sensor will also probably do just fine for most applications, assuming this is in a climate-controlled location where freezing isn't an issue. they're not foolproof but they're very reliable, sump pumps all over the place already rely on them for emergency dewatering, they wouldn't use em if they weren't fairly reliable in that application.

(search back a few pages, i'm doing water level sensing for a pump project rn so i've been wrangling with this)

Ambrose Burnside fucked around with this message at 18:32 on Nov 13, 2019

poeticoddity
Jan 14, 2007
"How nice - to feel nothing and still get full credit for being alive." - Kurt Vonnegut Jr. - Slaughterhouse Five
What kind of liquid is it?
There are options available for water that aren't suitable for stuff that's flammable or corrosive, for example.

Mr. Bubbles
Jul 19, 2012
Sorry, should have mentioned not water. It's a fuel, so definitely flammable if that changes my options.

Mr. Bubbles
Jul 19, 2012

Ambrose Burnside posted:

you shouldn't have to spend more than idk $5-10 for this sensor, lots of budget options. given that you require short(ish) range and a decently-high precision as far as bargain-bin rangefinding goes, a ToF laser sounds like the best fit- except for the pesky fact that water doesn't reflect well enough to get an accurate reading. if you pointed it at a flat-topped float in a tube in the tank it'd work fine, but then you're introducing a moving part, albeit the type that should only be an issue if the water is allowed to freeze. cheap ultrasonic rangefinders will be pure non-contact, but they're also a lot noisier signal-wise and that +/- 1cm might be hard to hit with a $2 ebay ultrasonic rangefinder. theyre commonly-used for this purpose when the fluid is more inconvenient than water, though, so a sensor that meets your specs should do just fine.

You could even DIY a conductance-based sensor with a resistor ladder and dozens of open connections stacked at 1cm or w/e intervals in a tube- the output voltage values will all correlate to a specific number of circuits being closed by water, giving you your water level. it can be as accurate as you have patience to put together. if you printed the ladder contacts onto PCBs and designed them to tile end-to-end while maintaining the needed spacing it probably wouldnt be too painful to put together.
a float sensor will also probably do just fine for most applications, assuming this is in a climate-controlled location where freezing isn't an issue. they're not foolproof but they're very reliable, sump pumps all over the place already rely on them for emergency dewatering, they wouldn't use em if they weren't fairly reliable in that application.

(search back a few pages, i'm doing water level sensing for a pump project rn so i've been wrangling with this)

Good points. Maybe ToF laser would be an option I can look into.

taqueso
Mar 8, 2004


:911:
:wookie: :thermidor: :wookie:
:dehumanize:

:pirate::hf::tinfoil:

Be careful with fuel and anything that isn't rated intrinsically safe.

Sagebrush
Feb 26, 2012

You're the same guy who is trying to make something kind of like a sump pump but not really and it's definitely not for drugs or anything but you can't tell us what it is, right?

I am not sure I really want to know what you're doing with a tank full of liquid fuel and a bunch of secret custom electronics

Mr. Bubbles
Jul 19, 2012

Sagebrush posted:

You're the same guy who is trying to make something kind of like a sump pump but not really and it's definitely not for drugs or anything but you can't tell us what it is, right?

I am not sure I really want to know what you're doing with a tank full of liquid fuel and a bunch of secret custom electronics

I think you're confusing me for another poster? I've never tried to make a sump pump. Link me to what you're referring to.

This is a project for measuring a fuel tank that is otherwise measured using a calibrated wooden stick. No secrets here.

Splode
Jun 18, 2013

put some clothes on you little freak
If you can guarantee that it's only going to have fuel in it, you could measure the weight of the fuel tank.

The normal solution for this sort of thing (eg measuring how full a bin is) is to use an ultrasonic distance sensor. For your range and accuracy, IR may be better.

Sagebrush
Feb 26, 2012

Mr. Bubbles posted:

I think you're confusing me for another poster? I've never tried to make a sump pump. Link me to what you're referring to.

This is a project for measuring a fuel tank that is otherwise measured using a calibrated wooden stick. No secrets here.

Okay, yeah, no hard feelings then. There's some other guy doing something mysterious with fluid level sensors that he's very cagey about.

Anyway, they actually make fluid sensors that you just put into the liquid and they do their thing and that's it:

https://www.adafruit.com/product/464

Sounds like you need more than 12 inches :biglips: but that company might make a variant that works for you.

Sagebrush fucked around with this message at 22:02 on Nov 13, 2019

Cojawfee
May 31, 2006
I think the US is dumb for not using Celsius
I'm a bit confused about what I'm working with here. I bought some switches for a project I'm working on. The actual button is removable and there is a light below it. When I bought it on Aliexpress, it said it is an LED switch. When I took out my multimeter to check which direction the diode goes, it lights up in either polarity. Both directions have a forward voltage of 2.9 volts and light up the light. Is there some sort of magic going on inside this thing? The switch says 12V which I am assuming is the max voltage of the light or something. The switch itself is rated for 250V 5A, so I have to assume the 12V refers to the LED. So is there some sort of circuitry in there that allows it to be bidirectional?

This is what the actual light looks like


Is this a normal LED? Do I need a resistor in series with this?

Maimgara
May 2, 2007
Chlorine for the Gene-pool.

Mr. Bubbles posted:

Sorry, should have mentioned not water. It's a fuel, so definitely flammable if that changes my options.

Go buy something here:

https://www.sick.com/us/en/fluid-sensors/level-sensors/c/g98155

Find a sensor that suits your needed depth and desired output with an ATEX approval. If a real sensor is out of your budget, walk away.
Don’t DIY something in a fuel vapor atmosphere.

taqueso
Mar 8, 2004


:911:
:wookie: :thermidor: :wookie:
:dehumanize:

:pirate::hf::tinfoil:

Alternate real-deal sensors: http://www.mtssensors.com/products/liquid-level-transmitters/index.html

shovelbum
Oct 21, 2010

Fun Shoe
What is the capacity of the fuel tank, and what is it mounted/installed on, and what is the fuel? A tank full of gasoline in the ground will yield a very different answer than a tank of heavy fuel oil on a ship.

Ambrose Burnside
Aug 30, 2007

pensive

Sagebrush posted:

You're the same guy who is trying to make something kind of like a sump pump but not really and it's definitely not for drugs or anything but you can't tell us what it is, right?

I am not sure I really want to know what you're doing with a tank full of liquid fuel and a bunch of secret custom electronics

nah that was me, i just dont like to talk in an identifying way about jobs ive signed NDAs for but didn't obfuscate the details competently
for the record, its literally a sump pump, yes

Ambrose Burnside fucked around with this message at 22:22 on Nov 13, 2019

kid sinister
Nov 16, 2002
I'm fixing up an old VTVM and I was thinking that this thing could really use a fuse. How do I size which fuse to use?

hifi
Jul 25, 2012

Cojawfee posted:

I'm a bit confused about what I'm working with here. I bought some switches for a project I'm working on. The actual button is removable and there is a light below it. When I bought it on Aliexpress, it said it is an LED switch. When I took out my multimeter to check which direction the diode goes, it lights up in either polarity. Both directions have a forward voltage of 2.9 volts and light up the light. Is there some sort of magic going on inside this thing? The switch says 12V which I am assuming is the max voltage of the light or something. The switch itself is rated for 250V 5A, so I have to assume the 12V refers to the LED. So is there some sort of circuitry in there that allows it to be bidirectional?

This is what the actual light looks like


Is this a normal LED? Do I need a resistor in series with this?

They make bipolar LEDs that are just 2 diodes in parallel pointing in opposite directions. If it's intended for AC that makes a lot of sense.

Cojawfee
May 31, 2006
I think the US is dumb for not using Celsius

hifi posted:

They make bipolar LEDs that are just 2 diodes in parallel pointing in opposite directions. If it's intended for AC that makes a lot of sense.

Ah, ok that makes sense. I did a bit more investigating and it does seem that one of those things lights up in one direction, and the other lights up in the other direction. Thanks.

Splode
Jun 18, 2013

put some clothes on you little freak
So the 1961 radar sentry I picked up on ebay arrived. Some of you guys are into vintage stuff right?

There's some sort of yellow (fluoro yellow, not at all orange) crust on the screws, it looks like a metal oxide from the screws corroding. Any idea what kind of metal corrodes like that? I'd like to clean the screws off, but I'd like to know what I'm dealing with first.

I'm a bit wary because this thing ran off mercury batteries, which while not near the screws, is a nice reminder that poo poo from the 60s could be made out of all sorts of weird and wonderful poisons.

Splode fucked around with this message at 09:55 on Nov 18, 2019

babyeatingpsychopath
Oct 28, 2000
Forum Veteran


Splode posted:

So the 1961 radar sentry I picked up on ebay arrived. Some of you guys are into vintage stuff right?

There's some sort of yellow (fluoro yellow, not at all orange) crust on the screws, it looks like a metal oxide from the screws corroding. Any idea what kind of metal corrodes like that? I'd like to clean the screws off, but I'd like to know what I'm dealing with first.

I'm a bit wary because this thing ran off mercury batteries, which while not near the screws, is a nice reminder that poo poo from the 60s could be made out of all sorts of weird and wonderful poisons.

I'm very interested in what you've got. Depending on the storage conditions, ferric oxide can be one of two colors: red (as rust) or bright yellow. So it's just a different flavor of rust. If you're worried, heat it gently with a torch. If the yellow stuff starts turning red or black, it's just rust; if not, then it's probably chromate or some other anti-sieze goop.

Adbot
ADBOT LOVES YOU

Shame Boy
Mar 2, 2010

Splode posted:

There's some sort of yellow (fluoro yellow, not at all orange) crust on the screws, it looks like a metal oxide from the screws corroding. Any idea what kind of metal corrodes like that?

Uranium :v:



  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply