Hacker News new | past | comments | ask | show | jobs | submit login

Thanks for pointing out my error in reading the data sheet on how the max terminal currents are defined. I've corrected this in my post.

On the power, I get a maximum power dissipation through R(AW) and R(WB) of 130 mW at R(AW) = 432 Ohms and R(WB) = 5000 - R(AB) = 4586 Ohms. Work is on my post.

The meters don't work well below about 18 Volts. The needle just doesn't quite make it all the way to open. My theory is the current is too small at lower voltages to completely overcome the force of the spring that pulls the needle to the out-of-range position when powered off. If the internal 300 Ohm resistance of the meter could be changed easily, then a lower voltage could work.

And yep, a DAC or PWM with an op amp with some gain would certainly work. For a lot of my past meter projects where the voltages required were 5 Volts or less, I've gone the PWM route with great success.




Welcome here! I'm always amazed by your work and have a sweet spot for custom USB devices like the DIP Switch USB stick or the knob box.

One question: is there any way to match such a device to an UI element in Windows, so that a physical knob can change the value of a slider element or a physical gauge showing a value for a software gauge/progress bar?

There used to be tools that allowed to click UI elements in a different program and change properties of these, e.g. setting a disabled UI element to enabled or reading out a value from a password field. That was 20 years ago though, so it might be possible that Windows is separating different programs more strictly these days.


Thanks! I'm working on a three-wire DC Selsyn landing gear and flaps indicator next. Just did a bunch of rework to convert it from a self-powered device to a USB bus-powered device. Hoping to get a blog post up about it in a week or two.

I need to work on a C# app to demonstrate the landing gear and flaps indicator next though. It's working in Linux using a CLI but the Windows GUI makes the demo videos easier.

I'm not aware of any way to access dialog box elements using an API but I'm also not really a Windows developer either. I thought back in the day COM was supposed to enable sharing app elements and data using OLE and ActiveX. But all that Windows tech is beyond me.

Closest thing I can think of would be a bar code reader always having focus of one particular box on a form but I don't know how that works.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: