
I plan on replacing the 2 x 16 LCD display with a small TFT display, so I took a look at the wiring diagram of the display connector. I checked the pins and they contain all pins to use hardware SPI on the Arduino to drive a TFT display. I wired up a 1.8" display I had from other projects, and could not get it working with the pin combination I choose. Playing around with some other wiring combinations, I was able to get it working. Still wondering about that, because I have always been able to map anything but 11 and 13 to anything I wanted to use. I realized that pin 12 is also used by the hardware SPI, and after changing to pin 10 everything worked as expected. First thing I had to do was disable the LCD driver software and include the Adafruit libraries for the ST7735 and the graphics routines. After that I replaced the LCD display routines with ones written for TFT display. Luckily the uBITX routines map everything related to the display to a couple of simple functions. It took very little to change these over to the TFT display.


UPDATE 12/20/17
To make things a little easier to work with on converting the uBITX display to a TFT display, I wired up a Nano, display, encoder, and a couple other parts on a wireless breadboard. This will allow me to take everything along when I go to spend the holidays with relatives. So far it has been fairly easy to come up with a screen layout that fits well on the 1.8" display. I am trying to limit any code changes to the ubitx_ui module, and mainly to the updateDisplay() function. This should make it possible to easily switch back to the LCD by just loading in a different version of the ubitx_ui module, or possibly use of #ifdef depending on how complicated the whole thing turns out.
With the limited size on the 1.8" display I am trying to keep everything as simple as possible. It looks like I will probably have to switch toa separate screen display when I switch to setup mode. When I move to a 2.4" or 2.8" with higher resolution, I will have room for information to be displayed at one time, and may be able to add a pop-up sub menu.

DuWayne please share details. Mine is on it's way but not in the yellow truck -- slow boat. I like your plan. I was hoping someone would attempt this. And I agree a bigger screen would be nice. Plus, I'm going to stick a HiPerMite filter and audio AGC, perhaps something for a relative S meter...
ReplyDeleteNice work. My uBITX arrived today via DHL but to be honest I should have gone with India Post instead. 2 days from Hyderabad to Scotland and 6 days to travel the last five miles. (Not joking). Nice little radio though... my second Indian one.
ReplyDeleteTurned VMC Machined Components Manufacturers – Get the tested and well designed machined equipment in India at the reasonable price. Our products are VMC components, CNC, Turned components, Gear Blanks etc. If you want to use well machine equipment, contact us http://www.sanjayprecisionind.com/.
ReplyDeleteHi DuWayne...
ReplyDeleteI was wondering if you had any thoughts on an RF AGC?
/ Gerry