Enabled the RX pin internal pullup and updated the schematic
This commit is contained in:
parent
e62dcd84ce
commit
585becfe3e
@ -40,7 +40,7 @@ L Device:C C3
|
||||
U 1 1 5FEB48F8
|
||||
P 3200 1450
|
||||
F 0 "C3" H 3315 1496 50 0000 L CNN
|
||||
F 1 "0.1µF" H 3315 1405 50 0000 L CNN
|
||||
F 1 "10µF" H 3315 1405 50 0000 L CNN
|
||||
F 2 "" H 3238 1300 50 0001 C CNN
|
||||
F 3 "~" H 3200 1450 50 0001 C CNN
|
||||
1 3200 1450
|
||||
@ -564,7 +564,7 @@ L Device:R R10
|
||||
U 1 1 5FF530EA
|
||||
P 9450 4550
|
||||
F 0 "R10" V 9350 4500 50 0000 C CNN
|
||||
F 1 "330" V 9450 4550 50 0000 C CNN
|
||||
F 1 "390" V 9450 4550 50 0000 C CNN
|
||||
F 2 "" V 9380 4550 50 0001 C CNN
|
||||
F 3 "~" H 9450 4550 50 0001 C CNN
|
||||
1 9450 4550
|
||||
@ -575,7 +575,7 @@ L Device:R R11
|
||||
U 1 1 5FF53E00
|
||||
P 9450 4750
|
||||
F 0 "R11" V 9350 4700 50 0000 C CNN
|
||||
F 1 "330" V 9450 4750 50 0000 C CNN
|
||||
F 1 "390" V 9450 4750 50 0000 C CNN
|
||||
F 2 "" V 9380 4750 50 0001 C CNN
|
||||
F 3 "~" H 9450 4750 50 0001 C CNN
|
||||
1 9450 4750
|
||||
@ -586,7 +586,7 @@ L Device:R R14
|
||||
U 1 1 5FF540AA
|
||||
P 9450 4950
|
||||
F 0 "R14" V 9350 4900 50 0000 C CNN
|
||||
F 1 "330" V 9450 4950 50 0000 C CNN
|
||||
F 1 "390" V 9450 4950 50 0000 C CNN
|
||||
F 2 "" V 9380 4950 50 0001 C CNN
|
||||
F 3 "~" H 9450 4950 50 0001 C CNN
|
||||
1 9450 4950
|
||||
@ -618,7 +618,7 @@ Wire Wire Line
|
||||
950 6400 1700 6400
|
||||
NoConn ~ 1700 6200
|
||||
NoConn ~ 1700 6300
|
||||
Text GLabel 1700 6100 0 50 Input ~ 0
|
||||
Text GLabel 1400 6100 0 50 Input ~ 0
|
||||
ESP_GPIO_3_RXD
|
||||
Text GLabel 1700 6000 0 50 Input ~ 0
|
||||
ESP_GPIO_1_TXD
|
||||
@ -860,4 +860,15 @@ Wire Wire Line
|
||||
6800 2550 6800 2100
|
||||
Text Notes 850 7000 0 79 ~ 0
|
||||
/!\ R8 must be changed to a lower value like \n100 Ohm if using the nodemcu dev board instead of a bare bone ESP-12F
|
||||
$Comp
|
||||
L Device:R R17
|
||||
U 1 1 610AD0A4
|
||||
P 1550 6100
|
||||
F 0 "R17" H 1620 6146 50 0000 L CNN
|
||||
F 1 "470" H 1620 6055 50 0000 L CNN
|
||||
F 2 "" V 1480 6100 50 0001 C CNN
|
||||
F 3 "~" H 1550 6100 50 0001 C CNN
|
||||
1 1550 6100
|
||||
0 1 1 0
|
||||
$EndComp
|
||||
$EndSCHEMATC
|
||||
|
@ -50,14 +50,14 @@ void setup() {
|
||||
Serial.begin(115200, SERIAL_8N1, SERIAL_TX_ONLY);
|
||||
//We set the RXD0 as a GPIO
|
||||
pinMode(D9, FUNCTION_3);
|
||||
pinMode(D9, INPUT);
|
||||
pinMode(D9, INPUT_PULLUP);
|
||||
attachInterruptArg(D9,&(NRFIRQsHandler), (void *)&IRQFlag, FALLING);
|
||||
//To prevent wear and tear on the flash mem
|
||||
WiFi.persistent(false);
|
||||
WiFi.disconnect(true);
|
||||
WiFi.softAPdisconnect(true);
|
||||
|
||||
Serial.printf("NRF 1 %s\n",NRF_1.begin() ? "started" : "error");
|
||||
Serial.printf("\nNRF 1 %s\n",NRF_1.begin() ? "started" : "error");
|
||||
if(!NRF_1.isChipConnected())
|
||||
Serial.println("NRF 1 is missing");
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user