How Can I Make a Connection Diagram for MCP2515, ILI9341 and Arduino Uno?

How Can I Make a Connection Diagram for MCP2515, ILI9341 and Arduino Uno?

Hello,

I will develop a project with Arduino for the first time, I am a software developer, my knowledge in software is good, but I also want to make improvements in hardware, first of all, I searched a lot on the internet but I could not find a similar screen and connection diagram;

What I want to do;
To get information from the vehicle with an ODB2 connection for my BMW e92 vehicle

Materials I have;

  • 2.8 inch screen, (2.8 inch Arduino Touch Screen Shield - 240*320
    )
  • Arduino Uno R3
  • MCP2515

Screen images are attached.



I found a sample diagram but I couldn't figure out how to connect it to the screen.

LINK SCHEMA: https://www.moussasoft.com/module-bus-can-mcp2515-avec-arduino/

That tells me you are in it for the long run and want good tools. Download and install KiCad, it is a good schematic capture package that will take your design and generate gerber files if you want a PCB (Printed Circuit Board). It is even free. It will take a few hours to get the hang of it.

1 Like

I want to do something with the products I have right now. Frankly, this is very good information, but I can turn it into circuit boards in the future. For now, how can I operate this screen with Arduino? This is important.

Short term? Pen, paper, picture.

Long term? KiCad.

I see you're spamming this question in multiple forums. Good-bye.

Hi, @ahmetozalpjson
Welcome to the forum.

Have you Googled;

arduino ILI9341

You would be best getting each bit of hardware working first individally before connecting it all up in stages.

Tom.... :smiley: :+1: :coffee: :australia:

1 Like

I understand that you want a diagram that shows the connections, not software to make a diagram.

Connecting the LCD is easy, you just plug it in to the Arduino.

Connecting the MCP2515 is a little harder, you need to find an unused pin for CS. The LCD seems to take all the pins.

You might need to consider a different approach, such as a Mega which has more pins, or a different LCD which uses less pins.

Edit: typo, updated

Looks like you have A5 spare which could use for CS.

Physically how you connect I'm not sure, I guess you will need to solder wires to the underside of the Arduino, or better use a protoshield which intercepts the pins.

However that still leaves the INT pin to connect, so if you need that then Mega is a better approach.

Start with something like this and draw lines between the appropriate signal names. Add parts as necessary for a complete project.

1 Like

Thank you very much for the information. I want to add 1-2 more information and I still don't understand what to do :frowning:

In the first picture, the screens can be connected to each other and it works. When I connect them, I think I can't run the canbus. I need to make a schematic development.

In the second picture, are the holes that can be used for my leg? I wonder if I can solder a cable from here for the missing pins.


EDIT;

As additional information, there are extra pins added to my Arduino. Would these work for the missing pins?

No, they are extra connections for existing pins. You might not need the INT pin connected, I've seen some diagrams with it and some without. I don't know enough about the usage of CAN to say whether you need it or not.

I see that your Arduino has pads for you to solder to. I would make connections as follows :

Remember that the same SPI bus will be shared by he display and the MCP2515, so you will need to make the software doesn't try to use both at the same time.

The extra pins came in handy and I tested it by writing a code and the connection is established.

Very Thank you.

It seems that your topic name is confusing... the actual question has nothing to do with "connection diagram". Your question was about connection...