Hello,
I’m attempting to communicate with a RockBLOCK Iridium SatComm module through a Sparkfun Redboard (Arduino Uno). I want to send AT commands through the serial monitor and then see the response from the RockBLOCK.
The Arduino is connected to the RockBLOCK through a logic level converter since the module runs on 3.3V TTL while the Arduino is 5V. I am able to make a direct serial connection to the RockBLOCk through UART and receive responses just fine. When I try this through the Arduino, I can’t get it to work.
I’m using the code below, as taken from a similar post at https://forum.arduino.cc/index.php?topic=161151.0. This seemed to work for that person who was sending AT commands to a Quectel M10 GPRS shield.
#include <SoftwareSerial.h>
SoftwareSerial mySerial(4,5);
void setup()
{
mySerial.begin(19200);
Serial.begin(19200);
}
void loop()
{
if (mySerial.available())
Serial.print(mySerial.read());
if (Serial.available())
mySerial.write(Serial.read());
}
Any help is appreciated!
Thanks,
Travis