EveryCircuit
Contact
Reviews
Home
Karma247
modified 10 years ago

2 Wire Data Packet Transfer - TX - RX

6
9
199
03:07:39
Data transfer via 2 wires LH side is TX & RH side is RX. Set the bits for the TX to display a number. That number will then be displayed on the RX side. The sequencers on each side are synchronised via a shared clock pulse wire. The TX sequencer reads the bits set for the TX display (4 clock pulses), and sequentially transmits them to the RX. The RX sequencer then reads the bits and sends them to the 4 latches (top right) (had to use counters to create the latches). This creates a latched bit set. A fifth pulse then loads this bit set into the counter that feeds the RX display. I initially used a 555 for the clock pulse, but had to ditch this due to space constraints. The pulse generator now used, causes everything to run very slowly, so there is a several second delay between setting the TX number and seeing it on the RX. Also, sometimes the wrong number is displayed if the the bits are set part way through the sequencer cycle. This will then correct is self next time the sequencer cycles.
published 10 years ago
roops1967
10 years ago
This is impressive! Okay got a few tips for how to really speed this up, I tried it and it flys! there 3 things you gotta do ...
roops1967
10 years ago
Adjust the settings of the 2 7seg displays so that its internal resistors are at its minimum 1m ohm, and change the voltage to 5v
roops1967
10 years ago
Get rid of the 4 diodes and pull down resistor, replace them with 3 OR gates
roops1967
10 years ago
Now you should have space to replace that slow clock with a 555 or a counter used as clock ( have a look at a few my recent stuff you'll know what I mean )
roops1967
10 years ago
And don't forget to repost your new speedy version ;)
Karma247
10 years ago
Thanks for the tips roops. I'll run that. I've just noticed an error though. When 2 on the TX, it's giving 3 on the RX. I'll try to door that too.
roops1967
10 years ago
it works ok on the speedy version, 2 on tx shows as 2 on rx :) could be cos of lag and changing values before circuit has finished decoding?
roops1967
10 years ago
one other thing if you get burning 7seg everytime it changes on your new speedy version, dial up the simulation speed clockwise to maximum 1s/s. the burning i believe is due to parasitic capacitance in the diodes at high speeds. sorry for information overload :P just passing on what i picked up from others here :)
Karma247
10 years ago
Thanks roops, I've posted the new version. Much better :)

EveryCircuit is an easy to use, highly interactive circuit simulator and schematic capture tool. Real-time circuit simulation, interactivity, and dynamic visualization make it a must have application for professionals and academia. EveryCircuit user community has collaboratively created the largest searchable library of circuit designs. EveryCircuit app runs online in popular browsers and on mobile phones and tablets, enabling you to capture design ideas and learn electronics on the go.

Copyright © 2026 by MuseMaze, Inc.     Terms of use     Privacy policy