hello,
I am using the shield version 1.1 and I am in the situation that I cannot enter the command via a serial connection. Thus, I need to do a hardware reset. But I am unable to accomplish a hardware reset.
I am using the following arduino sketch to interact with the PIO9 (via digital pin 7):
void setup()
{
Serial.begin(9600);//use Serial to see what is going on
delay(2000);//wait for me to turn on the serial monitor
Serial.println("starting ...");
pinMode(7, OUTPUT);//interact with PIO9 via digital pin 7
delay(200);
digitalWrite(7, HIGH);//arm up factory reset
delay(1500);
for (int i = 0; i < 5; ++i) { //toggle the PIO9 5 times
digitalWrite(7, HIGH);
delay(1500);
digitalWrite(7, LOW);
delay(1500);
}
Serial.println("finished");
}
void loop() { }
I have two questions regarding this sketch:
-
Is it correct regarding the documentation "setting PIO9 high on power up arms the factory reset functional and toggling PIO9 five (5) times there after ". The RN-171 user manuel says: “make sure that GPIO9 transitions (high to low or low to high) are at least 1 second long.”
-
Is it correct to simply connect a digital pin to the PIO9 using a wire? I just put the cable in the hole labeled with “IO9”. The hole with the label “S_1” is not connected.
thx & cheers,
steven