+ Post New Thread
Results 1 to 7 of 7
  1. #1
    Newbie level 2
    Points: 27, Level: 1

    Join Date
    Dec 2019
    Posts
    3
    Helped
    0 / 0
    Points
    27
    Level
    1

    Beginner question about a micro-controller project

    I need to work on a project where the microcontroller should:

    1-)Read three voltage outputs of an accelerometer
    2-)Log the data to an SD card
    3-)Send the logged data to cloud by intervals via a GPRS module

    The requirements are to make it cheap and most importantly low power. I will have enough time for this I guess.
    But since there are zillions of micros in the market from AVR, PIC and ARM the very start of this looks very fuzzy to me. Having said that I have some experience with AVR but mostly Arduinos.

    My first aim to make a prototype before going into details. The reason I'm asking this question is to identify the main path I should start.

    What type of uC would be suitable for such project? Does anybody have any experience with such task?
    Do you think it would be very hard to use STM32? Any ideas would be very much appreciated.

    •   AltAdvertisement

        
       

  2. #2
    Advanced Member level 5
    Points: 24,699, Level: 38
    barry's Avatar
    Join Date
    Mar 2005
    Location
    California, USA
    Posts
    4,733
    Helped
    1050 / 1050
    Points
    24,699
    Level
    38

    Re: Beginner question about a micro-controller project

    Any of the micros you mention should be able to perform the tasks you require. If you're familiar with AVR, I would definitely pursue that path first.
    Do you need to design the hardware, or just write software?
    I'm sure you can find boards (Arduino or development boards) with AVR, three ADC channels and an SD card, not sure about a GPRS module, but there's probably something that would easily connect to the AVR board.



    •   AltAdvertisement

        
       

  3. #3
    Super Moderator
    Points: 80,263, Level: 69
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    16,286
    Helped
    3692 / 3692
    Points
    80,263
    Level
    69

    Re: Beginner question about a micro-controller project

    Hi,

    I agree: If you have experience with AVR, then use them. There are so called "pico power" AVRs for low power consumption. For sure only during "power down" --> software controlled. Read AVR "low power" application notes.

    GPRS: There are cheap SIM800 Modules. They should be supported by Arduino.

    The rest:
    Without values nobody can tell whether it can work with microcontroller X or not.
    ADC: Resolution, sample rate
    LOG: Log rate, datasize per item, time
    SEND: data rate, protocol ...

    Klaus
    Please donīt contact me via PM, because there is no time to respond to them. No friend requests. Thank you.



    •   AltAdvertisement

        
       

  4. #4
    Newbie level 2
    Points: 27, Level: 1

    Join Date
    Dec 2019
    Posts
    3
    Helped
    0 / 0
    Points
    27
    Level
    1

    Re: Beginner question about a micro-controller project

    I only can say at the moment that first I need to make a prototype. The goal is to build so many of them. Besides very low power consumption other requirements are:

    16-bit ADC (This could be down to 12-bit since I'm not sure there is uC with 16 bit ADC)
    Sample rate anything 4kHz is adequate.
    At the moment I don't know anything about SD LOG and SEND.

    I only have some familiarity with AVR 8-bit data bus width. Do you think for this application 8-bit is adequate?



  5. #5
    Super Moderator
    Points: 80,263, Level: 69
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    16,286
    Helped
    3692 / 3692
    Points
    80,263
    Level
    69

    Re: Beginner question about a micro-controller project

    Hi,

    It's not fair that you should build a prototype without knowing full specifications.

    Try to get full requirements first.

    Klaus
    Please donīt contact me via PM, because there is no time to respond to them. No friend requests. Thank you.



    •   AltAdvertisement

        
       

  6. #6
    Advanced Member level 5
    Points: 24,699, Level: 38
    barry's Avatar
    Join Date
    Mar 2005
    Location
    California, USA
    Posts
    4,733
    Helped
    1050 / 1050
    Points
    24,699
    Level
    38

    Re: Beginner question about a micro-controller project

    Totally agree with Klaus. How can you build something without knowing its requirements first?

    And you seem to be letting the devices drive your requirements, rather than the other way around. You want a 16-bit ADC, but you can use 12-bits because there are no uP with 16 bit ADCs? Then you actually DON'T need 16 bits. Again, establish your requirements first.



  7. #7
    Super Moderator
    Points: 263,501, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    46,037
    Helped
    14000 / 14000
    Points
    263,501
    Level
    100

    Re: Beginner question about a micro-controller project

    The accelerometer output levels discussed in this parallel tread https://www.edaboard.com/showthread....t&goto=newpost suggest that 12 bit ADC resolution will be hardly sufficient.

    There are ĩC with 16 bit ADC, e.g. STM32F373 or some PIC24 types.



--[[ ]]--