For another project I started I needed to control the motion of a stepper motor. A stepper motor is used when precision control of movement is needed. With each movement of the motor, the drive shaft steps a precise amount of distance (usually a few degrees with each turn). You can often salavage steppers from […]
Projects
Digital Watt meter using PIC16F876
Updated 3. Sep. 2002. If you are from Denmark ! read the Danish version !! In the good old days I had some parts but now This Wattmeter is in ELEKTOR MAGAZINE OKTOBER 2002, they will sell PIC and PCB The extra input B is for a later SWR brigde project, also the TX serial […]
PIC programmer using PIC16F84A Microcontroller
Essential when experimenting with PIC. Programs PIC16Fxxx and PIC18Fxxxx series (8, 18, 28 and 40 pins) 16F84A, 16F877A, 18F452 (DIL and PLCC) tested successfully with the IC-Prog software. 18F4550 (DIL) works fine with the PICPgm programmer software. Also programs EEPROMs (8 pins) type 24LCxx with the IC-Prog software. Follow the software configuration steps below to […]
Guitar Hero MMMMDCCLX
Introduction: We created our own version of Guitar Hero which can play any song that has a MIDI file by using our custom controller and UI. We are big fans of the original Guitar Hero game, but felt limited by its inability to only play a set of songs. We came up with the solution, Guitar […]
Weather station using PIC18F452 Microcontroller
Weather station with pressure reading, relative humidity, indoor & remote outdoor temperature display. Both Celsius or Fahrenheit & mbar/hPa or mm Hg supported. With calendar & clock. Easy 3-button user-menu. 42 hour-history display (curve). Auto-memory & display of all high and low-values. PIC 18F452 running at 4 MHz, power saving sleep mode. Sensors are only […]
PIC based UPS Schematic / Firmware / PCB Layout
Microchip’s Digital Pure Sine Wave Uninterruptible Power Supply (UPS) Reference Design is based on the dsPIC33F “GS” series of digital-power Digital Signal Controllers (DSCs). This reference design demonstrates how digital-power techniques when applied to UPS applications enable easy modifications through software, the use of smaller magnetics, intelligent battery charging, higher efficiency, compact designs, reduction in […]
Making a Digital Clock using PIC16F628A
Please check the update at === Digital Clock Updated Version === — Original Version — As I am a WIS so I built a clock as my first microcontroller project. The clock is controlled by PIC16F628A from the PIC book . The idea was making a digital clock with hour, minute and second display. I […]
A Simple Clock using DS1307 and PIC16F877A
Even I have posted about “DS1307 + PIC16F877A“, I didn’t have chance to make a real prototype of the clock. I have done only on the simulation software. Today, I have received a comment about that post. ah_bear followed my code and schematic on that post but the clock didn’t work. This is because the […]
Self-Balancing Robot
Introduction The inverted pendulum is an interesting case in the study of control systems because of its unstable nature. A pendulum is considered inverted when its center of mass is placed above its pivot point, meaning that its only equilibrium point is when its center of mass is directly above the pivot point. This is […]
6 Digits LED 7-Segment Multiplexing using PIC16F627A
In the post ‘LED 7-Segment Multiplexing‘, I have explained about the concept and benefits of multiplexing. Multiplexing implementation is very similar to driving Led Dot Matrix. I use Timer0 interrupt for switching through each digit. Timer0 or TMR0 is an 8-bit timer which overflows every 256 (0xFF) counts. It’s known that the refresh rate above […]