Jump to content


Photo

LinkSprite Powerline Communication Board Issue


  • Please log in to reply
6 replies to this topic

#1 chain

chain

    Advanced Member

  • Members
  • PipPipPip
  • 756 posts

Posted 03 April 2014 - 12:59 AM

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.co...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.



#2 chain

chain

    Advanced Member

  • Members
  • PipPipPip
  • 756 posts

Posted 03 April 2014 - 12:59 AM

Please refer to http://learn.linkspr...carrier-module/



#3 chain

chain

    Advanced Member

  • Members
  • PipPipPip
  • 756 posts

Posted 03 April 2014 - 02:07 AM

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. 



#4 chain

chain

    Advanced Member

  • Members
  • PipPipPip
  • 756 posts

Posted 03 April 2014 - 02:08 AM

Please remove the ATmega328P chip from your Arduinos, and try it again.



#5 chain

chain

    Advanced Member

  • Members
  • PipPipPip
  • 756 posts

Posted 03 April 2014 - 02:09 AM

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? 



#6 chain

chain

    Advanced Member

  • Members
  • PipPipPip
  • 756 posts

Posted 03 April 2014 - 02:13 AM

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.h>

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.



#7 Magnus O.

Magnus O.

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 04 April 2015 - 07:46 AM

Well, did this work?






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users