# CPX and datalogger extension and battery power

**URL:** https://forum.makecode.com/t/cpx-and-datalogger-extension-and-battery-power/20064
**Category:** Adafruit Circuit Playground Express
**Created:** [May 19, 2023, 7:00pm UTC](https://forum.makecode.com/t/cpx-and-datalogger-extension-and-battery-power/20064 "2023-05-19T19:00:45Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![bee](https://avatars.discourse-cdn.com/v4/letter/b/ce7236/32.png) [@bee](https://forum.makecode.com/u/bee)
#### Post date: [May 19, 2023, 7:00pm UTC](https://forum.makecode.com/t/cpx-and-datalogger-extension-and-battery-power/20064/1 "2023-05-19T19:00:45Z")

</div>

I’ve been using my CPX devices to collect sensor data while they are connected to the computer. I found that there’s a datalogger extension for makecode that can be used to easily collect and download data to a spreadsheet. Is there a way to use this extension, or another to collect data while the CPX is battery powered? I can’t seem to collect data without the computer providing power. Thanks!

> **[Datalogging and File Storage in MakeCode](https://learn.adafruit.com/data-logging-and-file-storage-in-makecode/the-datalogger-extension)**
>
> You're monitoring your plant and want the data recorded automatically. In the past, this required some external computer. With the new Storage and Datalogger extensions in MakeCode, your data can be written to a file or can be written to a log file...

---

<div class="post-metadata">

### Author: ![voltist1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/voltist1/32/14551_2.png) [@voltist1](https://forum.makecode.com/u/voltist1)
#### Post date: [April 14, 2024, 7:38pm UTC](https://forum.makecode.com/t/cpx-and-datalogger-extension-and-battery-power/20064/2 "2024-04-14T19:38:29Z")

</div>

I am having the same issue. It may be collecting data on battery power, but when I connect the CPX to the computer it goes into boot mode and the data is unreadable.

---

<div class="post-metadata">

### Author: ![paoloantinori](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/paoloantinori/32/16268_2.png) [@paoloantinori](https://forum.makecode.com/u/paoloantinori)
#### Post date: [July 7, 2024, 5:26pm UTC](https://forum.makecode.com/t/cpx-and-datalogger-extension-and-battery-power/20064/3 "2024-07-07T17:26:11Z")

</div>

Is anyone able to confirm this functionality, despite the limitation, is still working?

I cannot seem to be able to make it work on my Circuit Playground Express

---

<div class="post-metadata">

### Author: ![ggsato](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ggsato/32/16238_2.png) [@ggsato](https://forum.makecode.com/u/ggsato)
#### Post date: [July 25, 2024, 5:27am UTC](https://forum.makecode.com/t/cpx-and-datalogger-extension-and-battery-power/20064/4 "2024-07-25T05:27:27Z")

</div>

Which drive name do you see when you connect the CPX with your computer?

1. **CPLAYBOOT**
2. **CIRCUITPY**
3. **MAKECODE**

---

<div class="post-metadata">

### Author: ![rosshaden](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/rosshaden/32/16468_2.png) [@rosshaden](https://forum.makecode.com/u/rosshaden)
#### Post date: [July 26, 2024, 5:06pm UTC](https://forum.makecode.com/t/cpx-and-datalogger-extension-and-battery-power/20064/5 "2024-07-26T17:06:26Z")

</div>

Use Adafruit Logger for logging into micro SD
