Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include onboard memory storage ($700 USD) #376

Open
josancamon19 opened this issue Jun 27, 2024 · 6 comments
Open

Include onboard memory storage ($700 USD) #376

josancamon19 opened this issue Jun 27, 2024 · 6 comments
Assignees
Labels
firmware firmware work flutter flutter work Paid Bounty 💰

Comments

@josancamon19
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Include onboard memory storage so that the user by just having the device on his neck, never loses a single audio byte of information.

Describe the solution you'd like

  • This should include hardware update, and instructions, on how to solder/add the memory component + details on the component.
  • This should include firmware update, so that the audio bytes are sent and stored and if not received, it should remove the bytes from the memory.
  • This should include a functionality when the app connects again, it should send whatever bytes are in the storage to be processed in the app, once the processing happens, it should clean the audio bytes from storage.

This solution includes hardware, firmware, and flutter.

@Gashpid
Copy link

Gashpid commented Jun 27, 2024

Hey, I’m gonna take this feature.

@josancamon19
Copy link
Contributor Author

Assigned to Gashpid

@josancamon19
Copy link
Contributor Author

Redundant local storage

#

This solution integrates a microSD memory to provide redundant storage on the device. The redundant storage ensures that the audio files are temporarily saved on the microSD until it is confirmed that they have been correctly transferred to the mobile application. Once the transfer is validated, the data stored on the microSD is deleted, thus ensuring efficient and secure information management. This feature uses a microSD module that operates via SPI, functioning as a bridge between the “XIAO-nRF52840 Sense” board and the micro-SD memory. A notification service is also added to the mobile application to alert if the delayed data has arrived correctly.

MicroSD Card Module Pin Configuration - SPI

Texto alternativo de la segunda imagen

The micro-SD card module communicates via the SPI communication protocol. You can connect it to the XIAO-nRF52840 Sense using the default SPI pins. You can buy this module in Amazon

Pin SD Card Module XIAO-nRF52840
1 3V3 VDD
2 CS P1.12
3 MOSI P1.15
4 CLK P1.13
5 MISO P1.14
6 GND GND

Preparing the microSD Card

Para hay que asegurarse que la tarjeta microSD tenga el formato FAT32. Puedes usar el software SD Card Formatter (compatible con Windows y Mac OS).

@przemeks13
Copy link

I can do the CR if the MR is ready. I'm interested in this featrue as well :)

@kodjima33
Copy link
Collaborator

Testing the Friend Dev Kit 2 with onboard memory
https://x.com/kodjima33/status/1821324066651041837?s=46

Before mass-shipping, It Needs this task completed

If you want to work on firmware, buy the device here and we will refund you if you push any code https://basedhardware.com/products/friend-dev-kit-2

@theadrianm
Copy link

Hello! I can push code - software developer with over 3 years of experience. Assign me a task, I'll purchase the device and when I push it just get the refund

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
firmware firmware work flutter flutter work Paid Bounty 💰
Projects
None yet
Development

No branches or pull requests

5 participants