![]() | ![]() | ![]() |
| |||||||
| Homework Help If you have a question about an electronics exam, course or paper you can ask in this forum. |
![]() |
| | Tools |
| | #1 |
|
i need a simle code for SIPO shift reg.... please help me i m a new member | |
| |
| | #2 | |
| Quote:
![]() Please tell us the type of PIC that requires the code, also the type of S/R.?
__________________ Eric " Good enough is Perfect " I will NOT answer PM's requesting technical help, please use the Forum PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/ | ||
| |
| | #3 |
|
0 out of 1 members found this post helpful.
I have the same question, but for my case is to create a 16 bit shift register with 2 x 8 bit shift register. Anyone can help? Thanks
| |
| |
| | #4 |
|
you guys gotta be more specific with your requests. What are the shift registers connected to? A PC, or a microcontroller? What kind of microcontroller are you using? Do you have a schematic? How do you code? C or assembly? | |
| |
| | #5 |
|
Hi, As about my problem, I'm new in electronic and I have basic knowledge in programming and digital devices. So I'm not sure which part and what kind of devices that I should use to build this circuit. I heard some of them said I need to use (uC), but I'm not good in programming. However, I try to tell as much details as I can to build this circuit. Here is my problem: 1. I need to build a 16 bit shift register with 2 x 8 bit SIPO shift register. *Serial In Parallel Out circuit. 2. I don't know what part that I need to use. 3. I don't know how to program the uC. (But I have some basic knowledge in C). 4. I'm trying to simulate the circuit in a computer program before I build my actual circuit. So I will try to do everything that you teach me in simulator first. I think the program has got enough parts for me to simulate this circuit. 5. I intend to build this circuit for pc. (Data coming from PC). So I believe I need to use uC; however, I just need a concept to create the 16 bit SIPO circuit then I think it okay for me. Thanks in advance Last edited by kingster; 6th September 2009 at 02:15 AM. | |
| |
| | #6 |
|
you would need to search for a 74HC595 circuit. you can also use a 74HC164, which does not have a latch and saves two pins (if you do not have enough pins in your circuit) If you need 16 bits, you can cascade two shift registers together. here are some links: Arduino - ShiftOut Extending a microcontroller's I/O .:8 More Leds:. (74HC595 Shift Register) - CIRC05 Good Luck | |
| |
| | #7 | |
| Quote:
http://www.edaboard.com/ftopic79312.html if you are using the serial port, you don't need a microcontroller. You can toggle DTR and RTS pins to send the data. Latching can be done via TXD pin. You should probably use a max232 circuit. Last edited by johnsmith123; 6th September 2009 at 02:47 PM. | ||
| |
| | #8 |
|
Thanks. I'm trying to create the circuit now and I'm curious about the maximum bit that a shift register can do. For my case now is to make a 16 bit shift register, but what would be the maximum bit that a shift register can take? Possible to make it like say few thousand bits? Or it will only be able to hold for few hundreds bits?
Last edited by kingster; 9th September 2009 at 11:28 AM. | |
| |
| | #9 |
|
I have some questions about this register, it is a 74HC595, but I don't understand the name for each pin. Can anyone explain that for me? ![]() What mean by RCK, SRCK, SRCLRBAR, GBAR and QHS? Thanks alot. Last edited by kingster; 9th September 2009 at 07:29 AM. | |
| |
| | #10 | |
| Quote:
Look at this image. Where did you get that diagram.?
__________________ Eric " Good enough is Perfect " I will NOT answer PM's requesting technical help, please use the Forum PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/ | ||
| |
| | #11 |
|
Hi, Thanks for the details, I got that diagram in micro cap. By the way, what is the latch and shift clocks? and also what is the purpose to use them? Can I fit in both with the same clock pulse? So in order to keep the circuit working, both GBAR and SRCLRBAR must be remained as logic "1" ? If I intend to make a 16 bits SIPO circuit, is that I need to fit QHS to the SER input in the next 74HC595? Thanks | |
| |
| | #12 | |
| Quote:
Get the datasheet for the 74HC595 from Datasheet Archive - Free Datasheet Search Engine - PDF Datasheets - Data Sheet - Datasheet - Application Note - Free Texas Instruments Samples Anytime you start working on a new device, get the datasheet and study it. Understanding the datasheet will save you hours of grief. ![]() BTW: the 'BAR' part of the 'label' just means that the signal is active LOW. Usually written so, /SRCLR , /G or with a bar over the label.
__________________ Eric " Good enough is Perfect " I will NOT answer PM's requesting technical help, please use the Forum PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 10th September 2009 at 07:59 AM. | ||
| |
| | #13 |
|
Hi, Thanks for the details about that, any idea about the maximum bit that a single serial in parallel out shift register can handle? Is that possible to get a register to have a 64 or 128 or more bits shift in one single shift register? Thanks. | |
| |
| | #14 | |
| Quote:
Look at the HEF4031 and HEF4517 and HEF4557 or you can connect any number of 8 bit S/R's in series.
__________________ Eric " Good enough is Perfect " I will NOT answer PM's requesting technical help, please use the Forum PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 12th September 2009 at 07:54 AM. | ||
| |
| | #15 |
|
Hi, Thanks, I'll get the data sheet of HEF4031, 4517 and 4557. Any problem will post another question here. | |
| |
|
| Tags |
| parallel, register, serial, shift |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| 16 bit serial in parallel out shift registers | forder | Electronic Projects Design/Ideas/Reviews | 14 | 2nd March 2009 09:17 AM |
| 64bit shift register with parallel load | yugatharan | Electronic Projects Design/Ideas/Reviews | 5 | 14th May 2007 06:55 PM |
| Shift register | mstechca | General Electronics Chat | 1 | 19th December 2005 12:45 AM |
| 74165 Prallel in serial out shift register | ee04jjn | Electronic Projects Design/Ideas/Reviews | 5 | 23rd March 2005 06:16 PM |
| Using Shift Register | toyracer | Electronic Projects Design/Ideas/Reviews | 5 | 13th November 2003 02:19 PM |