element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Embedded Forum Design advice for micro data logger
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 5 replies
  • Answers 3 answers
  • Subscribers 464 subscribers
  • Views 713 views
  • Users 0 members are here
  • logger
  • rocket
  • mass storage
  • usb
  • open hardware
  • Design
  • open source
  • microcontroller
  • serial
  • beginner
Related

Design advice for micro data logger

yoctoctet
yoctoctet over 6 years ago

Hello everybody, I'm new to this community.

I'm trying to design a flight computer for a small model rocket. It will be more of a logger, saving altimeter and accelerometer data to a small memory.

I'm trying to choose the microcontroller for that task. I won't be dealing with a lot of data, probably 1 MB max.

The thing that I'm mostly concerned about is how to transfer back data from the logger to my PC easely.

I was thinking about the possibility of using a microcontroller with USB mass storage capabilities to make data transfers easy.

Has anyone worked with that kind of stuff in the past ? How hard is it ? Should I prefer doing it through a basic serial transfer and to create some custom software to recieve the file ?

I want to make it open hardware in the end.

Thank you everybody for helping me,

Raleigh.

  • Sign in to reply
  • Cancel

Top Replies

  • shabaz
    shabaz over 6 years ago +3 verified
    Hi Raleigh, I've thought about it lots in the past, and didn't reach a conclusion at the time. Nowadays, maybe a solution could be Bluetooth LE (BLE), because it saves needing the weight of connectors…
  • beacon_dave
    beacon_dave over 6 years ago +3 suggested
    Perhaps take a look at the Adafruit Feather M0 Adalogger, as it has a built-in microSD card slot: https://learn.adafruit.com/adafruit-feather-m0-adalogger/overview
  • dougw
    dougw over 6 years ago +3 suggested
    Some good advice above. I believe arduino MKR Zero arduino MKR Zero also has a uSD card slot. It might also work.
Parents
  • shabaz
    0 shabaz over 6 years ago

    Hi Raleigh,

     

    I've thought about it lots in the past, and didn't reach a conclusion at the time. Nowadays, maybe a solution could be Bluetooth LE (BLE), because it saves needing the weight of connectors, and eliminates the need to easily access it (apart from the battery). However the small BLE microcontrollers are not easy to solder, although it can be done, this project I worked on last year shows one way to attempt soldering it (a couple of videos are there): Smart Doorbell System - Extra Information / Appendix

    Otherwise, as you say, USB could be a good option too, since that is a standard connector on most PCs too, so better than old RS232 serial. If you're making the USB connect to UART on a microcontroller via a USB-UART chip, then as an option you may need custom software at the PC end, or alternatively you could use a terminal program and copy-paste from there, or make it look like a USB keyboard and let it type the results into a notepad application. Lots of examples of this are here: https://www.obdev.at/products/vusb/prjdata.html however this is only good for a few kbytes of data, it would take ages with 1Mbyte. Incidentally if you've got that much data, then you may be storing it on a microSD card perhaps? In which case the card could be removed and read on a PC. But perhaps there could be reliability issues with microSD on even a model rocket, I've no idea : (

    Another idea is to make the USB device could look like mass storage, allowing you to just retrieve a file (e.g. in CSV Excel format), however it needs a more powerful microcontroller, whereas the examples above with notepad etc are easier.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • shabaz
    0 shabaz over 6 years ago

    Hi Raleigh,

     

    I've thought about it lots in the past, and didn't reach a conclusion at the time. Nowadays, maybe a solution could be Bluetooth LE (BLE), because it saves needing the weight of connectors, and eliminates the need to easily access it (apart from the battery). However the small BLE microcontrollers are not easy to solder, although it can be done, this project I worked on last year shows one way to attempt soldering it (a couple of videos are there): Smart Doorbell System - Extra Information / Appendix

    Otherwise, as you say, USB could be a good option too, since that is a standard connector on most PCs too, so better than old RS232 serial. If you're making the USB connect to UART on a microcontroller via a USB-UART chip, then as an option you may need custom software at the PC end, or alternatively you could use a terminal program and copy-paste from there, or make it look like a USB keyboard and let it type the results into a notepad application. Lots of examples of this are here: https://www.obdev.at/products/vusb/prjdata.html however this is only good for a few kbytes of data, it would take ages with 1Mbyte. Incidentally if you've got that much data, then you may be storing it on a microSD card perhaps? In which case the card could be removed and read on a PC. But perhaps there could be reliability issues with microSD on even a model rocket, I've no idea : (

    Another idea is to make the USB device could look like mass storage, allowing you to just retrieve a file (e.g. in CSV Excel format), however it needs a more powerful microcontroller, whereas the examples above with notepad etc are easier.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
  • yoctoctet
    0 yoctoctet over 6 years ago in reply to shabaz

    Thank you a lot for your anwser.

    I believe I'm going to use a micro sd card. It will do the job without any problem.

    I just have to be careful not to put it in the same direction as acceleration to avoid disconnection of the sd card.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • michaelkellett
    0 michaelkellett over 6 years ago in reply to yoctoctet

    You have to mind several other things as well.

     

    Micro SD cards have a lot of built in control electronics and software.

    They draw large currents during erase cycles.

    They can spend 10s or even hundreds of ms doing internal stuff and refusing to accept data.

    The connectors are not robust.

    If you will only record a Mbyte or so of data then consider a serial (SPI)  flash chip.

    It will write fast and although it may take a few seconds for a full chip erase you don't need ever to do this in flight.

    Use a small micro (ARM M0 based parts will do) and a logic level serial interface.

    Connect to a PC using an FTDI smart USB/serial lead.

    This way your logger is two chips. If you want to go off piste a bit you could use a single micro with a big flash memory and get down to one chip but using main flash memory for data is a pain on most micros.

    (MAX32660 might do - chip is  a few mm square, 1Mbyte flash - there is a physically tiny dev board and a helpful road test (Jan Cumps)

    What is the data rate of you application ?

     

    MK

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube