Touchscreen controller for DIY CNC
Loading...
11,813
Loading...
Uploader Comments (marcom9900)
see all
All Comments (8)
-
Sounds like a nine inch nails song.
-
Very nice setup! I already built myself a CNC Mill in 2008 but it's controlled by a DOS program. Since I'm a lot more into microcontrollers nowadays, I wanted to get rid of the computer completely and use only a touchscreen GLCD. Your video has inpired me a lot and given me many ideas. Thank you for posting this amazing video!
-
also if you prefer to email my address is phijl005@students.unisa.edu.au
. Thank you
Joel
Loading...
Awesome, both of your videos are fantastic. I am in my fourth year of an education degree in Australia and really interested in CNC and microcontrollers. I am considering a home automation / security alarm self interest project using a pic controller and 128x64 GLCDw/ touch screen. I couldn't find a nice looking keypad to control the the system so decided I would use a this GLCD with buttons similar to yours. Any info on where you purchased GLCD would be greatly appreciated + any code or ideas.
phijl005 1 year ago
@phijl005 I found the display on ledsee.com. The touch panel is included and the price is quite low. The display has a very simple controller which means that the display behaves like "visual 8 bit x N memory". Setting a pixel means reading a byte, switching a bit, and sending the byte back. If I did this again, I'd probably choose a little bigger display with higher resolution (and colors). However, then fonts etc. require a lot more memory in the microcontroller.
marcom9900 1 year ago
@phijl005 Touching the panel triggers an interrupt that does some averaging and records the raw coordinate to be interpreted outside the interrupt. There's a table with all "buttons" in the program memory. The table is used for drawing the touchable areas as well as for checking whether a coordinate falls within one of those areas. If a tap is detected, a bit corresponding to the area is set in a register. When all this happens "in the background", writing the main code is quite convenient.
marcom9900 1 year ago
@marcom9900 @marcom9900 Thanks for your reply, I will take your advice and get a bigger panel however wont mess with colour font etc yet... ledsee.com seem to have reasonable prices so I will put an order in. I am going to order the same set-up as yourself and try to get it up and running first then will play with a bigger GLCD. do you have the the LCD with with touch screen Driver IC? and would you get the 240x128 next time?
phijl005 1 year ago
@phijl005 With a simple lcd controller you will have to take care of fonts no matter what. There's no built-in font generator. You'll find more information on this on piclist. I'm not using the touch screen driver. Everything is taken care of by the pic and its ad converters. The 240x128 could be ok. However, for a bigger wow effect, I'd like to switch to color. Maybe then there could be a separate pic taking care of the display and touch only.
marcom9900 1 year ago