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
)
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.
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.
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.
Thank you very much for the information. I want to add 1-2 more information and I still don't understand what to do
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.
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.