Skip to content

Skriet / The Scream / Skrik

 

My friend Emmy wanted an exhibition at her gallery ItchySoul Atelje in Malmö so she asked her friends to make a rendition of Edward Munch's "the scream"
She handed out canvases  20 by 20 cm in size and we all started to work on it. The Vernissage has alredy been so I thought I'd share what I did here.

First of, I'm no master painter, I used sharpies and duct tape. I wanted to make something more robotic with straight edges. And I wanted the robot to scream. A little like the death-screams of a portal gun-tower. For this I used a attiny 13v, two leds, a speaker, asome batteries and a little code. It does scream at uneven intervals. It's all based on the tiny arduino loader, so it was pretty easy to code.

 

 

 

 

 
More for source!

<code lang="cpp"> #include #include #ifndef cbi #define cbi(sfr, bit) (_SFR_BYTE(sfr) &amp;= ~_BV(bit)) #endif #ifndef sbi #define sbi(sfr, bit) (_SFR_BYTE(sfr) |= _BV(bit)) #endif volatile boolean f_wdt = 1; #define p1 1 #define p2 0 void setup() { // initialize the digital pin as an output. // Pin 13 has an LED connected on most Arduino boards: pinMode(p1,OUTPUT); pinMode(p2,OUTPUT); setup_watchdog(9); // approximately 4 seconds sleep doabatch(); } void doabatch() { int i=0; int a=0; while (true) { // a=i/3&gt;&gt;(i%(2%40)+i/20000)|i/(24+i&amp;3)&gt;&gt;(i%(15-((i&gt;&gt;150)%8)*6)+5); a= i*(((i&gt;&gt;12)|(i&gt;&gt;8))&amp;(63&amp;(i&gt;&gt;4))); // a=i%(valA/4); // a=i%256; if(a 9 ) ii=9; bb=ii &amp; 7; if (ii &gt; 7) bb|= (1&lt; </code>

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*