Integration with campbell data logger (cr 6)

Hello everyone, i have problem with integrate (serial) my arduino to Campbell logger.

In sniff mode on devConfig, data have been sent or printed

But, when i connected the port (rs232 or comc1) i get nothing or blank,

My serial setting is
Baudrate 115200
Databit 8
Stopbit 1
Parity none
Flow control none
Forward none

what is "Campbell logger"?
what is "devConfig"?
which COM port is the Arduino on?

Do you have an adapter to convert the RS-232 voltages and signal to TTL voltage? You may have already destroyed the serial connection on the Arduino.

Cambell datalogger, you can browsing cr6 or cr1000 campbell

DevConfig is an application has created by campbell. in this application, there is an terminal like serial monitor

Before use arduino i used esp32 (ttl protocol, Serial2) and i used rs 232 cable (connected directly to my pc) or device like waveshare (rs 232 to ttl)

Or, you can post a proper link to what ever this is. After all, you're the one asking for FREE HELP.

1 Like

I used an adapter like rs232 cable or waveshare (rs 232 to ttl)

Good. But, don't you actually have to configure the Campbell device to tell it to use RS-232?

Hi @d11 ,

do I understand you correctly that you were successful with the communication between the logger and an ESP32 on TTL level and using RS232 to TTL converter to a PC?

If that is the case, could you describe what is different now

  • Same logger or a different one?
  • Same logger configuration?
  • Identical wiring?
  • Different cables?

In addition:

  • Which Arduino board are you using?
  • Which Arduino pins are you using?

For everybody else: An online product manual is available here

https://help.campbellsci.com/CR6/Content/Home.htm

I use cr basic, and i have printed it on terminal (sniff mode in devConfig) but i dont get anything or blanked data when i connected with cable (rs 232 adaptor) or i setting comc1 (in ttl mode) to connected with esp32 (serial 2)

Arduino mega but i haven't used it. First, i used adaptor (rs 232 to ttl, like Waveshare). I can connected and communicated with sensor use this adaptor, in rs 232 protocol

I used hardware Serial1

I have read tutorial or reference related sending data over rs 232 from Campbell but didnt work

I suspect the TX and RX are switched when connected to the RS-232 to TTL adapter. With the Campbell unit powered, the TX wire will have a voltage greater than +3 compared to the data ground.

Thank you so much everyone,

Now, i can get data from Campbell use max232 chip connect to arduino

Maybe, the trouble is my device (cable rs-232 adaptor and waveshare).