Driving a Shift register with PICAXE 08M

I came across this site a while back and thought it was pretty neat. It basically is a picaxe that drives a 5×5 led display. Turns out that this is a pretty easy application for the PICAXE.

I adapted the code a bit and used this circuit to experiment on the PICAXE. One thing that you may have noticed is that I dont have the

shifter_picaxe.v1

There are two code examples here.

A/D converter

This example takes the value read on input 4 and converts it to an 8 bit value which is shifted out to the 4094.

The code is here.

Basically it reads the readadc value into W0. We take the lowest 8 bits (the only ones really) and shift them out by setting the the data pin to the appropriate value and clocking the clock pin.

Finally the strobe pin is pulsed.

LED Scanner pattern

In this code example, an LED bounces back and forth…like the knight rider pattern I guess for lack of a better term.

Back to PICAXE projects