Go Down

Topic: Multiplexing thermocromic ink (Read 12809 times) previous topic - next topic

Dante235

Hello there
I currently work on a project multiplexing resistive wire, I'm a beginner in electronics and I would divert the use of multiplexing system for controlling resistors to distribute heat through a screen-printed paper. I realize myself my screen printing with thermochromic ink. I've done several tests and conclusive enough for the moment I would like to know how to change this

Code: [Select]
//Broche connectée au ST_CP du 74HC595
const int verrou = 11;
//Broche connectée au SH_CP du 74HC595
const int horloge = 12;
//Broche connectée au DS du 74HC595
const int data = 10;

void setup() {
  //On met les broches en sortie
  pinMode(verrou, OUTPUT);
  pinMode(horloge, OUTPUT);
  pinMode(data, OUTPUT);
}
void loop() {
  for (int i = 0; i < 8; i++) {
    //On active le verrou le temps de transférer les données
    digitalWrite(verrou, LOW);
    //on envoie la donnée
    //On va décaler l'octet 00000001 i fois puis l'envoyer
    shiftOut(data, horloge, LSBFIRST, ~(0x01 << i));
    //et enfin on relache le verrou
    digitalWrite(verrou, HIGH);
    //une petite pause pour constater l'affichage
    delay(9500);
  }
}


code in order to control the current in my resistors is that possible? is what some of you would be willing to help me?
Thank you in advance
You can see video of my tests

<iframe src="//player.vimeo.com/video/99450997" width="500" height="375" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> <p><a href="http://vimeo.com/99450997">2014-06-29 10.07.09</a> from <a href="http://vimeo.com/user9470668">David arnaud</a> on <a href="https://vimeo.com">Vimeo</a>.</p>

Go Up