Analog Stock Ticker
Вставка
- Опубліковано 29 лип 2023
- Analog Voltmeter: amzn.to/3q3ZqYi
Graphic: / 86904595
Code: / christophers-v3-86504727
This analog stock ticker uses a galvanometer-style voltmeter and PWM signals from an ESP8266 microcontroller to physically visualize the daily percent change of the S&P 500. It was a really easy project to make, and I hope that others can take this inspiration and hopefully see this project through a bit more fully than I did.
Thank you for watching Christopher's Factory! - Наука та технологія
Of course it doesn’t occur to me until I already posted this video that I could just use two digital pins rather than one digital pin and ground 🤦🏻♂️ literally the simplest possible solution
So you swap the digital and ground when you want it to swing negative? You could do that but you’d have to disconnect the ground when you want to swing forward again. What you want here is a h-bridge. They’re used in dc motors to go forward and backwards. 2 digital pins, one applies the output voltage forwards, one applies the output voltage backwards. Plus you can still use PWM
@@michaeljohnward632 I mean rather than using one digital pin and one ground pin, I just use two digital pins and set one to ground for positive readings and set the other to ground for negative readings.
I was thinking just like you were -- that I'd need to have some way of switching the inputs... With the amount of current that I'll be drawing (virtually none), I can just do this with the IO pins. I might just have to see this project through now!
I love that you're having a crack and putting it up even if it doesn't work 👍
You really just need a logic level n channel mosfet to make this work. Have the esp32 drive the gate of mosfet, and hook up the positive wire of the gauge to a 5v rail, the negative wire of the gauge to the drain of the mosfet, and the source of the mosfet to ground making sure both grounds are common.
Yes yes, please do the mosfet add on. It will be great follow up to this video. Just use a BS170 (or similar). Horrible performance but widely available and it’s through hole (has legs) so it will work with a breadboard.
I'm looking to a website with 24/7 live streaming video of your meter so I can watch S&P crash in real-time.
😂😂
make a gpu