Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
projects:k8048-rpi [2020/07/29 11:52] – external edit 127.0.0.1 | projects:k8048-rpi [2020/08/16 04:44] (current) – [Velleman K8048 interface] darron | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== Velleman K8048 interface ==== | ==== Velleman K8048 interface ==== | ||
- | We may attach the Velleman K8048 kit to the RPi via a simple interface circuit. This allows us to perform high voltage | + | We may attach the Velleman K8048 kit to the RPi via a simple interface circuit. This allows us to perform high voltage |
=== GPIO configuration === | === GPIO configuration === | ||
Line 69: | Line 69: | ||
=== Stripboard layout === | === Stripboard layout === | ||
- | {{:boards: | + | {{:projects:k8048-rpi: |
On the left we have the component side and to the right the solder (strip) side.\\ | On the left we have the component side and to the right the solder (strip) side.\\ | ||
Line 76: | Line 76: | ||
== Components == | == Components == | ||
- | {{:boards: | + | {{:projects:k8048-rpi: |
The serial header above is a standard P.C. motherboard header.\\ | The serial header above is a standard P.C. motherboard header.\\ | ||
Line 83: | Line 83: | ||
== Assembled == | == Assembled == | ||
- | {{:boards: | + | {{:projects:k8048-rpi: |
Wire links are cut from CW1308 telephone cable.\\ | Wire links are cut from CW1308 telephone cable.\\ | ||
The finished article has a corner trimmed to fit the R-PI case.\\ | The finished article has a corner trimmed to fit the R-PI case.\\ | ||
- | {{:boards: | + | {{:projects:k8048-rpi: |
You may wire a pull-down resistor to IC pin 4/5 to GND to stop stray noise pickup when the Velleman K8048 is disconnected. This isn't needed for normal and connected operation. | You may wire a pull-down resistor to IC pin 4/5 to GND to stop stray noise pickup when the Velleman K8048 is disconnected. This isn't needed for normal and connected operation. | ||
Line 102: | Line 102: | ||
BITRULES=0x0010 | BITRULES=0x0010 | ||
VPP=14 | VPP=14 | ||
- | PGM=22 | + | PGM=-1 |
PGC=18 | PGC=18 | ||
PGDO=24 | PGDO=24 | ||
Line 110: | Line 110: | ||
== In operation == | == In operation == | ||
- | {{:boards: | + | {{:projects:k8048-rpi: |
The RPi queries the PICMicro to reveal that it's a PIC16F648A. | The RPi queries the PICMicro to reveal that it's a PIC16F648A. | ||
This serial header is a longer example than the one shown above but works just as well. The maximum possible length is unknown. | This serial header is a longer example than the one shown above but works just as well. The maximum possible length is unknown. | ||
+ |