A simple Arduino sketch for interfacing an array of photogates and a conveyor belt with a .NET DAQ. The sketch has to perpetually update readings from each of the photogates, as well as oscillate the conveyor belt in such a way as to minimize voltage spikes over the relays.
Last modified: 2/6/11