0

How to write out data
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

How to write out data

by summerij on Thu Sep 24, 2020 4:06 pm

Hello. I am new to CLUE and CircuitPython. I want to write the accel/gyro data out to an external device. As opposed to using the internal storage, which has limited space. Some info on using Storage was offered in another post. Can you connect a memory stick to CLUE via an adapter and write to that? I have an adapter. Any help would be appreciated. Thanks.

summerij
 
Posts: 27
Joined: Mon Jul 13, 2020 1:38 pm

Re: How to write out data

by dastels on Thu Sep 24, 2020 4:29 pm

You could add an SDCard adapter using the SPI pins and a couple digital pins on the edge connector. Then just use the SD card support and Storage.

Dave

dastels
 
Posts: 6832
Joined: Tue Oct 20, 2015 3:22 pm

Re: How to write out data

by summerij on Fri Sep 25, 2020 10:02 am

So, once the data is recorded to the internal flash, how do I download it to my Mac for analysis?

summerij
 
Posts: 27
Joined: Mon Jul 13, 2020 1:38 pm

Re: How to write out data

by dastels on Fri Sep 25, 2020 10:45 am

If you use an SD card, you can just move the card to a reader on the Mac.

If you use the flash filesystem, you can just read the file from the mac next time you plug in the USB. It will be on the CIRCUITPY drive.

Dave

dastels
 
Posts: 6832
Joined: Tue Oct 20, 2015 3:22 pm

Re: How to write out data

by summerij on Sat Sep 26, 2020 9:49 pm

Is there a project using the storage function that I can look at to see how it’s set up? I don’t have a lot of time to figure this out. Thanks.

summerij
 
Posts: 27
Joined: Mon Jul 13, 2020 1:38 pm

Re: How to write out data

by dastels on Sun Sep 27, 2020 9:30 am


dastels
 
Posts: 6832
Joined: Tue Oct 20, 2015 3:22 pm

Re: How to write out data

by Peter_Gamma on Thu May 27, 2021 9:54 pm

There are many more options to read out sensor data from an Adafruit CLUE:

https://petergamma.org/read-out-sensor- ... e-pyloton/

Peter_Gamma
 
Posts: 54
Joined: Tue Jun 02, 2020 5:38 pm

Please be positive and constructive with your questions and comments.