Standalone Arduino Board + NRF24L01mini (instability problem)

Im building a portable console with raspberry pi and I need to build two Wireless controllers to make it simmilar to Nintendo switch. I projected a arduino standalone board on Eagle and make it by JLCPCB. first of all im using a atmega328PB instead of the arduino uno mcu because its more cheap for me. Its a simple board, only the atmega328PB, the NRF24l01 and some buttons and a analog joytick. Last night, I managed to make all thngs work for some time but when I remove the 5V power from my USB and use the battery with a step up this work very bad. Even when this is using the 5vVUSB power this dont work very good with sometimes stopping without a reason and the NRF24L01 losting a lot of packages on the transmission. Im using a Arduino Micro to be the receiver connected to my laptop by a Micro USB cable and monitoring it by serial. I burnde the bootloader on the atmega328PB using a arduino uno with a special pack of boards for the arduino IDE called "MiniCore" that has the specific mcu Im working with. Can someone help with this? I need thar the controllers can send informatios to the receive that is very short of then with dont losting information. There are something that im doing wrong with my board? there are something that I can do tho improve the connection and reduce the instability? Thank you very much!

Here are some images of my project, the schematic of my standalone arduino and the PCB board layout: (I will put a link to it because i cant send the images here, Im a new user)
Here are the Schematic and photos of the project -> Project Images - Google Drive

(I know that the GND connections aren't OK but I fixed it wit my own hands on the blard)

Can you post the schematic please.

I uploded it and some photos here Project Images - Google Drive
I cant send files on my posts becaus Im a new user

To me, this sounds like a voltage-drop issue; that is either the backup power is too low or the DC conditioning ("battery with a step up") CANNOT supply enough current to regulate the voltage.

Check with a Voltmeter: any change should be minor and onboard filtering should prevent any sudden dip... may be hard to see with a DVM, o'scope provides near instant visual but an analog meter may show a "dip" and "rise" indicating a badly matched power system.

Thank you, I will measure it with a ociloscope but with the multimeter I see constants 5V on the input of my board and it uses less than 100mA, i dont think that the step up cant provide it. I put a 100nf capacitor on the input to reduce the interference but it dont resolved the problem.

I remember my ESP8266 will peak at over 650mA and drop back to 50 - 60mA. I could not see it on the DVM, but o'scope showed the problematic dip ... enough to cause weird reset issues.


This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.