Gilisymo LS53L0X i2c and Arduino Due Wire In the last post, we have seen how to connect LS with Arduino with the serial interface; here I will show you how to connect Gilisymo plugin with Arduino using the i2c interface. For more detail about the Gilisymo plugin, please visit https://gilisymo.com/ . The connection The LS needs only four wires for this tests, +3v3, GND, SDA and SCL, connected as follow. Note that the LS has problem in the serigraphy, the version actually available has the SDA and SCL inverted! Check the version you have before run the demo. The sketch The sketch starts to search the LS plugin connected. When it founds the plugin, it saves the address in a global variable and a flag is set to avoid repeating the search. For all the further loops, the sketch read the ranging data from LS and then wait for 100 milliseconds. The visual effect in the serial monitor is that we have a new data every 100 milliseconds indefinitely. You can fi...
Blog board, Arduino, Raspberry, Gilisymo,connection example, serial, i2c, pwm, bluetooth, wifi, new ideas, Tips and Tricks.