Close

'SERIAL CONNECTION WITH DISPLAY'

A project log for 'Thor' robot with addons and GUI

Thor robot based on the author AngelLM

dannyvandenheuveldannyvandenheuvel 12/27/2016 at 15:461 Comment

Because the display is working with serial 5V TTL and the ultratronics based on arduino due has serial 3.3V TTL I had to make a little pcb with a logic level shifter, you can get it at adafruits, I'll took a 8 channel, I needed 4 channels for serial1 and serial2 TX,RX signals. I made a pcb board that can be pluged into the two connectors on the ultratronics board to have it stable. My serial connection works at 57600 baud 8N1 at a refrech rate of 50ms, works perfectly with very little resources. The display from Nextion uses it's on conntroller to handle the graphics, even scripting is possible, so only basic serial commands to communicate with the controller board. It's a enhanced 5" display with 800x480 resolution and 65535 colors touchscreen.

I made a test screen to command the base stepper motor based on my own written stepper driver.
The only thing I have to do to finnish the driver will be the homing (initialisation) command. Will be in the next comming days.

My favorite drawing tool 'Inkscape' to make all the graphics into it. One of my Hobbies tooo...

Next thing to do is addon a bluetooth pcb to connect a gamepad to move the controller.

Discussions

Olaf Baeyens wrote 12/28/2016 at 00:23 point

I really like that display.

  Are you sure? yes | no