Page 1 of 1

UART NETWORK

Posted: Sun Aug 05, 2012 8:42 am
by brandonb
i wanted to post this in hopes that it may help someone in future, this project is a concect to network uart, this is a simple example project but could be complex as well, the 16f1938 on the green board housing the lcd sends commands to the top three chips on the breadboard, it sends a chip address followed by an instruction, only the chip with the correct address will respond to the message, when the addressed chip receives the message, it processes it and sends back two bytes through the uart multiplexer which are assembled by the master as a 16 bit answer to the master chip, ... since rs232 tx idles high the multiplexer reacts to only the changes and transmits it to the master on one wire..... if a chip doesnt respond in 83m/s it sends message to next chip in the data process.... as long as there is not a corrupted message the muliplexer operates proper, if this is a concern then another interrupt can be added to the muliplexer chip to zero the variables and clear the output high..... suggestions and comment welcome :idea: BELOW IS PROJECT OVERVEIW

Re: UART NETWORK

Posted: Sun Aug 05, 2012 8:52 am
by brandonb
picoscope waveform of master commanding chip#1 to send rpm data...followed by chip#1 sending data as 100hz

Re: UART NETWORK

Posted: Sun Aug 05, 2012 8:53 am
by brandonb
master chip program on green board with lcd

Re: UART NETWORK

Posted: Sun Aug 05, 2012 8:54 am
by brandonb
slave chip#1 (rpm) program

Re: UART NETWORK

Posted: Sun Aug 05, 2012 8:54 am
by brandonb
slave chip#2 pulsewidth program

Re: UART NETWORK

Posted: Sun Aug 05, 2012 8:55 am
by brandonb
slave chip#3 'hg vaccum program

Re: UART NETWORK

Posted: Sun Aug 05, 2012 8:56 am
by brandonb
tx 3x multiplexer chip program

Re: UART NETWORK

Posted: Sun Aug 05, 2012 12:57 pm
by Spanish_dude
Is that a portable frequency generator ? (bottom right of the image)
Nice project.

Nicolas

Re: UART NETWORK

Posted: Sun Aug 05, 2012 7:41 pm
by brandonb
Is that a portable frequency generator ? (bottom right of the image)
yes its a dso nano v2 with benf v2.62 software, i use this scope/signal generator more often than my pico 3423, on the signal generator portion it does 10hz-1Mhz 0-100% duty

Re: UART NETWORK

Posted: Sun Aug 05, 2012 7:44 pm
by Spanish_dude
Nice little device :o

Re: UART NETWORK

Posted: Mon Aug 06, 2012 12:48 pm
by DavidA
nice project :)