is a project for electronics for drums and percussion by Martin Hug
Martin Hug and Bebeto Cidra on TV3 Barcelona Spain

CV Martin Hug + contact - page last update February 2018 - (página en castellano)

Vídeos &more video & audio

Noiselets Barcelona Martin Hug IN SONORA Martin Hug
SALA GRANER BARCELONA Martin Hu Juschka Weigel
MACBA BARCELONA Mrtin Hug Bebeto Cidra

Atmega328 and WiFly RN171 description of the project

Atmega 328 and Wifly RN171

The concept of the circuit which includes the ability to plug in smaler PCB's into the row's of Pins of the base circuit is the same as the one I designed beforehand with a PIC18F4220 and an Nordic Radio, the nRF24 link. The difference is that data is transmitted with a WiFly RN171. Using this unit the data evaluated by the Atmega 328 can be transmitted to any computer with a WiFi module, including one can connect the WiFly directly to a router and transmit data to a server. … more

wireless HCI technical description

Internet of Things (ANDROID & RN171) technical description

battery powered unit RN171
PIC18F4420 powered by UNIROSS 700/VA

The Internet of Things. For this project I made a PCB for a RN171 WiFly enabling me to transfer data using an ANDROID HTC as a router to a remote server. The original idea is by the Chilean artist Alexa Pérez elpueblodechina.org and was presented at LABORAL at Gijon Spain to create a shirt with a variety of sensors to observe a person on its environment.
For this experiment I made a mini PCB including a LM60CIM3 temperature sensor, a standard LDR for light measurement and a SMD microphone SPM020HE5 to capture information about sound. A PIC18F4420 is used to measure the sensors and to send the data to the USART of the RN171.
The result can be observed graphically with GroveStreams (before I used COSM and then XIVELY) witch allows to trigger Events and includes a lot of interesting utilities... more

wireless Nordic nRF24L01 technical description

unit with nRF24L01 & 18F4220 by Martin Hug

The Ni-Ion battery powered circuit incorporates a PIC18F4420 and transmits data wireless using the nRF24L01 from Nordic. The cheep wireless module replaces the expensive xBee wireless module with the advantages of low cost (3,50E) and size, QFN20 4x4mm package.

The code for the 18F4420 to manage the data from various senors and to interchange data over +SPI with the nRF24L01 is written in C for SourceBoost, but is nearly ANSI C compatible. A MPLAB file including the code for the PIC and all schematics are attached in ZIP format at the end of the project site.

The universal module allows to plug in small PCB's with a varieties of sensors, depending of the needs of the project.

The photos shows a unit with a breakout board from Sparkfun

Also included in the ZIP is a basic code for SuperCollider & an interface patch written for PD.

... more


wireless transmitter GSR  technical description 
 GSR unit for Shue LeaChang by Martin Hug
 Circuit by Martin Hug LaBoral Gijon Spain

A project based on GSR (galvanic skin response) sensing.

The circuit is designed for a video game initiated by the Thailand artist Shue Lea Chang and presented at LABORAL in Gijon (Spain) in August of 2011. ( the video game )

Massimo Avisati video game programming in Processing, Martin Hug hardware and GSR sensor, Jara Rocha cultural manager, Maca Moreno technical assistance, Shue Leas Chang concept/director ... more



8 channel AD converter technical description 
8 channel AD converter for 18F4550 by Martin Hug
interface for 2 * 8 channels
photo el Ravallero

The electronic circuit converts analogical signals into digital signals. One can plug in microphones, connect line audio or a piezoelectric transducer .
On independent inputs (channels) the unit includes 8 pre-amplifier, 8 envelope followers and a PCB for a PIC18F4550. The PIC has the function to read the analog events and to send it digitalized using its USART to the computer.
With the object [comport] of Pure Data the USB or RS232 is read and transformed in Midi or OSC events ... more


simple FET preamplifier technical description

wireless OSC/MIDI controler  technical description
wireless panel  Martin Hug 2009
photo: el Ravallero

The panel consists of 16 small Pad's to control computer-programs with the ability to be controlled by OSC (open sound control) - or MIDI - messages.
Each Pad is illuminated by 8 LED's (4 in different colors) to visualize the state of a momentary situation.

The electronics of the panel consists of a circuit with a PIC 18F442 and a xBee wireless RF module, a trigger circuit to capture the 16 piezoelectric-transducers using a LM324 a 74HC14 and a multiplexer DG406CWI and a power-management circuitry for two UNIROSS 3,7V 1080mA Li-Ion batteries using two MAX1811 (battery charger), a MAX856 DC-DC converter for the 5V needed for the 74HC14 and a TPS61040 (Texas Instruments) to convert the 3,7 battery voltage to 12V to illuminate the LED's of the panels.

My drums (and other percussion-instruments) are connected using several envelope followers to the 8 analogue inputs of a Microchip (PIC 16F877A) to generate MIDI Note On/ Note Off messages (see project Pad to Midi).With the panel, hitting the Pad's with a stick or by hand, I'm able to change programs, sounds and other parameters while playing the drums without locking at a computer screen.

The electronic schematics, open codes written in C and pure data, the code compiled in HEX and all schematics are freely available... more



wireless PEDAL technical description of the project
Pedal inalámbrico de Martin Hug circuito con xBee UNIROSS, 3,7V de Martin Hug
cargador USB para el Pedal inalámbrico
photo: el Ravallero

Wireless Pedal for Pure Data.

A small PCB incorporated into an old guitar-volume pedal captures, using the Port RB4 configured as analog input of a PIC 16F690, the values of the potentiometer of the momentary state of the pedal. The resulting values are sent using an xBee module (transmitter) connected to the UART of the 16F690 micro-controller.
Another small circuit with an xBee (receiver) sends the data transformed with a UART USB converter, the IC FT232 to the computer where a program of pure data reads the incoming data with the object [comport] for further use to send MIDI messages or OSC messages ... more





MIDI-STICK   technical description of the project
MIDI-STICK que incorpora  un  sensor ultrasonico SRF02 ,  un PIC 16f628A,  un MAX712 y  un ER400TS .
photo: el Ravallero
The MIDI-STICK is an acrylic glass-tube, 20cm in length and with a diameter of 25mm. It incorporates a SRF02 ultrasonic sensor, a microcontroller PIC 16F628A, a wireless system using an EASY-RADIO transmitter module ER400TS, a VARTA 4,8V NiMH battery charged by a MAXIM, MAX712 IC and an “In-Circuit Programmer” (ICSP LVP-programmer) using a 74HCT573. Depending on his/her movement, the performer, dancer or musician sends a data stream over air to a receiver “Host". The Host includes another EASY-RADIO receiver/transmitter (ER400TRS) module that is connected to the USART of a PIC 16F877A. The PIC converts the received data to midi information to PORTA, RA4 using a serial programme routine. With a platform like Reaktor, PD or any virtual synthesiser or a hardware synthesiser one can create sound while moving. The electronic schematics, open codes in ASM and the code compiled in HEX are freely available... more
Tara Hodgson presentación en Hangar Barceona Martin Hug idear Tara Hodgson Tara Hodgson Tara Hodgson Tara Hodgson presentation of the Midi-Stick at HANGAR 21st of june 2007
photo: el Ravallero
The MIDI-STICK was presented at the Multimedia Foundation HANGAR in Barcelona the 21st of June 2007 by the Scottish dancer TARA HODGSON.


CV Martin Hug + contacto

- tribute to the artist Elmar Thome at BD (Barcelona Design) 2005 - more video & audio

Rodage con Bebeto Cidra para el TV3 de Catalunya
Homenaje a Elmar Thome "Dichteliebe" en el BD-Barcelona Diseño- en Junio 2005 con Carmen Sánchez  soprano, Martin Hug percusión y electrónica
Instrumentos hecho con tubos y placas de acero para la pieza "Ester" del Freiburger Stadttheater. Director Pavel Mikolastik
foto: TV3
foto: Holger Strauss
foto: Christian Kaiser