Entradas

Mostrando entradas de julio, 2010

Material density detection system used to create wet wipes with Arduino 2/2

Imagen
Construction of the final prototype Components used The components used have been, per module: Density Bar 1 - Arduino Pro Mini 5v 4 - LDRs 4 - Resistors 1k 2 - PCB Terminal Blocks Communication bar 1 - Arduino Pro Mini 5v 1 - LM2596s DC-DC step down power supply module 2 - PCB Terminal Blocks 1 - Voltage regulator TIP220 1 - Heat Sink for TIP220 1 - Rectangular LED 6W 630lm 6500K COB 170 x 15 mm. Industruino 1 - Industruino PROTO kit 1 - Relay module Keyes_SR1 Arduino with screen 1 - Arduino UNO R3 1 - 16x2 Character LCD module with I2C 3 - Resistors 10k 2 - Resistors 220 1 - LED Red 1 - LED Green 3 - Buttons 1 - Relay module Keyes_SR1 Assembly of the circuit The Fritzing scheme is as follows: Density bar Circuit that manages the density bar This circuit is responsible for obtaining the measurements and send notifications to the communications bar for redirection. Communication bar Circuit that manages the c

Crear un mirror de un repositorio de subversion.

Para crear un mirror de un repositorio de subversion se siguen los siguientes pasos. La mayoria de los pasos se hacen sobre el mirror. Creamos el repositorio en la máquina del mirror. Creamos un usuario en ambos servidores para realizar la sincronización (en este ejemplo el usuario creado ha sido: syncuser ) Lanzamos los siguientes comandos en el mirror: svnsync initialize file:/// ruta_local_mirror  ruta_servidor_svn --username syncuser --password syncuser svn proplist --revprop -r 0 file:/// ruta_local_mirror svn propget svn:sync-from-url --revprop -r 0 file:/// ruta_local_mirror svn propdel svn:sync-lock --revprop -r 0 file:/// ruta_local_mirror Con esto ya tenemos el mirror montado y preparado para funcionar. Un comando interesante a ejecutar, aunque no necesario, es el siguiente, el cual se encarga de la sincronización inicial de los repositorios. Como he dicho no es necesario, pero si el repositorio del que vamos a hacer el mirror ya contiene información es recomendab