You are here

Add support for dual H3LIS331DL accelerometer

4 posts / 0 new
Last post
SirPolPol
Offline
Last seen: 2 weeks 1 day ago
VESC Free
Joined: 2020-04-09 12:40
Posts: 2
Add support for dual H3LIS331DL accelerometer

Hi,

For my combat robot I need to measure accelerometer data from two H3LIS331DL accelerometers. According to the datasheet, two of them can be added on the same I2C bus (SDO/SA0-pin changes the sensors address). It also allows changing the measurement range (+-100g/+-200g/+-400g).

Would it be possible to add support for this accelerometer + allow reading of both sensors on the same I2C-bus?

frank
Offline
Last seen: 2 days 14 hours ago
VESC BronzeVESC FreeVESC GoldVESC OriginalVESC PlatinumVESC Silver
Joined: 2016-12-27 20:19
Posts: 847

Would be a lot of work and can't be done as a small side job! Best way forward would be using the supported IMUs.

Maybe someone in the communit is willing to put the work into this.

Jojotrottinette86
Offline
Last seen: 2 years 1 week ago
Joined: 2022-04-09 18:11
Posts: 1

Bonjour est-il possible de connecter un lcd display sur les vesc ? Je vous remercie d'avance pour vaux réponse bonne journée. 

frank
Offline
Last seen: 2 days 14 hours ago
VESC BronzeVESC FreeVESC GoldVESC OriginalVESC PlatinumVESC Silver
Joined: 2016-12-27 20:19
Posts: 847

Yes it is possible but not 100% plug and play. You could run a VESC-Tool on a Raspberry Pi for example and connect to the VESC HW via USB.

We run VESC-Tool on a Pi Zero and execute a LISP script on the VESC motor controller. This script is auto loaded in VESC-Tool and changes the UI to display what we want to see.

The BETA VESC-Tool has the scripting interface built in. If you download BETA VESC-Tool you can navigate to VESC DEV Tools.