How to write out data
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- summerij
- Posts: 27
- Joined: Mon Jul 13, 2020 1:38 pm
How to write out data
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.
- dastels
- Posts: 15664
- Joined: Tue Oct 20, 2015 3:22 pm
Re: How to write out data
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
Dave
- summerij
- Posts: 27
- Joined: Mon Jul 13, 2020 1:38 pm
Re: How to write out data
So, once the data is recorded to the internal flash, how do I download it to my Mac for analysis?
- dastels
- Posts: 15664
- Joined: Tue Oct 20, 2015 3:22 pm
Re: How to write out data
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
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
- summerij
- Posts: 27
- Joined: Mon Jul 13, 2020 1:38 pm
Re: How to write out data
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.
- dastels
- Posts: 15664
- Joined: Tue Oct 20, 2015 3:22 pm
- Peter_Gamma
- Posts: 56
- Joined: Tue Jun 02, 2020 5:38 pm
Re: How to write out data
There are many more options to read out sensor data from an Adafruit CLUE:
https://petergamma.org/read-out-sensor- ... e-pyloton/
https://petergamma.org/read-out-sensor- ... e-pyloton/
Please be positive and constructive with your questions and comments.