Programming and De-Multiplexers

View: New views
6 Messages — Rating Filter:   Alert me  

Programming and De-Multiplexers

by computergeekxp :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How can I write a function which encodes data like a multiplexer, so it can be fed out a pin into a demultiplexer? I understand the function a de/multiplexer but not its intricacies.

Re: Programming and De-Multiplexers

by Olin Lathrop :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

computergeekxp wrote:
> How can I write a function which encodes data like a
> multiplexer, so it can be fed out a pin into a demultiplexer?

Is the demultiplexer protocol already set, or is it something you get to
pick?  How many lines?  What data rate?  Why do you need to convert to a
single signal?  What constraints does that signal have?

It's rediculous to even begin to suggest anything without a lot more
information.

It's the wrong time of year for end of semester assignment coming due, but
this smells like one.


********************************************************************
Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products
(978) 742-9014.  Gold level PIC consultants since 2000.
--
http://www.piclist.com PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist

Re: Programming and De-Multiplexers

by computergeekxp :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Could you provide a reference page on doing this or perhaps some code I can look at? I'm not even sure of the specifics yet. The overall idea is to use a pic to drive a series of led's. Each one would get a series of pulses to control their brightness (smoothed out with a capacitor). This is not an assignment; i'm not in college yet.
 
Olin Lathrop wrote:
computergeekxp wrote:
> How can I write a function which encodes data like a
> multiplexer, so it can be fed out a pin into a demultiplexer?

Is the demultiplexer protocol already set, or is it something you get to
pick?  How many lines?  What data rate?  Why do you need to convert to a
single signal?  What constraints does that signal have?

It's rediculous to even begin to suggest anything without a lot more
information.

It's the wrong time of year for end of semester assignment coming due, but
this smells like one.


********************************************************************
Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products
(978) 742-9014.  Gold level PIC consultants since 2000.
--
http://www.piclist.com PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist

Re: Programming and De-Multiplexers

by Bob Blick-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Are you talking about parallel-to-serial in general, or meeting some
hardware or software signaling standard?

Because in general you would use a shift or rotate command after testing
the bit at whatever end you are shifting away from.

It also might depend on what PIC architecture you're planning to use,
and what language.

But I've already invested more time in my response than you did in your
original question. The ball's in your court now.

Cheerful regards,

Bob

computergeekxp wrote:
> How can I write a function which encodes data like a multiplexer, so it can
> be fed out a pin into a demultiplexer? I understand the function a
> de/multiplexer but not its intricacies.
--
http://www.piclist.com PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist

Re: Programming and De-Multiplexers

by Alan B. Pearce :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> How can I write a function which encodes data like a
> multiplexer, so it can be fed out a pin into a demultiplexer?

Study how a serial port works?
--
http://www.piclist.com PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist

Re: Programming and De-Multiplexers

by CDB-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



:: How can I write a function which encodes data like a
:::: multiplexer, so it can be fed out a pin into a demultiplexer?

I have some code for a 74HC595, and a big boy 32 bit version for LCD
displays.

But do you know how to send a serial information out of a PIC?

Which end of your serial stream is to be first - left hand bit or
right hand bit (msb or lsb)?

Do you have a specific demultiplexor chip in mind?

Colin
--
cdb, colin@... on 27/08/2008
 
Web presence: www.btech-online.co.uk  
 
Hosted by:  www.1and1.co.uk/?k_id=7988359

 
 
 
 

--
http://www.piclist.com PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist
LightInTheBox - Buy quality products at wholesale price!