#ESPhome + Galvanometer + eInk = galvanink

36 messages Β· Page 1 of 1 (latest)

upbeat gyro
#

Still early on this, I have a different eInk display on a dev board that will reduce the number of PCBs involved here so this is mostly a POC. Gutted a cheap voltmeter and am running it via PWM to move the needle in front of an eInk display to create an old analog meter style display

still estuary
#

Love this!! The hybrid display is suuuper cool.

obsidian swallow
#

Very nice! I have one of those meters lying around from a gutted tape recorder, and am always looking for a nice project for it. This looks like a great candidate! πŸ˜„

dense jackal
#

Great idea!!

full pollen
#

Nice idea to combine both. An analog Meter is best to view the relativ change of a value over time.
If you make it jump around between different values (degrees, percentages) it gets a bit pointless..
I would suggest to show some values on the scale, (eg. from 0 to 100%) and leaving the time to another area..

glossy hinge
#

What PWM you use?
I have 3 of this meters 3,3V meters and cant make tham move good.
Thay bob around the set value. 😦

Can you share the code?

#

@upbeat gyro

robust bramble
glossy hinge
#

I dont realy know. I see this project and remember my old days of testing this πŸ™‚

#

I was tring to make a clock from 3 of this meters.

#

But cant make it stable.

upbeat gyro
#

nothing too fancy on the DAC side:

output:
  - platform: ledc
    pin: GPIO17
    id: output_pwm
    frequency: 19531Hz # 12 bit, 4096 steps

light:
  - platform: monochromatic
    output: output_pwm
    id: light_pwm
    name: "Analog Meter"
robust bramble
#

Why are you using a light?

glossy hinge
#

What should you use? πŸ˜„

robust bramble
#

Just use the output directly. What you have is going to be sending updates for the light to HA every time you change the display.

upbeat gyro
#

in my case, i was using HA to control the VU meter, so presenting a light was how the automation on the HA side got things done

robust bramble
#

oh, ok. Then I guess it makes sense in that case. πŸ™‚

#

Why would you do that though? You still need the data locally to update the display.

upbeat gyro
#

was easy at the time? honestly, the whole project was me seeing something similar and saying hey i bet i can do that, so i did that, posted a pic, then haven't touched it since lol

#

turns out i was correct, with the help of esphome and fine people here, i can in fact do that!

glossy hinge
#

Ohhh i know wher was mi problem πŸ˜„
I am using the 5V Voltage meters not 3V>>

So i neded Logic Level shifter.
And that was giving me hard time πŸ˜„

robust bramble
#

Is it actually a volt meter or just the meter by itself?

glossy hinge
#

V meter

#

0 - 5 V

#

πŸ™‚

robust bramble
#

You can probably adjust it by adding a resistor.

#

But this should go to a thread in #off-topic now if you're wanting to work on it. πŸ™‚

glossy hinge
#

Ant the another thing that is magic πŸ˜„ Now i have it ON. And i copied your seting and the magic thing ist that 76% is 2.5V??
How? On 5V side of Logic Shifter.

#

Now i remember why i domed this project πŸ˜„

robust bramble
#

Are you using a light?

glossy hinge
#

I copied you config πŸ˜„

robust bramble
#

You need to disable the gamma correct.

glossy hinge
#

No way πŸ˜„ That simple? πŸ˜„

#

LoooooL πŸ˜„ Its working πŸ˜„ Nice πŸ˜„

robust bramble
glossy hinge
#

Yeeeh used just for fast test πŸ™‚