Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

wbrp/build-alarm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Alarm

A small build alarm program to connect Jenkins to an alarm light.

1. Program Arduino

Requirements (on ArchLinux):

# Needed for the arduino
$ sudo pacman -S avrdude avr-gcc avr-binutils avr-libc
$ yaourt -S arduino

# Needed for the Makefile
$ sudo pacman -S make perl-device-serialport perl-yaml

Clone and initialize submodules:

$ git submodule init
$ git submodule update

Build and upload:

$ cd arduino
$ make upload

2. Wiring

We use a transistor for switching the lamp on and off.

image

Connect the wires to the Arduino as follows:

Red

5V

White

GND

Blue

Pin 8

3. Start Program

Connect the Arduino to a computer via USB. Then run the Python program. :

$ cd python
$ pip install -r requirements.txt
$ ./build-alarm-control.py

About

A small build alarm program to connect Jenkins to an alarm light.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published