Knob+OLED Arduino - FULL TUTORIAL (Potentiometer and OLED Display, 128x64px, SSD1306, FREE CODE)

preview_player
Показать описание

Learn how to create graphics for the OLED 128x64 Display (SSD1309) with the Potentiometer connected to Arduino UNO Board, using the U8G library.

TIMESTAMPS:
00:00 Intro
00:34 Start the project
03:03 Arduino IDE
04:08 First time running on Arduino
09:35 Making the label pretty
13:31 Polar coordinate system
18:29 Small tickmarks
24:20 Tickmarks on Arduino
29:20 Showing text for tickmarks
31:28 Arduino demo
31:39 FPS measurement
36:01 FPS on Arduino
36:12 Performance optimizations¨
39:02 Final changes
39:50 Line drawing algorithm
42:46 That´s it!

Few links related to this video:

#arduino #knob #oled

Keywords related to this video:
Arduino UNO, Arduino, OLED, u8g, u8g2, SSD1306, SSD1309, Arduino Display, Arduino Free Code, Wokwi emulator, Gauge, Meter, Knob, Potentiometer, Arduino, esp32, arduino project, arduino OLED display, Arduino display, Arduino OLED, OLED Arduino, ssd1306 OLED display, ssd1309 OLED display, arduino ideas, new project ideas, Arduino 2022, arduino oled 128x64, arduino project 2022, arduino project ideas, Arduino tutorial, microcontroller, ssd1306 Arduino
Рекомендации по теме
Комментарии
Автор

I really admire the amount of effort you've put into creating this video regardless of how simple of a project Idea this is. To have done it perfectly and with proper aesthetics, gave the project much more value. Looking forward to more of your videos!

tasdikurrahman
Автор

If you are not a programing teacher you should become one. Excellent step-by-step explanation, I will try it in my next project.

Raby
Автор

im addicted to your channel and decided this is my first ever arduino project..! ordered a leonardo, as im hoping to make a midi controller. got the display, board and pots .. WISH ME LUCK SENSEI!!💫

Skibosski
Автор

Value rounded to integer, will make potentiometer as an input keyboard, suited for combination lock. Function turning to max value, then decreasing to first pair and pausing 3 seconds will enter first pair combination, going to min value and then to second pair stepping 3 sec will enter second combination, then going to max value and back at pause will enter the 3rd combination, then turning to max value will open the lock. Good presentation well documented thks.

peberdah
Автор

Thanks for sharing, very helpful!
I tried this on a teensy 3.2 using hardware SPI for the display and got around 125 FPS, very smooth!

randomkast
Автор

This works great. built it very quickly. comment#1, the wowki page is great, but it shows it as I2c connection i guess...was a bit confusing to me but i am not very smart. i hooked to a cheap .96" oled screen that only had I2c connections. Middle pot pin to A0, sda to sda, scl to scl. Works perfect. And the cool unintended effect, my cheap oled is the type with the yellow on the top portion and blue below....the code worked out perfect where the dial part is all blue and the top indicater and "percentage box" is all yellow. Very cool. Can't wait to see more of your stuff. SUBSCRIBED.

toddroles
Автор

Dang, you guys are so ahead of me! I guess we all really on our own journey 😎

ROBJECTS
Автор

Great content you have over here brother, keep it up.
Subed.

Greetings from Tanzania 🇹🇿

raymondmichael
Автор

Great video, I'm moving away from arduinio a bit but your video is brilliant, you gained a subscriber

andycrask
Автор

This is awesome, I used the i2c connection on a Seeeduino Xiao. Took me all day but I got it eventually.

babaganoush
Автор

I love it! I would make it into a volume knob. You should make a video on that. Also how much is the total cost for the knob and display.

dylanma
Автор

more 1-bit animation lessons! that thing with the line at the end blew my mind more than I care to admit.... :D

illygah
Автор

The most detail explaination, subscribed

Im-HP
Автор

Try a "precision potentiometer" "multi turn" or search 3590s potentiometer, would go very well with this display 👍🏻

milescarter
Автор

One thing I always try to eliminate is the oscillation between adjacent values when the encoder is stationary but treading the line (especially with non-detent encoders). A 'demilitarized zone' either side of the current value which requires a legal reading of +/-2 is then valid but the counter shifts so not to lose steps. Maybe have a 9 bit counter divided by 2 to give 256 res to make it even more robust (for example).

nikthefix
Автор

We can cached sin(radians(angle)), -cos(radians(angle)) instead, then can reuse it for the line_x. line_y and text_x, text_y as well.

cuongnv
Автор

Very helpful just completed this project.

naveengupta
Автор

Nice tutorial! I have seen someone add a motor to a knob to create haptic resistance. Maybe that could be a mod for this project.

jantube
Автор

Merci pour vos vidéos. Et un abonné de plus!

p.g.pg
Автор

thank for your project. it's so good idea and your cool.

designbyajpelectronic