PDA

View Full Version : You already use linux....you just dont know it.


RHP Studios
January 4th, 2006, 04:37 PM
Chuck said in a recent post that linux wasn't that popular, and I refuted his claims with some off the top of my head facts.....then I was thinking about it...and reminded me of something I did at the college.

When I taught Linux at the college, one of the very first questions I would ask my new linux students is do they run linux. Everyone usually said no, with a few who had maybe tried it, maybe continued to use it, maybe found it a little too much to digest in the little time they had.

Followed by that question would be that nights homework - I would have my new students identify at least 3 things they have in their home (or their parents homes) that run on Linux. I have never had a student not be able to turn in at least 3 things. So, what do you have in your home that runs linux????

1 - do you own a cell phone?
2 - do you have a firewall/router like a linksys or some other brand? (almost all of them do)
3 - do you own a coffee maker?
4 - what about a microwave or refrigerator? A clothes dryer??
5 - How about a dvd player or vhs tape player?
6 - what about some of those really cool mp3 players that have internal storage on them?
7 - a telephone?
8 - high end audio / video equipment??
9 - robots???
10- tablet pcs??
11 - home / security video cameras??
12 - gps devices????
13 - both ford and gm use various linux driven things in their cars now

Let me ask you a question - out of the first 12 items listed above, how often do they break down compared to your windows computer?? (I have to leave out 13, cause the vehicles will break down but more than likely its not due to linux)

How many times have you had to reboot your coffee maker or dvd player? These are the reasons they dont run windows to begin with.....well, plus, it would take a hard drive big enough to fit the operating system in, plus you would have to have things like a virus scanner for your coffee pot. Picture this - what if your cell phone ran on Windows. Where would they hide the 1GB drive at?? Even if they used one of the usb/thumbdrives....imagine how huge and bulky it would be. Imagine being in a conversation and the thing just blue-screening on you.....or even worse.....just lock up and become unresponsive.

By the way, you could run 1,000 different linux micro-distributions on that same 1GB thumbdrive and I actually run 2 linux distributions on a 128MB usb drive, plus I run a security based distribution on a 512 mb usb drive....cause I cant stand windows and I take them everywhere with me.

Have a look at a lot of things that run on linux.....how many of these do you own? http://www.linuxdevices.com

Chuck
January 4th, 2006, 04:57 PM
I think you read way to much into my statement and the conversation was about desktop computers.

Besides most of the stuff list, ie Cell Phones are UNIX based. I know Linux is base off UNIX but then again so is Windows. (Microsoft will never admit to that)

LMAO, but I'll be OK.

Nice post.

PS.
This server and my others are all Linux based. Not a windows server here.

Jeremy
January 4th, 2006, 05:07 PM
My web-cam enabled, wireless-internet driven robot will run on linux when I'm done with it. No, seriously. I'm just having trouble interfacing the hardware with the software. But when I'm done.... one childhood fantasy down! I was too poor for an Omnibot 2000 as a kid ;)

RHP Studios
January 4th, 2006, 05:10 PM
I think you read way to much into my statement and the conversation was about desktop computers.

Besides most of the stuff list, ie Cell Phones are UNIX based. I know Linux is base off UNIX but then again so is Windows. (Microsoft will never admit to that)

LMAO, but I'll be OK.

Nice post.

PS.
This server and my others are all Linux based. Not a windows server here.
You know me, always bashing MS.

I miss having these linux conversations with you almost daily and giving you a hard time over it back in the day....miss it so much, might just have to open another store up, except I would keep quiet about linux this time around.

RHP Studios
January 4th, 2006, 05:12 PM
My web-cam enabled, wireless-internet driven robot will run on linux when I'm done with it. No, seriously. I'm just having trouble interfacing the hardware with the software. But when I'm done.... one childhood fantasy down! I was too poor for an Omnibot 2000 as a kid ;)

are you serious about this project??? I want pictures and to see it when done....I may be able to help with the hardware-software integration

Jeremy
January 4th, 2006, 05:50 PM
are you serious about this project??? I want pictures and to see it when done....I may be able to help with the hardware-software integration

Definitely. It's an ongoing project, and will be some time before it's done, but the gist of it is this:

I drive a PT cruiser, so my wife bought me a PT cruiser remote control vehicle a year ago.

My laptop crashed so I bought a new one.

I'm taking the old laptop, stripping it down, installing it in the PT cruiser remote control car, installing linux with an apache web server on the modified laptop, and controlling the whole darn thing over the web through 80211.g from a custom web site programmed in php, running off the built in PT cruiser server :) Commands I enter on the web site through a faux remote control are stored as files on the apache server and the hardware reacts to it, turning left, right, forward, backward, based on the contents of the files. Basically it will have the range of my local wi-fi network and will run till the battery runs out. Installing the web cam is an extra bonus so that I can sit in my house and drive around outside using the web cam to see where I'm going, snap pictures that are stored to the hard drive, etc. It also has the added benefit of allowing others to see where they are going because one day I'll actually post the whole thing to a public web site where anyone in the world can drive it around for kicks, similar to those web sites where you can control a rifle somewhere in Texas over the web, which gave me the blueprint of the idea.

Actually, the finished product, the point where I can actually say I did everything I wanted to do with the thing, is to build it into a remote control tank, place plastic toy soldiers around my yard, and have a buddy in England or somewhere control it around my yard and "shoot" the soldiers, meaning take pics of them with the web cam. If they find and shoot all the soldiers, mission accomplished.

RHP Studios
January 5th, 2006, 12:42 PM
I'm taking the old laptop, stripping it down, installing it in the PT cruiser remote control car, installing linux with an apache web server on the modified laptop, and controlling the whole darn thing over the web through 80211.g from a custom web site programmed in php, running off the built in PT cruiser server :) Commands I enter on the web site through a faux remote control are stored as files on the apache server and the hardware reacts to it, turning left, right, forward, backward, based on the contents of the files.
what are you using as the interface between the laptop and the hardware on the car?? I would assume serial port???

have you already figured out the signals sent from the remote to the car? Do you already have details on the hardware used for the car and is there any published documentation about it?

Jeremy
January 5th, 2006, 02:51 PM
Well, see, that's just the thing. If I wanted to, I could run a parallel port to the rc controller, strap the rc controller to the rig and go from there. Through the web interface (using java), I'd be controlling the car which contains the laptop, the rc controller, and the rc motor. I don't really want to do it that way though. It's still using radio signals and though technically it's a web based car, it's still more a rc car. Rather, there are stepper motors that are designed to work with a computer already, and have a bit more umpfh than the motor in the rc unit. I plan on replacing the rc car's motor with that. I just haven't decided yet on which motor to use, how it would exactly work in my scheme, etc. The real problem is pretty low tech. I don't have much time to work on it :)

Jeremy
January 5th, 2006, 02:56 PM
Ohh, oops... when it is all said and done, there'll be full documentation on it. This one's a hobby, so I'm not trying to guard any trade secrets ;)

RHP Studios
January 5th, 2006, 09:28 PM
Ohh, oops... when it is all said and done, there'll be full documentation on it. This one's a hobby, so I'm not trying to guard any trade secrets ;)

grab a copy of the current version of Linux Journal Magazine, issue 142 - February 2006. There are at least 3 articles that you may find useful. One is a remote controlled camera via a bash script and python - which could be made to run on apache. Another is about a Isolated Serial I/O kit that contains 4 inputs and 8 relays with voltage regulated to 6 - 24 volt range, used to drive up to 8 motors at once (the article is actually about a home-made home security system and the cameras have zoom, pan, etc....with is driven with this. I would assume your radio controlled car just uses on/off signals to control motors, etc...so same principal). The 3rd article is the rest of the magazine.....lol

If you cant find the magazine, I can possibly loan it for a while (only after I finish reading it front to back - photographic memory, so I only need to read it once)