Become a leader in the IoT community!
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
I’m trying to establish SPI communication between two Arduinos. When I directly wire pins 10, 11, 12, and 13 of both Arduinos, it works well and I can make them send and receive data.
For a project I’m working on, my idea is to develop a quick connection between both Arduinos, something like a plug-and-play connection, so I thought it was a good idea to use a USB-C adapter to easily connect them. I chose USB-C because it is a cheaper solution in terms of adapters and cables.
I imagine it is a bad idea since it’s not working; there’s no communication between the Arduinos.
Could you tell me is this diagram is right or not + can anyone help me with a code to transfer ultrasonic sensor data?
Attached is the wiring diagram.
Ok got it. Your connection is right. I will send a Guideline right away
I’m not sure this is the right link to me, I’m not confused about ultrasonic sensor, I’m looking for a way to transfer data between 2 arduinos using USB type C. Any thoughts?
Are both end of the cable using type C port ?
Yes Sir
Did you find any interesting information about that mr joseph?
I think is to get a type C female connector for both end and use it on the design. Just my thoughts π€
Yes that’s what I did but I just missing the code between them to transfer data
Let me confirm if I can find a library for this
Please, it will help me a lot
I would say you should the original one. Because I onced got an stlink V2, and most of the time my system couldn’t detect it right away. So I say get the original
This is it
https://circuitdigest.com/microcontroller-projects/arduino-spi-communication-tutorial
CONTRIBUTE TO THIS THREAD