连接到常规电源时,无法在Arduino上使用nRF24L01编写消息,但连接到电池电源时可以工作

问题描述

我正在使用RF24.h库通过nRF24L01+模块将消息从一个Arduino无线发送到另一个。当我使用带有笔记本电脑,移动电源之类的电源的USB为Arduino供电,甚至直接从电源插座供电时,写入都会失败。但是,当我将其与9V电池连接时,消息将成功传输。我不知道发生了什么事。有什么帮助吗?

下面是我的界面,它是Arduino UNO和RF模块

MISO connects to pin 12 of the Arduino UNO
MOSI connects to pin 11 of the Arduino UNO
SCK connects to pin 13 of the Arduino UNO
CE connects to pin 8 of the Arduino UNO
CSN connects to pin 9 of the Arduino UNO
GND and VCC of the NRF24L01 are connected to GND and 3.3V of the Arduino UNO

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)