Using Altimeter with a RS485 - TTL converter (MAX485 MODBUS?) on Arduino

Hi @Marengsen,

I’m not really understanding what you’re asking about. Our Ping Sonar communicates with TTL Serial, which can be connected directly to Arduino pins, as covered in our Using the Ping Sonar with an Arduino guide. A TTL Serial to USB converter (like our BLUART) is only relevant for converting the sonar communication to voltage levels that a normal computer can make sense of with its USB port.

the “software serial stuff” is what converts the electrical (voltage level over time) signals from the sonar into digital bytes in the Arduino, which can then use our ping-arduino library to parse those bytes into ping-protocol messages, at which point the program has some sense of meaning ascribed to the data (e.g. a distance measurement, or error message, or PCB temperature value, etc). Sending commands to the sonar follows the same process in reverse (Arduino program → ping-protocol message → serial packets → voltage levels → sonar).

Are there issues with the data → webserver approach suggested/discussed in your previous post?

1 Like