Nerdegutta's logo

Welcome to the Embedded - section

26.12.23

PIC 16F688 - 1 sec interrupt demo

The 1-sec.

This is a small demo on how to use interrupt to flash a led at a 1 sec rate.

PIC16F688 have one 8-bit timer. This means that the max value TMR0 can have ...

Read the article.

26.12.23

Read the GPRMC sentence

How to read the RMC sentence from a gps.

This litte program reads the GPRMC sentence from a GPS module, and display it on a screen.

// INCLUDE LIBRARIES

Read the article.

26.12.23

PIC 16F688 ADC to RS232

Introduction
This little program reads the ADC value from AN7, and transmits the value to the TX pin.

All the Uart - code is in the uart_header and uart_source files.

Read the article.

31.12.23

PIC 16F690: Engine Timer

This is the program running on the PIC 16F690:

// INCLUDING LIBRARIES
#include <xc.h>
#include <stdio.h>
#include <stdli...

Read the article.

02.05.24

PIC - Toggle an LED using a Hall Effect Sensor

Here's a little C program for a PIC microcontroller that toggles an LED based on input from a hall effect sensor:

#include

#define _XTAL_FREQ 8000000  // Se...

Read the article.



nerdegutta.no