
UART NETWORK
-
- Posts: 438
- Joined: Mon Aug 29, 2011 12:26 am
- Location: arizona
- Has thanked: 175 times
- Been thanked: 173 times
UART NETWORK
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
BELOW IS PROJECT OVERVEIW

- Attachments
-
- UART EXAMPLE.JPG
- (247.74 KiB) Downloaded 2556 times
-
- Posts: 438
- Joined: Mon Aug 29, 2011 12:26 am
- Location: arizona
- Has thanked: 175 times
- Been thanked: 173 times
Re: UART NETWORK
picoscope waveform of master commanding chip#1 to send rpm data...followed by chip#1 sending data as 100hz
- Attachments
-
- PICO UART CAPTURE.jpg
- (119.48 KiB) Downloaded 2554 times
-
- Posts: 438
- Joined: Mon Aug 29, 2011 12:26 am
- Location: arizona
- Has thanked: 175 times
- Been thanked: 173 times
Re: UART NETWORK
master chip program on green board with lcd
- Attachments
-
- metrodashfour.fcf
- (59.71 KiB) Downloaded 414 times
-
- Posts: 438
- Joined: Mon Aug 29, 2011 12:26 am
- Location: arizona
- Has thanked: 175 times
- Been thanked: 173 times
Re: UART NETWORK
slave chip#1 (rpm) program
- Attachments
-
- rs232_sending rpm.fcf
- (22.93 KiB) Downloaded 421 times
-
- Posts: 438
- Joined: Mon Aug 29, 2011 12:26 am
- Location: arizona
- Has thanked: 175 times
- Been thanked: 173 times
Re: UART NETWORK
slave chip#2 pulsewidth program
- Attachments
-
- rs232_sending pulsewidth.fcf
- (24.03 KiB) Downloaded 398 times
-
- Posts: 438
- Joined: Mon Aug 29, 2011 12:26 am
- Location: arizona
- Has thanked: 175 times
- Been thanked: 173 times
Re: UART NETWORK
slave chip#3 'hg vaccum program
- Attachments
-
- sending_map.fcf
- (19.71 KiB) Downloaded 428 times
-
- Posts: 438
- Joined: Mon Aug 29, 2011 12:26 am
- Location: arizona
- Has thanked: 175 times
- Been thanked: 173 times
Re: UART NETWORK
tx 3x multiplexer chip program
- Attachments
-
- 1840_3x_rs232_multiplexer.fcf
- (13.64 KiB) Downloaded 413 times
-
- Posts: 594
- Joined: Thu Sep 17, 2009 7:52 am
- Location: Belgium
- Has thanked: 63 times
- Been thanked: 102 times
Re: UART NETWORK
Is that a portable frequency generator ? (bottom right of the image)
Nice project.
Nicolas
Nice project.
Nicolas
-
- Posts: 438
- Joined: Mon Aug 29, 2011 12:26 am
- Location: arizona
- Has thanked: 175 times
- Been thanked: 173 times
Re: UART NETWORK
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% dutyIs that a portable frequency generator ? (bottom right of the image)
-
- Posts: 594
- Joined: Thu Sep 17, 2009 7:52 am
- Location: Belgium
- Has thanked: 63 times
- Been thanked: 102 times