Production line stop alarm

From StdOut
This page is kept for historical interest. It may document projects or methods that are obsolete and/or no longer relevant. The information here is not kept up-to-date.

I built this module for Sensonor ASA back in 2004, I have no idea if it is alive today.
Production stop alarm

This units gives a one second signal if an input is triggered. Every input has separate timers that counts for seven seconds after the input signal has ceased. A new signal within these seven seconds will not result in a new alarm.

I/O

Inputs

  1. PB.0 (pin 12)
  2. PB.1 (pin 13)
  3. PB.2 (pin 14)
  4. PB.3 (pin 15)
  5. PB.4 (pin 16)
  6. PB.5 (pin 17)
  7. PB.6 (pin 18)
  8. PB.7 (pin 19)

Outputs

  1. PD.4 (pin 8)

Source code

Git-alt-brands.svg
Bascom-AVR source is available in a git repository:
https://github.com/thomasjsn/AVR-Production-line-stop-alarm

Schematic drawing

Production-line-stop-alarm-circuit-r4dwzg.png

Parts list

Qty. Part
1 × AVR AT90S2313-10PI, DIL-20, 10 MHz, 15 I/Os
1 × Capacitor, aluminium electrolytic, 10 µF, 25V
2 × Capacitor, aluminium electrolytic, 47 µF, 25V
2 × Capacitor, ceramic, 22 pF, 100V
1 × Capacitor, ceramic, 1 nF, 100V
1 × DIL socket, 20-pin, 7.62mm
8 × Optocoupler, single, CNY17F-3, DIL-6
64 cm2 PCB, stripboard, 100x160mm, 160cm2
1 × Quartz crystal oscillator, 4 MHz
8 × Resistor, carbon film, 0.25W, 330 Ω, 5%
2 × Resistor, carbon film, 0.25W, 4.7 kΩ, 5%
8 × Resistor, carbon film, 0.25W, 10 kΩ, 5%
8 × Resistor, metal film, 0.6W, 2.2 kΩ, 1%
1 × Switch, push-button, PCB, 1-pole, H4.3mm, vertical, black
1 × Transistor, NPN, 100 mA, 45V, 0.5W, BC547B
1 × Voltage regulator +5V, 2 A, L78S05CV