Hello programmers and engineers!
I am having an issue setting up the wireless communication between my arduinos for a work related project.
I have a Mega2560 setup with multiple modules that will use its sensors to gather data when presented. The Mega then will display some information on an LCD, light up a few LEDs, sound a buzzer, and transmit some of that data to an Uno. The Uno will be setup to capture that data and write it to the serial monitor. Said data will be logged to a textile and be dumped into a database.
The wireless modules I am using are the high power nRF24L01 with external Antennas inserted within separate base modules that have a voltage regulator and bypass capacitors.
I am using the TMRh20 library that can be found here:
The minimal sketches that I ran were slightly altered version of the bare minimum examples sketches found here:
Specifically, the "SimpleTransmit-01" and "SimpleReceive-01"
I cannot achieve communication using a Mega and an Uno using even a minimum sketch and trying various different channels. I have achieved it using a minimum sketch using just two Unos though, which leads me to believe that the issue is an incorrect pin layout on the Mega or a library incompatibility. I have found many different forums across the internet with many users having similar difficulties. At this point in the project, I am almost considering dropping these wifi modules and start investigating others.
If anyone has any insight or advice I would greatly appreciate it! I would greatly value your time and may consider discussing compensation for further advice and project help if anyone has any rock solid solutions.