hi guys as you read topic i am having a bit problem on using rx0/tx0. I can't change ports because our pcb is already out. So my first question is: Is it possible to run on rx0/tx0 ? Second Question: And if it is possible how?
TX0 and RX0 are used by the ATMEGA8U that does the program upload function.
Did you test the project, with the LoRa E32 using RX0 and TX0 before designing the PCB
Re-designing the PCB so the LoRa E32 uses an available serial port is the easiest solution.
Thanks a lot for reply.well project's deadline is coming so althought we redesign pcbs it will probably come after the deadline. We didn't test before designing. Our project leader said it would work so we didnt test thats was our biggest mistake. now we are trying to test it we uploading code we unplug the usb and giving power via batteries. can we change port of ATMEGA8U that does the program upload function maybe rx2/tx2?
Do you use a Mega Pro board on your pcb or a bare Mega2560 AVR chip?
There is no Atmega8, the mega pro uses ch340 usb bridge
Not without a hardware modification to the Mega PCB and changing the bootloader program in the Mega.
Missed the Pro bit.
Describe your problems in more detail.
In principle, if you do not use a PC connection in your project, then Lora should work on RX0/TX0 pins. You just have to disconnect Lora module every time you upload new code.
By the way, have you tried swapping RX and TX? The labels on third-party boards can be mixed up
Your topic has been moved. Please do not post in "Uncategorized"; see the sticky topics in https://forum.arduino.cc/c/using-arduino/uncategorized/184.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.