White screen of death, pin help

i acquired 2 unos for pennys , so i decided to create a project with 2 unos linked, i brought an lcd that sd card reader built in and some Dupont , im a 100% beginner , anyway been tinkering on and off for a few weeks, long story short had sd and lcd initialize in separate ides, uno 1 controls sd and gives lcd and uno 2 power from usb in uno 1 , uno 2 displays everything (when it works) on lcd and the 2 unos communicate back and forth , everything initializes as i said but i cant get rid of the white screen , this is my setup , cant change too much but would like advice on something i may be able to alter to fix it , thank you for any help

UNO 1 (with LCD and SD Card):

SD_CS → Pin 4 (for SD Card)
SD_SS → Pin 11 (for SD Card)
SD_DI → Pin 12 (for SD Card)
SD_SCK → Pin 13 (for SD Card)
5v → 5 v
GND → GND

UNO 2 (for communication and display):

LCD_CS → Pin 10 (for LCD)
LCD_RS (or LCD_CD) → Pin A2 (for LCD)
LCD_WR → Pin A1 (for LCD)
LCD_RD → Pin A0 (for LCD)
LCD_RESET → Pin A4 (for LCD)
LCD_D2 → Pin A5 (for LCD)
LCD_D4 → PIN A3 (for LCD)
LCD_D0 → PIN 2
LCD_D1 → PIN 3
LCD_D7 → PIN 9
LCD_D5 → PIN 7
LCD_D6 → PIN 6
LCD_D3 → PIN 5

SHARED PINS BETWEEN UNO 1 AND 2

uno 1 RX → uno 2 TX
uno 2 TX → uno 1 RX

can you give a link to the display? or even a photo?
any idea which display driver it uses?

be careful - many displays even if powered from a 5V supply use 3.3V logic
connecting directly to a UNO which uses 5V logic can damage the display

i have tried many 5 , 3 v combinations as its spread over 2 unos , uno 1 is all sd , uno 2 is lcd based , the setup i have seems to power everything ok, when usb is removed from uno 2 it stays powered , everything initializes , its just this darn white screen , this is a manual i found ,its basically my manual pin setup http://www.lcdwiki.com/res/MAR2406/2.4inch_Arduino_8BIT_Module_MAR2406_User_Manual_EN.pdf

ive also pulled my project apart put lcd directly into an uno and it worked fine , its almost certain a pin problem, chatgpt aint much help

Possible cause of your problem might be that you forgot to connect the grounds.

1 Like

i have tried this , ive had 2 grounds between the unos , but various problems ensue , this setup works the best so far , stable ,everything initializes and uno 2 is powered by uno 1 when no usb inserted , just the white screen

have you tested the display connected to a UNO with nothing else connected?
testing a similar display plugged into a UNO with the MCUFRIEND_kbv library running program File>Examples>MCUFRIEND_kbv>GLUE_Demo_320x240 it displays

EDIT: the above test was run with the display plugged into an official UNO (with the ARDUINO label)
tried it on another UNO (no label) and I just get a white screen???

EDIT2: plugged into a Mega works OK

EDIT3: tried 3.5" TFT_LCD works OK on official UNO and a Mega - on "another UNO" just get black screen - looks like a power supply problem??

i tried the adafruit gfx demo and get whte screen , tried the one u suggested just now and same thing . this is a legit uno , uno 1 that runs sd is the ropey one in my opinion , i have tore my project down and plugged directly into uno and it works, ive had it working over the 2 unos already and had them conversing but sorted wires so sd is run by uno 1 etc snd this is when the white screen began , i dont think its a power issue , i have tried so many combinations of 5 v 3 v gnd between everything and this setup i have is stable

Ive completly stripped my prioject down and rebuilt for the 1000% this time to how i think it would work and ut does , screen works , sd card is readable and editable just unos are haveing trouble communicating between each other , i think its the rx tx which goes to a breadboard then off to pin 6 and 7 on uno 2 , even tried in rx tx on uno 2 but no coms anyway , how can i test the rx tx is working on the breadboard? Also have brouht this

Plan is for uno underneath , uno on top with lcd plugged into that , can u forsee any problems wirh this? Thank you for any help

Are you for some reason trying to control the SD with one UNO and the display with another? Better to have one UNO controlling the combined SD and display, and the 2nd UNO doing whatever processing / data manipulation you intend.

I was...to streamline wires etc but no , now sd and lcd are controlled by uno 1 , uno 2 is powred by uno 1 and send s recives msgs via tx rx and all convo is displayed on screen, everything works bar the communicating back and forth, the rx rx go via a breadboard as i plan to add wifi ao they can go online..but havemt got that far yet..

There are not really many pins left on the UNO with the display. If there is no intent to connect that UNO to USB, then the hardware Rx & Tx pins can be used, but you will need to disconnect those while loading a sketch. The 2nd UNO can then communicate with whatever WiFi board you have using software serial, although that severely limits the speed of communications. If you need USB communications on the 2nd UNO, as well as WiFI and the 1st UNO, that is especially problematic since using two instances of software serial is very difficult to get working.

Its possible to use that type display with an ESP32 and not use the UNOs at all.

You are right , the lcd and sd use 99% of pins on uno 1 , uno 2 has next to no pins used , just pin 6 and 7 from breadboard being used as tx rx and gnd direct from uno 1, the only issue i have at the moment is the unos communicating via tx rx through a breadboard

Why are the Unos connected through a breadboard and not directly to one another ?

Because i am to add wifi and it needs the tx rx uno2 would use in uno 1 so ive had to expand to a breadboard for the wifi module

Sorry but I cannot make sense of what you are saying

If the two Unos are communicating using a serial interface then they could be directly connected together whatever the WiFi module needs or uses

Can you please post a schematic showing how the two Unos and WiFi module will be connected and powered

I havent got the wifi modeule connected yet , all i need help on at the moment is the correct way to connect rx tx to a breadboard and pin placement to take it off to another uno to send data betwen 2 unos with breadboard in-between