Hi everyone, i have a problem. I want to connect the apc 220 to an esp32 and another apc220 to an Arduino Uno, but i can't quite get it to work.
Here is the code i have uploaded to the esp32:
On the esp32 i have connected the RX0 from the apc220 to GPIO16 and TX0 to the GPIO17.
Is this correct or can't it connect because it is two different arduino's?
The Uno is powered by the cable, and the APC220 is on 3.3v. The other APC220 on the esp32 is also on 3.3v. But it wont sent data from the esp32 to the Arduino via the APC220 module.
Yeah maybe the Uno isn't receiving, but when i tried it with 2 esp32 it also didn't work. I am kinda new to arduino and i don't really understand how the Serial works.
Quite probably it works at 3.3 V even if the original datasheet gives 3.5V. What's the difference on your code between working uno and non working esp32?
That is a very bad idea. It is possible the the 5V logic, interfaced to 3.3V logic, increased the effective power supply voltage, possibly also damaging the input and output pins.
When connecting 5V logic to 3.3V logic, logic level shifters are required.
Use the APC220 with a 5V Arduino. Most other radio modules operate at 3.3V only and should be used with 3.3V processors (3.3V Arduinos, ESP32, etc.).
As you can see on the picture, I connected the VCC input from the apc220 to the 3.3v onboard output for the arduino Uno, as the apc220 can run on 3.3v.
But it's not correct setup with 5V microcontroller. Your Uno tx at 5V to Apc that is powered at 3.3 an so abusing it.
I wrote on post#3, you should power the Uno one at 5V and the Esp one at 3.3V.
Sounds strange... what esp32 board exactly you use?
Hi jremington, I have found the issue. I had switched the RX0 and TX0 from the acp220 around . Thanks for the ideas to help me
The only problem that I now have, is that the apc220 only recieves data when i power the esp32 off. I run the program to send numbers, but i dont recieve anything, and when i power the esp32 off it sends all the numbers in one time. I created a dedicated topic for the discussion of that problem: