How To – DIY – Projects

Schematic rotary switch

How to interpret the direction of rotation from a digital rotary switch with a PIC using PIC16F877A

How to interpret the direction of rotation from a digital rotary switch with a PIC The objective for this Instructable is to illustrate how to interface a digital (quadrature coded) rotary switch with a microcontroller. Don’t worry, I’ll explain what quadrature coded means for us. This interface and the accompanying software will allow the microcontroller […]

How to interpret the direction of rotation from a digital rotary switch with a PIC using PIC16F877A Read More »

How to interface MAXIM’s DS1868 digital potentiometer with a PIC microcontroller

How to interface MAXIM’s DS1868 digital potentiometer with a PIC microcontroller

Potentiometers find applications in many electrical devices. For example, a light dimmer uses a potentiometer to control the brightness of lamps. In amplifiers, they are used to control the output volume of the music, or change the bass level. In an adjustable power supply we see potentiometers to vary the output voltage and current. In

How to interface MAXIM’s DS1868 digital potentiometer with a PIC microcontroller Read More »

EUSART in PIC

How to configure EUSART in PIC18F4550

Both, Parallel and Serial modes of communication have certain advantages and disadvantages over one another. The serial communication is a preferred option due to its ability of long distance communication with error detection capability. The microcontrollers consist of an inbuilt hardware unit known as USART (Universal Synchronous Asynchronous Reception and Transmission) to facilitate serial transfer

How to configure EUSART in PIC18F4550 Read More »

DIY MIDI controllers using PIC microcontrollers and Basic Stamps

DIY MIDI controllers using PIC microcontrollers and Basic Stamps using pic microcontoller

Introduction By combining a PIC microcontroller or Basic Stamp II with a few passive components it is not difficult to construct your own knob box, trigger box, or other MIDI input device. A knowledge of electronics may be required for interfacing to some sensors. Both the Stamp and PIC provide an economical (under US$100) entry

DIY MIDI controllers using PIC microcontrollers and Basic Stamps using pic microcontoller Read More »