Shop OBEX P1 Docs P2 Docs Learn Events
Laser range finder FW update - Page 2 — Parallax Forums

Laser range finder FW update

2»

Comments

  • What hardware and operating system do you have?
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    The reason you cannot connect is because your LRF has no power. You must still connect power and ground to the bottom pins.
  • Now it's working. To configure via Serial I still need another adapter? Must still calibrated. I Have only a Nano and Mega / the ProgPlug
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    You don't need another adapter. the board just needs power the same way it does when you're using it normally.
  • Thanks

    Yes I have already found this Pins. I also soldered pins there. Unfortunately, I can not connect. No Propeller chip found on Serial Port

    The Prop Plug does not provide the LRF with power. You need to power the LRF from the other header. The ground from both the power connection and the Prop Plug have to be connected at some point (common ground).

  • squaredronesquaredrone Posts: 7
    edited 2016-06-24 21:39
    for programming i must use the JP2 and for serial use i must use the jp1?

    I have for programming use the jp2 with the PropPlug and VCC with 5v and GND on jp1 from the nano exp.board.

    for serial use i have 5V on VCC and GND on jp1 and tx rx to PropPlug
    I do not understand how connect the propplug to the lfr for serial use.

    LFR JP1
    VCC 5V Nano > PropPlug RES
    GND GND NANO > PropPlug VCC
    SOUT RX PropPlug
    SN TX PropPlug

    LFR JP1
    VCC 5V Nano > PropPlug VCC
    GND GND NANO > PropPlug RES
    SOUT TX PropPlug
    SN RX PropPlug

    I use the Parallax Serial Terminal and the Image Viewer i can't connecting

    the new firmware 2 could i flashing.. only i must new calibrating
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    I had hoped our video would be up today. But our A/V guy isn't in today. I am unclear why you're using two Prop Plugs. In order to update firmware you need one connected to the top header, but you also need to provide power to the lower power pins.

    If you're just trying to communicate with the serial interface for calibration or measurements you can connect the Prop Plug to the lower 4-pin header via jumper wires but again, you must provide power and a common ground.
  • I have only 1 PropPlug ;-) Now i use my Mega2560 for serial connection. Its working. i use this code:
    #include <SoftwareSerial.h>

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

    void setup()
    {
    // Open serial communications and wait for port to open:
    Serial.begin(115200);

    Serial.println("Serial2LRFSerial");

    // set the data rate for the SoftwareSerial port
    LRFSerial.begin(9600);
    }

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

    now i can use the terminal app and the imageviewer.

    thanks for help..

    So long
    Square
  • I have only 1 PropPlug ;-) Now i use my Mega2560 for serial connection. Its working. i use this code:
    #include <SoftwareSerial.h>

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

    void setup()
    {
    // Open serial communications and wait for port to open:
    Serial.begin(115200);

    Serial.println("Serial2LRFSerial");

    // set the data rate for the SoftwareSerial port
    LRFSerial.begin(9600);
    }

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

    now i can use the terminal app and the imageviewer.

    thanks for help..

    So long
    Square

    So is this thread solved?


  • 3 Hours and nothing is working. 3 min for this solution with the Mega.
  • I see you are from Germany so the might be a language barrier.

    Is there still a problem? Programing the Propeller via P2 or serial interface via P1?
  • yes i am from germany. its dons't a language problem.
    584 x 321 - 6K
    584 x 321 - 5K
  • PublisonPublison Posts: 12,366
    edited 2016-06-24 23:34
    l'm sorry. I just wanted to see if you still had a problem.
    Your last post did not indicate yes or no.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    That wiring diagram for the Prop Plug looks like a recipe for magic smoke. There is no +5V input on the Prop Plug and the power leads look reversed to me. At least, the ground is in the wrong place.
Sign In or Register to comment.