• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

ARDUINO MEGA 2560 WITH ILI9341

ericgibbs

Well-Known Member
Most Helpful Member
#4
hi,
Have you set the IM pins correctly for SPI operation..?
E
 

Attachments

#7
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 .. ..

upload_2018-1-8_14-13-21.png

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

I hope that helps .. ..

S
 
#9
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
 

ericgibbs

Well-Known Member
Most Helpful Member
#10
h,
You show a Vs =1.5v, does that fall within the specified range.?
E
A001.gif
 
Thread starter #13
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.
 

EE World Online Articles

Loading

 
Top