element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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 & Tria Boards Community
  • Azure Sphere Starter Kit
  • More
  • Cancel
Azure Sphere Starter Kit
Blog Sample code for using OLED-C with Azure Sphere
  • 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!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Fred27
  • Date Created: 7 Oct 2019 4:39 PM Date Created
  • Views 731 views
  • Likes 9 likes
  • Comments 1 comment
  • oled-c
  • azure sphere
Related
Recommended

Sample code for using OLED-C with Azure Sphere

Fred27
Fred27
7 Oct 2019

I've managed to get the OLED-C Click board working with the Avnet Azure Sphere Starter Kit. It will work with the OLED-C in mikroBUS #1 or with a few changes in a header file it will work in mikroBUS #2. I would include a photo, but it seems that the display and my smartphone camera do not get along!

https://github.com/FredMurphy/AzureSphereOLEDC

 

There were a few bumps along the way - not least the fact that there are 2 versions of the board that use completely different drivers. This is for the v1.01 which uses the SSD1351 driver. The initial documentation I found was for the v1.00 using the SEPS114A and I initially went off on a dead end with that! It's basically a port of the Libstock code supplied by MikroElectronica, alhough the SPI and GPIO configuration is done a little differently.

 

Let me know if you find it helpful.

  • Sign in to reply

Top Comments

  • Fred27
    Fred27 over 6 years ago +1
    It turns out that the Click OLED-C board uses pin 2 of the mikroBUS socket as its enable pin. Nothing wrong with that. It's connected to GPIO2 on the MT3620 and it works just fine. However, it seems that…
  • Fred27
    Fred27 over 6 years ago

    It turns out that the Click OLED-C board uses pin 2 of the mikroBUS socket as its enable pin. Nothing wrong with that. It's connected to GPIO2 on the MT3620 and it works just fine. However, it seems that both mikroBUS sockets on the Avnet Azure Sphere Starter Kit share GPIO2 in this position.

     

    This means that any other Click board that uses pin 2 may not play nicely with the OLED-C. I've got a few other Click boards and this is what I found:

        Heart Rate 4 - this uses pins 2 as to signal data is ready to be read over I2C. You can't use it alongside to the OLED-C

        NFC click - this also uses pin 2 as an interrupt. It won't play nicely.

        OLED-B - This is OK, but I'm not sure why you'd want 2 OLED displays.

     

    I'm not going to go through the range of Click board and work them all out, but beware of any that use pin 2 - the second one down from the top on the right hand side. If there's consistency between boards then I'd hazard a guess it's any that use I2C.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • 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