Тёмный

Progress bar for Arduino and LCD 

Bob Syers
Подписаться 46
Просмотров 12 тыс.
50% 1

Опубликовано:

 

29 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 20   
@theeltea
@theeltea Год назад
Great stuff, it works just fine. Thanks! Now, to figure out how to offset it to the right a little bit...
@soret
@soret 3 года назад
Great stuff mate. It really came in handy. Works like a charm. I will use it in my lambda probe indicator.
@vingadordasestrelas8992
@vingadordasestrelas8992 3 года назад
Perfect video. Thank you.
@felipe4cid2121
@felipe4cid2121 Год назад
Muchas gracias ❤
@TagFul19
@TagFul19 2 года назад
You're my man
@kellyspoolhall761
@kellyspoolhall761 2 года назад
Thanks for this!
@Fusionultra2000
@Fusionultra2000 4 месяца назад
The code works great but instead of boxes getting filled in, I have horizontal lines. Could it be my LCD?
@bobsyers
@bobsyers 4 месяца назад
I am assuming that you mean it is printing a horizontal line the complete width, then either filling downwards, or upwards. The lines that print to the LCD are: 'lcd.setCursor(number-1,lineToPrintOn);' and 'lcd.setCursor(number,lineToPrintOn);' , depending on whether the number is 0 or above. You could try reversing the arguements so that they become 'lcd.setCursor(lineToPrintOn,number-1);' and 'lcd.setCursor(lineToPrintOn,number);' respectively to see if that solves the issue. If you have a different chipset in your LCD, it may reverse the horizontal and vertical coordinate arguements. If you are still having issues, contact me via my instructible (link in the comments) and I'll see if I can help further.
@Fusionultra2000
@Fusionultra2000 4 месяца назад
@@bobsyers Thanks for the help! Reversing the arguments seemed to fix it.
@refactoringg
@refactoringg 3 года назад
wont work for me says "lcd" could not be declared in this scope
@bobsyers
@bobsyers 3 года назад
Sorry to hear this isn't working. Are you using the code exactly as I have produced it. If so, do you have the 'LiquidCrystal I2C' library installed on your system? The one I have is by Frank de Brabander. The 'More info' link brings up this github link: github.com/johnrickman/LiquidCrystal_I2C I hope that helps.
@CarlosEduardoBueno36
@CarlosEduardoBueno36 3 года назад
Show. Thanks
@cesarinc5
@cesarinc5 2 года назад
Disculpa funciona con un potenciómetro?
@bobsyers
@bobsyers 2 года назад
El código simplemente toma un valor y lo traduce a la barra de progreso. puede tomar un valor de un potenciómetro y usar ese valor si lo desea.
@bobsyers
@bobsyers 2 года назад
The code simply takes a value and translates it to the progress bar. you can take a value from a potentiometer and use that value if you want.
@riccardodisalvatore1883
@riccardodisalvatore1883 3 года назад
hi, lcd.begin give me error, you know why?
@bobsyers
@bobsyers 3 года назад
Hi riccardo. Do you have the LiquidCrystal_I2C library installed? That is probably your most likely culprit. This works on the basis you are using an I2C LCD. If not, you will need to chage the setup to reflect your LCD setup.
@riccardodisalvatore1883
@riccardodisalvatore1883 3 года назад
@@bobsyers hi, i solved my problem, the problem was that the liquidCrystal_I2C command is wrong, is LCD.Init() not LCD.Begin(). The last one is good only for liquidCrystal.H
@harrynguyen770
@harrynguyen770 3 года назад
What a great vid! Just wonder why you have to add 1 to the count variable.
@bobsyers
@bobsyers 3 года назад
Thank you. Re the Count + 1, I can't really remember. My only guess is to stop a divide by zero error if the count starts at 0. I suppose I ought to review it and see if it works without the +1!
Далее
Arduino Progress Bar Graph Tutorial
21:25
Просмотров 22 тыс.
MAGIC TIME ​⁠@Whoispelagheya
00:28
Просмотров 22 млн
Arduino Tutorial - 14. Displaymenü
9:19
Просмотров 248 тыс.
DIY haptic input knob: BLDC motor + round LCD
2:11
Просмотров 2,2 млн
Arduino Gauge in 11 Minutes ???
11:01
Просмотров 22 тыс.
Easy Python Progress Bars with tqdm
14:30
Просмотров 46 тыс.
World's worst video card? The exciting conclusion
24:23