The HiHat machine is part of the Drum Robot MR-808. It took some experiments until I figured out how this can be crafted into a high-performance working instrument: A HiHat is normally used in any track and plays most of the time!
This robotic HiHat is based on a normal drummers hihat, with two cymbals and parts of the hihat-stand. It also contains two solenoids (electro magnets), one for opening and closing the cymbals, on for the actual beating of the cymbal.
The force needed to open the HiHat is quite high, as it has to work against the force that closes the HiHat. The solenoid used here comes from a car engine starter. They have the most powerful solenoids, are reasonably cheap, easy to get at any car junk jard (or eBay) and operate at 12V. Perfect for low budget robotics!
The disadvantage is, that they consume roughly between 30 and 50A. Un-technically spoken: This is very much! I use server power supplies which can supply a current up tp 50A@ 12V.
I started with a standard HiHat machine (the full hardware Hihat Stand) and cut the lower part off. One thing you have to consider: a HiHat is default-OPEN, meaning that the spring inside keeps the cymbals separated when no pressure is applied. Only if the drummer steps on the foot-part, the HiHat closes. Replacing the drummers-foot with a solenoid (yeeha!) would mean that you would have a constantly powered solenoid, in this case about 35A, for most of the time (closed HiHat).
As we don’t want to fry eggs with the robot (solenoids can get quite hot) its recommended to reverse this mechanics, meaning that the HiHat is default-closed, and the solenoid is only powered when you want an open HiHat. I then removed the spring and let the gravity do the closing of the cymbals. Afterward I attached a fan inside the HiHat machine as the solenoid gets really hot for off-beat disco music. The huge car solenoid is only for the opening and closing of the hihat.
The actually beater is another solenoid which just hammers directly on the lower cymbal. It is used for both closed and open HiHat.
I’m a big fan of Simplify 3D. Its a commercial software but its worth every 149$ that it costs. If you digging deeper into 3D-Printing you can take your pre-processing to the next level. I had the issue, that when printing a model with solid infill (100%) and 0.1mm layer height on an Makerbot Replicator 2 the base would show gaps in between the extrusion lines.
As the model should be water tight I made a simply test – blowing through the model. It was not watertight, you could blow “through” the wall. Holding it against the light you could also see that there were gaps in between the extrusion lines.
One thing with Simplify 3D is that you have a lot of parameters, which also interact from time to time and sometimes its unclear what change bring the solution.
I fiddled with a lot of parameters, including extrusion width, gap fill or infill extrusion width. What helped was to tweak the parameter “Extrusion multiplier” to 1.10 (formally 0.8). Like this I can make really solid model with out gaps of holes between the extrusion lines.
Lately I was trying to install the spotify Client on a Win7 machine. Although setting up the firewall correctly, I couldn’t tunnel spotify through the firewall. Turning the firewall of, solved the problem but left me without a firewall.
I have locked the system with strict rules in the advanced settings of the native windows firewall. Normally that works quite well, you can add rules for incoming and outgoing connections under System –> Firewall –> Advanced.
Finding out the folder for the Spotify client is also easy ($user\AppData\Roaming\Spotify) but adding the different executables to the firewall rules doens’t help. In the forums guides change between “open all the ports” and “turn off your Firewall”. Well …
What helped was to install the Windows Firewall Control. Its a freeware tool that lets you configure the internal windows firewall. After you did the changes you can uninstall the programm again.
1. Download and install the firewall control
2. Start the firewall control
3. Start Spotify
4. Go to “connections log” (bottom-left) of the firewall control
5. Click refresh (right) and look for all the spotify apps that have been blocked.
6. And now the fun part: A left click lets you unblock them.
7. Restart Spotify to see if it worked.
Collaborative drum sound installation: decovering digital action & physical reaction
The drum robot installation MR-808 as it exists gives an immediate feedback on how the sound is created. The listener can see the sound physically evolving from the robots.
The drum robot is controlled via a web interface by users with tablet computers. The audience can program the drum robot in a collaborative process and listen to and see the emerging sound in real time on the exhibition site.
In November 2012, the “MR-808”, a huge robotic drum machine installation, was
released, developed under the direction of Moritz Simon Geist. The drum robot, build after the famous TR-808 has so far been presented on various events, from techno club nights to media and hacking congresses.
The robot installation MR-808 is a replica of the famous 1980s electronic drum machine TR-808, with robots playing the drum sounds! For the Installation MR-808 eleven sound of the 80s drum computer TR-808 are replaced by mechanical actuators and physical tone-makers. The actors are placed in a 330 x 170 cm size replica of the original drum machine. The robot installation visualizes the motion and formation of sound creation in a way no other tool of electronic sound creation is able to.
Program beats together, in a Browser!
The idea was to have a universal interface with which the average everyday person can program “moderated beats” – a step sequencer – with an interface they already know. We choose Nexus 7 tablets because they were reasonably cheap and esay to use. The interface itself consist of a basic step sequencer which is quickly comprehensible.
- Server running on a Raspberry Pi
- Node.js and SuperCollider
The Colaborative Sequencer is a web-based MIDI sequencer application. The server runs on a RasperryPi (Model B) rendering an node.js based interactive website and is connected with websockets. Different clients can connect to the server, manipulating a SuperCollider Step Sequencer (also running on the RasPi). A midi-interface connected to the RasPi outputs the Midi note whoch then go to the MR-808 to trigger the different instruments.
Special care has been taken to control the latencies of the different instruments. Each robotic instrument (Snare, Bass Drum…) has its own unique latency, given by the time between the “note on” signal (triggering a note in the sequencer), and the time when the tone finally leaves the physical instrument. These latencies can be up to several 100 microseconds, a delay that a human ear will definitely recognize. The latency consists of the time for the physical path that the actor has to resolve to get to the instrument and the electrical and digital delay inside the electronics and software. Read more about it here.
We try to open-source all the technologies used. If you have any questions, contact us.
For the interactive drum robot installation “MR-808 Interactive” we need interfaces that control this art installation. We choose Nexus 7 2013 (second version) Tablets as they are cheap (ca. 120€ at Ebay) and easy to use. On them we open a web-based drum sequencer that controls the physical moves of the robot in realtime. (more…)
The mask for PCB creation with photo positive methode is usually printed on a foil, exposed and developed on the laminate with a UV lamp.
Here we describe how to laminate two cheap layout masks together so the development with UV light will be better. http://fritzing.org/learning/tutorials/pcb-production-tutorials/diy-pcb-etching/
The TLC 5940 is an awesome stand-alone 16 channel PWM chip, which can control e.g. 16 LEDs and is programmable via the SPI Bus. There is plenty of good code for connecting this LED Driver chip to the arduino.
I had the problem that I wanted to connect a 3W white LED and thus needing a high-current output for the TLC 5940. The TLC can drive 130mA per channel. The 3W LED has 0.25A @ 12V. I blogged about this before and there are different approaches:
- Connecting more than one outputs in parallel to the high power LED as proposed by TI in this PDF. One output can drive 130mA and so you can add them up.
- Connecting a N-Channel Mosfet (BUZ 11 (old!), IRLZ34N, NDS355) directly and using a pull-up resistor. The TLC is a current sink, meaning that its driving the load (e.g. LED) always to ground. Its working, but you have to invert the PWM in software (Full PWM = No Mosfet Output und visa verse).
One Version which I want to present here is to add an additional transistor like the BC547 to invert the TLC PWM signal and make it useful for driving the MOSFET directly!.
In the circuit you see the TLC on the left side and some more low power LEDs. Then you have the MOSFET circuit on the right. The high Power LED (not in the diagram) is connected to VCC (+12V) and the MOSFET drives it to ground when switched on.
Lets go! When the TLC channel is off, the Transistor – a SMD variant of the famous BC547 – is switched through, pulling the Mosfet to ground: the LED is off.
If the TLC now starts working it pulls the Transistor to ground, leaving a positive potential at the ate of the Mosfet, which results in a lightening LED.
Sometimes it is not possible to stuff all the hardware for a live performance into a Macbook. Then you need a real PC. But it shall be transportable. Without too many cables. Easy to setup. With everything insode .. well, like a macbook.
For our glitch robot project we needed a PC to handle the video date. And so we build our OWN laptop!
I recently made an redesign of some parts of our Glitch Robot Installation. A wonderful example of the capabilities of 3D-printing which we are using so often. Designed one year ago, I just had to press “print” to reprint the broken parts.
‘Madcam‘ is an open frameworks (C++) based project for mixing USB Web Cameras (e.g. the 10$ cheap PS3-Eye web cam) im realtime. Why this is awesome? Its usually hard and/or expensive to mix many video signals in realtime and display them side by side. We found a way to make it cheap, quick and reliable!
The project is a visual extension for another awesome project called “Glitchrobot” where Robots are used to make electronic music, but thats another issue. Lets start!
The goal is set up an VJ setup which is based on live webcam material. One webcam? – Boring! 10 Webcams? – “Unlimited” fun! (more…)