Thursday, August 7, 2008

Monitor Test for Propeller Education Kit

I have assembled the Propeller Education Kit Platform. I went through the Set-up Lab and tested all the wiring and function. I have been playing with some Spin coding and hardware set-ups. I built a simple RCA video and audio output and tested both (Thanks to The Propeller Cookbook and pdf and sample code for the RCA to breadboard adaptor).

The video below shows the Graphics Demo Program on the Propeller Tool (which is used to send program code to the Propeller). The program itself is the code seen on the computer monitor. Next you see the Propeller Education Kit wired with the RCA Video adapter and and running the graphics demo program. The TV signal is sent from the Propeller Chip through its I/O pins. For my monitor, I hooked up one of my children's broken DVD players. The DVD player is broken, but the monitor works great and has a 3-1/2" X 6" screen. I have a power adapter for it and the screen angle is adjustable. In the video, you can see the Graphics Demo Program running on the monitor. All of the display hook-up and LCD display are junk that I salvaged.

Cool, eh? The Propeller is really fun to play with and incredibly powerful. I have just barely scratched the surface.

Sunday, August 3, 2008

Moving to the Parallax Propeller

Well, I finally made the leap up to the Parallax Propeller. The Propeller chip is fantastic step forward in microcontrollers. Its eight processors (cogs) can operate simultaneously, either independently or cooperatively, sharing common resources through a central hub. The eight 32-bit processors (COGs) allow real simultaneous multi-processing! The chip is the result of eight years of work and was designed at the transistor level. The Propeller chip is programmed in both a high-level language, called Spin™, and low-level (assembly) language. With the set of pre-built Parallax “objects” for video, mice, keyboards, RF, LCDs, stepper motors and sensors, a Propeller application is a matter of high-level integration. The Propeller Chip represents the first custom all-silicon product designed by Parallax.

To learn about the Propeller, I chose to buy the Propeller Education Kit - 40 pin DIP Version. This is a complete kit with everything you need to get started with the Propeller microcontroller. Parallax's website has educational labs that you can download the free. The Propeller Education Lessons and Labs utilize the parts in the kit, and new Labs will be released periodically. This kit features breadboard-friendly versions of the Propeller chip, EEPROM and other core components making it easy and inexpensive to learn about the Propeller. If you mess something up it doesn't cost much to replacce parts as needed.

I also bought the Propeller Manual. The Propeller Manual contains detailed Propeller chip architecture information, along with complete syntax and reference guides for both Spin and Propeller Assembly languages.

For spending more that $100, Parallax was offering a free gift of the Propeller Proto Board (Serial Version), so I recieved it too. There are some really fun and educational resources for the Proto Board avaliable on the Parallax Forums produced by user "Oldbitcollector." These resources include the Intro to the Propeller Proto Board and The Propeller Cookbook.

Learning all that the Propeller can do will be a slow process, but there is a lot of help avaliable on the Parallax Forums and at the Propeller Object Exchange. This exchange includes other users solutions to common programming problems which are shared freely on the web. I've already had several folks offer to help me learn or share their code with me. That's one of the reasons I enjoy this so much!

Note: Photos and much of the info above is courtesy of Parallax's excellent website.

Thursday, July 10, 2008

Robotics Logo by Chuck McManis

I found this logo on Chuck's Robotics Notebook. It is an online journal by Chuch McManis, who is the president of the Home Brew Robotics Club of Silicon Valley. He explains how he designed it on the introduction page. It really captures what I enjoy about robotics. Robotics is a combination of electronics, programming, and mechanics - creativity will real world constraints.

McManis says, "Because I'm a slow learner, it has taken me about 8 years to put together a robotics logo that I'm happy with. Well suffice it to say, this is it! The one true robotics Logo! Capturing in a single design what it is to be a robotics experimenter, hobbyist, scientist, and entrepreneur. Programming, Mechanics, and Electronics all combined around a great idea to form a complete whole. Yup, that's what it says : Robots." He adds, "Roger Gilbertson and I were tossing around ideas for logos at an HBRC meeting a long time ago. We wanted something that combined the essence of robots which is really a triple discipline activity. This even has a name of sorts, "mechatronics" but that fails to capture the programming aspect of it. Anyway, I wanted to represent each of the disciplines used in robots in such a way that you could make it into a patch, further the patch could be worn in such a way that your "best" discipline would be on the top, or if you were good in two disciplines you could wear it with two sharing the top spot. That way during the "random access" time of the meeting you if you were looking for help with programming just look for folks with the programming section on top. Neat huh?"

Well, I know I think it is neat.

Saturday, June 21, 2008

My New Desktop Buddy

Well, I broke down and bought a small Wall-E action figure for my workspace desk. It is very detailed. I will probably get a robotic Wall-E at some point or maybe even try to build one like my friend 4mem8 over at Robocommunity.com. Take a look at his thread on the construction of his Wall-E with tons of detail here. Can't wait for the movie, although it comes out while I am away at camp!

Friday, June 20, 2008

Solarbotics Compact L298 Motor Driver


Solarbotics Compact L298 Motor Driver allows control of 6 to 24 volt motors, with up to 4 amps of drive current. It comes in kit form. I assembled the unit and have attached photos of the test set-up and a video so you can see it in operation (the photo of the driver by itself is from the Solarbotic's site). Four LEDs indicate motor direction. The driver uses eight Shottkey diodes to shunt back EMF generated by the motors.
With a Basic Stamp, you can control motors of higher voltage with 5 volt signals and simple programming. The code I used was a test sample available on the Solarbotic's web site. The code runs both motors forward, runs both in reverse, stops each motor separately and then runs one forward and the other in reverse and vice versa. It is both simple, yet amazing.


Thursday, June 19, 2008

CBA Robot Kit



The CBA (ChiBot Alpha) robot kit is a club robot for the Chicago Area Robotics Group (ChiBots). It is sold through BudgetBot.com. It was designed to be a suitable beginner robot. I wanted to get so that I could get the experience of putting the components together myself (especially soldering the components on the PCB). It features a Parallax Basic Stamp 2e OEM, so it is compatable with all my other Parallax goodies.

I had one glitch assembling it. I mounted the crystal about a 1/16" above the board. I did this because it is heat sensitive and I used a heat sink to protect it. As it turns out, this kept the Basic Stamp from being identified by its software. Luckily, the technical support for the ChiBot is excellent and with the help of Mike, it is working fine (he said he had never seen this problem before!).

I finished the rest of the assembly today and have had it running around on the floor. The kit has some accesories like a line following module and wheel encoder module also available from BudgetBot (these can be viewed at the web site).

I have attached a photo of the overall bot and a detailed photo of the assembled PC Board. My son has dubbed it the 2W Bot - (of 2 Wheel Bot).

Tuesday, June 17, 2008

Lab Remodeling


I picked up a used computer from a friend (for free) and added it to my lab space. It is very handy to have a computer right in the lab (the keyboard and mouse slide right under the flat panel monitor for even more work space). Please note the cool Wall-E wallpaper on the monitor too. I also added a wire shelf above my desk to give me more desktop space. I holds tools mostly. The shelves at the side have gotten taller. They contain books, files, some parts and completed projects. To see a picture of how the lab used to look, check my original post on this subject here. I have lots more in the space and more desktop too!

Of course to remodel the space, I also had a lot of cleaning to do. This took the most time. I consolidated boxes and stored parts where I hope they will be easier to find. Take a look at how clean and neat it is. It really makes it easier (at least for me) to start a project if everything is clean. I am trying to decide now what to start on to get it dirty.

I also enjoyed the Habitat for Hobbies - Part I article by Vern Graner in the June 2008 Nuts and Volts. Can't wait for Part II.