UART configuration for the microSD datalogger

Q&A forumCategory: QuestionsUART configuration for the microSD datalogger
vvlachak asked 2 weeks ago

Hello,
In the description of the Serial Datalogger to microSD product it is mentioned that the datalogger is “Pre-configured at 57’600bps Serial Datalogger to microSD card (XBee socket compatible)” and it is given the advice “Just configure the data you want to store at 57’600bps in the UART connected to the XBee socket.”
My questions are:
a) how to configure which UART to connect to the XBee socket.
b) how to configure the value 57600bps in the selected UART that is connected to the XBee socket.
c) In the microSD card I found a file named config.txt with the following data. Should I keep this file in? Should I change any of the values in the file?
115200,26,3,0,1,1,0
baud,escape,esc#,mode,verb,echo,ignoreRX
Thanks in advance.
 
 

4 Answers
vvlachak answered 2 weeks ago

Hello again,
The answer in my question a) I suppose is what it is written in the hookup guide:
This interface is connected to ZED-F9P UART2 or UART1.
You can choose to which one you want to connect with the switch XBEE TO GPS UART X.
Best regards,

vvlachak answered 2 weeks ago

Hello again 🙂
And here should be the answer for my question b) :
https://drotek.gitbook.io/rtk-f9p-positioning-solutions/tutorials/setting-baudrates-base-and-rover
Best regards,
 

vvlachak answered 2 weeks ago

Hello,
Concerning my question c) I found that the need of the config.txt file is also mentioned here:
Building a simple u-blox F9P data logger with a Sparkfun OpenLog board
where it also says:
The only detail that matters in the above text is the first number which should be set to the same baud rate that UART1 on the receiver is configured to.
So the question now becomes: Is the default text (included in the microSD) correct or the first number has to change to 57600?
I would appreciate if someone may take the time to verify my answers and/or propose alternatives.
Best regards,
 

vvlachak answered 2 weeks ago

Hello,
Concerning my question c) I found that the need of the config.txt file is also mentioned here:
Building a simple u-blox F9P data logger with a Sparkfun OpenLog board
where it also says:
The only detail that matters in the above text is the first number which should be set to the same baud rate that UART1 on the receiver is configured to.
So the question now becomes: Is the default text (included in the microSD) correct or the first number has to change to 57600?
I would appreciate if someone may take the time to verify my answers and/or propose alternatives.
Best regards,
 

Ardusimple Staff replied 1 week ago

Hi vvlachak,

We try to make our products simple, sometimes we don’t describe all the possibilities of the product. Our serial datalogger is based on openlog, but it’s preconfigured for data recording at 57’600bps.

vvlachak replied 1 week ago

Thanks for the reply,
So, when you say preconfigured, you are talking about other parameters concerning the logger itself or the first number in the config.txt file?

dsgeo57 replied 1 week ago

Hi, the SD Data logger of ardusimple is a prefigured systema that work strictly as the Sparkfun OpenLog. The only information you need is how to use the u-center software to configure the ZED about type of info pull out in to the 4 standard ports.

In the Ardusimple the mapping of the related port is not explained very well. Of course the Ardusimple SD Log system is configured to cat the data on the Xbee UART (normally 2). If you use the Open Log frum Sparkfun you can use as me on the JST port as well. It means that with the Ardusilple lite version, you can use at same time the bluetooth for the android control pad, and the SD storage data for GNSS RAW data for post-processing job.

vvlachak replied 1 week ago

Thanks for your comment.
I am using the simpleRTK2B V3 with the microSD logger provided by Ardusimple and I manage to store raw data (obs+nav) in the SD card. What you say about the JST port is very interesting. In what means I could log data from the JST connector? What is the storage device and what is the configuration? Could I also use the the JST for battery supply? I didn’t manage to find batteries with such connectors.

dsgeo57 replied 1 week ago

Normally the JST are pinned as UART1, with follow pin 1) +5 2) Rx 3)Tx 4)I2C SCL 5)I2C SDA and 6) GND. As report on Ardusimple documentations. You just connect Rx and Tx and GND to the relative Tx,Rx and GND of OpenLog. Remember that you need to inverter Rx and Tx (Rx of openlog connected to Tx of the JST, and Tx to Rx) . On Open Log you need a power of +5 and GND. Of course via u-center you need to configure the UART1 @ boud rate that you need. The registration of data are in a log file and start when you push on the power.

vvlachak replied 1 week ago

Thanks a lot for the info.
Especially for the fact that the Tx should be connected to Rx and vice versa. (For some people this information might be evident, for others, like me, not 🙂 ).

vvlachak replied 1 week ago

Just to add that for the moment I prefer the solution that Ardusimple provides with the microSD. I find it a bit pricey 🙁 but at the same moment clean and reliable 🙂 !