Jump to content
chain

LinkSprite Powerline Communication Board Issue

Recommended Posts

I'm a part of a senior design group at the Missouri University of Science &
Technology.

Today we received several of your Narrow Band Communication Boards:

http://linksprite.com/wiki/index.php5?title=Narrow_Band_Powerline_Communication_Module_with_Simple_MAC

However, we can't seem to get them to function.

We have constructed the circuit exactly as shown in your tutorial pictures.

We then send data from the Arduino at the baud rate described in the
documentation and attempt to read it out on the other side.

However, we get nothing.

Any help would be appreciated.

Share this post


Link to post
Share on other sites

Thanks for the prompt response.

I believe that we wired the circuit up correctly.

The only difference is that we were using two arduinos with the chips in them. However, the serial characteristics match those specified in your instructions.

Unfortunately, we still have been unable to transmit any data. 

Share this post


Link to post
Share on other sites

The problem is that we want to use the ATmega to transmit for our application. 

The ATMegas use 5V TTL logic with 8 data bits and 1 stop bit as described in your documentation, so it should work correct? 

Share this post


Link to post
Share on other sites

If you need ATmega328P chip, you can define the Serial or Softwareserial in your code , for example:

 

/*
  Software serial multple serial test

 Receives from the hardware serial, sends to software serial.
 Receives from software serial, sends to hardware serial.

 The circuit: 
 * RX is digital pin 10 (connect to TX of other device)
 * TX is digital pin 11 (connect to RX of other device)

 Note:
 Not all pins on the Mega and Mega 2560 support change interrupts, 
 so only the following can be used for RX: 
 10, 11, 12, 13, 50, 51, 52, 53, 62, 63, 64, 65, 66, 67, 68, 69

 Not all pins on the Leonardo support change interrupts, 
 so only the following can be used for RX: 
 8, 9, 10, 11, 14 (MISO), 15 (SCK), 16 (MOSI).

 created back in the mists of time
 modified 25 May 2012
 by Tom Igoe
 based on Mikal Hart's example

 This example code is in the public domain.

 */
#include 

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

void setup()  
{
  // Open serial communications and wait for port to open:
  Serial.begin(57600);
  while (!Serial) {
    ; // wait for serial port to connect. Needed for Leonardo only
  }


  Serial.println("Goodnight moon!");

  // set the data rate for the SoftwareSerial port
  mySerial.begin(4800);
  mySerial.println("Hello, world?");
}

void loop() // run over and over
{
  if (mySerial.available())
    Serial.write(mySerial.read());
  if (Serial.available())
    mySerial.write(Serial.read());
}

 

Note that the baud rate you use in this project is 19200, and the wire connections should match to your code.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×