Mini Maestro 24 as an LCD Driver

Show everyone what you've built! Don't forget pictures of your creations.

Mini Maestro 24 as an LCD Driver

Postby Dev255 » Sat Sep 21, 2013 1:14 pm

Hi,

I'm new to Pololu products and have been playing with the scripting language for a project I'm working on.

Just wanted to post my Mini Maestro 24 running a 4x20 LCD Display.

It only uses 12 outputs (11 for parallel inputs for the LCD and 1 to control the LED backlight). This leaves 12 other I/O's for whatever you choose, I just decided to show it working with a simple pot on input 0 and displaying the value on the LCD (converted to a percentage).

Would like to know if anyone else has driven an LCD with the Maestro.

If
cool, did it work ok?
else
what do you think of this one?
Endif

:-D Dev.

Dev255
 
Posts: 4
Joined: Fri Sep 20, 2013 9:27 am

Re: Mini Maestro 24 as an LCD Driver

Postby Jamee » Mon Sep 23, 2013 12:09 pm

Hello, Dev.

We have never heard of anyone doing something like that before. That is really cool! Thank you for sharing. We would love to know more details about your project and showcase it on our Community Projects blog.

if (youAreWilling)
Can you please share your code and/or settings file?
else
It's ok. That is still a great project.
endif

-Jamee
User avatar
Jamee
Pololu Employee
 
Posts: 32
Joined: Tue May 28, 2013 11:30 am
Location: Las Vegas, NV

Re: Mini Maestro 24 as an LCD Driver

Postby Dev255 » Mon Sep 23, 2013 12:56 pm

Hi,

Yes I don't mind posting the code.

I feel these devices can do so much more than just control servos and can access all kinds of devices to add to any project.

This is only part of my project to control a fully functional 24 DOF robotic hand that I have designed with CAD and am currently making using a milling machine at home.

I don't want to reveal too much just yet. It may take some time to complete as I work on it in my spare time.

The Code below - I wrote it just after connecting a 16x1 line display, it only has capital characters at the moment, but can be added to quiet easily, for binary code for each character there is a lookup table on most LCD pdf's. Also in the code is the ability to write to any part of the display, as in the video, it only updates the percentage part, and not the whole display (This would reduce value refresh time). I needed to see what was happening in the script without a pc connected.

Output Channels as follows: -

Channel 12 = Reg Select
Channel 13 = Read/Write
Channel 14 = Enable
Channel 15 = DB0
Channel 16 = DB1
Channel 17 = DB2
Channel 18 = DB3
Channel 19 = DB4
Channel 20 = DB5
Channel 21 = DB6
Channel 22 = DB7
Channel 23 = Backlight

I may just try an Orangutan next :-D.

Enjoy the code,

Dev.

Code: Select all Expand
Dev255
 
Posts: 4
Joined: Fri Sep 20, 2013 9:27 am

Re: Mini Maestro 24 as an LCD Driver

Postby Dev255 » Mon Sep 23, 2013 1:23 pm

P.S.

I haven't cleaned up the code much, so you might see some random bits in it.

Dev.
Dev255
 
Posts: 4
Joined: Fri Sep 20, 2013 9:27 am


Return to Share Your Projects

Who is online

Users browsing this forum: No registered users and 1 guest