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
Foxfire_
Nov 8, 2010

You could do it with the encoder edges feeding a counter instead of polling them directly.

The microcontroller would periodically read and reset it, then act on knowing the new wheel position and velocity.

Adbot
ADBOT LOVES YOU

Shame Boy
Mar 2, 2010

Finally got the board and parts in to assemble the power supply I've been posting about in this thread for the last month or so - it worked perfect on the first go (thanks to this thread!), and in fact is significantly more efficient than LTSpice predicted - no-load current when it outputs 400V is 50mA vs. 250mA predicted (I was simulating it with worst-case values though). The only thing I hosed up was the size of one capacitor footprint, but I bodged another one in there well enough that you can't tell :c00lbert:

The via stitching worked out great, though it was even more of a hassle to solder than I was expecting. I wound up buying one of these things:

https://www.amazon.com/gp/product/B00BK772Y4/


Definitely recommend getting one if anyone here has trouble soldering SMD stuff on high heat capacity boards. I thought it would be poorly regulated and a pain to use, but it comes with thermocouples you put on the board itself so it regulates the temperature of the board rather accurately, and the small one I got doesn't actually radiate that much heat up into my face when I'm working over it - my little desk fan was more than enough to keep me comfortable while working on it for hours. You just set the thing to heat the board to like 90C, then do the heat pencil reflow soldering technique normally and it's like the board's heat-sinking isn't even there.

Plus the sides and top don't even get burning-hot like I was expecting so I didn't even burn my arms when I accidentally rested them on the edges several times :downs:

carticket
Jun 28, 2005

white and gold.

I spun my first PCB yesterday and ordered from OSH Park. I never want to touch Fritzing again. I'm installing KiCad tonight and trying to duplicate the same work. Fritzing worked for getting it done fast but there was so much I could do schematically, and certain things seemed overly difficult in layout.

CheddarGoblin
Jan 12, 2005
oh
Quick question, I bought these in an attempt to reverse engineer the RF remote for my ceiling fan (for home automation), only to discover afterwards that the remote is actually 303.875mhz. As far as I can tell, no one makes little breakouts like these for 303mhz. So if I got the correct crystal and soldered it in place of the 433mhz one on the TX, is it likely to work? I realize that doesn't help with the RX piece, but I think I can just use a SDR to decode the current remote.

CheddarGoblin fucked around with this message at 04:03 on May 15, 2018

Shame Boy
Mar 2, 2010

n.. posted:

Quick question, I bought these in an attempt to reverse engineer the RF remote for my ceiling fan (for home automation), only to discover afterwards that the remote is actually 303.875mhz. As far as I can tell, no one makes little breakouts like these for 303mhz. So if I got the correct crystal and soldered it in place of the 433mhz one on the TX, is it likely to work? I realize that doesn't help with the RX piece, but I think I can just use a SDR to decode the current remote.

Probably, I've used those 433mhz circuits plenty and they're very simple (just turning the crystal on and off with a transistor), but you might need to adjust the coil or capacitor (I think there's one or two caps on the other side of the board) too for it to transmit any appreciable distance. It also will probably be out of tune without adjusting those but in my experience the things output such a massive wide band (like 2 to 3MHz wide) that that doesn't really matter much for most cheap receivers

Captain Capacitor
Jan 21, 2008

The code you say?
I did a dumb.

For some reason I thought I could control a pair of Peltier devices using a pot.

Several sparks and flashes later I realized how immensely stupid that was.

Shame Boy
Mar 2, 2010

Captain Capacitor posted:

I did a dumb.

For some reason I thought I could control a pair of Peltier devices using a pot.

Several sparks and flashes later I realized how immensely stupid that was.

I mean you probably could, it would just need to be one of those huge ones that you see in old 50's control rooms

e: Like this one, available for the low low price of only $517!

Shame Boy
Mar 2, 2010

Can someone tell me if I'm reading this wrong? I'm looking at this page about filters for switching power supplies:

http://www.analog.com/en/technical-articles/designing-second-stage-output-filters-for-switching-power-supplies.html

There's a long list of equations you're supposed to plug in to each other to make this one final super-equation, number 16:



It seems to me like the bottom line of that should be c2+d2, since otherwise equation d isn't used at all (either here or anywhere else on the page). Is this just a typo or am I missing something?

hifi
Jul 25, 2012

ate all the Oreos posted:

Can someone tell me if I'm reading this wrong? I'm looking at this page about filters for switching power supplies:

http://www.analog.com/en/technical-articles/designing-second-stage-output-filters-for-switching-power-supplies.html

There's a long list of equations you're supposed to plug in to each other to make this one final super-equation, number 16:



It seems to me like the bottom line of that should be c2+d2, since otherwise equation d isn't used at all (either here or anywhere else on the page). Is this just a typo or am I missing something?

googled "rload rfilt" for a similar equation and found the author writing it was an editing mistake:

https://ez.analog.com/thread/96284-ripple-filter-damping-techniques#comment-310514

Shame Boy
Mar 2, 2010

hifi posted:

googled "rload rfilt" for a similar equation and found the author writing it was an editing mistake:

https://ez.analog.com/thread/96284-ripple-filter-damping-techniques#comment-310514

Oh neat, I didn't think to google the variable names, thanks!

It's still giving me weird impossible numbers (it's telling me to set capacitor C2 to be 6 orders of magnitude smaller than C1, to something like half a pf, which doesn't seem... right) but at least now I know that's my fault :downs:

Switzerland
Feb 18, 2005
Do what thou must do.
Maybe the wrong thread to ask in, and maybe my google-fu is just THAT weak, but I can't for the life of me find DIY headphone kits. Surely these exist?

E.g. buncha wires, maybe even soldered onto a bluetooth thingy and/or headphone jack, plus all the stuff that goes in the actual enclosure, but without the enclosure itself...?

Shame Boy
Mar 2, 2010

Switzerland posted:

Maybe the wrong thread to ask in, and maybe my google-fu is just THAT weak, but I can't for the life of me find DIY headphone kits. Surely these exist?

E.g. buncha wires, maybe even soldered onto a bluetooth thingy and/or headphone jack, plus all the stuff that goes in the actual enclosure, but without the enclosure itself...?

Do you mean a headphone amp kit, or like a kit to actually put together a... set of headphones? Because headphone amps are all over the place, I'm pretty sure someone put together a really fancy one in this very thread a year or two ago, but I've never heard of DIY headphones themselves

Switzerland
Feb 18, 2005
Do what thou must do.
A kit to put together an actual set of headphones. As in, wiring, soldered headphone jack, the speakers, basically everything EXCEPT the actual enclosure.

Shame Boy
Mar 2, 2010

Switzerland posted:

A kit to put together an actual set of headphones. As in, wiring, soldered headphone jack, the speakers, basically everything EXCEPT the actual enclosure.

Hm, yeah I've never seen anything specifically like that but I don't think it would be terribly hard to put together yourself - I know you can get complete bluetooth audio modules that handle the communication and amplification and stuff, just get a pair of speakers that'd fit whatever you're going to build this into, maybe a battery pack of some kind, and wire it up

TerminalSaint
Apr 21, 2007


Where must we go...

we who wander this Wasteland in search of our better selves?
If bluetooth isn't vital you're just looking at sourcing a pair of drivers, a jack, and some wire, anyway.

Switzerland
Feb 18, 2005
Do what thou must do.

TerminalSaint posted:

If bluetooth isn't vital you're just looking at sourcing a pair of drivers, a jack, and some wire, anyway.

yes please? :D

ynohtna
Feb 16, 2007

backwoods compatible
Illegal Hen
Loan some assembled headphones to a DJ, get separate components returned.

Splode
Jun 18, 2013

put some clothes on you little freak

Switzerland posted:

yes please? :D

Come on dude we're not going to source your individual components for you.

TerminalSaint
Apr 21, 2007


Where must we go...

we who wander this Wasteland in search of our better selves?

Switzerland posted:

yes please? :D

https://www.aliexpress.com/af/headphone-speaker-unit.html?SearchText=headphone+speaker+unit&blanktest=0&origin=n&jump=afs
Picking the right one is up to you because that gets into the dangerous waters of audio opinions.

Lazy option for the wire and jack is cutting the end off an aux cable.

TerminalSaint fucked around with this message at 01:45 on May 26, 2018

Rexxed
May 1, 2010

Dis is amazing!
I gotta try dis!

Switzerland posted:

A kit to put together an actual set of headphones. As in, wiring, soldered headphone jack, the speakers, basically everything EXCEPT the actual enclosure.

These guys make a kit that's supposed to be paired with housing and headband that you 3d print from their files (or get 3d printed by a service). It doesn't require soldering and I don't know anything about the quality of the hardware besides it existing:
https://www.print.plus/store

It's probably not what you want but it almost meets your original request.

Shame Boy
Mar 2, 2010

hifi posted:

googled "rload rfilt" for a similar equation and found the author writing it was an editing mistake:

https://ez.analog.com/thread/96284-ripple-filter-damping-techniques#comment-310514

The guy helpfully posts a spreadsheet in that link you found which helped me figure out what was wrong - the article itself has a lot more problems than just the one:

- There's an entire equation dedicated to finding ω0 and a bunch of equations right after that use a variable called ω, which isn't defined anywhere, so I assumed that meant ω0. Turns out ω is actually a symbol for "frequency in radians" that I didn't know about, which I assume is why you're supposed to go to college to learn this stuff :downs:
- Equation 15 is actually supposed to be -RloadLfiltω2

Now it's finally giving me numbers that make sense :toot:

Hunter2 Thompson
Feb 3, 2005

Ramrod XTreme
Eh, I don’t think paying tens of thousands of dollars to know the symbol for frequency in radians is necessarily a great deal ;)

How are you studying this stuff? When I was in school I think I learned far more from an experienced mentor and piles of application notes (from TI, AD, Linear, etc.) than class.

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
Class taught me to regurgitate a whole bunch of formulae, never use them again, and then struggle to understand them on wikipedia nearly a decade later

Spazzle
Jul 5, 2003

Not sure if this is the right thread. Does anyone have any experience with FPGAs. I'm trying to delay a fast(100s Mhz) signal a tunable amount, and it appeared that an FPGA could achieve this. However, I have almost no idea on how to achieve this. Any advice?

JawnV6
Jul 4, 2004

So hot ...
Er... what's your signal?

FPGA's are awesome at digital signals. You can delay something by a precise cycle count and adjust it with inputs from other GPIO's. But if this is something with an analog component, an FPGA is going to be inappropriate.

You might have some luck with Cypress PSoC's?

carticket
Jun 28, 2005

white and gold.

Spazzle posted:

Not sure if this is the right thread. Does anyone have any experience with FPGAs. I'm trying to delay a fast(100s Mhz) signal a tunable amount, and it appeared that an FPGA could achieve this. However, I have almost no idea on how to achieve this. Any advice?

What delay range are you looking for? Are glitches okay when adjusting the delay? There's probably an easier way than an FPGA, but I don't know what it would be.

Spazzle
Jul 5, 2003

JawnV6 posted:

Er... what's your signal?

FPGA's are awesome at digital signals. You can delay something by a precise cycle count and adjust it with inputs from other GPIO's. But if this is something with an analog component, an FPGA is going to be inappropriate.

You might have some luck with Cypress PSoC's?

Binary signal, variable duty cycle. Probably 10s to hundreds of ns on then off. Would be happy to find a non FPGA solution, but would like to be able to control delay with some kind of signal, say from an arduino. Delay would mostly be static or changed very slowly. i'm seeing something like this on digikey (https://www.digikey.com/products/en/integrated-circuits-ics/clock-timing-delay-lines/688/page/2), but they all seem surface mount.

carticket
Jun 28, 2005

white and gold.

You're going to have a hard time finding a non surface mount FPGA. Those look like the right ICs. If you can say, what are you trying to do on the grander scale? The delay you're talking about is ones through tens of cycles at a 100MHz sample rate.

Shame Boy
Mar 2, 2010

Got a prototype of version 2 of my nixie display digit board assembled and running, but I couldn't shake the feeling that I had forgotten something in the design...

Then I powered it off, grabbed the board, and it literally hit me - I forgot discharge resistors for the ~1.2uF of smoothing capacitors on the 180V rail :downs:

SwissArmyDruid
Feb 14, 2014

by sebmojo
Came back around to the Mini-USB port swap again, once I figured out how to non-destructively disassemble my microphone.

Anyone have a digikey part number for a micro usb port that might drop in written down somewhere?




Shame Boy
Mar 2, 2010

SwissArmyDruid posted:

Came back around to the Mini-USB port swap again, once I figured out how to non-destructively disassemble my microphone.

Anyone have a digikey part number for a micro usb port that might drop in written down somewhere?






I don't know if anyone will be able to match it just from pictures, you might need to get in there with a micrometer and try to sketch out and dimension the footprint. At that pin pitch a few tenths of a mm can be the difference between "fits fine" and "pins overlap and short out". Even if you got the pins right you probably won't be able to find one that has anchor points at the same positions, meaning the micro USB port will be weak and prone to snapping off.

A better option imo is to just replace that entire board - it looks like the PCB it's mounted on is only for the USB port and that little bypass capacitor there. You could just replace it with a different one that fits in the same space but with the correct footprint for a micro-USB port. Either etch one yourself, get one manufactured or try to rig it up some other way (maybe just solder wires directly to the port and glue the whole thing in place somehow?)

Splode
Jun 18, 2013

put some clothes on you little freak
Nah I reckon you can get one close enough and make it work. The footprints are usually all pretty similar.

I do agree that you should take some measurements though. Then go look on digikey for surface mount mini usb connectors and play match the drawings until it's close enough.

Shame Boy
Mar 2, 2010

Splode posted:

Nah I reckon you can get one close enough and make it work. The footprints are usually all pretty similar.

I do agree that you should take some measurements though. Then go look on digikey for surface mount mini usb connectors and play match the drawings until it's close enough.

The footprints are similar between mini and micro? I guess I've never actually bought mini-USB sockets but I thought they'd be a bit bigger than micro since the connector itself is bigger :shrug:

Splode
Jun 18, 2013

put some clothes on you little freak

ate all the Oreos posted:

The footprints are similar between mini and micro? I guess I've never actually bought mini-USB sockets but I thought they'd be a bit bigger than micro since the connector itself is bigger :shrug:

No I'm just dumb and didn't read the original post properly. I still think you could bodge it, but I am a professional bodger

SoundMonkey
Apr 22, 2006

I just push buttons.


so i have this, and i pretty much know i'm never going to do anything cool with it because i'm lazy, does anyone want it?



18.5-watt Soraa LED emitter. will need heavy heatsinking. 2700K color temperature.

Shame Boy
Mar 2, 2010

Does anyone know of an online tool that lets you punch in an oddball resistance value you want and how many resistors you want to use and it tells you how to get closest to that value using a specified set of resistors (like E24, E96 etc) arranged parallel or series or both? Seems like something that would be super helpful...

e: Like I tell it I want 5.5Ω using one resistor in the E24 range, it spits out 5.6Ω, for two resistors it spits out something like two 11Ω's in parallel, etc.

Shame Boy fucked around with this message at 15:17 on Jun 4, 2018

Sir Bobert Fishbone
Jan 16, 2006

Beebort

ate all the Oreos posted:

Does anyone know of an online tool that lets you punch in an oddball resistance value you want and how many resistors you want to use and it tells you how to get closest to that value using a specified set of resistors (like E24, E96 etc) arranged parallel or series or both? Seems like something that would be super helpful...

e: Like I tell it I want 5.5Ω using one resistor in the E24 range, it spits out 5.6Ω, for two resistors it spits out something like two 11Ω's in parallel, etc.

This is as close as I could quickly find: http://jansson.us/resistors.html

Shame Boy
Mar 2, 2010

Sir Bobert Fishbone posted:

This is as close as I could quickly find: http://jansson.us/resistors.html

Yeah that's pretty close to what I was thinking (and probably perfectly fine for what I'm doing) but now I'm interested in trying to make one myself, I imagine you could just generate a table of all possible combinations from n=1 to 4 for the different E ranges and then just do lookups on that. It'd probably wind up only being a few megabytes and would be very fast once generated. Add it to my pile of "stuff I'd like to do eventually" I guess :sigh:

ante
Apr 9, 2005

SUNSHINE AND RAINBOWS
I was pretty stoked to guess-and-check for dividing 3.3v down to 1.0v with 1k in series with 10k and 4.7k in parallel


A good set of values

Adbot
ADBOT LOVES YOU

Trabant
Nov 26, 2011

All systems nominal.
I think the answer is "eBay/AliExpress/disassemble a used monitor" but thought I'd ask:

I'm going down the path of making a briefcase to hold my Amiga emulator, a la this, because I'm a massive nostalgia dork. I need a display module that will ideally handle an HDMI input since that's the only signal my emulator device outputs, which in turn means I need a way to bring the audio signal out from the display to a pair of small speakers. Given that I'll be using it exclusively for Amiga game emulation, I'm not looking for some high-performance display and have zero need for touchscreen capabilities.

This guy would work well since it does HDMI and includes audio out, but it seems overpriced. Plus, I'd prefer something in the 13-15" range, which makes me think that my options are:

1) Cannibalize an old monitor which has either integrated speakers or (better yet) audio out
2) Try my luck with AliExpress items like this (which I know includes audio out because it's shown with speakers but has a massive bezel) or this (which should/might) or build-my-own combo of control board and display.

Is there an option I'm overlooking, or some parts source I just haven't thought of?

Thanks!

late edit: seller "oupin6" on eBay is probably the best single source I've found so far, e.g. this and many other items. Little confused by his warning though -- I have no idea how to parse this:

quote:

PLEASE READ THIS CAREFULLY BERFORE YOU ORDER THE KIT:

Please make sure the vertical and horizontal driver inside your LCD is still work, If it does not work our kit can not fix it.

Trabant fucked around with this message at 20:39 on Jun 7, 2018

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