Archive for the ‘Other programming’ category

Simple score board with PIC16F690 & 7 segment display

September 22nd, 2009

Today i finished my second PIC project The first one was a LED Cube, but i didn’t published anything about it just because there are a lot of similar projects out there.
So my project is a simple score board. Two 7 segments displays with a button for each one, the full source code (assembler) and schematics.

PIC16F690 score board 1

This is a screen shot of the final assembly (yes, i soldered 2 flags 😆 )

To build this board you need 2 330Ω, 7 220Ω and 2 10KΩ resistors, 2 NPN transistors, a PIC16F690, two 7 segment display (i used in my build a common cathode, if you use a common anode you have to change the schematics and code a little)  and 2 push buttons.

On my board i didn’t connected the decimal point (DP) from the displays, so if you want to connect yours then you have to get another 200Ω resistor for it and connect it to port B7.

» Read more: Simple score board with PIC16F690 & 7 segment display

VN:F [1.9.22_1171]
Rating: 6.9/10 (15 votes cast)

Sound level meter with K8055 (video)

August 20th, 2009

I have implemented a new custom control in the K8055 Full Demo application that can send signals on outputs (analog or digital) based on the sound input in your microphone.

The control also has a sensitivity track bar witch allow you to make the microphone more or less sensitive to input.

Based on the sound level (and sensitivity adjustments) the program sends signals (you can see the LEDs light up) on a number of channels. So if the sound that is coming into the microphone is 6 the first 6 digital outputs are set (first 6 LEDs light up).

The same thing applies to the analog outputs, but instead of setting the output to ON or OFF it sent the voltage between 0-5V. For example if the sound level is 5 (this means the input in the microphone is around 127) it sends ton the analog channel a 127 signal that translates to 2.5V

» Read more: Sound level meter with K8055 (video)

VN:F [1.9.22_1171]
Rating: 5.8/10 (9 votes cast)

Velleman K8055 C# test application

August 19th, 2009

In my attempt to (re)learn electronics and PIC programming I’ve bought a K8055 board from Velleman. I know it’s not good to learn PIC (actually you can’t do it with this board) but all i want initially is to make some simple projects without the headache of  programming the PIC.


The board comes with source code for C++ and a DLL so you can use it in your project to easly communicate with the board. If you need the library for linux get it from here.

As my C++ skills are … well … let’s just say i haven’t programmed anything in C++ for a long time, I made myself a small program in C#.

» Read more: Velleman K8055 C# test application

VN:F [1.9.22_1171]
Rating: 9.7/10 (6 votes cast)