Hi,
I’m trying to send values from Seeed Studio Xiao nrf52840 Sense to my Android and I’m building app in App Inventor with which I will connect my board to my phone and recive date from it. I’m stuck on how to read values from i2c and send them to my phone. I managed to recrate app which can connect to board and send values like turn on leds/send signal but I don’t know how to recive values from i2c sensors like “Onboard 6-axis LSM6DS3TR-C IMU” and show it in app on my smartphone. I tried to find solution on forums and YouTube, but so far I didn’t managed to find solution.
Hi there,
Sure there is plenty,
I have used the App Inventor II awesome app maker quick easy and deployable.
Here is one I posted a while back. Are you sending TEXT or value of the IMU data?
[LSM6DS3 IMU, FALL & Impact Detection]
Hi Greglarious, Welcome…
That being said , Yea they are not 100% on working examples around here, It’s NOT really managed just kind of thrown on a wiki and rarely updated. The User’s here are EXCELLENT though. The support is responsive but not from an Engineering POV.
I managed to learn allot about the IMU here is the free fall template I tweaked and works VERY well with the Expansion Board, but also on the chip alone. (see Video)
here is t…
Try this
https://how2electronics.com/send-receive-data-to-mobile-app-with-xiao-ble-nrf52840-sense/
HTH
GL PJ
Thank you mate. That was I really fast. I will look into it.
If anything will work that will be enough for start.
Well there is A web version that I used to get started on mines’.
Pretty cool.
To overcome the Drift and Calibration check out the "Parked IMU " demo
PARK_IMU_DEMO
[Xiao nRF52840 Sense IMU Parked demo With SLEEP Interrupt button.]
Displays Parked message after NO movement(6 seconds) from Gyro or Accelerometer over (sensitivity settings) Displays orientation.
Push button on the Xiao expansion board fires Interrupt from pin state and continuously check if the IMU orientation deviates from its parked orientation, or if motion is present
and takes action if necessary, beep & Display orientation.
It goes to sleep after three(3) but…
I did for guidance, Also th chip has internal calibration numbers in factory registers.
HTH
GL PJ
6kabum9
January 21, 2024, 10:39pm
5
Interesting, I will try that when I buy esp32 or when I will into upgrading. For now I’m trying to keep it small as possible.
Thanks in advance