Author Topic: Help with the accelerometer (mcMod120)  (Read 158 times)

mc-T2

  • Administrator
  • Sr. Member
  • *****
  • Posts: 252
  • mc-Things! The opportunities are endless!
  • Location: Canada
    • View Profile
Re: Help with the accelerometer (mcMod120)
« on: June 11, 2018, 11:26:18 am »
Hi Junkboy,

Sorry for the delay.

1) How quickly are you expecting to transmit the acclerometer data? If you are trying to transmit any less than every 30 seconds, you will likely start to run into issues as the system is designed for low-power. It is not designed for continuous transmission of data due to the low-power and design of the platform. We do have many users who are using the accelerometer and either sending a sample every 30 seconds (or at a longer interval) or programming logic onto the device where you can do some computing to send out a particular value on an acceptable interval.

For your uses, you'll need to work on you code and programming to get what you need - since there are not a lot of available examples on using the accelerometer yet, you'll need to put in the time and effort on your own code at this time. as mentioned, in the new system there is some more accelerometer examples that might help you out but that wont be accessible until the new system is available to everyone (in the next month or two). There are users here on the forum that have done some fancy things with the accelerometer and might be able to provide you code and help. I do not have permission from our users and clients to share those examples at this time.

My recommendation would be to look at the library for the accelerometer within mcStudio to understand it a fully and you can also search around online for others using the same sensor of other hardware - you can then take those examples and work on moving them into the mcStudio environment for your own use.

Hope that helps!
Need more mc-Modules, mc-Gateways or other mc-Things? Check out our product page: www.mcthings.com/products. mc-Development kits are available too!
Check out a live Dashboard using mcThings and Losant! Click here: https://goo.gl/ST43hB