![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Got a question about the serial output of a microcontroller
I want to make a serial output signal, so that i can send a couple of pulses serial. The puls patron must be variable. after making one serial output signal, i want to make a sort of a splitter between 6 channels. so that i can lead the signal through one of the several channels. so the purpose is to create 6 serial output signals out of 1 serial output of the microcontroller. I was thinking about SPI or UASART. It's for demonstrating some different output signals to a scope. Why i don't use 1 channel and change the serial software registers ? because to each output a different distortions will be added. Some suggestions for solving this problem? |
|
|
|
|
|
|
(permalink) |
|
You must be a hardware guy.
Use software to simulate as many serial outputs as you like. Most C compilers include them in their library. Many examples of them on the net. Also know as "bit bang" or "bit banging" or "software uart".
__________________
search engine for electronic partsJunebug USB PIC programmer kit., USB Bit Wacker, Homepage The 15 Minute Printed Circuit Board! (+drill time) |
|
|
|
|
|
|
(permalink) |
|
Yes i am!
So i can simply made 6 serial output signals out of one microcontroller. because there is only one or two usart or spi modules on the microcontroller, i have to do it with a shift register (created in software)? Something like this: http://en.wikipedia.org/wiki/Bit-banging ?? Thanks for helping me out |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| 32 Bit Serial IO Expander Firmware Check | freeskier89 | Micro Controllers | 4 | 30th June 2006 09:14 PM |
| ezVID serial TV output module | jrz126 | Micro Controllers | 5 | 11th February 2005 02:41 PM |
| Serial to parallel output | cwt | General Electronics Chat | 1 | 25th June 2004 06:27 AM |
| 8051 microcontroller reading data from serial port | godatguitar | Micro Controllers | 11 | 17th February 2004 08:03 PM |
| Serial Mouse - Suitable Microcontroller? | swamytk | Micro Controllers | 2 | 16th June 2003 02:04 PM |