The light level (even in a dark room) is not satisfactory. It is only relatively bright when you are looking at the LED from above.
Then you are using cheap ebay LEDs that are old dim ones in a case that focusses the light into a brighter but narrow beam. Modern good quality LEDs are sensitive, bright and have a wide viewing angle.The light level (even in a dark room) is not satisfactory. It is only relatively bright when you are looking at the LED from above.
Hi,
* HC14 is short for SN74HC14 (or similar) you could use AC, LV, LVC ... but dont use "T" like HCT...
* the same is for Rx
* stretch pulses: increase R or C or both.
* The LED is ON with the first bit transmitted. it is retriggered with every sent "0", then it stays continously ON until the delay/stretch time is over.
* for a raw estimation of time use: t = R x C
--> 10nF x 1M Ohms = 10ms (enough for the eye to recognize)
***
View attachment 126373
This is some kind of "dirty" circuit, because the charge current to the capacitor is not externally limited.
A more clean solution is to add a series (with the diode) resistor of about 330 Ohms.
***
Rv determines the LED current. It´s value depend on supply voltage, estimated LED current and LED_forward_voltage and HC14_ouput_voltage_low. Try 470 Ohms.
Klaus
- - - Updated - - -
Hi,
in one HC14 IC there are six schmitt trigger gates. Only one GND and only one VCC.
The input of the gates is very high ohmic, so it is very unlikely that the circuit affects the function.
(Some more dirty circuits use the Tx/Rx line directely to charge the capacitor. Here one can expect problems with data transfer.
With the given circuit the first gate acts like a buffer to provide enough current to charge the capacitor quickly)
But for sure there are current pulses to charge the capacitor ... on VCC and on GND. Therefore a proper GND plane and the bypass capacitor is urgent.
Connect unused gate inputs to GND. Don´t let them float.
Klaus
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?