Page 1 of 1

Raspberry PI-C (Velleman K8048 / VM111)

Posted: Thu Nov 08, 2012 12:10 am
by nroff-man
Hi there.

Not really sure if this is the correct BB area or not but this will do.

I have updated my software which may program a microchip PIC
on a Velleman k8048 to now work using the R-PI GPIO.

Two caps, 3 resistors and a single I.C. (74HC03) are adequate
to interface the two devices together and the code does the rest.
k8048-rpi.jpg (47.68 KiB) Viewed 2670 times
You can find the source code here:

Code: Select all
How to create an interface is visualised here:

Code: Select all
Some documentation is here (to be updated):

Code: Select all
Thanks go to GERT and DOM for providing the GPIO demo
code and the foundation for creating this useful computer.


P.S. A simple demo

Code: Select all

pi2:~> sudo k14 i
[2000] [USERID0]  ff .
[2001] [USERID1]  ff .
[2002] [USERID2]  ff .
[2003] [USERID3]  ff .
[2006] [DEVICEID] 10e3 DEV:10e0 (87) REV:3 PIC16F676

Re: Raspberry PI-C (Velleman K8048 / VM111)

Posted: Thu Nov 29, 2012 8:06 pm
by nroff-man

The first two links above are now out of date, also, the
documentation has been updated to include the R-PI C/W
a stripboard interface example.

See here:

Code: Select all
Since the last message I also added PIC baseline (12-bit)
support since I had a few devices sitting here yearning for


Re: Raspberry PI-C (Velleman K8048 / VM111)

Posted: Fri Oct 04, 2013 11:45 pm
by nroff-man

It's been a while but I got around to updating the code and documentation
for the GPIO support with direct connection to a PICMicro on a breadboard
rather than via an interface to the Velleman kit.

The update includes PGM pin support and a command line tool to RESET a
connected device.

For this latest release in celebration of really poor quality square wave
tone generators of our youth (if you are old like me) I present
`beep like an IBM PC and POKE like a VIC=20'.

This simple demo may show this tool in operation.

Assembly code: ... onegen.asm

Schematic: ... onegen.png