Accelerometer in dragon board

hello,
i want to know is there an inbuilt accelerometer in dragon Board 410 c?
if not then can we connect it externally?

I don’t believe there is an accelerometer built-in.

Attaching an external one is certainly possible though. Using an I2C sensor would be best (use the audio mezzanine if you need level shifting to connect it).

Alternatively you could take a look at the Neonkey mezzanine. This has a built in accelerometer (together with many other sensors) although I don’t think there are any tutorial guides on how to connect it to the DB410C.

I have used the following with Dragonboard 410c as it works directly with 1v8 GPIO:
uk.farnell.com/stmicroelectronics/lis2ds12/accelerometer-digital-o-p-lga/dp/2532380

It has the downside of being quite small and fiddly to solder. Although you can get it mounted in a DIL24 format:
uk.farnell.com/stmicroelectronics/steval-mki174v1/adapter-board-digital-o-p-motion/dp/2675784?st=LIS2DS12

I have used Python to interact with it if you are looking for an example:

I bought a grove Accelerometer/Gyroscope based on the LSM6DS3 chip. I I have it attached to the Sensor Mezzanine board on IC20. The mezzanine board is on top of my DragonBoard 410c. I am using java to communicate with the it.