Arduino menu navigation with rotary encoder and LCD

  Рет қаралды 39,672

Curious Scientist

Curious Scientist

Күн бұрын

Пікірлер: 58
@gsuresh2u
@gsuresh2u 2 жыл бұрын
Hi, good wor on this Have you done any sub menu system for this board? I want to use STM32F411CEU6 board with sub menus Please reply, are you available on freelance?
@CuriousScientist
@CuriousScientist 2 жыл бұрын
Hi! Yes, I even have a video about it, roughly from a month ago. The board I used in that project is an Arduino Nano, but as long as the project allows us to use the Arduino framework (STM32duino), it does not take too much to implement it on STM32. The main limitation is usually if there's any available library for the display. You can write me a mail and we can discuss the rest.
@giacomovisone3497
@giacomovisone3497 Ай бұрын
Complimenti.Bravissimo 👏👏👏👏
@CuriousScientist
@CuriousScientist Ай бұрын
Grazie!
@daftar.wow_
@daftar.wow_ Жыл бұрын
what software do you use for coding?
@CuriousScientist
@CuriousScientist Жыл бұрын
In this video, it is the Arduino IDE. Otherwise, when I write more complex codes, I use MS Visual Studio with the VisualMicro plugin. It costs money, but it is a fair price.
@daftar.wow_
@daftar.wow_ Жыл бұрын
ok thanks, nice video🤜🤛
@CuriousScientist
@CuriousScientist Жыл бұрын
Thanks!
@jeffvenqueleir2036
@jeffvenqueleir2036 Жыл бұрын
Nice explaine good teacher I am going use it in the futur with some extra"s
@CuriousScientist
@CuriousScientist Жыл бұрын
Thank you! Glad to hear that the project was useful.
@christophe8569
@christophe8569 3 жыл бұрын
I had to change lcd.begin(); by lcd.init(); but for the rest it's awesome. Thanks.
@CuriousScientist
@CuriousScientist 3 жыл бұрын
Hi! I am glad it worked! I also noticed this behavior when begin() does not work but init() does or the other way around. Probably some confusion with the library versions.
@kijijikhalid601
@kijijikhalid601 Жыл бұрын
great tutorial and and the explanation was much clearer. thank you
@CuriousScientist
@CuriousScientist Жыл бұрын
Thanks!
@ramilbraganza8103
@ramilbraganza8103 Жыл бұрын
Thanks for this Arduino project I will used this to drive relay to switch on/off my lightning.Can you make video for this that we can set time/timer for individual LED to turn off?
@CuriousScientist
@CuriousScientist Жыл бұрын
Hi! Sorry, but I don't make videos on requests, unless you want to sponsor me.
@bgaworkshop7209
@bgaworkshop7209 3 жыл бұрын
Thanks for very precise explanation.
@CuriousScientist
@CuriousScientist 3 жыл бұрын
You are welcome!
@electromagix
@electromagix 2 жыл бұрын
Hi, I want to control 6 Relays on 3,4,5,6,7 &8 pins, with rotary encoder . in the start OLED display text "rotate your encoder" when i rotate display changes to "RELAY 1", when I push the rotary push button arduino will switch on the D3, same way it goes forward and reverse also. ...please help.
@CuriousScientist
@CuriousScientist 2 жыл бұрын
Hi! What is the issue?
@Sizzlik
@Sizzlik 11 ай бұрын
The code on your website seems to be faulty. it should be lcd.init() instead of lcd.begin() in the setup().
@CuriousScientist
@CuriousScientist 11 ай бұрын
Hi! The code is working fine, and the best proof of it is the video itself. Keep in mind that there are multiple libraries out there for this specific LCD. You may be using a different one. Cheers!
@Sizzlik
@Sizzlik 11 ай бұрын
@@CuriousScientist LiquidCrystal_I2C by Marco Schwartz from the arduino library manager
@CuriousScientist
@CuriousScientist 11 ай бұрын
Yeah, well, that's not the same that I used.
@luisfernandoalvarez5500
@luisfernandoalvarez5500 Жыл бұрын
Thanks a lot.
@CuriousScientist
@CuriousScientist Жыл бұрын
You're welcome!
@tmd5902
@tmd5902 Жыл бұрын
Thanks!
@CuriousScientist
@CuriousScientist Жыл бұрын
Thank you!
@719gt4
@719gt4 3 жыл бұрын
Exactly what I was looking for, thanks for your effort in time and knowledge!
@CuriousScientist
@CuriousScientist 3 жыл бұрын
I am glad that you found what you were looking for!
@719gt4
@719gt4 3 жыл бұрын
@@CuriousScientist me as well😉 I know some musicians and they still haven’t found what they looking for....🙊
@CuriousScientist
@CuriousScientist 3 жыл бұрын
Show them my channel, haha. Maybe they also find it here.
@PhiphiBelgium
@PhiphiBelgium 3 жыл бұрын
Nice video , many thanks ; but some remarques. Make you code saver , lighter and readable: You don't need to store the state of the i/o's . Only reverse the of them with "digitalWrite(x_output,!digitalRead(x_output);", and if you need to reed the state just 'digitalRead(x_output);' (expl : for LCD) Alsow you could store the i/o list into a array , and use index of the array as index for your switchcase.
@CuriousScientist
@CuriousScientist 3 жыл бұрын
Hi and thanks! The code is freely available, so you have all the freedom to modify it to your requirements. You can also improve it. I am not a programmer, just a hobbyist, so as long as it works, I am happy with it. By the way, there is a more recent video on a similar issue where I applied a bit smarter principles: kzbin.info/www/bejne/Z2PRgIqrh6urb80
@isidoromaich7226
@isidoromaich7226 4 жыл бұрын
Cool stuff, the code was well explained
@CuriousScientist
@CuriousScientist 4 жыл бұрын
Thanks! I have a Nokia 5110 display which has more lines. I am planning to make another video on this topic and show a bit more advanced stuff. The LEDs are spectacular but maybe not the best for demonstration.
@edgaresn1
@edgaresn1 3 жыл бұрын
how you can do the same with an tablet home screen menu any advice or help im trying no luck after a week trying
@CuriousScientist
@CuriousScientist 3 жыл бұрын
I am sorry but I do not have any experience with tablets, I don't know.
@johnossi4234
@johnossi4234 3 жыл бұрын
If I want to use the encoder to select of many fixed numbers from an array such as float DoF[13]= {0.1, 0.5, 2,3,4,5,7,9,11,13,15,19,22}; do I need to make a case for each value?
@CuriousScientist
@CuriousScientist 3 жыл бұрын
Depends on what you want. If you just print the element, you can call the ith element from the array. If there is a corresponding action, yes, you might need to do everything one by one. Your description is too short to know what you want exactly.
@johnossi4234
@johnossi4234 3 жыл бұрын
​ @Curious Scientist OK let me fill in the needed details. A stepper drives a linear track. A starting point (0) and ending point (say at 120mm) are previously defined by the user. Even though the stepper will begin at 0 and end at 120mm it must pause at uniform locations and fire an LED and report its new position each time. The user must select (from the array) the segment to be traveled between the firing of the LED, before the stepper can begin. So if the user selects "5" from the array, then the stepper begins by running to the start (0) fires the LED , moves to position 5mm, fires the LED, moves another 5mm to position 10mm and fires the LED and repeats till the end (120) is reached. The code works well when the user enters the sequence distance (5 mm in my example) through the serial (computer keyboard) but I want this choice to be made through the encoder displayed in the LCD so a PC will not be needed.
@CuriousScientist
@CuriousScientist 3 жыл бұрын
This can be done with arrays. You can store everything in arrays and keep track of the indices, so you can refer to other related values located in other arrays.
@SMV1972
@SMV1972 7 ай бұрын
Отличный урок. Спасибо!
@CuriousScientist
@CuriousScientist 7 ай бұрын
You're welcome!
@mohsenmehrabi298
@mohsenmehrabi298 2 жыл бұрын
Great can we do the same with buttons
@CuriousScientist
@CuriousScientist 2 жыл бұрын
Yes.
@mani5004
@mani5004 2 жыл бұрын
you talk sweet
@CuriousScientist
@CuriousScientist 2 жыл бұрын
Thanks, I guess. 😅
@janzandijk4398
@janzandijk4398 3 жыл бұрын
Very good explenation. :-)
@CuriousScientist
@CuriousScientist 3 жыл бұрын
Thank you, I am glad you liked it!
@nixo0077
@nixo0077 3 жыл бұрын
Ciekawa propozycja, dokładnie wyjaśnienie, dzięki.
@CuriousScientist
@CuriousScientist 3 жыл бұрын
Thank you!
Arduino-based air quality monitor - new version
30:31
Curious Scientist
Рет қаралды 1 М.
How to use rotary encoders
14:12
FriendlyWire
Рет қаралды 36 М.
БЕЛКА СЬЕЛА КОТЕНКА?#cat
00:13
Лайки Like
Рет қаралды 2,7 МЛН
The Joker wanted to stand at the front, but unexpectedly was beaten up by Officer Rabbit
00:12
Win This Dodgeball Game or DIE…
00:36
Alan Chikin Chow
Рет қаралды 38 МЛН
#226 ROTARY ENCODER with no switch bounce 🤓 - you MUST use this
25:49
How to use a Rotary Encoder with an Arduino - CODE EXPLAINED!
21:11
EP1 - How to Program Arduino - Making Menus!
44:26
ForOurGood
Рет қаралды 25 М.
How to use Rotary Encoder with Arduino
14:44
Mario's Ideas
Рет қаралды 44 М.
Arduino with I2C LCD and Rotary Encoder
16:21
John Miller
Рет қаралды 29 М.
JCS-900 DRO with Arduino and LCD
24:20
Curious Scientist
Рет қаралды 9 М.
Menu with voice & rotary encoder - Arduino
15:01
Electronoobs
Рет қаралды 102 М.
Fun with Transistors
24:33
HackMakeMod
Рет қаралды 338 М.
ROTARY ENCODER WITH INTERRUPTS - Arduino tutorial #12
13:12
Bas on Tech
Рет қаралды 57 М.
БЕЛКА СЬЕЛА КОТЕНКА?#cat
00:13
Лайки Like
Рет қаралды 2,7 МЛН