In my ongoing fight with my Ethernet Shield, I had a bright idea that the sucker might have some bad jumpers. Welp, I put together a little blinking LED code and let it rip…which worked. I then tried to run the LED through the 3V lead…but…plugged the bastard into the 5V slot.
Fire and brimstone. Long story short, the board is getting power, the jumpers are fine, and that sweet clear LED is toast.
I haven’t had much to publish as of late. Not for lack of trying; I have been quiet because of a damned roadblock. I figured I could smash my way through a few MAC/IP settings, and have my Ethernet Shield doing all sorts of cool stuff with my Arduino. I was sorely mistaken.
This afternoon, I took another stab at the thing. Even after attempting to put together a cross-over setup…I still cannot telnet to my goddamned card. I don’t know how many arp and ifconfig commands I have sent, but it has to be in the triple digits. To no avail.
Looks like it is back to network 101 for this guy. Son of a bitch. We’re going manual. On the bright side, I worked inside today…
+1 counter-height table
Bonus Pledge, courtesy of Katie.
For what it is worth, I found a few commands that don’t seem to work on the command line… command not found
I think I will pack this thing to work and tackle it on my lunch breaks. Enough is enough.
As promised, behold the much-anticipated footage of my Arduino AC Interface proof of concept. It was dark in my ‘lab,’ so the footage leaves something to be desired.
So, if anyone is in need of a strobe light, hit me up. I’m all over that.
Stay tuned…I am working on the web-side of the Android dev kit, so hopefully I will have another test coming soon. Ethernet shield, Android, Arduino, and 120V…I’m getting giddy.
I finally got around to throwing out a little proof of concept with my new toy. I managed to utilize a PowerSwitch Tail to gain control of 120V AC with Arduino…and I did it without electrocuting myself. Not getting electrocuted, FTW.
Long story short, the PowerSwitch Tail is a simple switch. 120V AC in, and either 0V AC out or 120V AC out, with the later being the case when a 5V DC signal is introduced to the unit. Here is what it looks like…
Activity: locate brass monkey
I used some jumper wires I had sitting around “the lab.” You can feed anything into that sucker; speaker wire would throw the switch. Moving on…
Well, it turns out that the Arduino loves to dump 5V signals…like it was made to do so. So, this switch setup is perfect for my microcontroller projects…whatever they may turn out. Anyhow, all you need to do is pick a digital out and ground from the Arduino board, and hooks it up. Hooks it up like this…
shameless plug
One of the best things (most handy?) is that the IDE makes pushing code to the unit quick. Plug a USB cable in, crank out some code, and there you go.
hook up them shits
Good news.
It’s MF-ing snippet time!
/*
Relay Switch proof o’ concept
*/
// Assign digital pin 12 for chatting
int ledPin = 12;
// Define setup method
void setup() {
// Define pin 12 as output
pinMode(ledPin, OUTPUT);
}
// Define loop
void loop()
{
digitalWrite(ledPin, HIGH); // Switch on
delay(406); // wait
digitalWrite(ledPin, LOW); // Switch off
delay(406); // wait
}
That is all there is to it…signal for a while, no signal for a while. 406 is a random value, chosen because I like the 406.
I plugged one of Katie’s lamps into the switch…which was plugged into my “lab” power strip.
protip: use discarded tube TVs as experiment stations
Uploaded the code to the controller, and there you have it…
darkness was upon the face of the deep
Survey says…
let there be light, mofo
There it is. I shot a video, but YouTube puked during my upload. Not too upset, seeing as how it was just a video of a DIY strobe lamp. The cool part of this lies in the possibilities to extend upon the concept. Throw a web interface in the mix, and you can have a web-controlled lamp. Replace the lamp with something more useful, and you get the point.
EDIT: 1/24
I uploaded the video I snapped to YouTube…here is a hard-link, and I’ll toss the vid in a post shortly. I think I need to enable video embedding, but if you really have a hankering to watch the thing, knock yourself out.
Good news…you don’t have to listen to me blather on. At least blather on too much…there will be some blathering.
I mentioned a few posts ago that I was feeling lousy about failing to post some junk. Junk and stuff…electronics…programming is uber-super…blathering again…et…cet…etcetera.
awesome lab...an absolute mustdiagrams. come in handy.asterixes astericies astericxses doot doot doot doot deet deet doot deet doot deet deetBOOOOOdivert your gaze upwardFin.crocodile done-dee
Good news…you don’t have to listen to me blather on. At least blather on too much…there will be some blathering.
I mentioned a few posts ago that I was feeling lousy about failing to post some junk. Junk and stuff…electronics…programming is uber-super…blathering again…et…cet…etcetera.
awesome lab...an absolute mustdiagrams. come in handy.asterixes astericies astericxses doot doot doot doot deet deet doot deet doot deet deetBOOOOOdivert your gaze upwardFin.crocodile done-dee