Arduino Uno + potentiometer + OLED == virtual circular dial

Dhanisa Mashilfa

Arduino Uno + potentiometer + OLED == virtual circular dial

What am I conversing about?

Properly, I was just compiling the blogs internet pages for the up coming problem of Electronics Weekly journal and I chosen, for Engineer In Wonderland, Alice’s website about an simple way to manually established a 16-bit amount in an Arduino (you can see Element 1 and Part 2).

The aim was to be equipped to swiftly, properly and manually established up a 16-little bit binary variety in an Arduino adhering to the demise of a FY6900 DDS sign generator. Alice required a source of crystal-controlled square waves.

The post finishes with a paean to a recently discovered task that contains a “most amazing potentiometer interface”. It pushes an Arduino Uno to its max as a graphics controller to travel a little graphical OLED screen ideal behind the potentiometer knob. It was made by the man or woman behind the ‘upir’ YouTube channel, seemingly primarily based in the Czech Republic.

All perfectly and fantastic. But then the next issue I convert to, for probable projects to feature on Gadget Master, is a stored Publication from the Arduino crew highlighting current prototypes. One particular of which includes the quite same OLED show on the lookout back at me…

Digital circular dial

It is showcased on the Arduino website – Consider matters up a notch by turning the humble OLED into a rotary dial

A key fashion aspect – tho the graphics themselves are best-notch – is that the potentiometer sits ‘over’ the display so the curved experience is circled round neatly with shifting values – a digital round dial, as it were. I would have just lumpenly sat the control beneath the LED panel… Little factors make a massive difference, as you can see previously mentioned, and underneath when you see it in action in the video…

Not only does the display present the present-day looking through, evidently highlighted, but it also scrolls the values on the display screen staying produced by the turns of the actual physical pot.

Based mostly on an Arduino Uno and using an 128×64 I2C/SPI OLED, the system’s screen responds in actual-time, employing the U8glib library, to the exterior potentiometer also related to board.

The Arduino staff writes:

“Originally, the procedure achieved an ordinary of 10 FPS, but upir desired to force it even further more for highest efficiency. Sending new pixel values to the display brought about the pixel calculations to be operate many situations, so by placing the intermediate knowledge into a collection of buffers and only drawing pixels when for each site as a substitute, a new FPS of 27.53 was accomplished — an virtually 3x enhancement.”

Indeed, great. And you can watch the comprehensive submit here, wherever there are also extra in-depth films, if you want to consider to stick to in his footsteps.

Alternatively, you may possibly – like ‘Alice’ – sense rather like ‘hanging up your keyboard’!

Next Post

HAVA R01 compact countertop dishwasher review

We use affiliate links. If you buy something through the links on this page, we may earn a commission at no cost to you. Learn more. REVIEW – I am probably one of the last people on earth without a dishwasher. But my kitchen is small, and there simply is […]
HAVA R01 compact countertop dishwasher review