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
Azure Sphere Starter Kit
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Azure Sphere Starter Kit
  • More
  • Cancel
Azure Sphere Starter Kit
Forum Sphere ADC questions
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Azure Sphere Starter Kit to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 6 replies
  • Answers 1 answer
  • Subscribers 46 subscribers
  • Views 1594 views
  • Users 0 members are here
  • analog to digital converter
  • avnet sphere mt3620
Related

Sphere ADC questions

skruglewicz
skruglewicz over 5 years ago

Hello Group,

 

I have a few questions on how to use an existing Sensor that I have

My questions are:

How to Connect the Sensor to the MT3620?

When Connected, how to access the pins through my program.of the ADC on the MT3620, specifically (CLK, D out, D in, CS/SHDN) ?

 

I would enjoy getting collaboration support from the group, I am a developer that has a limited knowledge about electronics and MCU's in general.

 

Regards

Steve

 

Here is some more background on what I am trying to do, but I'm stuck on getting the sensor hooked up to the Kit

 

 

I am trying to connect a Heart Rate Sensor that I have from another project to my Avnet MT3620.

This  project is working great for me on a Raspberry PI . Here  is the link to the project from the vendor of the Heart Pulse sensor.

https://github.com/WorldFamousElectronics/Raspberry_Pi/blob/master/PulseSensor_C_Pi/PulseSensor_C_Pi.md

 

I would hope that I can use this project as an example to connect the sensor directly to the MT3620 and port the code to the Sphere SDK.

This project uses the Raspberry PI and circuit on a breadboard. The code is written In C.

The circuit contains an ADC chip that  takes a signal from the heart Sensor into  an analog input pin on the ADC

 

image

 

 

image

image

 

Document link:  Sphere ADC Document 

 

Message was edited by: Stephen Kruglewicz

  • Sign in to reply
  • Cancel

Top Replies

  • fyaocn
    fyaocn over 5 years ago in reply to skruglewicz +2
    Refer to MT3620 datasheet for detail on Mediatek pages, https://www.mediatek.com/products/AIoT/mt3620 There are two suggested ways on programming, RTapp and High level app, you'd better understand the…
  • shabaz
    shabaz over 5 years ago +1 suggested
    Hi Stephen, According to the datasheet snippet in your post, the MCP3008 uses SPI, and that would need to be configured on the Azure Sphere (i.e. google for 'Azure Sphere SPI' to get detail on this). In…
  • skruglewicz
    skruglewicz over 5 years ago in reply to shabaz +1
    Hello Shabaz, Thank you so much for your response. Interesting answer to my 2 questions, very informative. I might have confused the questions by giving a description of another project from the sensor…
Parents
  • skruglewicz
    0 skruglewicz over 5 years ago

    A question posed to bwillessimageApr 23,

    Hi Brian

    Hope this finds you well during this pandemic.

    I tried to send you a direct message but could not, so I'm sending it here.

     

    I'm hoping you can guide me along here. I tend to lean by using sample projects and have been using both the Advanced Tutorial Avnet Azure Sphere Starter-Kit: Advanced Tutorial .and the all 3 blogs in the Avnet's Azure Sphere Starter-Kit (Out of Box Demo... series. Through studying these project , I have been able to learn a great deal about CMake (config, Build etc.) Debugging, Hardware Config, A7 and A4 programming,on board sensor communication.etc.

     

    Which leads me to my reasons for sending you this message.

     

    For a challenge Beats Per Minute --Home Is Where the Hack Is Chal...
    I am using a Heart rate sensor from a Rasberry PI project and would like to use the sensor to connect DIRECTLY to the Avnet kit. I have sent out Inquires to the Azure Sphere group  as described here:Sphere ADC Document.and Sphere ADC questions

     

    I have received 2 replies of which one recommends connecting the sensor as quote "Try ADC pin on click dock first,"

     

    I assume he means to Attach the purple signal wire from the sensor  to the AN pin on the click header?

    I describe this in my Blog Post.

     

    Do you agree?

     

    I'm stuck on the sensor Input now? Once I get that solved I can experiment on reading the sensor input from your examples. Help with that would be very helpful also, but I need to get past getting the sensor connected first..

     

     



    • imageLevel 5: FaradayLevel 5: Faraday

      bwillessimageApr 23, 2020 6:51 AM (in response to Stephen Kruglewicz)Hi Stephen,The MT3620 uses some of the GPIO pins for ADC inputs as well.  Look at the MediaTek example highlighted below for details on connecting ADC devices to the Avnet Starter Kit.

      • Documentation
        • Microsoft documentation on ADC
        • MediaTek FreeRTOS ADC Example
          • This example has great documentation on how to connect an ADC device to the Avnet Starter Kit!
          • I just looked at this code for the first time and it looks like it's iterating over all the ADC interfaces and reading each
        • Microsoft High Level ADC Example
        • Microsoft BareMetal ADC Example
      You could also use an existing Heart Rate example application . . .
      • You could also use the Avnet Starter Kit example here, by Jim Flynn, that uses the HeartRate4 click module ($21) on the Avnet Starter Kit.
      • This is a working high level application
      Hopefully that will get you moving again!  Let me know if you have any more questions,Brian

       

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
Reply
  • skruglewicz
    0 skruglewicz over 5 years ago

    A question posed to bwillessimageApr 23,

    Hi Brian

    Hope this finds you well during this pandemic.

    I tried to send you a direct message but could not, so I'm sending it here.

     

    I'm hoping you can guide me along here. I tend to lean by using sample projects and have been using both the Advanced Tutorial Avnet Azure Sphere Starter-Kit: Advanced Tutorial .and the all 3 blogs in the Avnet's Azure Sphere Starter-Kit (Out of Box Demo... series. Through studying these project , I have been able to learn a great deal about CMake (config, Build etc.) Debugging, Hardware Config, A7 and A4 programming,on board sensor communication.etc.

     

    Which leads me to my reasons for sending you this message.

     

    For a challenge Beats Per Minute --Home Is Where the Hack Is Chal...
    I am using a Heart rate sensor from a Rasberry PI project and would like to use the sensor to connect DIRECTLY to the Avnet kit. I have sent out Inquires to the Azure Sphere group  as described here:Sphere ADC Document.and Sphere ADC questions

     

    I have received 2 replies of which one recommends connecting the sensor as quote "Try ADC pin on click dock first,"

     

    I assume he means to Attach the purple signal wire from the sensor  to the AN pin on the click header?

    I describe this in my Blog Post.

     

    Do you agree?

     

    I'm stuck on the sensor Input now? Once I get that solved I can experiment on reading the sensor input from your examples. Help with that would be very helpful also, but I need to get past getting the sensor connected first..

     

     



    • imageLevel 5: FaradayLevel 5: Faraday

      bwillessimageApr 23, 2020 6:51 AM (in response to Stephen Kruglewicz)Hi Stephen,The MT3620 uses some of the GPIO pins for ADC inputs as well.  Look at the MediaTek example highlighted below for details on connecting ADC devices to the Avnet Starter Kit.

      • Documentation
        • Microsoft documentation on ADC
        • MediaTek FreeRTOS ADC Example
          • This example has great documentation on how to connect an ADC device to the Avnet Starter Kit!
          • I just looked at this code for the first time and it looks like it's iterating over all the ADC interfaces and reading each
        • Microsoft High Level ADC Example
        • Microsoft BareMetal ADC Example
      You could also use an existing Heart Rate example application . . .
      • You could also use the Avnet Starter Kit example here, by Jim Flynn, that uses the HeartRate4 click module ($21) on the Avnet Starter Kit.
      • This is a working high level application
      Hopefully that will get you moving again!  Let me know if you have any more questions,Brian

       

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
Children
No Data
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