TJA1050 board and arduino

I have some TJA1050 boards (like these: https://www.aliexpress.com/item/4000562907712.html?spm=a2g0o.productlist.0.0.67bb6446jXgANW&algo_pvid=927456b9-c0b6-4867-a682-4522717027ba&algo_expid=927456b9-c0b6-4867-a682-4522717027ba-8&btsid=0be3743615906863048316394e342e&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_ sorry for the long link)
I would like to connect them to my arduino but cant find any help online since everything i can find includes using an MCP2515. Is there a library out there or a piece of sample code for me to try?
Thanks for any help.

Connecting hardware is one question and creating code to make the lot do what You want is another question.
Which one comes first?

I was thinking the same thing as Railroader. Everyone can buy anything on AliExpress.

When you buy something, then first try a manufacturer that makes the schematic open source and creates a library for it. Some even make a tutorial and have a forum on their website.

You can remove everything after the .html : https://www.aliexpress.com/item/4000562907712.html.
AliExpress has also something to make shortcuts, but I have not found how to do that yet.

Do you know what you bought ?
A chip to make the CAN signals, but without the CAN controller. It does not even have a controller !

Koepel:
Do you know what you bought ?
A chip to make the CAN signals, but without the CAN controller. It does not even have a controller !

It says in the product name that it is a transceiver + controller. Also can i not read the messages between the 2 tja1050 boards? If i set up 2 arduinos with one board each cant i send messages between the arduinos and read them?

Many titles and explanations on AliExpress and Ebay and Amazon are only to sell things. In many cases they are wrong.

To avoid this, you should buy from a reliable seller, for example the Arduino shop and also Adafruit, Sparkfun, Pololu, and others.

When you want reliable information about the TJA1050, then look at the manufacturer's page: https://www.nxp.com/products/interfaces/can-transceivers/legacy-can/high-speed-can-transceiver:TJA1050.

I would love to be able to buy from reliable sellers but since i dont live in the us or close to bigger eu countries shipping is really expensive for me. I have to pay $50+ for a $5 board. It is cheaper and easier to get a few different boards off of ali express like i did now and take my chances with those.
Also about "can i not read the messages between the 2 tja1050 boards? If i set up 2 arduinos with one board each cant i send messages between the arduinos and read them?". What is your anwser?

I think you missed the point. Nobody is telling you to stop buying things on AliExpress. Nearly everything I have is from there. They are just saying you need to be diligent and research the product before ordering it.

Oh no i understand, i was just saying i really want that but its expensive. If you dont mind, would you mind anwsering the question in the previous 2 replies from me?

That is expensive :o
In the Netherlands are a few sellers that sell Adafruit and Sparkfun products. If I want to buy something that they don't have, then some of them are willing to add it to their list and after a while I can buy it with normal local shipping costs.

To see what the chips can do, you should read the datasheet.
It is a 5V chip that translates the RX and TX into bus signals for the CAN bus.

If you have two Arduino boards, then they can communicate using the TJA1050. That will not be according to the CAN protocol, so there may not be other (real) CAN modules on the same bus.

The Arduino Mega has three spare serial ports and the Arduino Leonardo has one spare serial port. That extra serial port is easier than using SoftwareSerial.

The RS-485 is designed to make signals for a twisted pair cable. I think you need RS-485 modules.
The TJS1050 and RS-485 do the same thing, but they have different voltage levels on the bus.

Did you Google "can bus arduino"? It will help you answer that question.

So you are saying that without a can controller i cant communicate between different boards via can bus?
Even with the transceivers i cant communicate?

If you have a car with a CAN bus, then you can not use them on that CAN bus. Your own messages might interfere with the CAN commands.

If you have a cable and want to use it as a CAN bus, then you can use it.
Connect a serial port to it and do for example: Serial1.println("Hello")
Then the arduino on the other side of the cable with that module can receive it.

Thanks for all the help! I already have some of the controller+transciever boards on their way but they havent arrived yet.
Thank you again! You are amazing!