Sunday, January 20, 2008

Webcam ,Email and Internet Hosting




Started in on web hosting I do (okay lame joke, but I hope you got it!) . Had the lesson in sending email from the Microsoft command line (pg92-93). (Go to START, click RUN, and type CMD then enter to get to the old DOS window) Had fun (no mischief) with sending out emails directly from the command line by telnet to the stmp mail server. The mail server is funny with it's conversational dialog. You telnet in and say Hello (HELO) and it replies "Hello, nice to meet you" when you type QUIT it says bye. I forgot to type HELO when I started in with the MAIL FROM: and it says "Polite people say HELO first". Pretty funny.

Figured out that a subdomain is where you plunk a word with a period in front of the domain. Domain being the web page name. So a sub domain named "subdomain" of spiffyrobot.com would be subdomain.spiffyrobot.com That was new, though I had seen that before. Just didn't know what sub domain meant.

Mostly simple stuff but lots of it. Neat stuff to poke around with.

Went through my pile of old web cams, and chose a logitech spherical one and got the driver off the logitech site. Downloaded the webcam freeware program fwink. All installed.

All works and here it is:

http://aliens.spiffyrobot.com/

That was fun!

Wednesday, January 16, 2008

Web Hosting

Okay, I have activated my web hosting. I have a Domain, I think that is what it is??? This is new to me, but it has been fairly easy going, just new, and fun exploring.

Got web hosting with Dreamhost.com.
Used their wiki a bunch to set up SSH and PHP. (really easy)
Used PuttySSH to ??? get onto the hosting directory that I have and do the Chapter 1 stuff on PHP (scripting language to do things on the web site) and the basic tour of command line stuff on the web server. (I am not even sure what to call it;-)

Used the command line text editor nano to write a small php script to put text up when you got to my site (spiffyrobot.com). Not a lot there right now. Just a test message so I could verify that I was in the correct directory with the index.php file.

That all for now.

Saturday, January 12, 2008

Processing:

I just received the book, "Processing: A Programming Handbook for Visual Designers and Artists" by Casey Reas, Ben Fry, and John Maeda

I got really enthused with Processing from doing the projects in Making Things Talk. (even the Arduino interface is based on Processing) So I bought the book. I bought the MTT book with Pete and he has it now. I found out that I could not do without it so I ordered my own copy, and ordered "Physical Computing: Sensing and Controlling the Physical World with Computers" by Tom Igoe and Dan O'Sullivan. I didn't know it existed until I was on Amazon and started searching around for other books by Tom Igoe. Looking at the Amazon "Search inside this book" feature it looks good. The first section of the book is Basics, so if you are new to electronics it may be worth looking at, the second section is "Advanced Methods" and is most interesting to me as it is a treatment by types "activities" (ie sensing movement, making movement, controlling light and sound etc.) I am hoping it will complement Making Things Talk.

I should get the MTT, and Physical World with Computers book early next week and be back to doing projects. I plan on using the projects as a platform for doing some youtube videos, and try to make them interesting.

Monday, January 7, 2008

Parts Sourcing



Got all the parts I ordered over the Christmas break. I got a lantronix co-box module from mouser.com, 3 xbee modules from digikey, and a bunch of components (resistors, diodes, caps etc) from jameco.com, and xbee breakout boards, a second arduino and bluesmirf from sparkfun.com.

I was very happy with the quick shipping from all the vendors. One thing I realized with jameco.com is that if you make an order pay attention to the shipped from multiple warehouse locations. That was my mistake before. They will charge shipping from each location which can make the total pretty high.

Digikey.com turned out to be the quickest shipper with my order showing up in 3 days with a $4.95 shipping charge, I thought that was great.

I also got a webpage hosting to do those parts of the book. I was planning on doing this anyway.

I was really wanting to try the gps project. I had a couple old gps units that I had bought at tag sales. One is a Rand McNally Streetfinder for a Palm III, and the other a "Copilot". Turned out they had the same GPS board, different rev though. I had to desolder the gps board in the Streetfinder, but with the help of some online articles and the second gps for reference was able to fairly easily wire it to use with a rs232 9 pin serial port connector. It works with the processing program "GPS Parser" and with a program from sparkfun.com called "Mini GPS Software"

Though they are old and slow, it would be nice if I can use them for some dedicated project, where a new, expensive module would be wasted.

The one thing I plan on doing is figuring out if I can get TTL serial out of them on the board. I am going to try to use a RS232 to TTL converter to see if it will work also. Another order for some MAX3232 ICs is in the works.

Sparkfun.com also has a bunch of nice tutorials beginning embedded electronics and has a lecture on UART and serial communicatons.

The circuits are generally meant to connect TTL to a RS232 to connect to a computer. I want to connect the TTL to RS232 GPS. I think it will work.

I hope to have some time to get into some of the projects again this week.