ARDUINO MEGA 2560 WITH ILI9341

Status
Not open for further replies.

umairml

New Member
Unable to get display on ili9341 using arduino mega 2560?
I have no specific code to run please guide me....
 

Attachments

  • circuit.jpg
    136.7 KB · Views: 637
Check out the example.... You have to wire the LCD up exactly the same..
 
hi,
Have you set the IM pins correctly for SPI operation..?
E
 

Attachments

  • A004.gif
    23.4 KB · Views: 470
here is all i am doing. Now please guide me what is wrong with my code or my circuit simulation.
My brain is exploding....
Please help
 

Attachments

  • arduino mega 2560 ili9341.jpg
    178.3 KB · Views: 1,011
  • UTFT_demo_fast_2.ino
    8.4 KB · Views: 353
  • ili9341arduino.zip
    588.5 KB · Views: 377
Hi Umairml .. .

Welcome to ETO .. .. .
I'm not sure you have your interface connections right yet, they don't seem to match those on the ILI9341 datasheet.
I would suggest you use one of the example sketches in Arduino IDE to make sure your connections/setup is correct before you try to run a more complex sketch.

Look here .. ..



Then when you have that running correctly you have a fighting chance with the more complex sketch.

I hope that helps .. ..

S
 
IM0 low IM1~3 high

Yes, currently shown as IM1 = low; IM0, 2 & 3 high.

Also interface between screen and Arduino - I can't read the pin ID's on the screen ( ageing eyesight ) but they don't look right ? The Arduino example sketches have the pin ID's marked out to make it easy to identify them.

S
 
There was wiring issue after correct connection and using of correct library with arduino it is now working. Actually i was using library of arduino uno after search i got that it was uno library as pin initialization was wrong but all good now after reading arduino datasheet.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…