chipKIT® Development Platform

Inspired by Arduino™

Graphical User Interface

Created Tue, 11 Nov 2014 19:29:48 +0000 by cschuler


cschuler

Tue, 11 Nov 2014 19:29:48 +0000

I am planning on using the Chipkit Max 32 for a class project. One part of the project involves creating a GUI and I can't find much information on the subject. Does anyone know how to go about creating a GUI with the Max32 and if so how hard is it. Any help would be appreciated as this is the first GUI I will be creating for any Micro.

Planning to do most of the coding for the GUI in Visual Basic if possible but could use C or C++ if those would be easier.

Please let me know if anyone has any experience in this or any ideas


majenko

Tue, 11 Nov 2014 20:05:02 +0000

By "graphical interface" do you mean adding a TFT screen (or similar) to the MAX32, or using a GUI program on a PC which communicates with the MAX32?


guymc

Wed, 12 Nov 2014 18:45:03 +0000

If the graphical interface will be running on the host, you could probably use the Firmata protocol to communicate with the Max32 and articulate I/O lines interactively.

If the graphical interface will execute on the Max32, you might want to consider the Picadillo-35T by 4D Systems. It uses the same processor as a Max32 and includes a TFT screen and graphical object library. It might also be possible to connect one of the TFT shields designed for Arduino to the Max32, using the same or similar library.

Cheers


cschuler

Thu, 13 Nov 2014 00:41:12 +0000

majenko- I mean using a GUI on a computer that will communicate with the Max 32


majenko

Thu, 13 Nov 2014 10:19:52 +0000

Ok, so you can program your GUI in whatever language you like.

You need to come up with a serial protocol (or use an existing one, like Firmata) which will be used by your GUI to send commands to and receive data from the MAX32.


jmlynesjr

Fri, 14 Nov 2014 02:49:23 +0000

Take a look at Perl or Python they both have bindings for the wxWidgets system. Or you can code directly for wxWidgets if you are into C++.

I personally use Perl/wxPerl and have connectd to my UNO32 with the Device::SerialPort::Arduino module from cpan. I use Ubuntu 14.04LTS. Versions of Perl/wxPerl are also available for Mac and Windows.

James


guymc

Fri, 14 Nov 2014 16:46:44 +0000

Hi James,

Your project (with Perl/wxPerl and Uno32) sounds very interesting. Have you posted this anyplace online? I'd like to learn more about it.

Cheers


jmlynesjr

Sat, 15 Nov 2014 18:00:52 +0000

The stuff I have posted is on github.com/jmlynesjr.

James