Shop OBEX P1 Docs P2 Docs Learn Events
Interfacing 3 thumb wheel BCD switches to Freqence devices SPPOSC — Parallax Forums

Interfacing 3 thumb wheel BCD switches to Freqence devices SPPOSC

ForrestCForrestC Posts: 8
edited 2006-12-11 17:54 in BASIC Stamp
· Greetings :
·I am at a junction between doing this in hardware or·a Basic Stamp2.

I need to Interface 3 BCD thumbwheel switch to control a Quadrature Oscillator (0 and 90 deg output)made by Frequency devices.Model # SPPOSC/SWQ-01· (1-512 HZ.) D/A= 4 bits output.

Now to control the frequence the coding·uses a 9 input.

Freq max = 512···················
MSB............LSB·······

000000000 = Fmax/512
000000001 = Fmax/256
000000011 = Fmax/128
000000111 = Fmax/64
000001111 = Fmax/32
000011111 = Fmax/16
000111111 = Fmax/8
001111111 = Fmax/4
011111111 = Fmax/2
111111111 = Fmax


Path A = get· multiplier chips and a adder chips to multiply and Add into the 9 lines or,
Path B = Load values into Parrellel to serial shift regester and send it into a basic chip. Do the calculations and the
Max values etc. then send it out by way of a serila to Parrellel chip.
3 BCD's-->Parrellel to serial chip-->Basic2--> serial to parrellel shift regester--> Frequency Dev. Oscillator.


Any help on the path to follow ?? cry.gif
Thanks Forrest

Comments

  • ForrestCForrestC Posts: 8
    edited 2006-12-11 17:54
    Ok:

    Iv'e Solved my own problem... 3 BCD thumb switches-->Two 74HCT165 's and shift Data into the Stamp 2--> Crunch data and limits in the Stamp2 and send the outputs to the freq devices·thru the other·output pins.

    Thanks

    ·Forrest
Sign In or Register to comment.