SparkFun will be closed Nov 26th and 27th for the Thanksgiving holiday. Orders placed after 2:00pm MT on the 25th will ship out Monday the 30th.


Member Since: November 12, 2010

Country: United States

  • Sorry, haven’t been here in a while.

    As I mentioned in other places I got a datasheet from Taiwan, I first of all programmed my uC to send the BINARY eight bit codes that they define and watched what came back with the terminal emulator.

    Once I saw that that data looked good I used a interrupt UART port and just captured the data as it came in. Then I sorted through that data looking for the response I was looking for.

    Apparently no one can see me email address on my Account Page, so I’ll just post it here…purchase55@aol.com. If you don’t have a datasheet, or you want some ‘C’ coding tips, I’ll send you some.

  • Your junk email no longer seems to be working. Got another address ? Email it to me if you want.

  • Well, finally got parameters to change. I used a terminal emulator, (back to the microcontroller tomorrow !).

    Things I got to change :-

    1) The Update Rate, so I can go from 1Hz to 10Hz.

    2) The Baud Rate.

    3) I can Enable and Disable the NMEA Sentences.

    4) I can Save Configuration to Battery Back-Up RAM.

    5) I can get the Hardware and Software Version.

    There are a number of other commands I might try playing with once I fully understand these, and I get my microcontroller to do the work !

  • Despite getting a new u-blox datasheet from the manufacturer (as I reported below), I to have been unable to change the settings on the module.

    I’m getting good NMEA data from the module at 9600,8,1,N, but cannot change the parameters laid out in the new sheet.

    I’m just using a PIC and debugging from that. I really want to turn off all commands and poll the ones I want when need be. According to the datasheet this is easy, but I send the command, wait for the reply, I get nothing in response (except endless NMEA).

    Fired off another email to my contact in Taiwan today, and am hoping for the best.

    You used u-center, is there any source code for that, just seeing how they changed the baud rate would be a start.

  • I’ve just got a datasheet from the manufacturer. You can do a heck of a lot with this this module that is not documented !

    I have yet to test it, and the check summing of the strings you send it is really weird, but I’ll try out a few commands in the next few days and see how it goes.

    I’m very wary about changing the baud rate in case I can’t get it back to 9600, so I’ll start with some other commands.

    Members of this board should be able to access my email address if you want a copy of the PDF file.

  • The device has (according to the datasheet) an RS232 Rx pin, suggesting it can receive data from the microcontroller.

    The datasheet also says “Update rate: 1 Hz (default), up to 10 Hz by enabling command” suggesting commands can be sent to the module.

    Has anyone tried to send anything ? I’m getting swamped by NMEA data that I don’t really need, and I’d love to switch off some of the NMEA replies (as you can with other devices), but I just can’t find any documentation anywhere.


  • don’t think ???

  • Not starting an argument here, but acceleration is measured in meters per second per second. Hence, you have to be moving to be accelerating. Gravity I don’t think can come into it.
    If I take my board and take the normally front facing LS20126 and face it downwards, I get a zero reading on the Z axis. I suppose I can just factor that out when using the board.
    Ummm…I’ve sworn on my dead brothers grave I’d not tell how Auto-calibration works (isn’t that the MOST stupidest thing ever), but if you feel comfortable with posting an email address you don’t use too often maybe I’ll let slip a few secrets.

  • Did you actually get the acceleration feature to work (i.e. the string headed by “$PLSR,245,1” ? I was getting strings back such as this :-
    Even after pestering Locosys (they wanted to know Company details and production runs….) I managed to get the device Auto-calibrated giving a ‘7’ as the second parameter (before it was 0, un-calibrated). But study the X,Y,and Z Acceleration fields. X is 3, Y -is -12, but Z is 235.
    With the unit at rest this is just strange.
    I’ve also noticed that this is more of a tilt unit. Hold the unit at a steady angle and these X and Y values remain at high values.
    Locosys now refuse to talk to me because I’m not a major player……soooo, has anyone else managed to solve this riddle ?
    Also, can anyone tell me how to decode the “$PLSR,245,2” returns ?
    I think this datasheet is quite severely flawed (probably through bad translation), although the Rep. said she was trying to protect their intellectual property rights. If a unit doesn’t do what it’s meant to do, I think a company has the obligation to everyone to help badly written documents.

No public wish lists :(