Skip to content

This repository contains microcontroller projects and experiments conducted using the PIC24F Curiosity Development Board. The projects cover various aspects of microcontroller programming, including hardware setup, timers, PWM control, and sensor integration.

License

Notifications You must be signed in to change notification settings

miraydicle/Microcontrollers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microcontrollers

Overview

This repository contains microcontroller projects and experiments conducted using the PIC24F Curiosity Development Board. The projects cover various aspects of microcontroller programming, including hardware setup, timers, PWM control, and sensor integration.

Projects

1. Counter Implementation

  • Set up an I2C LCD display with the PIC24F Curiosity Board.
  • Created a counter program displaying values in hexadecimal format.
  • Modified the counter to display decimal values.

2. Egg Timer

  • Implemented a countdown timer initialized at 2:00 (min:sec).
  • Used a timer interrupt for countdown functionality.
  • S2 starts the countdown, and S1 resets the timer.

3. LED Blinking using Timer

  • Utilized a 32.768 kHz clock crystal.
  • Programmed TIMER2 interrupt to blink an onboard LED at 1 Hz.

4. LED Dimming using PWM

  • Used ADC to sample input from a potentiometer every 500ms.
  • Controlled the brightness of an RGB LED’s red component based on input.
  • Implemented linear dimming from off to full brightness.

5. Altimeter using BMP180

  • Integrated the BMP180 pressure sensor with the microcontroller.
  • Displayed temperature, static air pressure, and altitude.
  • Implemented real-time data updates from the sensor.

Documentation

The repository also includes the following reference documents:

Setup Instructions

  1. Hardware Requirements:

    • PIC24F Curiosity Development Board
    • I2C LCD Display
    • BMP180 Sensor
    • RGB LED and Potentiometer
    • USB connection to MPLAB IDE
  2. Software Requirements:

    • MPLAB X IDE
    • XC16 Compiler
    • Microchip Programmer
  3. Compilation and Uploading:

    • Open MPLAB X and create a new project.
    • Add the required source and header files.
    • Compile the project and upload it to the board.

Author

Miray Dicle

License

This project is licensed under the GNU General Public License v3.0 (GPL-3.0).

About

This repository contains microcontroller projects and experiments conducted using the PIC24F Curiosity Development Board. The projects cover various aspects of microcontroller programming, including hardware setup, timers, PWM control, and sensor integration.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published