Arduino Pro Mini - 3.3 V / 8MHz - Serial Question

Hey Guys

I’m trying to use the Soft Serial to talk to a HC-11 CC1101 RF Board. So far I’ve been unable to atlk to it over the serial pins 0/1, so I wanted to try using the soft serial.

This is my code:

#include <SoftwareSerial.h>

#define SET 12

SoftwareSerial mySerial(10, 11); // RX, TX

void setup() {
  digitalWrite(SET, HIGH);
  pinMode(SET, OUTPUT);
  // Open serial communications and wait for port to open:
  while (!Serial) {
    ; // wait for serial port to connect. Needed for native USB port only

  // set the data rate for the SoftwareSerial port

void loop() { // run over and over
  if( mySerial.available() > 0 ){
    Serial.println("Serial Setup");
    pinMode(SET, LOW);
    Serial.println("Serial Response");
  Serial.println("Sleeping for 2 seconds");

But I never see Serial Setup, so mySerial isn’t available. Does it appear I’m doing anything wrong?


Serial.println("Serial Setup");

You never print anything to mySerial.

How do you connect Serial (Rx/Tx), so that you can see any output?

while (!Serial) is required only on a Leonardo, is always True on other controllers.

Add some output to Serial in setup(), to verify that this connection is working.

Also make sure that you program the Pro Mini for 3.3V/8Mhz operation, else the baudrate will be wrong.

Something is wrong with both of my HC-11’s. I used my Oscilloscope and the Serial is working fine out o the arduino, but nothing is coming back.

I can’t get them to operate with a full HC-11 sketch and well using my Uno’s or Diecimila. I’m going to order new modules, they’re $5, so it’s not a big deal.