White Cat lighting board

White Cat Lighting Board Documentation

Outils pour utilisateurs

Outils du site


regie_de_papier_eng

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Both sides previous revision Révision précédente
regie_de_papier_eng [2014/09/01 17:09]
193.150.120.51 fcRxgjuzCuKPzhwbWlI
regie_de_papier_eng [2014/09/07 14:16] (Version actuelle)
christoph ancienne révision (2012/02/13 16:22) restaurée
Ligne 1: Ligne 1:
-<url>http://paydayloansforbc.co.uk|payday loans</url> payday loan usa <url>http://paydayustop.com|instant payday loans</url> payday loan usa +===== My lighting board in paper ( work in progress ) without soldering or plastic ===== 
 + 
 +{{regie de papier nano main.JPG}} 
 + 
 +{{regie de papier proto.jpg}} 
 + 
 +**Needs (material):​** 
 + 
 +  * a printer 
 +  * 1 or 2 sheet of A4 Canson paper 180 / 200g or Bristol ( glossy heavy paper) 
 +  * 1 little brush 
 +  * 1 cissors 
 +  * 1 cutting pliers 
 +  * 1 cutter 
 +  * 1 metal rule 
 +  * transparent tape 
 +  * solid glue 
 +  * 1 sheet of foamboard ( the art one, for framing, 4 or 6 mm thick)  
 +  
 + 
 +  * a pot of BAREPAINT [[http://www.bareconductive.com/|BarePaint]] 
 +  * an arduino Nano + mini usb cable 
 +  * 4 long plug headers of 6 pins  
 +{{barepaint.jpg}} {{arduino_nano_3.jpg}} {{plug header.jpg}} 
 + 
 + 
 +**Needs (software):​** 
 + 
 +  * [[http://arduino.cc/​en/​Main/​Software|arduino software 023 installed]] 
 + 
 +**Ressources:​** 
 + 
 +  * schema to print on Canson: [[http://​www.le-chat-noir-numerique.fr/​whitecat/​ressources]] 
 + 
 +{{ regie de papier alpha.jpg }} 
 + 
 +  * Test sketch to load with arduino software in the nano:  
 + 
 +  const int NBR_ANALOG=6;​ 
 +  int buffer_analog[NBR_ANALOG];​ 
 +  //////////////////////////////////​ 
 +  void setup() 
 +  { 
 +  Serial.begin(9600);​ 
 +    for (int i =2; i<NBR_ANALOG+2;​ i++) 
 +    { 
 +    pinMode(i,​OUTPUT); ​  
 +    digitalWrite(i,​LOW); ​  
 +    } 
 +  } 
 +  ​////////////////////////////////////​ 
 +  void loop() 
 +  { 
 +  for(int i=0;​i<​NBR_ANALOG;​i++) 
 +  { 
 +      digitalWrite(i+2,​HIGH);​ 
 +      buffer_analog[i]=analogRead(i);​  
 +      digitalWrite(i,​LOW);​ 
 +      Serial.print(buffer_analog[i],​DEC);​ 
 +      Serial.print("​ / "); 
 +  } 
 +  Serial.println("​ / "); 
 +  delay(100);​ 
 +  } 
 + 
 + 
 +=== The Board, circuitry (1 hour max)=== 
 + 
 +The basic assembly is very simple: what youneed is just to put the nano in a clean way on your paper. 
 + 
 +Left and right side are defined by putting USB plug UP. 
 + 
 +The circuitry printed will help you to draw in a precise and "​clean"​ manner the circuitry of your lighting board. 
 + 
 +  * Print the circuitry on a A4 Canson heavy paper ( it will work on normal paper, but it will be less strong) 
 + 
 +  * Glue this paper with solid Glue on a foamboard piece ( to have a rigid surface) 
 + 
 +  * put the 4 plug headers on the nano: 2 on the left (from A0 to VIN) and 2 on the right (from D2 included ). The schema show 2 black rectangle where plug headers will not be. 
 + 
 +  * make an angle of 90° so the nano may stay on its own on the header plug 
 + 
 +  * cut with the cutting pliers the plug head in VIN and RST ( left side) and from D10 on right side. 
 + 
 +{{regie de papier pliage header.jpg}} {{regie de papier cut header nano.jpg}}  
 + 
 + 
 +  * put the nano on the schema, and gently open the headers to touch the proper Slots ( A0 in A0, GND in GND etc...). Plug your USB cable to the device before. 
 + 
 + 
 +{{regie_de_papier_prepa_nano.jpg}} 
 + 
 + 
 +  * take your brush and your barepaint pot, and choose to begin the painting depending of your working hand: i m using my right hand, so i will first draw circuits from A5 to A0, then from D7 to D2, then stripes of sliders from left to right, and finishing by the GND. Do NOT diluate the paint and use a thin sized brush. Try to avoid discontinuity and do not hesitate in corners and jonction to overload the painting. 
 + 
 +{{regie_papier_paint_1.jpg}}{{regie_papier_paint_2.jpg}} 
 +{{regie_papier_paint_3.jpg}}{{regie_papier_paint_4.jpg}} 
 +{{regie_papier_paint_5.jpg}}{{regie_papier_paint_6.jpg}} 
 + 
 + 
 +  * As BarePaint is water washable, dont bother about a track touching the other. It will be worst if you try to clean it !  
 +When BarePaint is DRY, use a cutter to get off the unwanted connexion. 
 + 
 +  * Cut a Canson little paper, as wee need now to pass on a separated layer connexions for analog IN.  
 +Use Solid Glue to fix it very flat on the side of the paper. You may use some transparent tape if the paper is not enough flat. 
 +Then make your connexion to analog missing circuitry:​ 
 + 
 +{{regie_papier_canson_pont_analogues.jpg}}{{regie_papier_paint_analog_pont.jpg}} 
 + 
 + 
 + * When Paint is dry, put the Nano in place and use BarePaint to make connexion to it.  
 +The Headers must be flat on the paint. I you want to secure it, you can use transparent desktop tape. 
 + 
 +{{regie_papier_connexions_nano.jpg}} 
 + 
 +  * Go take a coffe and let everybody be completely dry 
 + 
 +=== The Sliders ===   
 + 
 +  * paint with barepaint a little surface of 10x2cm on the foamboard. This will make your contact sliders. 
 + 
 +  * let it dry. Then with a cutter and a metal rule, we will cut it cleanly in little stripes of 1cm. 
 + 
 +{{regie de papier slider coupe.jpg}} {{regie de papier slider.jpg}} 
 +{{regie de papier move slider.jpg}} 
 + 
 +  * you can test now with the arduino script, that when you put a little foamboard painted contact between the -+5v and the Analog stripes, the level changes. To see it: open arduino monitor ( the box TV icon) 
 + 
 +  * you can also add a cover ( in canson paper or any paper) to mask the circuitry 
 + 
 +{{regie de papier mask.jpg}} 
 + 
 +=== Testing Sliders === 
 + 
 +So actually this a prototype. 
 + 
 +By feeding with Ground and having distances different from slider to slider, the received signal is not the same from one slider to another. This is where I have still a lot of things to found a proper way, than mapping. In theatre we use values from 0 to 255, in music from 0 to 127, here with this canevas we have hardly a range of data going to the 64 units. :-( 
 + 
 +The 5v is sended by each IO in output to enable only one connexion at a time. 
 + 
 +Framing with neutral foamboard your sliders is a good idea, as a slider touching 2 or more stripes will block the nano. 
 + 
 +I have this kind of results with this schema: 
 + 
 + 
 +| Fader Number | Fader Value Down | Fader Value Up | 
 +| 1 | 234  | 301 | 
 +| 2 | 336  | 401 | 
 +| 3 | 476  | 506 | 
 +| 4 | 549  | 587 | 
 +| 5 | 518  | 566 | 
 +| 6 | 420  | 470 | 
 + 
 +Wich means we could make a map from those values, with the map function in arduino.  
 + 
 +Some tests, pressing all sliders to have max contact: 
 + 
 +|Situation| Fader 1 | Fader 2 | Fader 3 | Fader 4 | Fader 5 | Fader 6 | 
 +|Up       ​| ​  ​330 ​     |         ​| ​        ​| ​        ​| ​        ​| ​        |  
 +|Down     ​| ​        ​| ​  ​360 ​     |   ​480 ​     |   ​554 ​   |   ​513 ​   |  435     | 
 + 
 +|Situation| Fader 1 | Fader 2 | Fader 3 | Fader 4 | Fader 5 | Fader 6 | 
 +|Up       ​| ​  ​273 ​     |         ​| ​        ​| ​        ​| ​        ​| ​     464   |  
 +|Down     ​| ​        ​| ​  ​340 ​     |   ​461 ​     |  529       ​| ​  ​515 ​     |         | 
 +  
 +|Situation| Fader 1 | Fader 2 | Fader 3 | Fader 4 | Fader 5 | Fader 6 | 
 +|Up       ​| ​       |         ​| ​        ​| ​        ​| ​        ​| ​     465   |  
 +|Down     ​| ​  ​235 ​     |   ​345 ​     |   ​465 ​     |  540     ​| ​  ​515 ​     |         | 
 + 
 +|Situation| Fader 1 | Fader 2 | Fader 3 | Fader 4 | Fader 5 | Fader 6 | 
 +|Up       ​| ​        ​| ​        ​| ​    ​487 ​   |    587     ​| ​        ​| ​        |  
 +|Down     ​| ​  ​235 ​     |   ​335 ​     |        |      |   ​515 ​     |   ​420 ​     | 
 + 
 +|Situation| Fader 1 | Fader 2 | Fader 3 | Fader 4 | Fader 5 | Fader 6 | 
 +|Up       ​| ​        ​| ​        ​| ​        ​| ​   580     ​| ​        ​| ​        |  
 +|Down     ​| ​  ​235 ​     |   ​345 ​     |   ​465 ​     |       ​| ​  ​515 ​     |  420       | 
 + 
 +|Situation| Fader 1 | Fader 2 | Fader 3 | Fader 4 | Fader 5 | Fader 6 | 
 +|Up       ​| ​  ​297 ​     |         ​| ​        ​| ​   574     ​| ​        ​| ​        |  
 +|Down     ​| ​        ​| ​  ​350 ​     |   ​469 ​     |       ​| ​  ​509 ​     |  413       | 
 + 
 +{{regie de papier data.jpg}}
regie_de_papier_eng.txt · Dernière modification: 2014/09/07 14:16 par christoph