# Accelerometers for Animal Cage Trap Behaviour

**URL:** <https://forum.core-electronics.com.au/t/accelerometers-for-animal-cage-trap-behaviour/12440>\
**Category:** Uncategorized\
**Created:** [10 December 2021 04:22 UTC](https://forum.core-electronics.com.au/t/accelerometers-for-animal-cage-trap-behaviour/12440 "2021-12-10T04:22:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hazel186974](https://avatars.discourse-cdn.com/v4/letter/h/a87d85/32.png) [@Hazel186974](https://forum.core-electronics.com.au/u/Hazel186974)\
**Post date:** [10 December 2021 04:22 UTC](https://forum.core-electronics.com.au/t/accelerometers-for-animal-cage-trap-behaviour/12440/1 "2021-12-10T04:22:28Z")

</div>

Hi all,

I am interested in purchasing some accelerometers for use in my research project in Western Australia. I am hoping to attach them to cage traps to quantify the movement of animals inside the traps (on a basic level just activity, and then I will also potentially differentiate behaviours based on the quality of the data). Ideally I would have a model that could be programmed when to switch on, and ideally a battery life of ~80 hours, and would be looking at needing about 30 units.

I have never used accelerometers, and am very new to electronic boards. I am looking for recommendations of products that would suit my project?

I have found the ADXL345 Triple Axis Accelerometer (GY-291) as an option. Would this be suitable? What other equipment do I need in addition to the accelerometer to obtain my data?

Thanks,  
Hazel

---

<div class="post-metadata">

**Author:** ![Trent5487676](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/trent5487676/32/4583_2.png) [@Trent5487676](https://forum.core-electronics.com.au/u/Trent5487676)\
**Post date:** [10 December 2021 05:54 UTC](https://forum.core-electronics.com.au/t/accelerometers-for-animal-cage-trap-behaviour/12440/2 "2021-12-10T05:54:00Z")

</div>

Hi Hazel,

It might be a little bit overkill but the [PiicoDev Motion Sensor MPU-6050](https://core-electronics.com.au/piicodev-motion-sensor-mpu-6050.html) is an Inertial Measurement Unit which includes an accelerometer for about the same price and we’ve got some guides with example code and instructional videos to go along with it.

> **[PiicoDev Motion Sensor MPU-6050 - Raspberry Pi Pico Guide - Tutorial](https://core-electronics.com.au/tutorials/piicodev-motion-sensor-mpu-6050-raspberry-pi-pico-guide.html)**
>
> Introduction
> This guide will help you read motion data from your PiicoDev® Motion Sensor and a Raspberry Pi Pico
> To follow along, it's best to have:
> 
> A Raspberry Pi Pico with pins soldered (pointing down)
> A PiicoDev Motion Sensor MPU-6050
> A PiicoDev...

A [Raspberry Pi Pico](https://core-electronics.com.au/raspberry-pi-pico-soldered-headers.html) should be great for battery operation so I’d recommend that microcontroller to run it.  
We’ve also just released our [Nano Power Timer](https://core-electronics.com.au/makerverse-nano-power-timer.html) which can help you save power by only running the microcontroller intermittently.

---

<div class="post-metadata">

**Author:** ![Hazel186974](https://avatars.discourse-cdn.com/v4/letter/h/a87d85/32.png) [@Hazel186974](https://forum.core-electronics.com.au/u/Hazel186974)\
**Post date:** [10 December 2021 07:02 UTC](https://forum.core-electronics.com.au/t/accelerometers-for-animal-cage-trap-behaviour/12440/3 "2021-12-10T07:02:45Z")

</div>

Thank you for the suggestion Trent! That seems to cover my needs well.

I have read the Core Electronic’s tutorial on Arduino vs Raspberry Pi and I think that for our purposes and the fact I have little experience in this field, it seems the Arduino units might be simpler for me to use than Raspberry Pi? Would you agree with Arduino also being a suitable and simpler option for my project?

Is there a similar guide for Arduino to the one you linked me above for Raspberry Pi Pico? Or do you have recommendations of the equivalent products I would need if using Arduino?

Thanks,  
Hazel

---

<div class="post-metadata">

**Author:** ![Liam120347](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/liam120347/32/5003_2.png) [@Liam120347](https://forum.core-electronics.com.au/u/Liam120347)\
**Post date:** [10 December 2021 07:46 UTC](https://forum.core-electronics.com.au/t/accelerometers-for-animal-cage-trap-behaviour/12440/4 "2021-12-10T07:46:01Z")

</div>

Hi Hazel,

The Raspberry Pi Pico is actually in the same boat as the Arduino. At the moment RasPi foundation have a few lines of boards out, some being full fledged computers (eg, Pi 4, Pi 3A+, Pi Zero) and a microcontroller (The Pico).

The Pico is a bit easier to get started with, reason being it can run micropython. You dont have to keep track of syntax as much and code reads a lot closer to English than another language.

---

<div class="post-metadata">

**Author:** ![Hazel186974](https://avatars.discourse-cdn.com/v4/letter/h/a87d85/32.png) [@Hazel186974](https://forum.core-electronics.com.au/u/Hazel186974)\
**Post date:** [10 December 2021 07:47 UTC](https://forum.core-electronics.com.au/t/accelerometers-for-animal-cage-trap-behaviour/12440/5 "2021-12-10T07:47:39Z")

</div>

Ok thanks Liam, that’s very helpful!

---

<div class="post-metadata">

**Author:** ![James46717](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@James46717](https://forum.core-electronics.com.au/u/James46717)\
**Post date:** [11 December 2021 02:37 UTC](https://forum.core-electronics.com.au/t/accelerometers-for-animal-cage-trap-behaviour/12440/6 "2021-12-11T02:37:00Z")

</div>

Have just started with the Pi Pico, so far it is excellent and very similar to Arduino.  
With Micropython loaded on the Pi Pico and Thonny (Python IDE) running on a PC, very easy to program and get stuff working.

I started with an Arduino UNO a number of years ago and the Arduino IDE.  
Gotta say the Pi Pico has been a much better experience.

Suggest using the [PiicoDev expansion board](https://core-electronics.com.au/piicodev-expansion-board-for-raspberry-pi-pico.html) and [Pi Pico with headers](https://core-electronics.com.au/raspberry-pi-pico-soldered-headers.html) soldered in.

The JST socket on the expansion board allows immediate LiPO connection for battery operartion. A really nice feature of the Pi Pico is the on board regulator which will handle anywhere from 1.8V to 5.5V on the JST connector, allowing use of many battery options.

Regards  
Jim

---

<div class="post-metadata">

**Author:** ![Hazel186974](https://avatars.discourse-cdn.com/v4/letter/h/a87d85/32.png) [@Hazel186974](https://forum.core-electronics.com.au/u/Hazel186974)\
**Post date:** [11 December 2021 10:22 UTC](https://forum.core-electronics.com.au/t/accelerometers-for-animal-cage-trap-behaviour/12440/7 "2021-12-11T10:22:57Z")

</div>

Thanks for your help and input Jim, good to know other people’s experiences!
