Category Archives: PIC18F


PIC18 development board with ethernet capability

DIY development boards are popular among hobbyists. [magkopian] from Greece has designed a PIC18 development board that features Ethernet connectivity (using ENC28J60) and Full Speed USB 2.0. The development board is based on a PIC18LF4553 microcontroller. The microcontroller features a Full Speed USB 2.0 (12Mbit/s) interface without the need for any external components. Also, it has 32KB of program memory, 2KB of RAM and it supports an external clock up to 48MHz, which is optional because it also has an 8MHz internal clock. The ENC28J60 Ethernet controller is used to provide Ethernet connectivity to the microcontroller thought the SPI interface.

Read more

DIY Game and Watch using PIC18F4550

Andrew Hannay has posted this great Instructable about his DIY Game and Watch video game console using the PIC18F4550 microcontroller and Nokia 5110 graphical LCD display. He writes, Back in the 80s when I was a kid, My parents bought me a Game and Watch game called Vermin. It was actually a TimeOut Exterminator. It was a really simple game with just left and right controls and the idea was to hit moles that were emerging from the ground. The screen consisted of pre drawn monochrome lcd images that were turned on and off when they were needed to be displayed.

Read more

Lab 20: Interfacing a KS0108 based Graphics LCD (Part 1)

The use of a graphical LCD (GLCD) drastically changes the look of your project. It provides more freedom for presenting data than the HD44870 based character LCDs. Today we will see how to interface a KS0108 (name of the display controller chip) based GLCD to a PIC microcontroller. This experimental tutorial is divided into two parts. In the first part, we will see how to write a firmware for the PIC microcontroller to initialize the GLCD and send data to plot points and lines on the screen. The second part will focus more on exploring the built-in GLCD Library of

Read more

Using TC74 (Microchip) thermal sensor for temperature measurement

The TC74 chip is a serially accessible, digital temperature sensor from Microchip Technology that acquires and converts temperature information from its onboard solid-state sensor with a resolution of 1°C. The temperature is available as an 8-bit digital word stored in its internal temperature register, which is accessible through a 2-wire I2C compatible serial bus. This tutorial describes how to use the TC74 sensor with a PIC microcontroller to measure the surrounding temperature.

Read more

LM386 based stereo audio amplifier with digital volume control

Due to its simplicity (requires minimum external components) and high availability, LM386 is very popular among hobbyists for use in low-voltage audio amplification applications. Most of the time a potentiometer is used at the input side of LM386 to provide a volume control in the output speaker. The potentiometer does not control the gain of the amplifier itself, but it creates a voltage divider network at the input, which in fact controls the fraction of the audio signal that is fed to the amplifier. This project is about a stereo audio amplifier using two LM386 ICs with digital volume control for both

Read more
« Older Entries