Electronic – the role of the four-pin header on this USB relay board

boardrelayusb

This is a commonly available relay board with a USB HID-like interface.Two relay board with a USB interface

I haven't been able to find a datasheet for it on the sites that sell it. On its right side there's a four pin header. I'm curious regarding its functionality. The PCB traces from the header on the bottom of the board lead to through-holes near the IC. I measured its connectivity and it does not appear to be a mirror of the USB port. Any ideas?

Best Answer

The four header pins are connected to pins 1, 7, 6, 5 of the Atmel microcontroller. These can function as RESET, SCK, MISO, MOSI for serial programming the EEPROM by pulling RESET to low.