PIC Microcontroller

fatfs-tutorial-1

17 Sep: FatFS for PIC32MX/MZ

Skill level: Intermediate, with knowledge of C and 32-bit microcontrollers. Hello there again! ūüôā Want to write stuff into an SD-Card, or maybe read the file contents and display it onto an LCD screen? This is the tutorial for you! In this tutorial, you will be using the FatFS library, which allows you to create, edit and read files in the SD-Card. What will you need? Cytron sk1632 w/ PIC32MX250F128B 8MHz crystal Cytron BB-uSD Breadboard…

audio-codec-proto-board-large_default-12x

16 Sep: I2S for PIC32MX/MZ – Mikroelektronika Audio Codec Proto Board (Cirrus Logic WM8731 codec)

Skill level:¬†Advanced, with C and 32-bit experience. Required: Cytron SK1632, PIC32MX250F128B, MPLAB X IDE, MPLAB XC32 1.40, MPLAB Harmony v1.07 and above. Note: This requires previous knowledge on these tutorials – I2S for PIC32MX/MZ – Introduction I2S for PIC32MX/MZ – Sine wave generation using DDS I2S for PIC32MX/MZ – Direct Memory Access (DMA) I2S for PIC32MX/MZ – Application: Music Box If you haven’t covered these tutorials yet, read up on them, because they would tell…

i2s-tutorial-21

01 Sep: I2S for PIC32MX/MZ – Application: Music Box

Skill level:¬†Advanced, with C and 32-bit experience. This tutorial requires an oscilloscope, ¬†a small amplifier and a speaker to confirm the resulting output! Required: Cytron SK1632, PIC32MX150F128B, MPLAB X IDE, MPLAB XC32 1.40, MPLAB Harmony v1.07 and above. After shaping up the waves and sending them to the DAC, you are thinking that all it can do is to hear a loud smooth beep from the speakers. Of course, you won’t be just generating sine…

i2s-tutorial-19

01 Sep: I2S for PIC32MX/MZ – Direct Memory Access (DMA)

Skill level:¬†Advanced, with C and 32-bit experience. This tutorial requires an oscilloscope to confirm the resulting output! Required: Cytron SK1632, PIC32MX150F128B, MPLAB X IDE, MPLAB XC32 1.40, MPLAB Harmony v1.07 and above. In the previous tutorial, you have learned to generate a sine wave using DDS (Digital Direct Synthesis) method and transfer the sample data into the audio DAC through I2S bus. Remember about the SPI transfer complete interrupts in the other earlier tutorials? Everytime…

i2s-tutorial-20

27 Aug: I2S for PIC32MX/MZ – Sine wave generation using DDS

Skill level: Advanced, with C and 32-bit experience. This tutorial requires an oscilloscope to confirm the resulting output! In the previous tutorial, you have a general idea of interfacing your PIC32MX/MZ microcontroller to the Audio DAC. This time, you learn to write a short, simple method to generate a sine wave using Digital Direct Synthesis (DDS) method, sample by sample to the DAC, and eventually output to the speaker. If you have an oscilloscope, you…