Arduino Duemilanove AC Load Shield

I have had a ton of these Intel 87C51 boards with 4 and 8 optically isolated triac output daughter boards attached to them. They are new surplus items I picked up several years ago. I recently purchased an Arduino Duemilanove and decided it was time to find some use for these. All it took was a couple of harnesses salvaged from an old AT computer case, a 60 watt lamp & socket and I was up and running. The 5v and Gnd are supplied from the spk out plug that all pc cases have. The AC side connector is the same as the AT style PC power supply connection. The I/O pins can be plugged directly into the bottom of  the board so this makes a great shield. This would be great for using to drive light shows or drag strip lighting systems. The TRIACs on this board can handle 70 amps peak and 8 amps RMS! One word of caution if you are not familiar with AC circuits and qualified please do not mess with it. Not only does it hurt like heck if you get into it, IT CAN KILL!  For example all of those unused wires on that AT power supply connector that I don’t have anything hooked to are hot. Anyway here is a short video. 

AC4XShield 10 Meg MOV

Pictures:

Top view connected

Top view

Low Voltage Supply Header

AC Header

Bottom I/O Header

Mounted as a shield (needs some standoffs)

4 I/O pins used

Here is the code to run a shadow chase sequence with all 4 outputs.

/*
  BlinkACLoads
 
 Runs through a shadow chase for 4 AC Loads connected to a AC4X interface board.
 
 The circuit:
 * AC4X board connected to pins 9-12.
 
 * Warning! Dealing with AC current can be dangerous, serious injury or death could result from
 unsafe handling.
 
 Created 17 Jan 2010
 By Mark Borden
  
 */

int ACPin12 =  12;    // AC load connected to pin 12
int ACPin11 =  11;    // AC Load connected to pin 11
int ACPin10 =  10;    // AC Load connected to Pin 10
int ACPin9 =  9;    // AC Load connected to Pin 9

void setup()   {               
  // initialize the digital pins as an outputs:
  pinMode(ACPin12, OUTPUT);
  pinMode(ACPin11, OUTPUT);
  pinMode(ACPin10, OUTPUT);
  pinMode(ACPin9, OUTPUT); 
}
void loop()                    
{
  digitalWrite(ACPin12, HIGH);   // set the Pin 12 on
  delay(500);                  // wait for a second
  digitalWrite(ACPin12, LOW);    // set the Pin 12 off
  delay(500);                  // wait for a second
  digitalWrite(ACPin11, HIGH);   // set the Pin 11 on
  delay(500);                  // wait for a second
  digitalWrite(ACPin11, LOW);    // set the Pin 11 off
  delay(500);                  // wait for a second
  digitalWrite(ACPin10, HIGH);   // set the Pin 10 on
  delay(500);                  // wait for a second
  digitalWrite(ACPin10, LOW);    // set the Pin 10 off
  delay(500);                  // wait for a second 
  digitalWrite(ACPin9, HIGH);   // set the Pin 9 on
  delay(500);                  // wait for a second
  digitalWrite(ACPin9, LOW);    // set the Pin 9 off
  delay(500);                  // wait for a second
}

Tags:

15 Responses to “Arduino Duemilanove AC Load Shield”

  1. Gale Cuestas says:

    Absolutely great information. Thanks for sharing it with us.

  2. admin says:

    Thanks Gale, I appreciate the comment.

  3. There is so much information here! I’m trying to remember all of it so I can put it to work.

  4. admin says:

    Thanks Matthew, I never know if anyone finds any of this information useful. Glad to hear it is. I will post some more this weekend.

  5. This is really a good example of the boards nice features. Really a great post in terms of choosing the right board.

  6. admin says:

    Thanks

  7. admin says:

    Thanks Herbert, Glad you found some small value in my ramblings :)

  8. admin says:

    Thank you. I will do my best to keep the site fresh.

  9. Andy Coulson says:

    Hi Mark, got any of hose boards left that that you’d be interested in selling? I’d rather buy than build :-)

  10. admin says:

    Sure, I emailed you from your web site.

  11. [...] switch 120V current on and off.  Rather than build my own, I just wound up using some nice little controller boards I found here.  The author, Mark Borden, has a whole bunch of them and will sell you some if you email him. [...]

  12. Scott Austin says:

    Hi Mark,

    I found your site starting with Hacking GE’s Color Effects (http://www.deepdarc.com/2010/11/27/hacking-christmas-lights/) meandering around to Austinlightguy’s blog and then to you!

    I see your post is early this year, but do you still have these controller boards available? I’d love to demo more than LEDs (though I do luv ‘em).

    I work with students, grade school through Universities (Johns Hopkins, MD Institute College of Art (artists joined with tech is fascinating), Univ of MD, etc), helping them with basic electronics, microcontrollers, etc. It’s all kinda associated around our yearly event Robot Fest (a bit out of date: robotfest.com). It’d be cool/eye-opening to show micro’s controlling bigger stuff!

    Thanks!
    Scott

  13. admin says:

    Hey Scott, Thanks for the comment. I am sorry for the delay in getting back with you. I have been out of touch with the Holidays and all. Yes, I do still have these. I will email you.
    Thanks,
    Mark

  14. glikar says:

    Hi Mark, I know this a old post, but do you have any boards left?

  15. admin says:

    Yes, I still have plenty. I will email you.

Leave a Reply