Arduino LCD and Potentiometer Writing

Post here to discuss all things Arduino!

Moderators: Chuckt, Garth, bitfogav

User avatar
Saimaster13
I practically live here!
I practically live here!
Posts: 176
Joined: Mon Aug 13, 2012 4:23 am
Location: Sarasota, Florida

Re: Arduino LCD and Potentiometer Writing

Post by Saimaster13 » Sat Sep 15, 2012 9:42 am

Well, I made it in a day, that day ran into the next day though. Let's see... from my first half working code, to the completed condensed code, it probably took 6 or 7 hours. Thanks for helping me condense the code by the way, its almost twice as small now! Youtube video would probably be a good idea, I'll get to it when I have the time, and a video camera which is not currently at my house.

Note: Code re-updated, minor changes
Last edited by Saimaster13 on Sat Sep 15, 2012 10:06 am, edited 2 times in total.
Joshua

User avatar
brad
Site Admin
Site Admin
Posts: 2576
Joined: Fri Mar 26, 2010 10:30 pm

Re: Arduino LCD and Potentiometer Writing

Post by brad » Sat Sep 15, 2012 9:48 am

No problem.

Isn't it great how you can do exactly the same thing, but with less code! It's a great learning excercise :)

User avatar
Saimaster13
I practically live here!
I practically live here!
Posts: 176
Joined: Mon Aug 13, 2012 4:23 am
Location: Sarasota, Florida

Re: Arduino LCD and Potentiometer Writing

Post by Saimaster13 » Sat Sep 15, 2012 10:33 am

Video demonstration.



Note: It is hard to see, but the top row starts out as all underscores, not spaces.
Basic functionality: The top row starts as all underscores, in the bottom left corner it shows the current character of the potentiometer and to the right of that character it states whether it is receiving new characters or it is done. (I just noticed receiving is spelled wrong on the LCD, going to make changes to it now)

Pressing the button writes the currently selected character to the top row. It is not done writing until all of the characters are filled up.
Joshua

User avatar
brad
Site Admin
Site Admin
Posts: 2576
Joined: Fri Mar 26, 2010 10:30 pm

Re: Arduino LCD and Potentiometer Writing

Post by brad » Sat Sep 15, 2012 8:17 pm

That is a really great idea!

I may actually have to borrow that for a project later down the track. It's such a great way to allow user input without the need for a full fledged keyboard!

Well done!

User avatar
bitfogav
Moderator
Moderator
Posts: 908
Joined: Sun Mar 28, 2010 9:03 pm
Location: United Kingdom
Contact:

Re: Arduino LCD and Potentiometer Writing

Post by bitfogav » Sat Sep 15, 2012 9:19 pm

Yeah great work!, such a simple idea but one that is very effective.. This may also come in handy for a Clock/Time project ive been working on using a mcp79410 RRTC chip :)
If you don't know what Voltage your country is using, you shouldn't be doing electronics ;-)

User avatar
Saimaster13
I practically live here!
I practically live here!
Posts: 176
Joined: Mon Aug 13, 2012 4:23 am
Location: Sarasota, Florida

Re: Arduino LCD and Potentiometer Writing

Post by Saimaster13 » Sun Sep 16, 2012 1:36 pm

Glad you like it guys, feel free to use it!
Joshua

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest