Printf From a Led

by coffeerr2004001 in Circuits > Microcontrollers

423 Views, 3 Favorites, 0 Comments

Printf From a Led

653097270598864376.jpg
VID 20160316 155528

In most case, you can not connect a wire to the PCB board on a finished product to get the operation log or debug.

This design allows you to obtain device information through a led, you only need to connect led to the printing device serial port.

This design tested with 9600 baud rate.

314795153498267969.jpg

Connect a led to the serial port TX.

468149151982792901.jpg
p.JPG

Build a amplifier board with a photo detector.

826060286899174287.jpg
653097270598864376.jpg
serial.JPG

Connect the output to a usb-serial adapter or a oscilloscope,

and place the detector close to the debug led.

it works.