Skip navigation

Azure Sphere

4 Posts authored by: jgroman
Sensing the Storm with Azure Sphere, AM Radio and IR Thermometer  The goal of this project is to build a device capable of detecting of incoming storms. I used this opportunity to learn about Azure Sphere hardware platform, about writing code for both types of its cores and about interfacing Azure Sphere with the outside world. This project demonstrates Azure Sphere A7 and real time M4 core programming, intercore communication, GPT timer usage, I2C communication and GPIO state manipulati ...
When looking for a driver for my noname 128x64 OLED display I remembered that I used quite excellent u8g2 library once and it was really painless and seamless experience. What is u8g2? Let me quote the description from GitHub: U8g2 is a monochrome graphics library for embedded devices. U8g2 supports monochrome OLEDs and LCDs, which include the following controllers: SSD1305, SSD1306, SSD1309, SSD1322, SSD1325, SSD1327, SSD1329, SSD1606, SSD1607, SH1106, SH1107, SH1108, SH1122, T6963, RA8835, LC7 ...
As a part of my project I needed a PWM source and since hardware PWM was not accessible before OS 19.09, the only other option was to do it old school: by bit-banging GPIO pins. Turns out it wasn't that difficult and since this technique might sometimes be useful even with HW PWM present, I'd like to share my code for others to use.   PWM (or Pulse Width Modulation) is basically a clock signal with a programmable duty cycle. PWM generator could then be decribed by using two values: clock f ...
During my experiments with Azure Sphere I wrote, ported or created wrappers for a few various I2C sensor drivers. If you plan to use some of those sensors in your project, feel free to use libraries included below. Drivers are organized into Visual Studio libraries which can be simply added into your project without polluting your main project directory with more files. Every driver also includes an example of its use in a real Azure Sphere application. All drivers were updated to OS 19.09 Targ ...