Re: Anyone interested in an LCD control panel for the Ormerod? October 06, 2014 08:43AM |
Registered: 10 years ago Posts: 14,672 |
Quote
appjaws1
Quote
dc42
Thanks for the info, if I had a vote I would vote for the larger processor and more memory in order to remove restrictions on future development and keep the display unit flexible.
I have considered other processors. Unfortunately, the atmega32u4 doesn't have a bigger brother in the same range. The atmega2560 would permit compatibility with the Arduino Mega, but would need a separate FTDI chip and add at least GBP15 to the cost. The atxmega64a4u would be a more economical solution and suitable in principle, but it appears that nobody has yet ported the Arduino core and bootloader to this chip; and I don't have time to do that myself.
That leaves the ATSAM3X8E which would give Arduino Due compatibility. It would need a larger and probably 4 layer PCB, again pushing up cost and development time. I'm trying to keep the cost down to give the device a wider appeal, because the more it costs, the fewer I can sell and the higher the unit assembly cost will be.
Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod
Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: Anyone interested in an LCD control panel for the Ormerod? October 06, 2014 09:18AM |
Registered: 12 years ago Posts: 177 |
Re: Anyone interested in an LCD control panel for the Ormerod? October 06, 2014 09:20AM |
Registered: 9 years ago Posts: 57 |
Re: Anyone interested in an LCD control panel for the Ormerod? October 06, 2014 09:24AM |
Registered: 10 years ago Posts: 2,472 |
Re: Anyone interested in an LCD control panel for the Ormerod? October 06, 2014 09:54AM |
Registered: 10 years ago Posts: 14,672 |
Quote
DasBasti
Isn't the ATmega32U4 the chip on the Arduino Yun? So there should be a port of the library.
Re: Anyone interested in an LCD control panel for the Ormerod? October 06, 2014 10:34AM |
Registered: 10 years ago Posts: 2,472 |
Quote
dc42
Quote
DasBasti
Isn't the ATmega32U4 the chip on the Arduino Yun? So there should be a port of the library.
The atmega32u4 chip is the one I am currently using. It has 32K of flash. However, even a simple blink sketch uses 17% of that, so there appears to be a large core overhead. My current test program uses 69% of available memory. One of the problems is that the fonts are quite large. Currently I am using just the 16x16 font, but I find it difficult to read and would prefer 20x20 - which would increase the font memory used by another 87%.
Re: Anyone interested in an LCD control panel for the Ormerod? October 06, 2014 12:33PM |
Registered: 9 years ago Posts: 119 |
Re: Anyone interested in an LCD control panel for the Ormerod? October 06, 2014 01:04PM |
Registered: 10 years ago Posts: 14,672 |
Quote
dmould
Maybe double the pixel size rather than the font size (i.e. map each font pixel to 4 screen pixels)? Granted the letters will be a bit more blocky, but 16 x 16 still gives a very reasonable shape, and even 10 X 10 is perfectly legible (to double up for 20 X 20 onscreen).
Quote
ezwul
Are you planning to make a LCD/touch shield for the Arduino Leonardo or a bespoke PCB solution?
Re: Anyone interested in an LCD control panel for the Ormerod? October 06, 2014 02:16PM |
Registered: 10 years ago Posts: 2,472 |
Re: Anyone interested in an LCD control panel for the Ormerod? October 06, 2014 06:13PM |
Registered: 10 years ago Posts: 14,672 |
Re: Anyone interested in an LCD control panel for the Ormerod? October 07, 2014 07:25AM |
Registered: 10 years ago Posts: 780 |
Quote
dc42
Another issue that has cropped up is that the utft driver needs the display to be mounted with the connector on the left. I want to keep the PCB small, so the rotary encoder needs to be mounted close to the connector. Having the encoder knob on the left doesn't work well for a right handed person. Therefore I need to modify the driver to allow it to drive an upside down display. This will take a small amount of extra code space. However, it will give left handed users the option of printing an enclosure the other way round, with the encoder on the left. .
Quote
dc42
Currently I am using just the 16x16 font, but I find it difficult to read and would prefer 20x20 - which would increase the font memory used by another 87%.
Re: Anyone interested in an LCD control panel for the Ormerod? October 07, 2014 10:42AM |
Registered: 10 years ago Posts: 14,672 |
Re: Anyone interested in an LCD control panel for the Ormerod? October 07, 2014 01:47PM |
Registered: 12 years ago Posts: 177 |
Re: Anyone interested in an LCD control panel for the Ormerod? October 07, 2014 02:00PM |
Registered: 10 years ago Posts: 2,472 |
Re: Anyone interested in an LCD control panel for the Ormerod? October 07, 2014 02:11PM |
Registered: 12 years ago Posts: 177 |
Re: Anyone interested in an LCD control panel for the Ormerod? October 07, 2014 05:27PM |
Registered: 9 years ago Posts: 119 |
Re: Anyone interested in an LCD control panel for the Ormerod? October 07, 2014 05:35PM |
Registered: 10 years ago Posts: 14,672 |
Quote
ezwul
Alternatively, you could make an LCD shield and add an Arduino to it, then you could choose the CPU power depending on your budget.
Due clones are around £15, Leonardo clones are £6 on ebay, Not sure if they are pin compatible, both are 3v, might have to look.
Re: Anyone interested in an LCD control panel for the Ormerod? October 07, 2014 06:06PM |
Registered: 9 years ago Posts: 119 |
Re: Anyone interested in an LCD control panel for the Ormerod? October 07, 2014 07:52PM |
Registered: 10 years ago Posts: 859 |
Re: Anyone interested in an LCD control panel for the Ormerod? October 07, 2014 08:01PM |
Registered: 10 years ago Posts: 859 |
Quote
dmould
A R-Pi might be cheap, but a display that will accept an HDMI input certainly is not! Unless you can find a small HDMI screen I suspect it will also be too heavy to mount on the Z post.
Dave
Re: Anyone interested in an LCD control panel for the Ormerod? October 08, 2014 01:36AM |
Registered: 10 years ago Posts: 378 |
Quote
KimBrown
... made me wonder if it might not be easier and more versatile to go the R Pi route ...
Re: Anyone interested in an LCD control panel for the Ormerod? October 08, 2014 04:59AM |
Registered: 10 years ago Posts: 780 |
Re: Anyone interested in an LCD control panel for the Ormerod? October 08, 2014 06:14AM |
Registered: 10 years ago Posts: 14,672 |
Re: Anyone interested in an LCD control panel for the Ormerod? October 08, 2014 07:38AM |
Registered: 10 years ago Posts: 256 |
Quote
dc42
Quote
appjaws1
Quote
dc42
Thanks for the info, if I had a vote I would vote for the larger processor and more memory in order to remove restrictions on future development and keep the display unit flexible.
I have considered other processors. Unfortunately, the atmega32u4 doesn't have a bigger brother in the same range. The atmega2560 would permit compatibility with the Arduino Mega, but would need a separate FTDI chip and add at least GBP15 to the cost. The atxmega64a4u would be a more economical solution and suitable in principle, but it appears that nobody has yet ported the Arduino core and bootloader to this chip; and I don't have time to do that myself.
That leaves the ATSAM3X8E which would give Arduino Due compatibility. It would need a larger and probably 4 layer PCB, again pushing up cost and development time. I'm trying to keep the cost down to give the device a wider appeal, because the more it costs, the fewer I can sell and the higher the unit assembly cost will be.
have you considered stm32...?
Cheap
Powerful
Ecosystem
EDIT: Dev board or dev board with LCD (Farnell)
regards
Andy
Edited 2 time(s). Last edit at 10/08/2014 07:55AM by kwikius.
Ormerod #318
www.zoomworks.org - Free and Open Source Stuff
Re: Anyone interested in an LCD control panel for the Ormerod? October 08, 2014 07:44AM |
Registered: 10 years ago Posts: 2,472 |
Re: Anyone interested in an LCD control panel for the Ormerod? October 08, 2014 08:05AM |
Registered: 10 years ago Posts: 256 |
Re: Anyone interested in an LCD control panel for the Ormerod? October 08, 2014 08:17AM |
Registered: 10 years ago Posts: 256 |
Just to add that if once you learn one ARM mcu architecture then you are well on the way to learning a large number and not limited to 1 manufacturer or ic series. EDIT and TBH Arduino just doesnt scale. All projects seem to end up ditching the standard IDE. You may as well learn standard C or C++ and have done with it! Then if you use GCC porting from one mcu to another or on PC os to another is simple!Quote
dmould
[...]
The choice of CPU is predicated to a large extent on what architecture/programming tools you are familiar with and not only the capabilities of the CPU. I'd probably go for a Cypress CY7C67300 - perhaps with external Flash and/or static RAM as a solution for this application, but it would certainly not be worth the learning curve if I wasn't already familiar with it, and I'm sure there are better choices if I was willing to learn a new CPU. The cost of the CPU and support components is in any case probably largely swamped by the PCB, assembly and LCD costs.
Dave
Re: Anyone interested in an LCD control panel for the Ormerod? October 08, 2014 08:40AM |
Registered: 12 years ago Posts: 177 |
Re: Anyone interested in an LCD control panel for the Ormerod? October 08, 2014 08:54AM |
Registered: 10 years ago Posts: 2,472 |
Quote
kwikius
Just to add that if once you learn one ARM mcu architecture then you are well on the way to learning a large number and not limited to 1 manufacturer or ic series.Quote
dmould
[...]
The choice of CPU is predicated to a large extent on what architecture/programming tools you are familiar with and not only the capabilities of the CPU. I'd probably go for a Cypress CY7C67300 - perhaps with external Flash and/or static RAM as a solution for this application, but it would certainly not be worth the learning curve if I wasn't already familiar with it, and I'm sure there are better choices if I was willing to learn a new CPU. The cost of the CPU and support components is in any case probably largely swamped by the PCB, assembly and LCD costs.
Dave
regards
Andy
Re: Anyone interested in an LCD control panel for the Ormerod? October 08, 2014 09:42AM |
Registered: 10 years ago Posts: 14,672 |
Quote
dmould
Have you considered the possibility of using an incremental (up/down) rotary switch (e.g. [uk.rs-online.com]) instead of an encoded switch, which needs only 3 wires (or 4 with push-to-select) and so could be mounted direct on the case with wires to the controller?