Hooking two Arduino's (Giga and Nano) to a single CrowPanel Advanced 7inch ESP32-P4
I have a CrowPanel Advanced 7inch ESP32-P4
Arduino Boards:
Arduino ABX00063 Giga R1
Arduino Nano ESP32 with Headers [ABX00083]
And would like to hook both of these Arduino's (running at the same time) to the CrowPanel and be able to update the panels UI from each board.
Currently im testing with a single Arduino (the giga) which is hooked to the CrowPanel via UART2 (RXD/TXD) and im sending data back and forth with the UI (using SquareLine for UI), pressing button on UI will send signal to Giga and when a sensor hook to Giga reads a value it will send that value to the UI, everything is working.
Now i would like to:
Add the Nano to read a Roatary Encoder and update the UI with the values read.
And still use the Giga for other sensors and also have it update the UI.
Is this possible with the CrowPanel Advanced 7inch ESP32-P4 ?
Can i tie all (three devices) RXD, TXD and ground pins together and power each one from a different source and it will work ?
Any help, insight or pitfalls would be great.
Thank you...
Comments
Hi Joe:
Your proposed solution appears feasible. You can use P4 to connect the two devices; however, when utilizing UART, you must assign separate UART interfaces to the Giga and Nano boards to ensure independent communication. For power supply, it is best to use a single high-capacity power source to power all three devices in parallel, ensuring that all GND pins are interconnected to establish a common ground.
Warm regards,
Thanks Jully.
Currently on the P4 im using UART1 with the Giga and communicating both ways, P4 sends to Giga and Giga sends to P4.
Now when adding the Nano (which only needs to send to the P4) i should use the P4's UART3-IN plug/connection ?
If so, can you please post the UART3 pins i need ?
Also, i read somewhere if i power the P4 externally with 3.3v, i would use the red wire of the UART3-IN cable, is that true ?
Last thing, when using both the P4's UART1 and UART3 will i still be-able to still read normal Serial.print() commands from the usb port as i am doing now ?
Thanks again for the help.
Dear Joe,
Hope you are doing well. Thank you for your support of us.
We apologize for the inconvenience. We need some time to analyze your issue and will get back to you as soon as possible. Please wait a moment.
We apologize for the inconvenience again.
Thanks!
Warm regards,
Waiting for responce, thank you.