swan tron dot com

Arduino Solar Cell Input

Here we go. As I mentioned a few days ago, I’m horsing around with analog input to my Arduino, in the form of input via a solar cell. For the win. It turns out, that I’m getting far better with my casual electronics experimentation…I will chalk this one up as a win…My basic set-up is this…Radio Shack solar cell, breadboard, florescent light source, Arduino, and a notebook.

Step 1: Gauge light source via multimeter

test 1.7 V…no need to toss in a resister, as the Arduino can handle 5V without issue. Good to go.

Step 2: Interface with Arduino via breadboard

setup This could have been a direct setup, but for the sake of not soldering a solid lead to my solar cell array, I chose to twist the crap out of the existing + and - leads of the wire outs on the unit, and cram them into the breadboard. USB connected to the Arduino, of course.

Step 3: Chop in some code for the Arduino

This was the tricky part…not that tricky, however:

void setup() {
  Serial.begin(9600);
}

void loop() {
  int v = analogRead(0);
  Serial.print(v);
  Serial.print(' ');
  delay(900);
}

enhance

Note the lack of comments? I’m a flipping math dude, so that is wholly optional in my book. Long story short, Wiring is a stripped cousin of C++…I have to void setup and loop here, since I am not concerned with anything once I let ’er rip. I will touch on the programming specifics at a later date, but inquiring minds can find this info quite easily on the Arduino project’s main page, or on Wikipedia. Knock your socks off. I added the delay for sake of real-time monitoring, and matched the baud rate to which I had configured my USB connection. ttyUSB0 would be that in question…9600 would be the rate.

Step 4: Read input via serial monitor

solar As you can see, it is pretty much constant, with some fluctuation due to my set-up. Noisy, yes. Cheap components, yes.

Step 5: Testing ‘zero’ state

Here, I have employed my box of smokes. American Spirit Lights, to be precise. cigs

Step 6: Gauge system

Here, I’m altering between ‘on’ and ‘off’ states. I start with the ‘off’ (smokes on solar panel) configuration for a time, remove the box to open the system to ‘max input’ for appx 7 secs, and then place the box to remove the input energy.

for the goddamned win

Most definitely for the win…with the experimental noise, that could be considered effectively zero. For the win. In summation, I have read in analog, as intended. Lessons learned? Pretty straight forward I suppose. My cheap-o solar cell is rated for a max of 6V, which I was far under. If I was to use this setup with a stronger light source, I would need to take this into consideration. I didn’t perform any data transformation, as I was not concerned with ‘actual voltage input values’ in this case…merely relative. Most importantly, I was able to knock out the task I had set out to do. Hopefully, I can ride my EE high and get cranking on something awesome, like a netbook robot. With some lasers.

Solar Panel LED Set-up

New project under way… Solar Panel + LED at this point…soon to be solar panel » analog input Spoiler: it is going to be awesome solar panel Stay tuned for further details

Remote Desktop Musings

I am a fan of remote computer access. Huge fan, in fact. I use the crap out of it at work on our Windows XP boxes to access the Load and Performance boxes. I too fire upremote access software at home on my Linux machines…primarily to help D-Rock troubleshoot his Ubuntu set-up. Both scenarios have proven to be quite important, and almost a necessity any more. dude Whereas my scenarios are quite secure and specific, there exists a need for more secure, wide ranging remote access solutions. How about some 256-bit encryption? Like industry leading [link removed] With a secure system like that, you can troubleshoot other people’s computers remotely, with confidence for both the client and operator. Same is true for work collaboration. The flow of ideas is far easier to channel via a remote connection, be it a single user driving the discussion, or even with multiple users rolling simultaneously. Another use is a little less conventional. You can utilize the remote desktop set-up to act as a file share system. Multiple users, remotely rolling files in and out of a ‘server’ machine remotely via the interwebs. Not too bad of an idea at all, if you ask me. Hit one of those links to read more. I’m going to attempt to remotely access Katie’s notebook, through a remote connection from my netbook, from a remote connection to my notebook. +1 bonus degree of separation

MS Paint Tips

Pomeranians are creepy. small dog Mad MS Paint skillz. +1 small dog

Found: My Dream Robotics Project

+1 Android +1 Arduino +1 Voice Recognition I found this guy over at engadget…called truckbot, it packs the aforementioned awesome things I love. cellbot Truckbot is autonomous…the little sucker won’t drive off the edge of a table, even if user prompts it to. This may be a violation of one of Assimov’s robot rules…go look it up. No time to blog…must continue drooling over this.

Useless-bot

boring -1 boring -1 small head three and three-quarter stars

32×32 Arduino Awesome-ness

I wish I had done this…unfortunately, I have my hands full with a handfull of LEDs. 1024 LEDs…give me a break. Osgeld (a man amongst boys) over at the arduino forums showed off his 32x32 dot matrix panel proof of concept. awesome Take a peak at his wiring: back How he managed to get that sucker up and running without smoking the shit out of his components is beyond me. Prost, sir. Well played.

Weaponized Robot = Aggressive

I’m not one to be down-and-out-self-deprecating-bummed-out about things in general, but iRobot has just made my tri-colored LED progress look like peanuts. Tri-colored peanuts, but peanuts nonetheless. Hats off to you all, iRobot dudes. This is awesome. robo laser From spectrum.ieee.org:

iRobot released today new video of its Warrior robot, a beefed up version of the more well-known PackBot, demonstrating use of the APOBS (Anti-Personnel Obstacle Breaching System), an explosive line charge deployed by a rocket, with a small parachute holding back the end of the line. The APOBS, iRobot says, is designed for “deliberate breaching of anti-personnel minefields and multi-strand wire obstacles.” Although it may concern those who don’t like the arming of robots, it makes great eye candy for those who like robots, rockets, and explosions.

For those who like robots, rockets, and explosions? Throw in Katie and Old Milwaukee Light, and that is me to a T.

Business Card 2.0

Ramiro…I dig your style. ramiro Spanish telecom extraordinaire and all around hero Ramiro Pareja Veredas has the coolest business cards ever. Printed onto a card, with a male USB interface…if you have the pleasure of getting one of these from ol’ Ramiro, you can plug it into your computer and see his HTML resume, etc. usb Per Ramiro himself:

Clearly, it is not the cheaper business card in the world (about 5 euros/piece for a small batch order), but it is a (relatively) small price for having a card in your pocket that has more CPU power than the computer that led the man to the moon.

I wonder if Ramiro knows about the internet…it seems like his HTML resume could easily be placed on that thing. I’m not much of a computer guy, though…I could be wrong. +1 interesting. +1 nerdy +1 moon reference -1 I’d still throw it directly in the trash, as I do with all other business cards I procure.

Woot FAIL

Once again, I almost got a bag-o-crap on yesterday’s woot-off. Got to this point… boc Entered my card security code….and nothing. I hate woot.