In this project it was used the “Piranha Super-flux RGB” Led of common anode, and the PIC18F25K20, in order to generate combinations of colors. It has two function modes, automatic that generate the color sequence that is stored in the μC memory, and the manual mode in which you can select one of the seven possible colors.
Super Flux RGB LED Controller – [Link]
The objective of this project is to use inexpensive PIR sensor to detect if a human has moved. To build this project I use a PIC18F25K20 microcontroller to detect if the sensor had change state and it will emit a sound from the speaker or piezo, the MCU also detect the voltage of the battery in the startup, the algorithm it´s very simple it use an interrupt on change to detect the change on the PIR sensor.
PIR Motion Sensor - [Link]
This project is a PWM Fan controller based on PIC18F25K20. It offers a variable speed control, low acoustic noise, reliability, long lifetime, low power consumption, protection features. The MCU get the temperature from the sensor (D18B20), and after will do a conversion Celsius degrees and then it´s generated a PWM on PORTC.2 with 6 different levels.
PIC PWM Fan controller - [Link]