Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
LinkBack Thread Tools Display Modes
Old 5th January 2005, 01:52 AM   (permalink)
Default Parallel to serial to parallel circuit

Hi,

I'm a electronic web newb, meaning I learned all my electronics in tutorials on the web. So don't assume I know what seems to you as the most basic thing. :lol:

I am wiring 2 74HC166s that will convert a +5V DC signal from 16 push buttons into a serial signal, 2 74HC164s are 'supposed' to convert the serial signal and send a +5V DC signal to 16 LEDs.

I've found lots of schematics on the web for one chip, or the other, but none with the 2 chips used in tandem. I'd appreciate any help in connecting the controlling pins, the buttons and LEDs are a piece of cake, even I can figure that part out.

Any help is greatly appreciated.

Robert
Robert Hedan is offline  
Old 5th January 2005, 02:39 AM   (permalink)
Default

How do you want this to work? For example, set 16 input buttons, send the data, stop and read the LEDs, reset the leds and repeat.

The LEDs are going to be blinking while the data is being sent, so you have to stop to read them. You can send the data at high speed, using a clock under 25 mHz.

Tell us more about your intentions.
__________________
see my website: www.geocities.com/russlk
Russlk is offline  
Old 5th January 2005, 04:21 AM   (permalink)
Default

Ok,

my requirements:

- no LEDs light as long as no buttons pressed.
- when button pressed, corresponding LED lights, turns off when button released.


I'm including a schematic of a circuit with a pair of 74HCT166s as well as the pinouts and function.

Robert
Attached Images
File Type: jpg 74hct166_function.jpg (85.2 KB, 230 views)
File Type: jpg 74hct166_pinout.jpg (49.9 KB, 229 views)
File Type: jpg 74hct166_sample.jpg (201.4 KB, 228 views)
Robert Hedan is offline  
Old 5th January 2005, 04:27 AM   (permalink)
Default

And here is a schematic of a circuit with a pair of 74HCT164s as well as the pinouts and function. You can see that this circuit was not fed by 74HCT166s, so the wiring is different.

Robert
Attached Images
File Type: jpg 74hct164_function.jpg (52.2 KB, 223 views)
File Type: jpg 74hct164_pinout.jpg (41.0 KB, 223 views)
File Type: jpg 74hct164_sample.jpg (100.6 KB, 223 views)
Robert Hedan is offline  
Old 5th January 2005, 05:41 AM   (permalink)
Default

so you want to remotely control 16 LEDs via a serial line?
williB is offline  
Old 5th January 2005, 06:16 AM   (permalink)
Default

Or, you could say it that way...

Phase 2 of the project will be the addition of a PIC programmer written in BASIC between each halves of the circuit.

The 'plan' is the read the incoming signal, identify which button it came from by reading the data stream, and then control the LEDs by sending a 'modified' data stream. I'd like to override the LEDs, being able to light LED #6, when button #2 was pressed, stuff like that.

Phase 3 will consist of removing the LED part and linking this with a USB keyboard controller and generating pre-determined keystrokes within a game (controlled by the PIC chip). I've already mapped the matrix of a HP keyboard, so I know what pins on the 2 connectors I must complete in order to trigger any keystrokes.

I've tried to cut this into manageable parts, each concentrating on an important aspect of controlling a custom keyboard, that is the goal.

And then, I'm going to conquer the world!

Robert Hedan is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 03:07 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker