Slashdot Mirror


Building Your Own Glowing Cyber-Balls?

krezel asks: "So I've been drooling over the Ambient Orb, a cool little gadget 'glowing ball' that you changes colors based the 'health' of things you specify. It can do stuff like fade from red to yellow to green as your stock portfolio improves. However, being a poor college student I can't afford its $200 price tag. I've found lots of sources for super bright multi-color LED's. Cast a couple of them in some translucent resin, hook them up to a power source, and you've got yourself a cheap glowing ball. But I've yet to find any good information on how to build hardware that will let me control relays for devices like this through my serial or parallel port. Basically I'm looking for a cheap way to build a board that will let me control 4-8 relays (for each color) over my serial port, and some info on how to write the software for it. This could be a very cool project, and I plan on making the plans available, and the code Open Source, when I'm done with it. Any ideas?"

453 comments

  1. fp! by Anonymous Coward · · Score: 0

    what freq. does this use?

  2. ...Glowing balls? by indiigo · · Score: 2, Funny

    This post won't be abused... no. Carry on.

    --
    fslg503-985-8686503-985-8686503-985-8686503-985-86 8650 3-985-fdsg8686503-985-8686503-985-8686503-9
    1. Re:...Glowing balls? by TWX_the_Linux_Zealot · · Score: 1

      "This post won't be abused... no. Carry on."

      Too late... if only I'd gotten my comment in before yours...

      --

      IBM had PL/1, with syntax worse than JOSS,
      And everywhere the language went, it was a total loss...
    2. Re:...Glowing balls? by Jugalator · · Score: 4, Funny

      I read the topic, and after reading the beginning "krezel says: So I've been drooling..." I didn't know if I should continue. :-O

      --
      Beware: In C++, your friends can see your privates!
    3. Re:...Glowing balls? by Anonymous Coward · · Score: 0

      Uhmmm... Urngggg...!

      I can't help myself... I must...

      "COWBOY NEAL'S GLOWING CYBERBALLS ARE GOOD ENOUGH FOR ME!!!"

      I feel a lot better now. Carry on.

    4. Re:...Glowing balls? by Anonymous Coward · · Score: 0

      $200 for a lightbulb on a dimmer? I'm in the wrong business.

    5. Re:...Glowing balls? by JDWTopGuy · · Score: 1

      I knew this article was just ripe for trolls. Nothing like a story involving balls to get the juices flowing! Oops. Well ya know, it takes a lot of balls to post an article like that... darn it!

      I'm actually surprised how much useful information is being posted when this story has so much, uh, potential for "humor".

      --
      Ron Paul 2012
  3. Hmmm... by TWX_the_Linux_Zealot · · Score: 5, Funny

    Usually I try to avoid being afflicted by glowing cyber balls, myself.

    You know you need to get laid if "Hey baby, wanna cyber?" gets your balls glowing...

    --

    IBM had PL/1, with syntax worse than JOSS,
    And everywhere the language went, it was a total loss...
    1. Re:Hmmm... by Anonymous Coward · · Score: 0

      *simpsons voice* werst joke evar

    2. Re:Hmmm... by _EternaL_ · · Score: 1

      umm..
      a) FUCK YOU!
      b) SHUT THE FUCK UP
      c) I'm hear to read about GLOWING BALLS NOT POLITICS
      d) YOU SUCK MORE THAN ANYONE BECAUSE YOU ARE OFF TOPIC!

      My GOD are you a fucking moron.. please keep your posts relavent! If you want to BLITHER ON... do so somewhere APPROPRIATE!

      (No, this doesn't mean I have an opinion I am going to share, it just means the previous poster is a FUCKING MORON who is INVADING MY SPACE!)

      --
      -=+=-=+=-=+=-=+=-
      following my instincts not a trend...
  4. Mr T. by Anonymous Coward · · Score: 0, Funny

    Ate my cyberballs!

    1. Re:Mr T. by l810c · · Score: 5, Funny

      I pity the fool touches my cyberballs!

    2. Re:Mr T. by Anonymous Coward · · Score: 0

      Holy fuck... how many years since I've seen one of these?

  5. parallel vs. serial by Anonymous Coward · · Score: 3, Insightful

    I would use the parallel. You get 8 pins out instead of just the one. Sure, you can play games with the serial, but... parallel would be easier.

    Depending on how many LED's per color and whether you are using transistors or relays to drive the circuit, you may want to use an external power source and use op amps to convert your parallel control to a stronger signal for the LEDs.

    Anyway, just my idea.

    Sure, I could probably design the circuit now (Since I am learning so I can build my own 160-6m SSB/CW rig), but I don't want to. Sorry.

    1. Re:parallel vs. serial by MrLint · · Score: 1

      Ya know if you were to make it work via USB it coudl grab its power off the bus as well.

    2. Re:parallel vs. serial by Anonymous Coward · · Score: 0

      Wow, there's only 1 PIN on a serial port? :)

      Actually, either serial or parallel would work. Neither is harder than the other (there's at least 4 or 5 usable PIN's on a 9-PIN RS-232 connector). Serial might be more universal because more computers have serial ports than parallel (your Palm for example).

      I see no reason to use relays as originally suggested but I would use an external power source. Relays tend to be loud and will eventually wear-out and break. There's a tons of different ways to go about it. A solid-state switch circuit would work.

      If you really are dead-set on building your own radio, I would like to suggest the Elecraft K2 kit (80-10M in stock form, but all sorts of options). However, I think building your own stuff insane when you can buy so much better technology for much less cost (especially in your own time).

    3. Re:parallel vs. serial by buffer-overflowed · · Score: 2, Informative

      Parallel port devices are fairly easy to program and create (I'd have to say THE easiest), most basic linux programming books go into how to do it.

      Considering the simplicity of the circuit to make an LED glow, and the ease of parallel port programming, plus the relative ease of finding information on how to do it I'd have to concur with you.

      Plus the low power consumption would probably mean you could forgo any external power source unless you either wanted it brighter or wanted to light up a bunch of LEDs at once. I'm pretty sure you wouldn't need an external power source at all under most circumstances, but I've been up late and shouldn't be wasting time posting on slashdot.

      I'd think he should start by looking at some of those overclocker parallel port mini-display information, that'll get him started.

      Then just pick up a book on electronics (beginner would do I'd say), the parallel port specification, and some driver knowledge. Boom he's in business. I don't think theres a bit of information you'd need to do this that couldn't be found via google, so let's go for it.

      --
      The key to the enjoyment of pop music is to replace any instance of "love" with "C.H.U.D."
    4. Re:parallel vs. serial by Uller-RM · · Score: 4, Informative

      One thing to remember though is that you're not allowed access to the ports under Win32 NT-family kernels except through a Ring 0 driver. That can get a little ugly.

      Google for "Beyond Logic" and you'll find a site that lays out more info on the legacy ports and on making peripherals for them (and for USB) than you could read in a day.

      (Mind, it's pretty easy to make a serial one too. There's a UART called the CDP6402 that's specifically designed to run without a master uC; just add an osc to get 4x the desired baud rate and use an octal latch to maintain the output with an RC circuit to generate the rcv ack pulse, and you're set.)

    5. Re:parallel vs. serial by buffer-overflowed · · Score: 3, Informative

      I was assuming he was talking about doing it under Linux. NT is a bit different. I always seem to assume people who do this type of thing run Linux (I must read too much Slashdot).

      That's an amazing site by the way, it's right here since you didn't supply the link.

      --
      The key to the enjoyment of pop music is to replace any instance of "love" with "C.H.U.D."
    6. Re:parallel vs. serial by stoborrobots · · Score: 1

      Serial being serial, they only have 1 DATA pin. the other pins are used for control.

      Parallel ports have 8 data out pins, 8 status pins which can be used for data in, and a few (3 IIRC) control pins.

      So Parallel is easier because you don't have to decode the serial data (demultiplexing)

    7. Re:parallel vs. serial by stoborrobots · · Score: 1

      I'm a bit the same, except that I assume either Linux or DOS.

      Good ol' days of debug & mbasic

    8. Re:parallel vs. serial by pirodude · · Score: 4, Informative

      download a set of drivers called "PortTalk", they work very well for allowing programs to access the parallel port under nt/2k/xp and they include quite a bit of sample code for doing it also.

    9. Re:parallel vs. serial by AVee · · Score: 1

      Or you'd plug it into your network an give it a webserver of it's own using this plug.

      Though it might turn out a bit more expensive...

    10. Re:parallel vs. serial by Uller-RM · · Score: 1, Informative

      PortTalk and Port95NT are closed source and produced by a commercial company, whereas there are better libraries such as WinIO that are BSD-license.

      And, you'll find that most of the code out there just blindly writes to the data bus at 0x0378. The more complex stuff, such as scanning the BIOS configuration area for addresses and then doing ECP config register writes for each one, and working with the status/control pins, are a bit beyond the average Perl hack.

      And then, there's the actual art of getting the info you need.

    11. Re:parallel vs. serial by Uller-RM · · Score: 1

      Err... minor correction, PortTalk is opensource. However, it just traps the inport/outport instructions in software written for 9x (which allows direct port writes) and allows it to go through. WinIO allows direct mapping of physical memory addresses and other handy bits... and again, actually doing the port work safely tends to take more precision and robustness that most coders are willing to put into their work.

    12. Re:parallel vs. serial by Gordonjcp · · Score: 4, Informative

      I've actually done this with eight LEDs (four red, four green) and the parallel port on my firewall machine. I did it mostly because it had a cool smoked perspex cover that slides over the drive bays, and the LEDs shining through it looks pretty cool. Especially when you make them flash and do stuff. Have a look at some pics.

      In this case, the LEDs have their anodes connected together, and brought back to the 5v rail, and their cathodes connected to the parallel port pins through 220 ohm resistors. You then bring the appropriate pin low to turn the LED on. There's a good reason for doing it "backwards" - the gates driving the parallel port can sink more current than they can source. That is to say, the transistor pulling the pin to ground is "stronger" than the one pulling it to +5v, so it's more suitable for turning on an LED. You could use two resistors and a small transistor per pin, too. If you like.

    13. Re:parallel vs. serial by archeopterix · · Score: 3, Interesting
      Serial being serial, they only have 1 DATA pin. the other pins are used for control.
      Parallel ports have 8 data out pins, 8 status pins which can be used for data in, and a few (3 IIRC) control pins.
      So Parallel is easier because you don't have to decode the serial data (demultiplexing)
      Yes, serial has only 1 data pin, but nobody said you cannot use control pins, like DTR for transmitting your data. Some cheaper UPSes use that trick to transmit their status back to the PC. Actually I remember a program that let you transmit more than the 115200 bps using the control pins to transmit data between 2 PCs.
    14. Re:parallel vs. serial by Anonymous Coward · · Score: 0

      Serial port is nicer as it has current limiting and some levels of protections i.e. handle a bit of abuse like hot plugging. The drawback is the low # of I/O. Get yourself a basic stamp (do a web search) and you can have fun doing all kinds of stuff from the comfort of a serial port.

      Unlike parallel port, serial port I/O is also well supported by Win32 API. You have to jump through hoops just to get parallel port to work on Win2K and XP due to memory and I/O protection.

    15. Re:parallel vs. serial by Grab · · Score: 3, Insightful

      Yeah, except that using USB requires a processor on the "stone" to handle stuff. Choice for electronics newbie:-

      1) USB interface. Add a microcontroller, learn to program microcontroller (maybe 2-3 months to learn, if you're a competent coder already), get the programming hardware ($20 if you make it yourself, $100 if you buy it), connect LEDs and resistors to microcontroller.

      2) Parallel port interface. Use a wall-wart power supply, connect LEDs and resistors directly to parallel power, all set up in a day at most.

      What would you rather pick? :-)

      Grab.

    16. Re:parallel vs. serial by Grab · · Score: 0, Flamebait

      I have to agree with you. Why the hell was this posted on /. when all the info could be found by Krezel getting off his ass and searching Google?

      At the very least, there are *many* electronics forums around where he could ask the same question and be sure of finding ppl who know about electronics, instead of /. where only a small minority know more about hardware than how to bolt boards together.

      Grab.

    17. Re:parallel vs. serial by harrkev · · Score: 3, Insightful
      Ya know if you were to make it work via USB it coudl grab its power off the bus as well.

      Since the original post mentioned "relays," it is likely to assume that this person is not extremely experienced in do-it-yourself electronics.

      USB is NOT for the faint of heart. While the hardware for USB is easy with some processors from Cypress, the software for USB is quite complex. Using an old-fashioned RS-232 port is easy compared to USB stuff. Definately not for beginners. I have a master's degree in electrical engineering, but I would have problems getting the USB software to work.

      My recomendation: use the parallel port, and create your own D/A converter. You get 8 data bits, plus one or two handshaking bits.

      Assuming that you are only using 8 bits, I would assign 3 to green, 3 to red, and 2 to blue. Then, for each channel (R,G, or B), wire up one bit to the color channel of the LED through a resistor (10 ohms might be a good starting point). The next bit for that color would have double the resistance (20 ohms), and the next bit would have double the last one again (40 ohms).

      One thing to keep in mind with parallel port stuff is that you CANNOT use this method easily with any NT-kernal OS (this may include Win XP) because of the way that the hardware layer is abstracted. This method is guaranteed to work with DOS, Win3.1, Win 9X, and probably Win ME.

      The web is full of information on parallel port interfacing. A control program would be almost trivial to write in C.

      --
      "-1 Troll" is the apparently the same as "-1 I disagree with you."
    18. Re:parallel vs. serial by nate1138 · · Score: 2, Informative

      easy, just hook 4 of the data pins rrom a parallel port to one of these
      16 line decoders and that will give you control of 16 relays. add a second chip to the next 4 pins, and control 32. Once you have it set up, just write the value you want represented (ie, to turn on the first device, write out a 1, second device 2, third device 4, etc etc) out to the port.

      --
      Where's my lobbyist? Right here.
    19. Re:parallel vs. serial by gr8_phk · · Score: 1

      If you need more current, add a logic-level FET (one that can switch with 5V). Connect the source to ground and the gate to the 5V signal from the port. Connect the drain to your high power LED. A 1 high on the gate will turn it on. Use an appropriate current limiting resistor - based on the max current of the diode, as the FET should take more than enough.

    20. Re:parallel vs. serial by birukun · · Score: 1

      Find the local model railroad afficionados - they often have a large example of running relays from serial and parallel ports used to manage switching. Any large installation will have miles of wire with a 486 doing it all.

      --
      Self Defense - A Human Right www.a-human-right.com
    21. Re:parallel vs. serial by CaptCanuk · · Score: 1

      Here's another good reason:
      You'll eventually blow your parallel port if you don't go "backwords". Blow as in it stops working. That's no fun.
      If you want a pretty decent source to all of what was brought up here, go to http://eyetap.org/ece385/lab1.htm. It's a course taught by everyone's favourite cyborg, Steve Mann.

      --
      ---- The geek shall inherit the Earth.
    22. Re:parallel vs. serial by Anonymous Coward · · Score: 0

      Ad 1) USB modules are around $50. If you're a competent coder, learning to program it will take no longer than a week. With hardware like the EzUSB, you don't need programming hardware.

      Been there, done that. Easy as 3.141592653...

    23. Re:parallel vs. serial by MadCow42 · · Score: 4, Informative

      Actually you can get 12 "output" channels out of a parallel interface if you really want to... the 8 data channels, plus the "strobe", "autofeed", "init", and "select-in" channels (pins 1, 14, 16, 17, but 1, 14, and 17 are "inverted" watch out).

      I use the parallel port to drive three stepper motors. Pretty easy to do, and your circuit would be just as easy. You could actually use the same circuit, but simply change the +12V input to the correct voltage, and hook the LED's in where the motor phases would be.

      See my crude circuit diagram here:

      www.lenticularshareware.com/downloads/stepper_circ uit.jpg

      FYI, you can also get 4 "input" channels from the parallel port at the same time, I use them for limit switches to set the position of the steppers to "home". (see diagram)

      MadCow.

      --
      I used to have a sig, but I set it free and it never came back.
    24. Re:parallel vs. serial by Anonymous Coward · · Score: 0

      And next week I'm going to learn how the focus on the blinkety-blank camera lens works!

    25. Re:parallel vs. serial by Gordonjcp · · Score: 1

      It's a cheap and nasty webcam. Don't expect too much of it. Did you want me to break out my Rollei?

    26. Re:parallel vs. serial by Rick+the+Red · · Score: 1

      I would use three bits: One for Green, one for Red, and one for Blue. Then I'd pulse the bits to vary the intensity of each color.

      --
      If all this should have a reason, we would be the last to know.
    27. Re:parallel vs. serial by ncc74656 · · Score: 2, Insightful
      1) USB interface. Add a microcontroller, learn to program microcontroller (maybe 2-3 months to learn, if you're a competent coder already), get the programming hardware ($20 if you make it yourself, $100 if you buy it), connect LEDs and resistors to microcontroller.

      You might want to have a look at this page. In particular, you might find the FT245BM interesting...it supports a "bit-bang" mode that allows you to read/write bits on an 8-bit parallel port. I've designed it into a pan/tilt interface for some security cameras we've obtained that supports up to 8 cameras. That interface uses this chip, a couple of 8-to-1 muxes, and some passive components...no microcontroller is needed. Connecting to the parallel port would still be easier/cheaper/faster, but the hardware and software exist to make USB much less hairy than it initially appears. (Two FT245BMs cost less than $20, shipped from Australia to the US in about a week. There is a distributor in New York, but that company has a $30 minimum order.)

      --
      20 January 2017: the End of an Error.
    28. Re:parallel vs. serial by Anonymous Coward · · Score: 0

      use an optical isolator to prevent parrellel port accidents...NTE makes some great ones.

      pins 2-9 =the 8 control lines(use 1 isolator per)
      pins 18-25 = all ground, use one, any, whocares

      |pin2-9|---------| |-------|led|---ground.
      | |
      =K )
      | |
      |pin18-25|-------| |---100-200k resistor----5v+

      resistor value will vary on the type of led you use, blue, superbright, red,etc.

    29. Re:parallel vs. serial by harrkev · · Score: 1
      I would use three bits: One for Green, one for Red, and one for Blue. Then I'd pulse the bits to vary the intensity of each color.

      This would work fine, but would require your program to be actively working the entire time. If you use your computer for other things, then you LEDs may start flashing. If you are using DOS, or you do not use your computer for other things, then this would be OK.

      By using several bits for each color, you could have your program update the colors every 5 minutes or so -- very light load on the processor.

      --
      "-1 Troll" is the apparently the same as "-1 I disagree with you."
    30. Re:parallel vs. serial by malfunct · · Score: 1

      I'd still rather put in an optical isolator and avoid any direct connection to my computer. Then use some cheap TTL logic gates to turn the LED's on and off. The disadvantage being that the device needs its own power supply but the advantage being that a problem in the circuit couldn't fry your computer.

      --

      "You can now flame me, I am full of love,"

    31. Re:parallel vs. serial by Grab · · Score: 1

      Good point, forgot about those beasties. Thanks for reminding me.

      Grab.

    32. Re:parallel vs. serial by wirelessbuzzers · · Score: 1

      While parallel is easier, it's also not available on a Mac. Dang... so you really do have to use USB there.

      Mike

      --
      I hereby place the above post in the public domain.
    33. Re:parallel vs. serial by Anonymous Coward · · Score: 0

      Just out of curiosity, what do you do with the stepper motors? I've got some stepper motors coming to me in the mail, which I think I'm going to turn into a plotting/routing table but I haven't decided what to do with them (I just got them because they're cool and a bargain)

    34. Re:parallel vs. serial by MadCow42 · · Score: 1

      One setup is for a webcam... pan/tilt (currently packed, I'm moving, otherwise I'd give you a link to move it).

      The other setup is a half-finished robotic arm... this will one day be in front of the webcam, and you'll be able to move shit around on the desk.

      I get bored sometimes... ok? q:]

      MadCow.

      --
      I used to have a sig, but I set it free and it never came back.
    35. Re:parallel vs. serial by DigiWood · · Score: 2, Informative

      Actually a PIC microcontroller is VERY easy to program as you can do it in BASIC. Getting started with them is also VERY inexpensive. You can get the PCBs for a parallel programmer for free off the 'Net and the parts for it from any reputable electronics parts supplier. They also can be powered from the serial port if you want to keep it simple. A PIC can power a number of LEDs with nothing other than a current limiting resister on the ground side of the LED. The PIC microcontroller is about $5-$8 from Reynolds Electronics.

      --


      Nothing is impossible. It just hasn't been figured out yet.
    36. Re:parallel vs. serial by jmrobinson · · Score: 1

      1. Buy an cheap pager and take it apart
      2. remove the LCD and you have your contacts
      3. hook up some type of controller to the contacts for each digit or LCD "section"
      4. connect your LEDs to the controller
      5. plug it in to power
      6. call your pager number...hmmm the possibilities.

    37. Re:parallel vs. serial by licem · · Score: 1

      Step #7 - pay $6000 a month in wireless bills as you ping your pager constantly I don't know about you, but after I got burned on the first month of using GPRS on my laptop because of overage (can you say $200 phone bill) - I'd much rather Ambient give me a flat rate. That said, I'd also like for the the paging service provider to go ahead and give me the service at a flat rate AND sell me the Ambient Orb subsidized so I get it for $50.

    38. Re:parallel vs. serial by jmrobinson · · Score: 1

      I don't know where you get your pager service from, but its about $30 A YEAR here on earth...

    39. Re:parallel vs. serial by Grab · · Score: 1

      PIC-Basic costs a not inconsiderable amount - I'm not aware (correct me if I'm wrong) that there's a free version out there. The only free PIC language is assembly language, via MPLAB or similar free assemblers.

      If you have the facilities to make the PCB yourself, it'll cost a few bucks for the PCB. To buy will cost a LOT more. Then there's parts for it as well. I still say that it's not possible to make the PCB and get all the parts for less than $20, and I know for sure that buying a commercial one like PIC-Start will cost a damn sight more!

      Compare and contrast to the cost of a small wall-wart ($10 at most).

      Grab.

    40. Re:parallel vs. serial by SpaceJunkie · · Score: 1

      Nice - I have been looking for something like that- in the UK there are distributers in Scotland - though I am not sure about pricing. Expect to see an artical on Orion robots on them once I get my grubby hands on it...

      --
      OrionRobots.co.uk - Robots From sol
    41. Re:parallel vs. serial by licem · · Score: 1
      I don't know where you get your pager service from, but its about $30 A YEAR here on earth...

      Check how many often you want this device to update... every 15 minutes? Once an hour? Updates every 15 minutes (certainly the case for stocks during the trading day) is 2,880 msgs a month.

      Skytel's current rates:

      Advanced 1Way 250 Plan - Motorola PF1500 Guaranteed delivery & nationwide coverage 250 messages/month, up to 500 characters each Additional messages $0.25 each
      Service Costs: $14.95 Per Month
      $20.00 Activation Fee
      -- you send 2880 msgs on that plan and it's $657.

      How about a bulk plan you say?

      Advanced 1Way 2500 Plan & Value Bundle - Motorola PF1500 Guaranteed delivery & nationwide coverage 2500 messages/month, up to 500 characters ea Additional messages $0.05 ea. Value bundle: Toll-free Personal Access Number,SkyTalk voice mail (30 mins), Caller ID
      Service Costs: $69.95 Per Month
      $20.00 Activation Fee
      You are paying $70/month for regular updates. Now you could argue that you only need to send updates during the trading day (or whenever the peak hours are for whatever data you are sending to the ambient device) -- but you still see that it's got to be more expensive or at least comparable.
    42. Re:parallel vs. serial by Anonymous Coward · · Score: 0

      Nope, they have free versions of BASIC for PIC, along with a PASCALish language called JAL ..

      But honestly, the PIC ASM is really easy to learn too.

  6. Wanna see? by Evil+Adrian · · Score: 1, Funny

    I've got a webcam, a blacklight, and a whole can of Gold Bond medicated powder if anyone wants to see my glowing cyber-balls...

    --
    evil adrian
    1. Re:Wanna see? by stormraven · · Score: 1

      My glowing cyber balls are bigger than yours!

  7. My balls glow blue by Anonymous Coward · · Score: 0

    yes they do they do!

  8. Nice headline... by Gogl · · Score: 4, Funny

    Looks like we have a new candidate for this old poll.

  9. Do Not Taunt The Happy Fun Ball by Anonymous Coward · · Score: 3, Funny

    Happy Fun Ball
    It's Happy! It's Fun! It's Happy Fun Ball!

    Yes, Happy Fun Ball, the toy sensation that's sweeping the nation. Only $14.95 at particpating stores!

    Get one Today!

    Warning: Pregnant women, the elderly and children under 10 should avoid prolonged exposure to Happy Fun Ball.

    Caution: Happy Fun Ball may suddenly accelerate to dangerous speeds.

    Happy Fun Ball contains a liquid core, which, if exposed due to rupture, should not be touched, inhaled, or looked at.

    Do not use Happy Fun Ball on concrete.
    Discontinue use of Happy Fun Ball if any of the following occurs:

    * Itching
    * Vertigo
    * Dizziness
    * Tingling in extremities
    * Loss of balance or coordination
    * Slurred speech
    * Temporary Blindness
    * Profuse sweating
    * Heart Palpitations

    If Happy Fun Ball begins to smoke, get away immediately. Seek shelter and cover head.

    Happy Fun Ball may stick to certain types of skin.

    When not in use, Happy Fun Ball should be returned to its special container and kept under refrigeration...

    Failure to do so relieves the makers of Happy Fun Ball, Wacky Products Incorporated, and its parent company Global Chemical Unlimited, of any and all liability.

    Ingredients of Happy Fun Ball include an unknown glowing substance which fell to Earth, presumably from outer space.

    Happy Fun Ball has been shipped to our troops in Saudi Arabia and is also being dropped by our warplanes on Iraq.

    Do not taunt Happy Fun Ball.

    Happy Fun Ball comes with a lifetime guarantee.
    Happy Fun Ball: ACCEPT NO SUBSTITUTES!

    1. Re:Do Not Taunt The Happy Fun Ball by vidtek · · Score: 1

      Its Saturday Night Live Starring Happy Fun Ball, musical guest the Glowing Blue Balls 5.

  10. You don't want relays by dozer · · Score: 2, Insightful

    A relay is a mechanical switch. The constant clacking would drive you nuts (though, that would also be a good indication of the activity of your stocks...)

    Google knows all. Click on the first link. Or any of the others.

    1. Re:You don't want relays by markprus · · Score: 4, Informative

      A solid state relay (S101S05v) is not a mechanical switch.

    2. Re:You don't want relays by Anonymous Coward · · Score: 0

      It's also massive overkill for a LED, and you might not even get a minimum hold current going. Why don't you use a hydrogen thyratron while you're at it?
      Geez, does everybody have to use a Pentium IV for a 2N2222's job nowadays?
      That's the only way to justify your expensive university 'edudoctrination' I guess.

  11. More than 8 colors? by diegoq · · Score: 5, Informative

    Don't you want more than 8 colors? If you use relays, you can only turn on or off each of the red/green/blue colors. But if you vary the current through each led, or vary the duty cycle by pulsing the leds quickly, then you can get more colors (like 24 bit color!).

    --
    --Tim
    1. Re:More than 8 colors? by MrEd · · Score: 2, Interesting

      How do LEDs hold up to high frequency PWM? That sounds like a really cool idea.

      --

      Wah!

    2. Re:More than 8 colors? by adri · · Score: 5, Informative

      how high?

      dot-array LED signs are generally built using some form of scanning setup - you enable a row, then shift-on the bits. Then, next row, shift on the bits, etc. Not all the LEDs are on at any given time.

      So you can get away with pulsing them with higher current than they're rated at. Which is a bit of a bugger - if you hit the 'stop' button or the sign crashed, any on LEDs would burn out. I used to work making LED signs for a little while - we had a set of damaged signs to test code on.

      (Which got real expensive when Blue LEDs came out so I _think_ the guys implemented some 'no clock? no driving power!' circuitry in case the testing code crashed.. :)

      (A cute tidbit: our signs had 4-LED RGB elements - one blue, one green, two red. the red leds weren't as bright to the eye, so we needed two of em..)

    3. Re:More than 8 colors? by modecx · · Score: 1

      Most of those little LED flashlights with insane battery life use PWM, or so I hear. I suppose that a LED aught to be pretty resiliant in the 30-60hz range, more than enough for this project.

      --
      Constitutional rights may be respected, repealed, or modified; but they must never be ignored.
    4. Re:More than 8 colors? by panZ · · Score: 2, Informative

      Have you ever seen an apple iBook or Powerbook breathing while its sleeping (LED fading in and out)? That isn't controlled by current limiting, it is pulse width modulation to save battery life (so it can still pluse for a long time even if the main battery is removed). Try moving it around quickly in a dark room and its easy to see.

      --
      --Let's hack root on 127.0.0.1 --panZ
    5. Re:More than 8 colors? by Anonymous Coward · · Score: 1, Informative

      LEDS hold up to fairly high PWM signals. Generally, to save battery power, leds are switched with a 50-50 duty cycle with double the recommended voltage (and therefore more current). This way, you don't loose brightness (double brightness for half of the time is the same as regular brightness all the time)

    6. Re:More than 8 colors? by Anonymous Coward · · Score: 1, Funny

      Move it around quickly in a dark room? Perhaps possible with an iBook, it would be quite entertaining to see attempted with an iMac... :)

    7. Re:More than 8 colors? by Christopher+Thomas · · Score: 1

      How do LEDs hold up to high frequency PWM? That sounds like a really cool idea.

      Frequency limits are not a problem for a device like this (a friend had fun making an RF link between an LED and a photodetector).

      As long as you stay within the rated current limits, you're fine.

    8. Re:More than 8 colors? by Anonymous Coward · · Score: 3, Funny

      Have you ever seen an apple iBook or Powerbook breathing while its sleeping...

      Yeah, i've seen it, AND ITS FUCKING CREEPY!! God, if i had one, i'd have to cut the light out.

    9. Re:More than 8 colors? by Grab · · Score: 1

      Since you'll be controlling this from a serial or parallel port, you can't do really high frequencies - a couple hundred kHz at most. LEDs should handle that just fine. Might be better at lower freqs though (for less noise), given that this will be going outside the case.

      Grab.

    10. Re:More than 8 colors? by lithium100 · · Score: 2, Informative

      A LED is just a diode after all and like all diodes it has a capacitance.

      This is the only thing that will truly limit performance at high frequencies. Eventually, as frequency is increased you will get a low pass filter effect and the led will begin to dim.

      As far as I am aware most LED's have a capacitance of only a few pF so depending on the current rating and duty cycle there should be a half power point well above 10kHz.

      Incidentally, the duty cycle will affect the frequency range. A 50/50 duty cycle or square wave input will have a sinusoidal fundamental at the pulse frequency and a series of harmonics which may be above the half power cutoff of the led. Hence you are effectively putting a sinusoid accross the LED.

      Other duty cycles will have different harmonic content and hence will behave differently near the frequency cutoff. (Do a fourier analysis!)

    11. Re:More than 8 colors? by dattaway · · Score: 1

      LEDs are more efficient at high currents. Also, they are less efficient at higher temperatures. This is why they appear brighter when the same amount of energy is pulsed over the same amount of time.

    12. Re:More than 8 colors? by Thurn+und+Taxis · · Score: 1

      LEDs hold up fine - in my lab, we regularly PWM LEDs at frequencies up to 1 MHz, with currents running to 30 mA (the LEDs can only take about 20 mA DC, but as your duty cycle drops, the max current increases). For this project you'll probably be using lower currents (unless this orb is going to be the only light source in the room), so the LEDs should be fine. You'll probably want buffers between the parallel port and the LEDs, though, because the port probably can't source enough current to drive the LEDs.

      --
      On stereophonic equipment, the monaural sound obtained through multiple channels will enhance your listening pleasure.
    13. Re:More than 8 colors? by Some+Dumbass... · · Score: 1

      But if you vary the current through each led, or vary the duty cycle by pulsing the leds quickly, then you can get more colors (like 24 bit color!)

      24-bit color, 1x1 resolution. :)

      (or is that 1x1x1?)

    14. Re:More than 8 colors? by brakk · · Score: 1

      The serial/parallel port will only be sending a number or other data to tell the circuit what color to make it. The frequencies/pulsewidth/whatever will be controlled by the circuit.

    15. Re:More than 8 colors? by blibbleblobble · · Score: 1

      How do LEDs hold up to high frequency PWM?

      Perfectly.

      That sounds like a really cool idea.

      Why would you want to *reduce* the light output from an LED? They're dim enough to start with. Turn more of them on when you want more light -- 4 LEDs per colour gives 4 brighness levels, which should be good enough

      Driving them? It'll probably work best with a serial port and a PIC controller, because:
      (a) There's loads of information on PICs/Serial around
      (b) You only need 3 wires
      (c) You can still connect a printer
      (d) It's easier to drive from your PC

    16. Re:More than 8 colors? by pivo · · Score: 1

      I don't care about colors, I want text! The perfect device would be The Info Globe if it could be controlled by acomputer. Sadly, it can't. I don't know what the people's problem is, they really missed the boat.

    17. Re:More than 8 colors? by Whomp-Ass · · Score: 1

      Alternativly a full-color led could be used, making the color change to suite your mood...

      (http://www.nichia.co.jp/product/lamp-fullcolor. ht ml)

    18. Re:More than 8 colors? by ShawnD · · Score: 1

      I remember a parallel port driving LEDs fine without buffering. Of course that was on an old 386 and it wouldn;t surprise me if they are now using 4mA drivers instead of 24mA. 4mA won't give you much light. Most LEDs look good with between 10-20mA.

      The buffer also gives the PC more protection against screw ups.

      .
    19. Re:More than 8 colors? by Grab · · Score: 1

      You could if you wanted, but that'd take many more components - the least-component solution would be to use a microcontroller, and then you've got all the cost of programmer hardware and the time to learn how to use the microcontroller. A parallel port can control the LEDs directly, at the cost of using processor resources to keep updating the LEDs.

      Grab.

  12. Better Investment by limekiller4 · · Score: 4, Funny

    Karma be damned, this is easily one of the dumbest things I have ever seen. It's a ball. That glows. The glow shifts, for example, on the rise or fall of the stock market.

    Cliff, give me $200 dollars. You can call me whenever you want. Sometimes I'll hum. Sometimes I'll hum louder.

    --
    My .02,
    Limekiller
    1. Re:Better Investment by smylie · · Score: 3, Insightful

      If you read the post, you'll see the whole point of this was to avoid spending the $200.
      Instead he wants to spend a few dollars on LEDs and a few more on resin and cables. I'd imagine this costing somewhere less than $30.

      Now if you were offering to be a hummer for $29.99, that would be a different story . . .

    2. Re:Better Investment by LupusUF · · Score: 1

      How about a bidding war? I'll not only provide that service for 15 bucks, I'll sing instead of just humming. Wait...that will be doing the opposite of providing a service...maybe I should just offer to hum for 10 bucks. Screw originality.

    3. Re:Better Investment by Anonymous Coward · · Score: 0
      Now if you were offering to be a hummer for $29.99, that would be a different story...

      At my particular locality, "hummer" is a term used to refer to a certain kind of sex toy.

      Let's just note that $30 is expensive for the item, but very cheap for the personal service.


    4. Re:Better Investment by unitron · · Score: 3, Funny
      "Now if you were offering to be a hummer for $29.99, that would be a different story . . ."

      Jeez, and I thought that the glowing balls would be the near-irresistable straight line.

      --

      I see even classic Slashdot is now pretty much unusable on dial up anymore.

    5. Re:Better Investment by limekiller4 · · Score: 1

      smylie writes:
      "If you read the post, you'll see the whole point of this was to avoid spending the $200.

      No, I actually read the whole thing, first. In fact the reason I read the whole thing is because I was fully expecting the joke to be exposed at any moment with a "just kidding" someplace.

      It never came.

      It's a dumb idea, period. If you handed me one it would be circular-filed the second you got out of earshot. Why you'd want to spend $5 to obtain one -- much less $200 -- is beyond me.

      --
      My .02,
      Limekiller
    6. Re:Better Investment by smylie · · Score: 1

      it has about the same point as any kind of LED display, or even /var/log/messages being tailed to a spare console - its an easy way to see at a glance just whats going on for those not permanently attached to a computer.
      Hooking it up to a stock portfolio might be dumb, but you could have it doing any one of a number of things. One that springs to mind is scanning your inbox and alerting you to particulalry important emails etc etc.

      I fully agree that spending $200 on one of these is a stupid waste of money for anyone not earning fuck-off money, and I'd even go so far as to agree its not incredibly practical or useful. But if I could make one at a low cost, if would be pretty cool for the geek-factor alone

    7. Re:Better Investment by Revvy · · Score: 1

      ...yet the guy who invented that is probably lounging on his own island right now.
      So now tell me what's dumb.


      How about giving it a buzzword-laden plug [no reg!*] in the Pre-Christmas Sunday Edition Special Section Year In Ideas 2002 [no reg!*] and then trying to charge *$2.95 for access to it a year later?

      This little siggy stayed home.

    8. Re:Better Investment by po8 · · Score: 1

      It's a ball. That glows. The glow shifts, for example, on the rise or fall of the stock market.

      A recent Firesign Theatre album, Boom Dot Bust, has a great bit about a "smart home" whose interior decoration and furnishings change to match the value of the owner's stock portfolio. As the stock bubble comes crashing down (this is a 1999 album, BTW), the house rapidly transforms, with hilarious consequences.

      Now that's glowing cyber-balls.

    9. Re:Better Investment by dubl-u · · Score: 4, Insightful

      There are a ton of uses for it.

      Note that people happily pay $30-50 for a little blinking light that tells them when they have voicemail. They'll pay a lot more than that for extra gauges on a car dash. And companies have paid millions for fancy "war room" conference rooms that continuously display important business data.

      The basic prinicple is that people have to deal with a lot of invisible data, and if you can make it visible, it's easier for people to manage. Take a look, for example, at the many designs for in-house power meters. The idea is that if people have a better idea of how much electricity they're using, they'll waste less of it.

      Personally, I would be tempted to hook it up so that it went slowly from green to red whenever I got behind on my email, a visible reminder of the people I'm ignoring when I get absorbed in a project. Or since I'm a freelancer, it'd be interesting to hook it up to a moving average of billable hours, so that I have a quick objective reference to check when I wonder whether a sunny day is better spent biking than coding.

      Or at a company, I'd love to set it up so that it got redder and redder when people put in too much overtime on a project. Or you could hook it up so that it responded to an anonymous web poll on morale. And then perhaps another one tied to the number of open bugs. Or perhaps percentage of code covered by test suites.

      I'd agree that $200 is too steep. But for $50, I could find a lot of uses for these!

    10. Re:Better Investment by jkrise · · Score: 1

      The point of this article was (despite the colorful spherical literature), if I may rephrase it:
      How to program serial, parallel and USB ports under DOS, Windows and Linux?
      With DOS, I remember BASIC was free and gave direct access to the ports.
      With Windows, Billy decided we should pay $200 for Visual Basic... maybe theyse days $600 for Visual Studio.NEt to program a simple serial port.
      With Linux??? I'm not sure, but I'd like to know...

      --
      If you keep throwing chairs, one day you'll break windows....
    11. Re:Better Investment by Anonymous Coward · · Score: 0

      Cliff, give me $200 dollars. You can call me whenever you want. Sometimes I'll hum. Sometimes I'll hum louder.

      Isn't $200 a bit steep for a hummer?

    12. Re:Better Investment by metlin · · Score: 1

      Track how full your hard drive is, traffic on your website, Slashdot posts, or your credit-card debt.

      Right. Now if I gave you $200, would you be kinda enough to hum a few sample Slashdot posts? I would appreciate it it you would start from a threshold of -1. Now *that* is something I'd pay for! :-p

      Gee, a glowing ball that tell you about Slashdot posts? How very interesting :-p

    13. Re:Better Investment by thogard · · Score: 1

      I've got a 4 line vacuum fluorescent display that was intended for a cash register display. I've got a ethernet to serial device and a program that puts useful info on the display. One of these would be useful if it was powered over the ethernet and only cost $25.

    14. Re:Better Investment by smylie · · Score: 1

      what software are you using to control this? I have something similar, but have not been able to find anything able to do anything with it . . .

    15. Re:Better Investment by Anonymous Coward · · Score: 0

      There's this thing called perl on my computer... I've got a script reads data from different sources and then formats that data into ansi escape sequences that the display understands (basicly home and clear screen) and then I send that data out out a telnet net like connect via netcat

    16. Re:Better Investment by Grab · · Score: 4, Interesting

      Win 9x has direct access to the ports. Win NT/XP needs you to go via the device drivers, but it's not a difficult problem - plenty of info for how to do it.

      Beyond Logic
      Parallel Port Central

      Both the above have a bunch of useful stuff.

      Also don't forget that you'll need to learn how to drive LEDs. I'm admin on an electronics board, so here's a blatant plug:-

      BasicElectronics board, LED FAQ

      (and kudos to David Bridgen and MacGregor who put that info together :-)

      Grab.

    17. Re:Better Investment by commodoresloat · · Score: 0
      If you read the post, you'll see the whole point of this was to avoid spending the $200.

      If he can't afford 200 bucks, why does he want to watch stocks go up and down?

    18. Re:Better Investment by licem · · Score: 1
      Since you mention energy, I was reading over at somebody's fan site for Ambient Orbs that there was actually some work done somehow related to Ambient Devices on Ambient Displays for Electricity Usage

      Judging by all the talk about "hand-blown french glass" over at Ambient my guess is the $200 comes from the materials used, plus the cost for the wireless. I'd imagine a small plastic one sold at Compusa could go for $50, but of course it would look like a $50 item.

    19. Re:Better Investment by dubl-u · · Score: 1

      When I mentioned this doodad to my girlfriend, she said that it would be neat to feed it data based on a woman's ovulatory cycle. She imagined it would be useful for couples trying to conceive. And it turns are already web sites where those of us who have them can track their periods, so adding an Ambient Orb interface would be easy.

      Of course, my immediate thought was, "Sweet! A PMS meter! My own personal color-coded terror warning!"

    20. Re:Better Investment by licem · · Score: 1
      Seems like a pretty clean proposition to me... do you have information that you think is valuable (network security, blog traffic, your mother's ovulation cycle) and do you want to be able to monitor it at a glance, even when away from your PC.

      Stocks might be the dumbest thing I've every heard of, especially considering your likely to burn out the red LEDs rather quickly... but I wouldn't mind plugging the thing in my living room and getting a update on how my server is doing (which is in my basement).

      I could spend a few weeks on learning LED color mixing, as discussed here, ordering and building a wi-fi version, and finding a glass ball or other housing for it from Ikea or whatever.. but that sounds like at least a couple hundred in developer kits alone. Now buying it and cracking it open to take a look, that's another thing -- wonder if they'd have a TIVO-like at least hands-off approach to tapping it into tcp/ip or inputs.

      $300 sounds like a bit much (their starting price) -- $200 sounds reasonable but you better have info on it you care about -- $100 get's into the general market -- $50 I buy it for the "pretty lights connected to the web!" factor

  13. What about... by Spytap · · Score: 1, Funny

    Hook up a couple thousand and making the best_disco_ball_ever!!! ...or not.

    Or Use them as a product indicator to turn green when Microsoft finally makes a product worth paying 400 freakin dollars for? ...nevermind the bitterness ;)

  14. I have no good ideas by roystgnr · · Score: 3, Informative

    I just wanted to congratulate you for getting the phrase "glowing cyber-balls" on the front page of Slashdot!

    When I was looking for computer->analog control chips a few years ago, the best methods I could find were:

    Build (or buy) a serial->I2C or parallel->I2C converter; you can get D/A chips with I2C interfaces pretty cheaply.

    Use a PIC microcontroller, which gives you serial and analog I/O built in.

    1. Re:I have no good ideas by Anonymous Coward · · Score: 0

      I have a good idea. in fact i've been toying with this same exact idea for the past week or two.

      Design-wise:
      1) I'd much rather use an ethernet interface for mine, so that i could put it somewhere away from my computer, say my living room
      2) Use a cheap microcontroller, assuming you have time to learn assembly (which is what i'm learning for a motorola chip now). I'm planning to use a motorola 68hc12 or something. I may end up using a PIC microcontroller. There's already sample code for using ethernet with a PIC via a google search.
      3) The hardest part imho would be knowing how to wire up everything together, and it might involve some kind of separate driver to switch between led's, but this is complex for me since i have a different led setup.
      4) led setup - the superbright led is cool, but i thought why not use a spherical array of leds that could also be capable of doing other visual effects for music and such? I'm saying use about 3-4 colors, figure out a pattern that'll fit in a sphere-like shape, and repeat.
      5)make this sphere-like array of led's far enough from the actual surface of the "orb" so that it has a bit of a diffraction through the glass/plastic.

      i dunno, these are just some of my design ideas that i wanted to share. i guess it makes the whole project too complex, but i think it'd have a more useful and cooler result.

    2. Re:I have no good ideas by Anonymous Coward · · Score: 0

      Analog??? Why?

      the best way to very brightness on an LED is PWM or pulse Width Modulation.

      then you can have rs232 in to funky-color out.

      a 16f84 would do this very easily, and writing the program would be OK in assembler, decent in C and brain-dead in Picbasic pro.

      Keep analog out of it... analog is for lightbulbs not solid state.

    3. Re:I have no good ideas by Anonymous Coward · · Score: 0

      I would suggest one of the AVR chips. Get something like a Mega8 and maybe some driver chips. It somes with a uart and lots of IO you could do all sorts of fun stuff.

  15. well... by Anonymous Coward · · Score: 0

    if u would just stop sticking them in the microwave... that also might help your fertility problem dont-cha-know

  16. That's missing a key point... by eric434 · · Score: 5, Informative

    the Ambient Orb runs off a wireless network... no computer needed, and you can control it from anywhere in the world (theoretically). To manage that, you'd have to build an 802.11b -> relay interface, at least - if not a cellular one.

    Now, assuming you don't want to muck about with that (and who does), your best bet would be to not use relays in the first place - they're loud, slow, and not gradual. Use a Basic Stamp from Parallax and write some code to output a PWM (Pulse Width Modulated) voltage to three different pins - one for each color. (Chances are you'll be using either one 4-pin, 3 color LED or 3 leds (red, green, blue). Infrared or UV leds could be interesting, but aren't recommended...) Then you can either leave the BASIC stamp connected to your serial port and controlled via DEBUG or SERIN (IIRC) commands from your host computer (and write some corresponding code for the host), or you can leave it standing alone and interface to it using any one of the who-knows-how-many add-on boards Parallax sells. (you might want to check out the Communications page - that modem looks like a good thing to try)

    --
    This .sig temporary until a better .sig can be constructed.
    1. Re:That's missing a key point... by spongman · · Score: 5, Informative
      alternatively, scrounge some simple electronics components (bread board, power supply), build yourself an oscilloscope, get an Atmel AVR microcontroller, connect it to your computer using a parallel port interface, compile code with GCC and upload it to your device.

      Note: some assembly required, batteries not included.

    2. Re:That's missing a key point... by cybermace5 · · Score: 5, Informative

      Don't use a Basic Stamp. They're overpriced and low on performance. The interpreter really takes the zing out of the microcontroller...say, in a similar way that certain OS's can change the operation of your desktop computer....

      Really, you can get a small PIC (since that's where most of the hobbyist development resources are right now) in a 16-or so pin package you can toss on a Rat Shack breadboard. Get one with an onboard UART and life gets even simpler. The next step is to write code to take a string of values, and PWM a few pins according the the values. After that, everything depends on the computer side.

      My room at school had indicator LEDs (one mounted in the door peephole - go figure) for new email, and a robotic webcam running off a 486 webserver.

      If you want to get fancy, use USB.

      I have a PIC board (way overspecced for this application, of course) and two USB boards on my desk right now, that could do the task with an hour of coding and soldering a few LEDs.

      --
      ...
    3. Re:That's missing a key point... by arubis · · Score: 1

      Atmels rock, but just be warned that the docs for AVR-LIBC aren't terribly accurate, nor are they complete. I've had no major issues with the hardware (the STK500 is a beautiful piece of equipment for prototyping, damn the cost!), but it'd be nice if the open source AVR library folks would make sure their docs and their codebase corresponded.

    4. Re:That's missing a key point... by jkrise · · Score: 2, Informative

      I'm reminded of my college days when we had a lab class on 'Traffic Light Simulation' using LEDs connected to the Intel 8255 PPI chip. (Programmable Peripheral Interface, I guess).

      This chip has 3 ports of 8-bit and by writing a combn of bits, you could control the output. I also remember one of the ports supported a bit-set-reset capability. This simple chip (should cost about $5, no more) would be more than enough for the project at hand.

      The chip is a part of Standard Microprocessor kits (about $30 I guess) which could be programmed with assembly lang. There are also interfaces to this chip from the PC's serial port. As for software, DOS is more than adequate, in fact it's recommended for projects like these.

      Good Luck.

      --
      If you keep throwing chairs, one day you'll break windows....
    5. Re:That's missing a key point... by wdr1 · · Score: 1

      I looked around the Parallax web site, but wasn't sure which Basic Stamp item/set to get. For one who could handle to programming, but doesn't know much about the EE side, what would you recommend?

      -Bill

      --
      SlashSig Karma: Excellent (mostly affected by moderatio
    6. Re:That's missing a key point... by feagle814 · · Score: 1

      Go for the Basic Stamp I - it's the cheapest and smallest; grab a starter kit if it's your first; subsequent ones only need another BS1-IC. If you want it wireless, you can find 433MHz low-power unlicensed transmitters and receivers for about $10 each by the model numbers TX433 and RX433 - you'll need to experiment with serial settings to get this to work.

    7. Re:That's missing a key point... by DarkZero · · Score: 2, Insightful

      That's missing a key point... the Ambient Orb runs off a wireless network... no computer needed, and you can control it from anywhere in the world (theoretically). To manage that, you'd have to build an 802.11b -> relay interface, at least - if not a cellular one.

      If you already have a computer, the wireless network aspect of this seems completely pointless. The damn thing already needs to be plugged into the wall, so is it really that big a deal if it also has to be plugged into the ethernet/serial/parallel port about a foot away from the electrical socket? It's not like it's a battery operated cloak hooked into the signal from the Atomic Clock or some sort of little wireless communication device like a Hiptop. It's already anchored, so adding another anchor isn't going to make it any less mobile.

    8. Re:That's missing a key point... by Anonymous Coward · · Score: 0

      Wireless? That brings up some scary thoughts.
      What if your balls were hacked by wardrivers?? That could really kill your reputation.

      Seriously, it's still just an expensive toy. The original poster was right on that accord that you can make "similar effect" with fraction of the price.

      I'd still go for bigbrother/bigsister/whatever monitoring software instead of few blinkenlights. Few LEDs could make a nice addition to BB, though.

    9. Re:That's missing a key point... by MulluskO · · Score: 1

      This is where a lot of my project ideas fall apart before they get started.

      I'm never sure how to interact with my PC.

      Maybe you have some links to Parallel / Serial / USB devices that plug into the PC and possibly also some links to tutorials for coding for these devices?

      --

      Too busy staying alive... ~ R.A.
    10. Re:That's missing a key point... by 0x0d0a · · Score: 1

      Note: some assembly required...

      I don't know if that was deliberate, but it's funny to see "assembly required" in reference to a microcontroller. :-)

    11. Re:That's missing a key point... by Jeff+DeMaagd · · Score: 1

      I really don't see much of a point in a wireless ball if you still need power cords to keep it running.

      As for the relay part, I agree. It sounds to me like a person with just enough pertainant knowledge to be dangerous but not enough knowledge to be useful.

    12. Re:That's missing a key point... by eric434 · · Score: 2, Informative

      Well, BASIC stamps may be overpriced and underperforming, but it's not like we're going to be coding an autonomous robot with target aquisition and image recognition here! BASIC stamps, IMHO, are a lot easier to learn to code for; it's a BASIC variant as opposed to an assembly one... in this case, where the original poster wanted something simple and easy, a BASIC stamp fits the bill quite nicely IMHO, even if it does cost a few bucks...

      --
      This .sig temporary until a better .sig can be constructed.
    13. Re:That's missing a key point... by cybermace5 · · Score: 2, Insightful

      $5 or less plus a handful of components vs. $50-$70 for something slower and not as flexible....

      I'd like to stay on the cheaper side.

      --
      ...
    14. Re:That's missing a key point... by blibbleblobble · · Score: 1

      "BASIC stamps, IMHO, are a lot easier to learn to code for."

      Err, anyone who knows enough electronics to consider attaching lights to their serial port already knows how to program in assembler.

      BASIC has it's places, but embedded systems is not one of them.

    15. Re:That's missing a key point... by localghost · · Score: 1

      It's can't be 802.11b if no access point is required. My guess would be that it uses low frequency radio. I've got a clock that uses that to get the time from NIST. You could build a radio controlled ball. Home-built radios are a lot more popular than home-built serial crap, so the materials would be easier to find. (It is Radio Shack, after all) It can't be too diffiult to find a commercial radio transmitter that goes into a serial or usb port, and that would probably be a lot easier to program. Plus it would most likely have a longer range than 802.11b, and would definitely be preferable to a wired connection. Using 802.11b for something like this is pointless, since the throughput you actually need would be about 1 bps.

  17. Blue Balls by l810c · · Score: 0, Troll

    Mine glow Blue when they lack a certain something...

    1. Re:Blue Balls by Anonymous Coward · · Score: 0

      Heat, perhaps?

  18. This has been done many times before. by Chris_Stankowitz · · Score: 0, Troll

    My "Friend" had his done in Tiawana for 20$. He swears if he ever find that girl she will pay!! but I digress...I mean my "friend"....

  19. Why Slashdot...? by XplosiveX · · Score: 0

    I thought ThinkGeek was a close partner to Slashdot. Why would Slashdot encourage people to make one of those glow-balls and don't tell me that you can't come up with $200.

    1. Re:Why Slashdot...? by eno2001 · · Score: 1

      One reason to encourage people to build these is just the sheer fun of it. There is so much more of a thrill that you get when you make something yourself compared to just buying it prefab.

      And the other reason is to save $200 minus the cost of the materials. While YOU may be able to throw away $200 on something like this, not everyone can. $200 is a sizable amount for some of us. That's a good chunk of my car payment...

      --
      -"...bad old ideas look confusingly fresh when they are packaged as technology" - Jaron Lanier (Digital Maoism on Edge.o
  20. Easy! Don't use Serial! by Packets · · Score: 1

    The easy thing to to is to use the parallel port.

    You can easily control 16+ LEDS using the parallel port and a couple of transistors.

    It'd be far more expensive to use the serial port because you'd have to use an RS-232 tranciever. Using the parallel port you can just light up a couple pins, and depending on what pins are high/low, you light particular LEDs.

    Go get a book on electronics, I'm sure there are many good ones with simple examples that'll do what you want.

    --
    A little overkill never hurt anybody.
  21. xmms plugins as a start by Space · · Score: 2, Informative

    several plugins for XMMS may get you started. They have plans for the hardware to connect a parallel port to leds, stepper motors, whatever.

    --
    I Don't Work Here
  22. Or... by PHoliday · · Score: 1

    ...you could spend the hours you'd otherwise be researching, building, testing, and marveling at your balls *snicker*, and work. At a job. For money. Then buy the real thing. And have some cash left over...

    ...presumably to spend on refreshments when all the ladies come over to look at your, umm, "glowing balls".

    1. Re:Or... by Anonymous Coward · · Score: 0

      umm, many importnant skills can be learned by DIYselfing a project yourself instead of going out to the store and buying it.

      I got intersted in audio and computer-interfaced electronics like this many years ago, and the intests in those has led me into choosing engineering as a career. Who knows what would have happened if i simply bought the item from the store.

      When i graduate, i'll certainly make a lot more money than if i stuck with a minimum wage job.

  23. I need one... by wikkiewikkie · · Score: 5, Funny

    So I can easily keep track of the ever-changing terrorism threat level.

    1. Re:I need one... by MrEd · · Score: 1
      Soon it'll will go plaid...


      (No, I'm not kidding. The pentagon wants to raise the threat level to 'red' but financial advisers say that'll spook the stock market. So, prepare for new terrorism-threat-o-meter levels in the spirit of 'market corrections' and 'negative growth'. Euphamitastic.)

      --

      Wah!

    2. Re:I need one... by Nathdot · · Score: 1

      Okay it's glowing red...
      now it's glowing REDDER...
      REDDER again....
      somehow even MORE RED...
      *president addresses nation*
      so GODDAMN RED that it can only be viewed with eclipse-style pin-hole camera

    3. Re:I need one... by Anonymous Coward · · Score: 0

      Bin Laden ate my froot loops!

    4. Re:I need one... by jkrise · · Score: 1

      Pretty soon, you can subscribe to the .Net Terrorism Color Service to know how afraid you should be. And then, if Code Red III broke out.....

      --
      If you keep throwing chairs, one day you'll break windows....
    5. Re:I need one... by jkrise · · Score: 2, Funny

      Hey! how about a Terrorism Color Meter at MSN or hotmail? Getting refershed hourly would be nice. And the color could vary depending on geographical location, religion, diet preferences, hairstyle etc etc.

      Pentagon: The New Terrorism Color is InfraRed! You can't see the color, and we can't see the terror.

      --
      If you keep throwing chairs, one day you'll break windows....
    6. Re:I need one... by goetz · · Score: 1
      Boy your ball is getting a little overly fired up over the prospect of war ...

      Bring in the Vapochill system, NOW!!

    7. Re:I need one... by Schwuk · · Score: 1

      There's a PerlTray sample in the ActiveState Perl Dev Kit 5.0 that pulls the current threat level from the Homeland Security webpage. Cute, but Windows only though...

      --
      How much wood would a woodchuck chuck if a woodchuck could chuck wood?
    8. Re:I need one... by nytes · · Score: 1

      You could do that. The good thing is you would need to buy any green leds.

      --
      -- I have monkeys in my pants.
    9. Re:I need one... by SuperLiquidSex · · Score: 1

      I LOVE that line, I almost fell out of my damn seat laughing.

      --
      Oops....you'll know what I'm talkin about in a bit.
    10. Re:I need one... by Anonymous Coward · · Score: 0

      Just buy a red LED and hook it into an uninterupted power supply.

  24. I got your code covered: by Ayanami+Rei · · Score: 1

    http://www.grinta.net/doc/phrack.html

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  25. Terrorst Threat Level by HalB · · Score: 2, Interesting

    The natural target application: hook this up to correspond to the Terrorist Threat Level as published by the US.

    1. Re:Terrorst Threat Level by Anonymous Coward · · Score: 0

      ...yes. that would be funky. it's changing all the time.

    2. Re:Terrorst Threat Level by kyoorius · · Score: 2, Funny

      That application would be much simpler than the glowing orb.

      All you would need are 2 LED's that alternately blink yellow and orange.

  26. Reminds me of an old Onion photo-opinion... by ChicagoFan · · Score: 1
    Back in the days when the Onion still had the older six pictures for their "What Do You Think?" feature, they asked about Michael Jordan leaving the NBA to play baseball. One of the six folks replied,

    "Going from large orange balls to small white ones will be pretty strange. But enough about my problems. What was the question?"

    ChicagoFan

    1. Re:Reminds me of an old Onion photo-opinion... by Anonymous Coward · · Score: 0

      those never went away

  27. Re:this looks familiar... by Anonymous Coward · · Score: 0

    You dumbass, that's linked to in the story.

  28. Microcontrollers by HappyOscar · · Score: 1

    Definitely the way to go with this. You'll probably want to go with ones with a USART (for a serial connection) and output data to some PWMs (pulse width modulators) to control the brightness. You don't need relays. My recommendation would be to start with the Atmel AVR... it has one of the nicest instruction sets I've seen in a microcontroller, it's cheap, it's fast, and you can get them with HUGE amounts of prgram memory (up to 128K).

    --
    "Your mouse has been moved. Windows 95 must be restarted for the change to take effect."
    1. Re:Microcontrollers by cybermace5 · · Score: 1

      seen in a microcontroller, it's cheap, it's fast, and you can get them with HUGE amounts of prgram memory (up to 128K).

      Which in this case, he absolutely does not need. AVR is horrible overkill for this. I'd be looking for a 16 or even 8-pin PIC or Motorola HC08.

      --
      ...
    2. Re:Microcontrollers by Anonymous Coward · · Score: 0

      The AVR lineup includes the AT90S1200 with 32 registers, 64 bytes EEPROM, 12MHz instruction clock, 12 IO/s... and not much else. Perfect for this task.

      Complete with piles of Linux based development software, or a pretty nifty Windows based assembler/simulator package.

    3. Re:Microcontrollers by HappyOscar · · Score: 1

      Well, yes. Perhaps I got carried away... I was, er, evangelizing the potential of the AVR for great things. :-)

      On the other hand, Atmel does make very small scale AVRs. And the instruction set is still nicer... I have nightmares about PIC code (though it's still better than CISC).

      --
      "Your mouse has been moved. Windows 95 must be restarted for the change to take effect."
    4. Re:Microcontrollers by wirelessbuzzers · · Score: 1

      I have nightmares about PIC code (though it's still better than CISC).

      LOL. see my earlier post on the subject.

      --
      I hereby place the above post in the public domain.
    5. Re:Microcontrollers by Anonymous Coward · · Score: 0

      and how much does the development kit for the microcontroler cost?

      All of the software can be handeled by the computer, just send out the signal for each LED through the parallel port and buffer them/optoisolate a seperate power supply.

      $5 in parts versus $50+ $$$ for a development kit

  29. I got one! by teamhasnoi · · Score: 1
    I had it tuned to channel "Does U.S policy piss off the world?" and it broke.

    It does look like a fun toy, but not for two bills. For that amount, it should come with a cyber wiener that glows when chicks that are into linux are near.

    Hotcakes, I tell ya!

    1. Re:I got one! by jamesangel · · Score: 2, Funny
      It does look like a fun toy, but not for two bills. For that amount, it should come with a cyber wiener that glows when chicks that are into linux are near.

      I think you will find a normal wiener functions just as well for this.

  30. Similar to a project a friend's building... by SerialHistorian · · Score: 1

    A buddy of mine is building an automatic alcohol dispenser that's controlled via a paralell port and relays. Here's his schematics section.

    --

    --
    Vote for your hopes, not for your fears - Vote Third Party

  31. Well that's spiffy... by Anonymous Coward · · Score: 0

    I've submitted some well thought out questions about using UML...useful stuff for geeks, ya know? They get rejected so that some moron who's too lazy to go to the library and pick up a basic EE book can get foolish crap like this submitted. I swore I would never complain despite all the dupes and dumb questions, but this is just too much.

  32. Re:this looks familiar... by trmj · · Score: 1

    guess who didn't click the links?

    a cookie to who figures it out.

    --
    Work sucked, until it became unemployment, when it became slightly more tolerable. -Tet
  33. Re:this looks familiar... by Anonymous Coward · · Score: 0

    Maybe that's why it's familiar... my new favorite thread lol

  34. biggest waste of money by Anonymous Coward · · Score: 0

    if he uses bluetooth for this. :D

  35. Re:this looks familiar... by Anonymous Coward · · Score: 0

    ermmm... ahhh... mmmmm..... Ill take a 50/50 on that please, Regis :)

  36. PWM by sodergren · · Score: 1

    Relays won't give you much range.

    Assuming 3 LED colors (RGB), best bet would be a 3-channel PWM driver- this could be implemented in a microcontroller such as a PIC, which could also handle the serial side of things. PWM will allow control of brightness in each LED.

    An alternate method would be three D->A converters with current outputs, but the PWM method would probably be easier.

  37. Shove a sword up my butt by Anonymous Coward · · Score: 0

    You heard me. And while you're at it, throw a discus at my dick, like Plato used to.

    Important Stuff:
    Please try to keep posts on topic.
    Try to reply to other people's comments instead of starting new threads.
    Read other people's messages before posting your own to avoid simply duplicating what has already been said.
    Use a clear subject that describes what your message is about.
    Offtopic, Inflammatory, Inappropriate, Illegal, or Offensive comments might be moderated. (You can read everything, even moderated posts, by adjusting your threshold on the User Preferences Page)
    If you want replies to your comments sent to you, consider logging in or creating an account.

  38. Some simple accessible plans by hotair · · Score: 1

    The Stiquito book and this site offer plans for converting a parallel port output to useful digital signals for driving actuators including relays and muscle wire.
    Or you can just find some similar plans using a ULN2803 chip (including how to use it to switch LED's) online(PDF) I like your idea. If I get time, I may build one and mail you the plans.

    1. Re:Some simple accessible plans by vlchung · · Score: 3, Informative

      I've used something like this as well, except to drive relays that drive reset buttons on a series of machines at uni.

      I agree with hotair's use of the ULN2803 chip; however, I think you need a 74HC373 octal latch. Basically when you send a byte to the printer, you need the latch to "catch" the byte and hold it after the signal goes away. The latch is controlled by 1 of the printer control lines that goes low when the data on the bus is valid (I think it is the STROBE pin).

      If you want more than 8 leds, you could probably use a 74hc138 (3 to 8 demultiplexer) to control a bank of latches, but that would require alot more thinking on my part, so I'm leaving it with you.

    2. Re:Some simple accessible plans by hotair · · Score: 1

      Sure, a latch makes sense. With a line driver and a latch, it should be pretty straight forward to send a stream of bytes to the parallel port to achieve various combinations of glowing LED's. I'm curious. Would you roll your own driver as the Stiquito folks do, or just pretend the glow ball was a line printer? I'd like to think it would be easy to make the line driver circuit emulate a tty printer. Then you could simply write a program that wrote characters to the printer port/device?

    3. Re:Some simple accessible plans by vlchung · · Score: 1

      I would probably use a variant of the code that I use at the moment, which is something along the lines of:

      ioperm(0x378, 1,1);
      outb(byte, 0x378);

      The problem with treating it as a line printer is all the extraneous characters that might be generated, such as "\n" or "\r" s. Although I'm sure there is a way around that problem (I just don't have any experience in printcappy things).

    4. Re:Some simple accessible plans by harryk · · Score: 1

      I'm looking at running a few LEDs, either same color to inidicate a single reason (red = I'm on the phone) or possibly multi color to indicate various reasons. I was looking at parallel only because of the recommendations. In just a hardware manner, I could use a toggle switch and a wire, but I want to run a daemon that looks wether the I'm on the phone or not (interface with other software) and then light up LEDs accordingly.

      Any suggestions

      --
      think before you write, it'll save me moderator points.
    5. Re:Some simple accessible plans by vlchung · · Score: 1

      If you're planning to run it as a daemon (with the implication that you're running it as root), then my code suggestion will work just fine.

      ioperm(0x378, 1,1);
      outb(byte, 0x378);

      Substitute 0x378 with the address that your printer port resides at, the variable byte is used to refer to the output you intend to send to the printer port.

      The design that we are advocating would work just fine. The 8 data bits from the printer port goes into the latch, whose latching action (the output of the latch stays the same irrespective of the input) controlled by the STROBE pin of the printer port. The latch's output in turn controls the ULN-driver chip, whose output lines are connected directly to your LEDS. If you need to control a multicolour led (I'm assuming these work by having a common ground terminal and multiple input pins) then you can just wire another bit to the same LED (but different colour). This would allow you to control a total of 8 single colour LEDS. For example, sending 128 down the line would light up the last LED, 64 the second last etc.

      My side comment was to use 3 of the 8 data pins to control a chip that accepts a 3-bit binary number, and uses them to make ONE OF EIGHT output pins change state. These could be used in turn to control 8 latches, which are connected to the remaining 5 data lines, yielding up to 40 single LEDS.

  39. The point by Fencepost · · Score: 2, Interesting
    I'd say the point is to have a conveniently viewable status display. I've seen reports about setups where different systems have different bird sounds associated with various statuses; apparently after a fairly short time changes in the background noise jump right out at you.

    I could see using locally-connected glowing globes this for all sorts of monitoring; stock market tracking isn't really near the top of the list. I can see having a row of stuff like this visible in or near a server room for example, showing network latency or traffic load, system load, any of a variety of things.

    What the difference between this and assorted other status/alarm LED displays? These are in a translucent block and are more easily visible from a distance. Not such a bad thing.

    Heck, I use something similar as a shower timer - it dims over 15 minutes, and if I glance over and it's gone out then I'm probably running late.

    --
    fencepost
    just a little off
    1. Re:The point by Saeger · · Score: 3, Funny
      15 minutes for a fucking shower?!

      Quit wasting water you masturbating whale.

      --
      Power to the Peaceful
    2. Re:The point by Anonymous Coward · · Score: 0

      Kind of overkill. Ever hear of Big Brother? I think it's even free! :p

    3. Re:The point by Anonymous Coward · · Score: 0

      masturbating whale

      How?

  40. RTFA: familiar looking familiarity by Anonymous Coward · · Score: 0

    uh ... dude ... you just linked to the same ThinkGeek.com product that the article linked to.

    RTFA

  41. Simple stuff here by Froze · · Score: 3, Informative

    Get ahold of a cmos 4066 this chip has plenty of switching power throughput to handle a few leds. Hook the triggers to your parallel port and code a simple pulse width modulator routine to run the triggers. I don't know if the frequency you can achieve on a parallel port would be high enough to prevent flicker, but some capacitors should go a long way to smoothing that out, if not. You might want some current limitin resistors in there as well, so you don't burn out your leds.

    BTW, this is rudimentary circuit design in almost any college course. If you want to seroiusly get into building cicuits like this check out "The Art of Electronics" by Horowitz and Hill. Might be a little expensive but will give you a solid foundation in circuit design.

    --
    -- The morphemes of your disquisition are ascertainable, but they have eschewed an ambit of transpicuous exposition.
    1. Re:Simple stuff here by Anonymous Coward · · Score: 0

      Double check that part number - a 4066 has a few ohms of resistance [its not meant to drive heavy loads]. Driving ~200mA worth of LEDs (guesstimate of how much brightness you'd need to be daylight visible) would cause a good fraction of a watt of dissipation in a 4066.

      Check out the TPIC6x595 series chips from Texas Instruments - open drain mosfet shift registers that can do >500mA per pin. You can drive a whole chain of LEDs from 4 control lines.

  42. Blitzkrieg by Anonymous Coward · · Score: 0

    True Sir.

    What currently is going on is called Blitzkrieg. ...like the Nazis invaded Poland...

    The question is, who's next? France?

    Americans just dont wnat to learn from history.

  43. Remember the Pet Rock? by Anonymous Coward · · Score: 0
    That's even dumber, yet the guy who invented that is probably lounging on his own island right now.

    So now tell me what's dumb.

    1. Re:Remember the Pet Rock? by Anonymous Coward · · Score: 0
      The Pet Rock wasn't an "invention", it was just a fad that came and went because sheeple are stupid.

    2. Re:Remember the Pet Rock? by limekiller4 · · Score: 1

      An AC writes:
      "That's even dumber, yet the guy who invented that is probably lounging on his own island right now."

      That's nothing! I'm buidling a "Jump to Conclusions Mat." You stand on it, see, and then...

      --
      My .02,
      Limekiller
    3. Re:Remember the Pet Rock? by Anonymous Coward · · Score: 0

      Yeah, but Gary Dahl still got hella rich off of it.

      Exploiting stupidity for profit is the only true path to wealth.

  44. When's the story out? by Anonymous Coward · · Score: 0

    I'd love to read your book "101 things I did while unemployed and bored"
    Glowing electric balls, next thing you'll make is a glow stick...oh, hang on a sec, someone beat you to it. Never mind.

  45. Casting resin ain't that simple either... by Olmy's+Jart · · Score: 5, Informative

    Having done some large castings in casting resin (clear and with opaque or translucent dyes), I can tell you that it's not all that simple to just cast a ball that size either. The casting material is going to be expensive to begin with. And if you don't get the hardner mix ratio just right, that stuff it going to crack and craze like crazy (split a few "paper-weights" in half). It gives off heat (from the chemical reaction as it "cures") which can damage really thick objects, like a 6 inch ball. I'd be willing to bet that what they have is not "hobbiest grade" casting material. It's more likely commercial grade plexiglass type material with a translucent dye added. It might not even be chemically cured like epoxy resins but may be cure thermally or by UV light (former - likely, later - possible but highly unlikely). Plexiglass resins become soft and pliable as you warm them (within reason - moderately high heat burns them easily) but casting resin does not - it cracks and crazes and shatters. The dye would be similar to the casting dyes you would get at a hobby shop. You MIGHT be able to cast a ball that size, if you are lucky, in casting resin but keep it away from large temperature changes and bright sunlight (which damages through both large temperature gradients and UV breakdown damage). You may find that this isn't a cost-effective "do it yourself project" after all.

    1. Re:Casting resin ain't that simple either... by g4dget · · Score: 2, Interesting

      It would be easier just to take a hollow spherical acrylic lamp, put the lights in there, and roughen up the surface with steel wool or spray translucent paint on the inside. No casting needed.

    2. Re:Casting resin ain't that simple either... by ddimas · · Score: 1

      I am unsure of your level of mechanical skill but here are a couple of things I might try to make a plastic sphere.
      If you decide to cast it,you might try using an oven or,better yet, a water/steam jacketed vessel to control the temprature. Just be sure to have it well ventilated and a fire extinguisher handy, plastic will burn.
      It might be easier to take a chunk of plastic and turn it down on a lathe. You can get a good optical finish by using automotive grade sandpapers up to ~20,000 grit. This assumes you have a lathe and know how to use it. You can get a chunk of plastic from a supply house for big $$$.

    3. Re:Casting resin ain't that simple either... by Anonymous Coward · · Score: 1, Interesting

      It would be a whole lot easier to go to your local home improvement store and buy a frosted, glass light fixture. Might even be able to find a small one.

    4. Re: Casting resin ain't that simple either... by Len · · Score: 1

      Here's how you can cast a bunch of LED's into a block of resin. It's not 6 inches thick, but who says you have to make a sphere?

    5. Re:Casting resin ain't that simple either... by ivan256 · · Score: 1

      Better, for all your turning needs you can get non-metal blanks and raw material on eBay for cheap. I just picked up some ultra-low-cost UHMW-PE the other day...

  46. It's so fucking easy by Anonymous Coward · · Score: 0

    I mean, can't everyone program microcontrollers these days?

    I always wonder why people spend ages to find plans for some super-simple circuit on the internet when they just have to invest some days and learn to build one themselves!

  47. Re:this looks familiar... by teamhasnoi · · Score: 1
    I should think you'll be on the waiting list, and use the developer interface to alert you when you are about to post a link that was in the story. "Whew! That was close! Thank goodness for my glowing cyber-ball alerting me to potential ridicule!"

    I couldn't help it.. :)

  48. mod up. ...what freq. is using that service? by Anonymous Coward · · Score: 0

    what freq. is using that service?

    1. Re:mod up. ...what freq. is using that service? by Anonymous Coward · · Score: 1, Funny

      what's the freq., kenneth?

  49. sigh... by Anonymous Coward · · Score: 0

    ....so here we are, sitting on the threshold of Armageddon,
    and the best you can do is: "gimmee one o' them cool glowing balls!"

    sigh...America, America, what hast thou wrought? there's dark days ahead for our nation of glowing-ball lovers.

  50. Jay said it best by Anonymous Coward · · Score: 0

    "Building Your Own Glowing Cyber-Balls?"

    I already got about the biggest pair you've ever seen!

    Nooch.

  51. Ah, glowing balls... by nautical9 · · Score: 4, Interesting
    ... yup, this is pure /. gold for jokes...

    But seriously, I've always wanted something like this for work. A simple status indicator whether the cluster of machines I'm responsible for is Working Fine (green), Having Issues (yellow), or Completely B0rked (red).

    Currently, I keep a persistent browser window open to a simple web-based script that checks on the status of everything and sets its background to one of those colors based on what it finds (it's quite a bit more verbose than just that should something be wrong, but that's not the point). This is fine and dandy for my use, but for the sake of being interupted during an emergency...

    It'd be really cool (and actually useful) to have a separate orb that glows the same color... so the next time my PHB runs in to tell me I forgot my TPS report cover sheet.. er.. to tell me that he's noticed a problem with the site, he'll first see the big red glow and realize I'm already aware of it.

    (that, and when I'm deep into a Quake match, and can't see the little window...)

    1. Re:Ah, glowing balls... by Anonymous Coward · · Score: 0

      I am very interested in doing this as well, what are a few other options for the sorts of materials that you could cast and would conduct led light well.

      (I will probably avoid the whole programing thing and just make some sort of crazy light up battery powered art crap)

    2. Re:Ah, glowing balls... by anubi · · Score: 1
      Nautical9 remarked:
      But seriously, I've always wanted something like this for work. A simple status indicator whether the cluster of machines I'm responsible for is Working Fine (green), Having Issues (yellow), or Completely B0rked (red).
      These are very common in the manufacturing industry.

      Here's a link to one made by Patlite.

      We use these on the robots.

      --
      "Prove all things; hold fast that which is good." [KJV: I Thessalonians 5:21]

  52. Re:this looks familiar... by ecchi_0 · · Score: 1

    I sincerely hope this is a joke. If you even read the question, it is EXACTLY about that toy, and there's even a link directly to it! Are you trying to trick mods into giving you a +1 Interesting, or what?

  53. BASIC Stamps? by faedle · · Score: 1

    As funny as it would be to make a comment about "glowing cyber balls", I will refrain.

    As far as doing something like this, it's trivial. If you wanted to be old school, you could do something with a BASIC Stamp and good-old RS-232 out of a PC. Driving LEDs based on values given to it over serial is simple. You could probably drive four or five balls with one Stamp. You could even devise an overly-complicated protocol to communicate between the computer and the stamps. They could even be autonomous.. like adjusting color based on room temperature.

    Or, look at A/D converters. They might be cheaper, if less geeky.

  54. Re:this looks familiar... by HaloZero · · Score: 1

    Ladies and Gentlemen, it would seem that Microsoft has secretly released a beta of Palladium. Sadly, it was installed in this guy's head, which happens to run an old PII 233.

    Poor soul.

    --
    Informatus Technologicus
  55. How To Build Glowing Cyber-Balls by Anonymous Coward · · Score: 0

    First, get yourself a French Diplomat. Noone will miss one of those. He can be your guinea pig. Then follow these easy steps:

    1. Shave scrotum. This makes things a little easier, especially if you or your Frenchie Frog have really hairy nuts.
    2. 2. Solder a chip running embedded Linux to your right testicle.
    3. Solder a wireless modem to your left testicle.
    4. Connect the two with shot wire.
    5. Spend a week at Chyrnoble, Three Mile Island, or the nuclear site of your choice.
    6. At a party, go into the closet with hot chicks. Show off your glowing cyber-balls.

    1. Re:How To Build Glowing Cyber-Balls by Anonymous Coward · · Score: 0

      Of course, there's a problem with your plan: French Diplomats don't have any balls.

    2. Re:How To Build Glowing Cyber-Balls by Anonymous Coward · · Score: 0

      Heh :-) AC humor rocks.

  56. Seems you want a Basic-Stamp computer by MickLinux · · Score: 1

    If I understand it correctly, you're trying to keep this as cheap as possible to build-your-own.

    Now, if you want it cheap, just go out and get an 8055 microcontroller, and use its serial port to tie to your computer.

    But the problem is that it is expensive to program the thing. The programmers for any chip can be $100-$200 -- a microcost for business production runs, but a serious expense if every person who's going to do this needs to get one.

    I suppose you could buy 10k preprogrammed 8055s once you had developed the thing, and sell them along with your instructions, once you had developed it, but I don't think you want to do that either. Or if you have sales connections, maybe you do. Make it a College "gotta have" like lava lamps were in my day.

    So the cheapest programming alternative is probably a basic-stamp computer.

    The second cheapest alternative would be to build your own out of a few chips at Radio Shack, and not use programming, but I don't think that's real good either.

    Aside from that, you might also want to check the fiber-optic method as well. I see all kinds of color-wheel art done with fiber-optics around Christmastime.

    --
    Correct Horse Battery Staple: 72 bits of entropy. Enter "Correct H" into google. When it generates the phrase, that's
  57. uh... by gid13 · · Score: 1

    no offense or anything, but if you're going to post stuff, you really ought to contribute more than repeating part of what the poster said and including a link to a site that's one click away from the link the poster had.

  58. Materials by Oculus+Habent · · Score: 1

    You could use the same technique used in an older article to light the LEDs. I couldn't speak to the cost, though.

    I would use hollow frosted plastic or glass globes over a solid encasing, but that's mostly personal choice.

    This would be a pretty cool project. If your interface is capable of handling multiple balls, you could make add-ons for software like Nagios to show the status of various servers in simple colors.

    For no good reason, I came up with this, too:

    You could make your indicator a Ping-Pong ball, which is both connected and powered by an RJ-45 cable. This way you could route the output from your software to any wall-jack in an office (pre-planned, though) and make simple indicators available almost anywhere with pre-existing wiring.

    --
    That what was all this school was for... to teach us how to solve our own problems. -- janeowit
    1. Re:Materials by SubtleNuance · · Score: 1

      ive read that gently sanding the LEDs themselves can provide some light-disapation(sp?).

  59. Look at this XMMS plugin by sould · · Score: 2, Interesting

    http://freshmeat.net/projects/palace/?topic_id=113 %2C122%2C135

    For xmms-syncing=lights via a parallel port - I've been considering doing this for a while, and the guys has great instructions

  60. Alternate method by Anonymous Coward · · Score: 0

    You can also get away on this project with a servo motor, two polarized filters, some sugar water, and one light source. Polarize a white light source (light bulb) with a simple polaroid filter, let the light pass through a sample of saturated sugar water, and then back through another polarized filter. Motorize the last filter and you have a mechanical alternative to lots of led's. The way it works is like so: the polarized light passes through the sugar sample and each wavelength is bent a different amount (sugar is "chiral"). Rotating another polarized filter placed across this output will give lots of different colors. I think this might be how they do the lights in limousines and such. It's pretty simple, but the servo could be costly. If you got one lying around anyways, then it might be an easier solution. Programming a lot of led's to mix colors across serial/parallel communication sounds harder than communicating to a PIC that controls the servo (usign a table for colors). I know this may seem really "macgyver-ish", but it should work. Just throw a paperclip and a rubber band in there and *pow* -j/k. Good luck.

  61. Just imagine what you could do with one of these! by stefanlasiewski · · Score: 3, Funny

    Just imagine what you could do with one of these!

    Why, you could set it to blink green to notify you when ThinkGeek gets these things back in stock!!!

    --
    "Can of worms? The can is open... the worms are everywhere."
  62. Use parallel port or microcontroller by AaronW · · Score: 5, Insightful
    One easy method of doing what you describe is with some simple microcontrollers. Years ago I worked with Motorola 68HC11s using a serial interface. If you want to control LEDs, you should be able to hook them up directly without requiring relays. You could even adjust brightness by pulsing them quickly in software. Many modern microcontrollers have built-in serial port support as well as embedded flash and RAM.

    Of course controlling 8 relays or LEDs with the parallel port is much simpler.

    Since the parallel port output is basically just TTL levels, just buffer it through a 74LS244 or something similar and use that to drive the LEDs directly. You can directly control each of the 8 data pins on a parallel port by writing directly to the base I/O port (i.e. port 0x378 is the default for LPT1). It's easiest to use inverting output with TTL driving LEDs.

    Something like the following circuit:

    D0 ---|>---/\/\/\---| D0 = parallel port data pin 0
    |> is a buffer (i.e. 74LS244)
    /\/\/\ is resistor
    | (+5) is a 5 volt power source separate from the parallel port.

    Make sure that the ground pin of the parallel port is connected to the ground of your circuit. For the 5 volts, a 7805 is a simple solution when using a separate DC power supply.

    All of the above listed parts should be available at your local Radio Crap.

    When D0 is 0 (low) current will flow from the 5 volt supply, through the LED and resistor and from the buffer to ground. When D0 is 1 (high), no current will flow.

    When choosing a resistor, take into account the voltage drop across the LED. Blue LED's typically have a higher voltage drop than red or green. Red LEDs are typically around 0.7 volts whereas blue can be upwards of 3v.

    Also make sure that whatever buffer you use can sink the appropriate amount of current. Most LEDs typically will take up to 15-20ma of current. It might also make sense to use an inverter instead of a buffer since the above circuit will cause a LED to light when the data bit is 0. a 74LS04 is a cheap easy-to-use inverter chip that is readily available.

    With 20ma of current, choose a resistor based on the voltage.

    Use the basic equation, V = I*R, where V is voltage in volts, I is current (in amps) and R is resistance in Ohms.

    For example, for a red LED with 20 ma with a 5 volt source use:

    R = (5 - 0.7) / 0.020 = 215 ohms. Since resistors come in standard values, choose the next highest value, i.e. 220 Ohms.

    For blue, with a 3.6 volt drop you would use

    R = (5 - 3.6) / 0.020 = 70 ohms. The closest match is 68 ohms, but it's usually best to error on the side of caution so choose the next larger value.

    One thing you do not want to do is use the parallel port to drive LEDs or relays directly as you could possibly damage it. TTL outputs typically are not designed to output much current and are typically better at sinking current than sourcing it.

    Note that I'm no expert on this and I'm sure you'll see better solutions listed here.

    -Aaron

    --
    This post is encrypted twice with ROT-13. Documenting or attempting to crack this encryption is illegal.
    1. Re:Use parallel port or microcontroller by Anonymous Coward · · Score: 0
      D0 ---|>---/\/\/\---| D0 =
      I think you need to see a doctor about that.
    2. Re:Use parallel port or microcontroller by Jeff+DeMaagd · · Score: 1

      What I don't understand is why the person that asked the question thought that relays are needed to control LEDs. They'll work but I don't think they are the best solution, considering the size of even the smallest relays at Radio Shack, and even they give off a little noise. A microcontroller port pin is good enough to handle one or two LEDs, and a PIC 16F628 has about 16 output capable pins.

      For several LEDs try something like this:
      I think the following is NPN transistor, say 2N2222 for a few LEDs, something larger for a lot.

      | Collector to + power
      |/
      ---| Base to uC port
      |\>
      | Emitter to resistor and LED in series
      |
      Resistor, scale size using AaronW's equations
      |
      \|/
      --- LED, cathode wired to ground
      |
      | To ground

      This post doesn't cover RS232 or parallel communications.

    3. Re:Use parallel port or microcontroller by fragmentt · · Score: 1

      When using parallel port all you need is the leds and some resistors. I made this for my firewall box. At the moment it is showing the transmit speed of ETH0 by cycling the leds. And here is some good info for parallel port projects..

    4. Re:Use parallel port or microcontroller by sploxx · · Score: 1

      I agree with all the stuff you said,
      except the 0.7 V drop along the red diode.

      You can calculate that from the energie of a red photon:

      U: Voltage
      e: Electron charge
      h: Planck's constant
      c: Speed of light
      l: Wavelength of light

      U*e=(h*c)/l

      => U=(h*c)/(l*e)
      With l=650nm, I get a voltage drop of about 1,9V.
      Measuring the voltage of a red led on my desk, I get about 1,97V.

  63. Cool Glowing Cyber-Balls feature request by Ilan+Volow · · Score: 1

    You squeeze the glowing cyber balls and your computer elicits a coughing sound.

    --
    Ergonomica Auctorita Illico!
  64. Lots of solutions... by morcheeba · · Score: 4, Insightful

    Quick answer: combine RJ45 web server with serial relay driver and presto!

    There are lots of these serial relay drivers ... google for it. They have all sorts of nice features (current limit, fault detection, cascadability and are controlable through the parallel port (you have to bitbang the data and clock bits). The webserver above has 3 general purpose I/Os - enough to control a relay driver.

    But, you probablly want an actual A/D converter (preferably with a current output) or a digital potentiometer. There are lots of mfgs of these products, but Maxim is pretty liberal with samples (plus they have some neat innovative products!)

    1. Re:Lots of solutions... by morcheeba · · Score: 1

      ... I meant D/A converter (but I got the link right)

    2. Re:Lots of solutions... by GregAllen · · Score: 1

      A DAC or a pot would be a tremendous waste. What you want (as several people have mentioned) is Pulse Width Modulation. You can adjust the brightness by adjusting the duty cycle. I'd recommend an PIC or some such.

      --
      Please help find my missing daughter: FindSabrina.org
    3. Re:Lots of solutions... by morcheeba · · Score: 1

      PWM is ok, but you need to get the pulse rate up pretty high, especially since LEDs are so high-bandwidth. The last thing I want on my desk is a bulb with any noticible flicker. To get the rate up high, you need either dedicated hardware (fine if your uC supports it), or you need to waste lots of CPU power. With the RJ45 jack server, I'm not so sure that the operating system would provide enough control - when it talks to the web, will it stop the user program? Does it ever mask interrupts for too long? Does it support user interrupts? Does it have a user-accessible hardware timer? The PIC is great, but is it really going to be cheaper and easier than a dedicated D/A?

      For a large-scale production, PWM would be nice (provided you used the proper filtering capacitor, which could cost more than an ADC if the load is high). But for small one-off projects, go ahead and waste the $4 on the chip; it'll save a lot of debugging time.

      Hope you get Sabrina back soon!

  65. Go USB (quick! Easy!) by oaklybonn · · Score: 3, Informative
    I've been using the delcom usb chipset (http://www.delcom-eng.com/) on Mac OS X and Windows for doing various IO control things. Their eval board is very cheap and does the (trivial) amount of work to wire the pre-programmed USB chip to the usb cable, with some breadboard space to boot.

    The engineering staff has been good to work with as well.

    Also, they seem to sell a product almost exactly like what you describe, with bright LEDs in a diffraction grating, based on the same chipset. I don't know if it has quite the diffiusion you're looking for. (But it does have a buzzer!)

    Otherwise, my advice would be to use the parallel port (very easy to program, unless you're a mac user and you don't have one ;-) and don't use relays. In order to drive a relay, you'll need a transistor to switch the coils, and if you've already got the transistor, well, you can see where thats going!

  66. two similar DIY projects with software by studboy · · Score: 2, Insightful
    In these two projects, you hook up wire and sme stuff to the serial port. They both include circuit diagrams, theory (for modifications), and Linux software:

    - two LEDs and a switch

    - TTY control: 7 buttons and 3 leds.

    I built a simpler version of #2 last week, and it was a lot of fun and very easy!
  67. Re:France? Are the Germans invading *again*? by Anonymous Coward · · Score: 0

    Yeah! Come on boys, dust off those Wehrmacht uniforms and show the frogs who's boss!

    (If you ask nicely, we might even support your re-armament financially, but will deny it later of course)

  68. Sounds easy enough by orz · · Score: 2, Interesting

    I'm more of a CS than an EE, but having dealt with the hardware side a little bit, it sounds pretty easy:

    You can just steal or buy some testing / teaching equipment from the local EE department... I think things that can hook up to a PC and drive simple signals are common and cheap and allow software to interface with them trivially. My local EE department has hundreds lieing around, though I've never used one, and don't know what they're called.

    Or, if you want to build everything yourself, that shouldn't be too hard either. Get a cheap programmable chip (unless you know more than I do about a serial port... it might be possible to do with a simple non-programmable chip that just latches values from the pins at the right time). I used a PIC16F876 at one point... it's basically a miniature computer on a chip, with IO designed for interfacing with things in a programable manner... it worked well, and is cheap ~ $4 or $5 (and you can get them for free if you ask... they give away lots of samples to students). I think it had some built-in module for interfacing with a serial port, but if not that should still be possibly manually, with some assembly coding. The chip didn't have any digital-to-analog converters on it that I can recall, but with LEDs I think switching them on and off really fast for varying periods of time is better than driving them with an variable signal anyway. It also was not capable of driving as much current as I suspect you want, so you'll need external amplifiers, but a handful of discrete transistors works fine for that purpose (and is dirt cheap). The only thing I can think of that you might actually have to pay for is the power supply for the whole thing. And maybe a board to soder on.

    Hm... come to think of it, I don't know how to write out to the serial port on any OS more modern than DOS. But you can probably figure that out with a tiny bit of googling.

    1. Re:Sounds easy enough by Anonymous Coward · · Score: 1, Funny

      Thank you for your concise and easy-to-follow instructions.

    2. Re:Sounds easy enough by p-k4 · · Score: 1
      It also was not capable of driving as much current as I suspect you want, so you'll need external amplifiers,

      You wouldn't drive the LEDs with the PIC (or the microprocessor of your choice). Instead, you would provide a ground for the LEDs and tie the other end to your power source.

      This simply changes the question to "Can the processor sink the necessary power?". However, you have a much better chance of being able to sink the necessary current into your processor than to have the current to drive the LEDs to the brightness you want off of a general purpose IO (GPIO) pin.

      I have done this very thing with PIC16CXX series chips without a problem.

      To use an external amplifier would only increase the chip count and power requirements.

      --
      Dean's Rule #45. The truth hurts for a moment. A lie hurts for a long time.
  69. Maxim Onewire tech makes this easy by sprior · · Score: 2, Informative

    No I don't work for them, but http://www.ibutton.com gets you to devices that can be controlled through a serial (or parallel) port and are cheap. The DS2407 is a switch you can use to control the LEDs. Also check out the TINI links on the page for a Java JVM on a SIMM which can be used to control the LEDs and connect to the net. Nice stuff to work with.

    1. Re:Maxim Onewire tech makes this easy by TBags · · Score: 1

      This is one oddball request... However, I'm using dalsemi/maxim's DS2405's to control a Fairchild ACE micro. the ACE is assembly only but with a the 1Wire to the ACE you could do this easily... The ACE programmer is easy to build: http://www-md.e-technik.uni-rostock.de/ma/lj77/ace prom.html There's a windows 2k/XP enabled version linked off that page too. Glowing ball... that made my day! -TBags

  70. Re:France? Are the Germans invading *again*? by Anonymous Coward · · Score: 0

    The Russians? And I always thought it was the Prussians...

  71. Another source for the balls... by Kevin+Burtch · · Score: 1

    Why not use an inflatable ball?
    I've seen clear/white/translucent ones... it should keep a spherical shape if nothing presses on it once you punch a hole through it for the LEDs. If not, just use a glue-gun to seal it up.
    It'd look cool hanging in the window or over your computer. ;)

    Others have suggested parallel ports, and I agree completely.... all you have to do is toggle a bit to turn on an LED.

    1 wire each to 3 LEDs gives you 3 bits or 8 colors (if you count "off" as a color).
    Instead, use resistors to your advantage and use 2 bits per LED and end up with (6 bits) 64 colors! :)

    Don't bother with relays... they draw too much current that you'll need for the LEDs.
    Instead, use transistors (if you find that the parallel port cannot provide enough current on each line).
    Go to Radio Shack and pick up one of their Engineer's Notebooks... there's about 8-10 different ones, you'll have to leaf through them to find the appropriate ones.
    Look for Ohm's law, you'll need this to calculate the values of the resistors you'll need (based on the voltage and current required by the LEDs).
    Also look for one with info on transistors and LEDs (obviously).

    --
    - Preferences: Solaris 10 (servers), Ubuntu (desktops), Solaris 11 (personal servers) -
  72. The shape may be the hardest part by Anonymous Coward · · Score: 1

    "Cast a couple of them in some translucent resin"

    Yeah, like it's that easy. Have you ever tried to work with acrylic and hardener? It's a MESS. It's the consistency of motor oil and after some air exposure it starts to get sticky. Worse, it smells like paint * 100. Finally, I can guarantee that you WILL NOT be able to 'cast' a sphere. The inside of a small toy ball might be your best bet, but I have my doubts about how the mechanics of the casting process would play out.

    Those discouraging words said.... Dude! Give it a try and let us know how it works. Better yet, take some time to think about clever ways to make that casting happen and maybe you can share a new and interesting technique with the rest of us. But before you start too far down this path, go buy a small (8oz) can of liquid acrylic + hardener (expect to pay $15-20 for these) and do some small experiments (more than one!) so that you get a feel for what working with that stuff is like.

    Good luck and report back!

    1. Re:The shape may be the hardest part by matrix29 · · Score: 2, Interesting

      "Cast a couple of them in some translucent resin"

      Yeah, like it's that easy. Have you ever tried to work with acrylic and hardener? It's a MESS. It's the consistency of motor oil and after some air exposure it starts to get sticky. Worse, it smells like paint * 100. Finally, I can guarantee that you WILL NOT be able to 'cast' a sphere. The inside of a small toy ball might be your best bet, but I have my doubts about how the mechanics of the casting process would play out.

      Those discouraging words said.... Dude! Give it a try and let us know how it works. Better yet, take some time to think about clever ways to make that casting happen and maybe you can share a new and interesting technique with the rest of us. But before you start too far down this path, go buy a small (8oz) can of liquid acrylic + hardener (expect to pay $15-20 for these) and do some small experiments (more than one!) so that you get a feel for what working with that stuff is like.

      Good luck and report back!


      Um, you do know you can go down to WallyWorld and pick up a cheap kit. I have seen the Baby Impressions Kit in WallyWorld's craft department.
      Check the CRYSTAL KEEPSAKE KIT
      (I am certain you can find similar kits under different names online - GOOGLE is your FRIEND so have GOOGLE help you out)

      Add in a balloon for the sphere shape while making the mold shape and pop and remove the balloon before casting. Or if you feel this will not give enough "solidness" to the shape you can fill the balloon with water, tape the end shut and when you want to remove it from the sand mold to begin casting, suck the water out with a straw.

      With a little imagination a person could cast anything with just a bit of effort (using moist sand to make the mold - adding sugar to the water will give firmness when the sand dries, tamp down the sand, drain the sand, remove the positive object, if you can, then add your molding compounds, and when the mold sets or cooks or cures you can wet the sand, and retrieve your finished item.)

      Please note that Silversmiths of Colonial times would use a wax sculpture of the object to be molded, then tamp some sand down in the bottom of a wooden box (to make a sand base for the model), place the wax model in the center, add fine sand carefully to fill up the area around the wax model in the box, pack the sand down gently, and then drain the water off, and then when the sand was dry they would heat up the silver in a cauldron and pour it into the open spout of the sand mold and destroy their wax model. This left a finished silver model after the silver cooled to be smoothed and polished.

      Mold and object casting is an interesting art form which I suggest you folks research as you might want to try making some cast art someday.

      --
      "Face it, a nation that maintains a 72% approval rating on George W. Bush is a nation with a very loose grip on reality.
  73. MC68HC11 singleboard project. by SN74S181 · · Score: 1

    Stick a 68HC11 on a circuit board, a MAX232 and a few jumpers and the crystal and stuff. Set it up to do bootstrap mode over the built in serial port of the HC11, and write your software to talk to the HC11 through the serial port.

    Use some of the Free IO Port lines on the HC11 to feed relay drivers. Write a little firmware to take parse serial commands.

    It sounds like a fun project, and there is tons of info about how to build a bootstrap type 68HC11 single board out there.

    I see that the vendor of my favorite single board solution for the HC11 part of the project has discontinued the product so I'm providing a semi-dead link. Thank goodness I have the schematic and code to produce as many of those things as I need. Your homework assignment is to find the equivalent SBC.

    The HC11 is extremely popular with robotics types, they're cheap on eBay too. Shouldn't be hard to find your board, or make one from scratch if you like.

  74. Good Cheap Programmable controller IC by Dewy721 · · Score: 1

    Hoave you looked at the Basic STAMP series of chips?

    They hanle serial commmunications as well as i2c connections. The SX series would do you fine in your project.

  75. Already done, partly... by Uller-RM · · Score: 1

    LEDMeter is a existing bit of GPL'd software for doing CPU load, memory/HD usage, etc. under Win32 with a parallel port's data lines... it also has a tutorial (solder pin A to B, as opposed to here's-a-schematic-you-build-it) for buffering the lines through a cheap octal buffer chip, although an NPN transistor array would work just fine.

    I'm going to update it soon to fix a few odd conditions with WinXP data sources and revamp it to allow use of other peripherals and other data sources, and allow you to write arbitrary boolean expressions for LEDs.

    Mind, if you're going to be switching something larger than a cheap NPN bipolar can handle and you're going to be switching it often, use an N-channel power MOSFET in a Darlington pair with an NPN. Far more reliable than a mechanical relay.

    1. Re:Already done, partly... by The_Unforgiven · · Score: 1

      Link didn't work for me, this one did:
      http://casemods.pointofnoreturn.org/cpumeter /

      --
      http://wsulug.org
  76. Talking to your serial port by alt175 · · Score: 1

    In my orginization class last year I had to comunicate over the serial port to a bread board I made and light up some led's(one standard number led) it even had 2-way comunication through switches on the board I probably still have the code somewhere and if you can do simple boolean algebra you can handle the ciruitry easily, actualy you could just send over binary and whire it directly to the led's if you just wanted three colors, otherwise you'll have to do some evaluations to get the intenisty and such wich will require about an hour of chip design

    --
    I wish all of life was as fun as programming.
  77. Portable? by supabeast! · · Score: 3, Insightful

    How about designing a portable version? I would gladly pony up a pile on cash for an orb that fits in my pocket, allowing me to track money, family, friends, and the health of my networks just by looking at the colors!

    This thing this where cool tech should be going. Make it small and wireless and you have a killer app.

    1. Re:Portable? by Hal-9001 · · Score: 1

      I'd rather have a device tell me in words, or maybe in pictures, how my money, family, friends, and work are doing--it's simpler and less ambiguous.

      This device is really meant to be a toy, and as a commercial product it is marketed as such. And even as such, I think it would be difficult to distinguish between this device and a glass sphere with some embedded LEDs being driven by a pseudorandom number generator (which would be a lot simpler and cheaper to build).

      --
      "It take 9 months to bear a child, no matter how many women you assign to the job."
    2. Re:Portable? by Wiwi+Jumbo · · Score: 1

      Make it the background of say an Indiglo(?) watch and you got something I think would sell. :)

      --
      Wiwi
      "I trust in my abilities,
      but I want more then they offer"
    3. Re:Portable? by devinjones · · Score: 0

      [Looks at glow from your pocket]

      Has the Dow spiked again or are you just happy to see me?

  78. A *great* source of information on this is... by no_such_user · · Score: 3, Informative

    Check out Circuit Cellar Magazine -- they are a steady stream of articles and advertisements covering just the thing you want to do.

    While you're reading it, also pay attention to PIC Chips and Basic Stamps, which would be a great way to control your orbs without needing a PC (especially the cheaper PIC chips from someone like Microchip Technology)

    If you're married to the PC concept, you'll also find advertisements for devices which are controllable via USB. Kinda nice for furure serial-less PCs.

    Lastly, though it's a bit out of date at this point, take a look at "Controlling the World With Yor PC" by Paul Bergsmann (ISBN: 1878707159). Great stuff about parallel port interfacing.

    Good luck!

  79. Re:France? Are the Germans invading *again*? by Anonymous Coward · · Score: 0

    This time they are on the same side... so no Blitzkrieg by the Germans...

    The post-WWII France has quite some power now to kick ass...

    What Americans do is what Hitler did. Invade smallish weakish countries, buy others to shut up. But all chicken theater has an end. Hitler had. Bush will. Just the matter of time.

    This time others will write the history books for you. But definitively not you.

  80. glowing olfactory-stimulating balls by DrMrLordX · · Score: 0

    This product would be better if it could emit various colors of light and emit smells or even coat itself with ions that give it a temporary taste. For example, you could configure your balls to glow brown and smell/taste of salt and chocolate . . . salty chocolate cyber-balls.

    1. Re:glowing olfactory-stimulating balls by Wolfrider · · Score: 1

      Mod parent Funny for South Park ref!

      --
      .
      == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
  81. Hardware software solution... by Anonymous Coward · · Score: 0


    Find yourself a copy of the parport library (written in C) for Linux, that allows software control of the parrallel port, and acquire a 8255 PPIA (Programmable Parrallel InterfAce (?) 40pin chip package. Mount the whole thing on a Rat Schlock experimenter board with a the requisite resistors, etc. An 8255 PPIA has enough driver current load on the pins to support a standard LED directly. For high power LED's, you might want to throw a few cheap NPN transistors to function as your "relays". No noise, less power, but not quite as geek-chic as a set of power relays carrumphing away as they switch.

    And yes, I've done something like this before.

    SVC Cardinal Alumn.
    Support your local ET department.

  82. Building Your Own Glowing Cyber-Balls? by whereiswaldo · · Score: 1

    Glow-in-the-dark condoms not enough, now you need glow in the dark balls, too? Sheesh!

    But seriously (if it's possible after a comment like that), I've always thought that visual cues are the best way to convey information without you having to mindfully seek that information. It's easy for the brain to see a whole room full of things, but only notice the difference when a moth starts flying around.
    Likewise, you could be monitoring all kinds of things without much conscious thought, but be on top of it when something changes. Now, if everything changes at once, that's another story.

  83. PIC Microcontrollers by Anonymous Coward · · Score: 0

    Go to www.microchip.com and pick out the appropriate microcontroller. Many have built in DAC's. These devices are simple to use and easy to program.

    I've built a number of serial port controlled projects using PIC16F84a's. These don't have a hardware UART, so that function must be implemented in software. However, that isn't hard. Plus, if all you want to do is recieve you can just connect the serial line directly to the PIC with a resistor. The clamp diodes in the PIC will take care of the level shifting.(Serial ports are up to +/-15 V)

    There are even opensource PIC programming programs for Linux. Just watch out for the picprg program. It looks cool, but cannot properly read data from the parallel port.

  84. Re:Go USB (quick! Easy!) by cybermace5 · · Score: 1

    Erm...nothing about USB is "trival." It might seem that way if you've never been down-and-dirty with the firmware.

    That said, I highly recommend the MC68HC908JB8 for a hobbyist USB development platform. You can get the package in surface-mount or a small DIP, it's easy to wire and code for, and the tools are good and free. It's a low-speed device, but for control applications like this it's more than adequate. Turn the ball into a funky keyboard too.

    --
    ...
  85. Actually rather easy with the parallel port. by fwc · · Score: 4, Interesting

    All you need are the following:

    1) 25 PIN MALE DB Connector (like would plug into the parallel port) - OR, probably easier, grab like a 6' or longer 25pin Parallel Printer or extension cable and chomp the end which doesn't plug into the computer off.

    2) 8 superbright leds.

    3) 8 10K resistors.

    4) 8 2N2222 or other NPN transistors (Just go to radio shack and get a bulk package of "NPN switchint ransistors")

    5) 8 "smaller" resistors. Like roughly 500 ohm, but be prepared to experiment with the value. Lower value=brighter, but if you go too low you will burn out the LED. There *IS* a formula for the smallest permitted value. I won't go into that here.

    6) Perfboard to put it all on

    7) 9 or 12V DC wall-mount supply (or similar).

    A little background:

    The parallel port on the PC has 8 outputs, on pins 2-9 of the 25 pin connector. The ground for these are on pins 18-25.

    You can technically get away with just wiring the led directly to an output port, then to a resistor which then connects to the ground. Google for "parallel port led"

    However, it is likely that you will need more current than the parallel port will provide. For this you can use a transistor to act as a solid state switch.

    Here's a description of the schematic:

    For each output pin:

    1) Wire the output pin on the parallel port to one side of a 10K resistor.

    2) Wire the other side of the 10K resistor to the base pin on the transistor.

    3) Wire the emitter pin on the transistor to circuit ground.

    4) Wire from the collector pin on the tranmitter to the pin closest to the "flat edge" on the LED.

    5) Connect the other LED pin to the "smaller value" resistor.

    6) Connect the remaining pin on the "smaller" value resistor to the + wire of the power supply.

    ALSO, do the following:

    1) Connect the ground pins (18-25) of the parallel port connector to the "circuit ground" mentioned above.

    2) Connect the "-" wire of the power supply to the "circuit ground".

    You can test this before plugging into the computer by plugging the DC adapter in and then jumpering between the + wire of the power supply and each output pin on the cable you are going to plug into the computer. The corresponding LED should light.

    I'd recommend just doing the first led first to make sure everything works.

    NOTE: YOU CAN BLOW OUT THE COMPUTER PORT IF YOU DO THIS WRONG. I HAVE NOT CHECKED THE ABOVE DESCRIPTION SO IT MIGHT BE WRONG AND MAY CAUSE THIS EVEN IF YOU FOLLOW THE INSTRUCTIONS EXACTLY.

    If you need more LEDS on a given output (like 2 or 3 to get enough light), you can just connect a LED/resistor pair in parallel with the existing one (all of the LEDS are connected to the transistor, all of the resistors are connected to the + power supply connection, and each led is connected to it's own resistor).

    You basically drive this by outputting data to the parallel port. You output a single byte at a time - the most recent byte is what the leds are set to on or off.
    If you want to vary the brightness of the LED's you can actually do it by turning them on and off quickly in software. A simple timing loop which have the leds on 50% of the time would result in the leds being 50% dimmer than if they were just left on. Of course you have to do this fast enough so they don't "flicker" or blink.

  86. Interesting Project by grimsweep · · Score: 2, Insightful
    I hope this has been tried (as I'd love to get ahold of one):

    Take one of these balls in a smaller form and place it within your computer. Have it's color be entirely temperature based.

    As the heat rises, it shifts from an electric blue to a horrifying shade of red.

    ...Yeah, sure, it'd probably do more harm than good, but if I have to lose another T-Bird, I want it go out in style.

  87. FOR GOD'S SAKE CLIFF by Fritz+Benwalla · · Score: 1

    Get out of your house and find a girlfriend. She has things to show you that
    will permanently distract you from projects like this.

    If it helps, she will grow more pinkish if things are going well.

    ----------

    --

    Believe me, I'm as surprised by my comment as you are.
  88. The basic option by Daniel+Rutter · · Score: 2, Interesting

    People who don't care about their lamps having an IP address, and just want a hoopy colour-changing battery powered LED light thing, may be interested in the ones I reviewed (along with a variety of other LED lights) a while ago. There are a few products like this around now, but these ones are tough, and you turn them on and off by shaking them :-).

  89. Good circuit: by 'lonzo · · Score: 1

    /me was going through some old schematics today and was supprised to see this post, here's how to get 127 colors off a serial port:

    1. You need to demux the serial stream, I'm not sure how to do this, look for the right chip...

    2. If your serial port doesn't buffer, you're going to need a register/latch/bunch of flipflops... You are interested in the first 7 bits... or just configure it to use a 7N1/1200 bps protocol.

    There are two options for decoding the signal,

    put resistors on it like this:

    bit 0 > some small resistor > RED
    bit 0 > some larger resistor > red.

    Make the larger resistor twice the size of the smaller one and then make them both so that when the code 11 is given, the voltage is at the proper input for the diode... (use the correct formula!)

    Do the same for the other two colors and now the thing will display any of 127 colors by outputting the color setting as a byte to a port.

    If that doesn't work try this:

    Another circuit would be to use two 2:4 decoders and select the appropriate resistors for your intended brightnesses...

    Making this a USB device shouldn't be much harder than making it a serial device, just watch the voltages...

    On the software side, for DOS (my favorite OS), you simply write a TSR to poll whatever you want to monitor using one of the timers (will slow your system. =( ) and output the new setting appropriately...

    The basic idea is the same for any other OS...

    In Linux you could write a daemon to read some network socket or something and write to the serial port..

    I don't program 'doze so you're on your own there...

    This really is a trivial device...
    I wish someone would hire me to build them. ( alangrimes@starpower.net )

    --
    I use windows 3.11 because linux sucks too much.
  90. Palm Info Center by Tidal+Flame · · Score: 1

    I was thinking about doing something similar with my Palm Pilot - creating a conduit that, when the Palm was on it's dock, would send statistics of my choosing to the Palm and display them on it's screen - I'd be able to take a quick glance at the screen while I was working on other things to see how my site is doing and so forth. This'd also be much simpler to do, but I don't know where to start - can anyone help?

    1. Re:Palm Info Center by Large+Green+Mallard · · Score: 1

      The Palm Computing Platform Device, aka Palm, decides when and if it wants to talk to the PC, not the other way around. A PC cannot force a Palm connected to it via either USB or Serial to conduct a hotsync, the Palm must request it.

      So basically, you can't do it that way. You could however write a program for the palm which queries the serial port on it's base every once in a while.. but it's a complex task :) Have a look at AvantGo or CSpotRun

    2. Re:Palm Info Center by Tidal+Flame · · Score: 1

      Thannks... actually, I was looking around AvantGo earlier, but I didn't find anything that met my requirements. I was hoping it could be done through a PC-only conduit, mind you, since I don't have the tools nessecary to write Palm software, but I guess I'll just have to keep waiting... unless another Slashdotter could write/find something like this...

    3. Re:Palm Info Center by SuiteSisterMary · · Score: 1

      Actually, take a look at palmamp; control winamp from your cradled palmpilot.

      --
      Vintage computer games and RPG books available. Email me if you're interested.
  91. Use LEDstats and different color LEDS by Anonymous Coward · · Score: 0

    and you could just get one of those light fixture globes...

  92. Color-Reactiveness? by Bowie+J.+Poag · · Score: 2, Interesting



    Now wait just a darn minute here..

    Using color to reflect the state of an object?

    Color-reactiveness?

    Oh wait, thats only for insane people! ;)

    --
    Bowie J. Poag

    1. Re:Color-Reactiveness? by Anonymous Coward · · Score: 0

      let's see how many people actually use the balls, Bowie, before you start patting yourself on the back.

      they make auto-cleaning kitty litter boxes, too. doesn't mean people buy or use them.

    2. Re:Color-Reactiveness? by Anonymous Coward · · Score: 0

      Um, yes...congratulations. Your idea made it to the creation of a toy sold by thinkgeek. You must be so proud.

  93. Re:France? Are the Germans invading *again*? by stoborrobots · · Score: 1

    Actually, it has more to do with them HAVING NUCLEAR WEAPONS (not newcooler weapons like them Ummerakains have.)

    All the worlds nuclear powers have permanent Security Council seats.

    OMG, I'm feeding the trolls....

  94. Re:France? Are the Germans invading *again*? by Anonymous Coward · · Score: 0

    Yeah Sir, you do feed the trolls.

    Welcome to the club. We are actually trying to get the longest thread ever. Since Pirst F0sts are now in the hand of the paying community.

    A. Coward

    P.S.: No War!

  95. Why Analog? by stoborrobots · · Score: 1

    Turning lights on and off requires only a digital output, doesn't it?

  96. Use a black-light by SourceHammer · · Score: 1

    I need a black-light to report the status of my portfolio.

    some Black LED's here

    --



    Open source development is my way of competing with the low-cost programmers in India...
  97. Orb is cooler than it might seem.... by Anonymous Coward · · Score: 0

    I've gotten to spend substantial time with one of these and they're cooler than you might think. Whether they're 'worth' $200 is a different question and one you have to make for yourself... That said, I can say that the innards are worth more than a handful of LED's. There are significant smarts in the design and execution of these things that justfies, at least, a high double digit price and, IMO, suggests a triple digit price is not unreasonable.

    You'll need more than relays...

    The Orb can generate a variety of colors by controlling relative brightness of the LED's. You could do this with a set of SCRs or TRIACs and routing their output through sets of bridge rectifiers. This would give you dimming but you'd still need to work out the software for making useful colors. Orb colors are all usefully and attractively different from each other.

    The Orb also can be dimmed overall (2 or 3 levels..I don't remember exactly) set by pushing down on the globe toggling through levels.

    The execution of the Orb is quite nice and they are attractive objects. That they are wireless without the need for Celular or WiFi connectivity which means they need only power and are completely silent.

    Another cool aspect of the Orbs is in the way they can quickly suggest not only 'state' but also 'rate of change' by using cycling of color.

    The idea is interesting.... What can you do with information when it is conveyed in an ambient way allowing users to get an impression of information at a real glance wholly unlike looking at a monitor? The 'ambient' aspect of the product is a bigger 'idea' than it might seem at first look.

  98. Use Atmel microcontrollers by Sowbug · · Score: 4, Informative

    Lotsa links here...

    First of all, the 2002 Burning Man project I did that involved a couple hundred RGB LEDs spinning in a persistence-of-vision-based nighttime animated display. Here is the best picture of it. This is the page about the development details.

    The LEDs I used were manufactured by Kingbright. The model I used, the LF819EMBGMBC, is big (10mm) and relatively bright for an RGB LED. I couldn't find any U.S. retailers that actually told the truth about whether they stocked them, so I ended up buying 400 directly from Kingbright for I think a little more than $2.50 each. I still have a few left.

    Atmel AVR microcontrollers are just a few bucks each, easily programmable with the STK-500 programmer, also cheap at around $80. I used the ATMega8, which was more than sufficient for my needs. I imagine the original Slashdotter could use one of the ATTiny MCUs, since it really needs only 3 or 4 I/O lines (fewer depending on how many helper circuits you decide to use).

    The boards were manufactured by PCBExpress and I was very happy with them. The CAD/CAM software was Eagle, which except for some crashing/redrawing bugs was really amazing. The version I used was free. I tried to buy it but CadSoft has (had?) a fairly crazy pricing scheme that actually left you worse off in terms of acceptable usage if you paid them money than if you used the free version.

    The best part of using the Atmel MCU was that GCC can cross-compile for it. So you're basically writing regular old C code but it runs on a little tiny piece of silicon. You'll want to subscribe to the quite active avr-gcc mailing list. Save every message from Marek Michalkiewicz; in my opinion he's the god of GCC-for-AVR development.

  99. IDS Comms by Large+Green+Mallard · · Score: 1

    I once saw a network intrusion detection systems (IDS) with agents that talk to each other over the network.. in cleartext.. the messages, no joke, were sequences of "QUACK", "HONK" and "FLAP".. bandwidth intensive, but still an amusing comms method.. "HONK QUACK QUACK FLAP HONK HONK HONK QUACK QUACK FLAP FLAP" :>

  100. PREMIUM content?! WTF... by cliffiecee · · Score: 1

    "...Premium content available for about $1/week"

    They want me to pay $1 a week to make this thing to glow/pulse to a particular set of data?! There isn't anything I can think of that I couldn't get for 'free' with a script written in [favorite-language].

    (Unless the DMCA applies somehow...)

  101. Controlling Relays by igs · · Score: 1

    The simplest (not safest :) ) way of doing what you want is getting 5V switchable relays that basically turn on in the presence of 5V (really ~4) and turn off when seeing 0V.

    Then hook up a pin from your parallel port to each of the relays, also hook up the ground pin to the control ground for the relay. You'll need a diagram of a parallel port from http://www.beyondlogic.org/index.html#PARALLEL
    or anywhere else to choose pins from the data byte. After that, turning on and off the relay is as simple (in linux) as getting perms to the port with ioperm (http://www.rt.com/man/ioperm.2.html) and making a bit go up or down in a certain byte in your memory space (the possible locations are in the parallel port doc above I believe).

    I've done this, it's simple and it works... but don't mess up and put 120V through your parallel port. You will regret it :)

  102. Re:PREMIUM content?! WTF... by cliffiecee · · Score: 1

    Whooops, nevermind...

    "The Ambient Orb is simply plugged into any standard 110V power outlet and it is up and running on a nationwide wireless network - no internet connection required. The Orb does not attach to a PC."

    I'm probably right about the DMCA part, though!

  103. serial or parallel by nevada-bill · · Score: 1

    I once interfaced an N.C.R mini computer to of all things a slide projector. Used a serial port on the comp hooked to a uart (Universal Asynchronous Receiver/Transmitter) to control relays. I could advance and back up the projector by sending ascii to the serial port under program control. COBOL by the way :) Allso remember hooking my trs80 to a then new solid state relay using a ttl output from the comp to switch 120 volts ac. Made a dandy light dimmer when you pulsed it. You could do the same with the printer port on a pc.

  104. Use an 8051 by Anonymous Coward · · Score: 0

    Use an 8051, they run about $3 for a cheap chip, a cheap Iguana programmer runs around $90 or so... or ya might be able to build an LPT burner yourself...

  105. Try the Velleman K8000 by bobbv · · Score: 1

    The Velleman K8000 isn't the prettiest or most flexible solution, but it'll work well if you have a limited knowledge of electronics and $150. You can even get Linux libraries for it, and it'll do a lot more than just make lights blink.


    However, if all you want is watch lights blink, there's always Color Kinetics LightOrb.

    1. Re:Try the Velleman K8000 by ishmaelflood · · Score: 1
      Man, 150 US for that. The Australian equivalent costs about 30 US. It is a parallel port interface available from Dick Smith Electronics. Reputedly one has been part of the instrument package on Ausroc

      Anyroad up, doesn't anybody remember the first soundcards? Strings of resistors off the parallel port.

    2. Re:Try the Velleman K8000 by fishfish · · Score: 1

      Another option is the Boondog card - very inexpensive and lots of examples in the included manual. The site is at:

      Boondog

  106. 8051 Micro by Anonymous Coward · · Score: 0

    Try looking into 8051 (or similar) microcontrolers. You can get them with built in UARTs for serial comm. Some can sink a good deal of current on the I/O ports too, enough to drive LEDs. You can do most of the "processing" on the 8051 and just send raw-data every now and then on the serial port.
    There are a ton of tutorials available on the web for 8051s and serial interfaces. Good Luck!
    -JV

  107. This might save you some time... by thynk · · Score: 1

    It can do stuff like fade from red to yellow to green as your stock portfolio improves.

    So... you don't need to worry about implimenting that sequence for another couple of years then??

    --

    Good judgment comes from experience, and a lot of that comes from bad judgment.
  108. Check out Microchip [The company] by soul_cmd · · Score: 1

    Microchip They offer low speed processors that can easily control that kind of thing from a serial port. Though, you will need to write your own code for it (sometimes the price you pay for doing it yourself.) You should be able to pick-up most of the parts you need for under $30 from Digi-key though the only part that might cost you a bit is the programmer for the processor. (I think you can actually build those too!)

  109. Do not Taunt the Ambient Orb by Tailhook · · Score: 2, Funny

    The 90's were fun. The 90's were made of stuff like this. You know, PDAs and stuff. Don't pick on him. Goofy crap like this can pay for Real Estate.

    At the very least Cliff is a barometer. If people still has the leisure to actually care about this we're doing fairly well. Look man, we're about to topple a regime. We have "Ambient Orbs" to fill the commercial breaks.

    Anyhow, when I hit the term "Ambient Orb", I immediately recalled "Happy Fun Ball", from SNL. Does anyone else remember hyperventilating over that bit when it was new? Difference is that was parody. "Ambient Orb" you pay for. I bet the guy who wrote the "Happy Fun Ball" skit is kicking himself now.

    --
    Maw! Fire up the karma burner!
    1. Re:Do not Taunt the Ambient Orb by Tumbleweed · · Score: 1

      Warning: Ambient Orb may stick to certain types of skin!

      Maybe this could be connected through the computer to a temperature-sensing mouse, so the orb could change colour due to the hand temperature. Boss' Orb glowing red? Don't ask for that raise!

  110. it's very easy by acidic · · Score: 1

    do it in a epld, cpld, pld. would take me a few mins to make one using that. just use some pull up resistors and so on. could hook it to a computer if you want to change the color, or could just use a DIP, and depending on the value it will be a certin color, or can make it cycle through diffrent colors, depending on what you want. could PWM it as well, for brightness. oh well, want more info, msg me.

    --
    perfect little dream the kind that hurts the most forgot how it feels well almost mo one to blame always the same
  111. 16F84 by codepunk · · Score: 1

    Nuff said look it up on google...

    --


    Got Code?
    1. Re:16F84 by riedquat · · Score: 1

      I use the 16F871. Cost is about 3 pounds ($5) each. Very well documented, needs very few external components and can be programmed straight from the parallel port with five resistors and a transistor. It includes an A/D, serial port, PWM generator and can source 25mA per pin.

  112. The fundamental question.. by jkrise · · Score: 1

    and the point of this article was, if I may rephrase it:
    How to program serial, parallel and USB ports under DOS, Windows and Linux? With DOS, I remember BASIC was free and gave direct access to the ports. With Windows, Billy decided we should pay $200 for Visual Basic... maybe theyse days $600 for Visual Studio.NEt to program a simple serial port. With Linux??? I'm not sure, but I'd like to know...

    --
    If you keep throwing chairs, one day you'll break windows....
  113. Found what you want... by deanzo · · Score: 3, Informative


    1) These are available from Brookstone for $150...

    2) Delcom Engineering has a "USB Visual Signal Indicator". This includes RED, GREEN, and BLUE LEDs, Piezo buzzer, 2 meter USB cable and USB powered circuit. The cost? $69.00 each... All you need to add is a globe...

    If you want to play around with this stuff, Delcom Engineering also makes USB chips, cables, etc. and they make USB development board for $49.00 that you could you could use to build what ever you wish...

    1. Re:Found what you want... by Tidal+Flame · · Score: 1

      Now it's a matter of someone coding something that gives those lamps the same functionality as the orb. Does anyone have any information on that? It kind of defeats the purpose of the orb if it just flashes pretty colors - it needs to be able to change based on something, like website traffic.

      But I'm just stating the oubvious.

  114. Amen to the PIC chip! Here's some code... by wirelessbuzzers · · Score: 5, Informative
    Just to get you started. It's mostly left over from my wireless buzzer project. Since PICs don't come with 3 PWM units, you can just:
    do_red: // software PWM for red color
    DECFSZ $redtemp, F //0x41, for instance
    GOTO do_green
    MOVF $red, W //0x51
    MOVWF $redtemp
    XORLW -1
    MOVWF $red
    MOVLW $redbit //bit number of red LEDs on the port, say 0x1
    XORWF PORTA, F

    do_green: s/green/blue/; s/red/green/;
    do_blue: s/blue/red/; s/green/blue/;
    If you want it to pulsate, substitute GOTO do_counter for the last GOTO do_red:
    do_counter:
    DECFSZ $counter_divide_1
    GOTO do_red

    // Check if the interrupt code wants our attention
    BTFSC $interrupt_attn, $attn_bit
    GOTO get_new_params // get new pulsation parameters, you can write this

    DECFSZ $counter_divide_2
    GOTO do_red
    MOVLW 0xF // approximate delay loop for 30 HZ update
    MOVWF $counter_divide_2

    // if you're running at 4MHz, this code will be called about 30 times per second.

    BTFSS $pulsate_control, $pulsate_bit // Are we pulsating?
    GOTO do_red
    MOVLW $redbit || $greenbit || $bluebit
    MOVWF PORTA // reset the LEDS
    DECFSZ $step_counter // check if we should go opposite
    GOTO calccolors

    BTFSS $pulsate_control, $fixed_num // Do we have a fixed number of cycles?
    GOTO invert_deltas

    DECFSZ $num_pulses
    GOTO invert_deltas

    CLRF $pulsate_control // not pulsating anymore
    GOTO do_red

    invert_deltas:
    MOVF $num_steps, W
    MOVWF $step_counter // reload the step counter
    COMF $red_delta, F
    INCF $red_delta, F // invert the delta registers
    COMF $green_delta, F
    INCF $green_delta, F
    COMF $blue_delta, F
    INCF $blue_delta, F

    calccolors: // actual color adjustment
    MOVF $red_delta, W
    ADDWF $red, F
    MOVF $blue_delta, W
    ADDWF $blue, F
    MOVF $green_delta, W
    ADDWF $green, F
    GOTO do_red
    I'm a bit rusty on my PIC, so check the mnemonics and look for typos. Initialize $steps to be the number of "frames" to take to wax or wane in color, $red / $green / $blue to the initial color (in 256ths), and $red_delta, $green_delta, $blue_delta to be the change per step. You can control these from a USB or serial interface without too much pain. Just have your interrupt code set $interrupt_attn bit number $attn_bit. To do only a fixed number of pulses, set the bit $pulsate_control -> $fixed_num, and set $num_pulses to the number of half-pulses you want to do. IE, set it to 1 for a fade, 2 for a pulse, 3 for a pulse then a fade...

    In terms of hardware, you'd need the jack for the port, the power cord, a PIC chip, a transistor for each color, and a bunch of LEDs/resistors of each color. Easy stuff really. Let me know what you come up with. If you use USB, I'd be especially interested, as I have a Mac (no serial port). Good luck!
    --
    I hereby place the above post in the public domain.
  115. You need to check out . . . by taustin · · Score: 1

    All Electronics . The movie industry people call it the "toy store of the industry." Sometimes, they even have a book on programming stuff like you want.

  116. PICChips by Anonymous Coward · · Score: 0

    Look up PIC microcontrollers (http://microchip.com/) and learn it .. it's your best friend. You can drive 5v leds directly through the I/O pins .. no need for relays.. though honestly, you should be using transistors rather than relays anyway..

  117. Relays? by Anonymous Coward · · Score: 0

    You don't want relays, you want a DAC and a CPU. The combination I can recommend is an AVR 8-bit micro controller and a Maxim 4-channel quad DAC with an SPI interface.

    This is a very simple combination to program as well as design the hardware around. You take your micro controller (whatever your preference is -- hopefully it has an SPI bus) and you tie one GPIO lead to the chip select of the DAC.

    Have three of the DAC outputs drive MOSFET amps and then the LED's. You can then take the serial port of the micro and hook that up to a convenient PC.

    You can then devise a simple command structure to tell the micro to do various things (freeze a color, color wash, random, etc).

    The SPI bus is a nice little addressable serial bus (a bit like I2C), its easy to connect electrically and simple to program.

    Add some bulking caps and a a pull-down (I think its down) to the CS line of the DAC (when the AVR initializes the line will be high-z).

    Or you could get a more impressive microprocessor and port my embedded webserver to it (I just love plugging it)

    1. Re:Relays? by Mr2cents · · Score: 1

      You don't even need a dac, just pulse width modulation will do the trick. This can be done with almost every microcontroller. Forget about relays. You should first calculate the current running through the leds, and see weither you can drive it with directly the uC. if that is not the case, a simple transistor (BC547) can be used.

      --
      "It's too bad that stupidity isn't painful." - Anton LaVey
  118. Hasn't anyone noticed this... by Alsee · · Score: 1

    Export Restrictions:
    We cannot ship this item
    outside of the U.S.


    I wonder if this thing uses "munitions level" encryption, lol.

    -

    --
    - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
    1. Re:Hasn't anyone noticed this... by SuiteSisterMary · · Score: 1

      Actually, it's probably more that it uses a 'national wireless network' to get it's info from, and that network doesn't exist outside of the States.

      --
      Vintage computer games and RPG books available. Email me if you're interested.
  119. Fun, but... by Anonymous Coward · · Score: 0

    ...expensive. By the time you finish, you'll probably find that you've spent more than $200. But if you ever get it to work, it'll be worth it. There was a time when I really enjoyed projects like this, but after years hunched over schematics it feels too much like work.

    First thing you need is a breadboard, for prototyping. You can get it, plus everything else you need at Digi-Key. Also, look for a couple of hobby mags at your local bookstore, Poptronics, and Nuts and Volts. You may find ideas and cheap parts sources there.

    Oh, and do a little searching on smoke theory. All electronics work on smoke.

  120. Cheaper at DigiKey.com by wirelessbuzzers · · Score: 1

    You can get equivalent LEDs cheaper at digikey. They're order of 30 cents there for very bright LEDs, except the blue ones which are not quite a dollar.

    --
    I hereby place the above post in the public domain.
  121. Nation wide wireless network? by Capt'n+Hector · · Score: 1

    Why haven't I heard of this before? Don't tell me they built one just for this orb thingie. I want to connnect to it using my TiBook!

    --
    Quid festinatio swallonis est aetherfuga inonusti?
    Africus aut Europaeus?
  122. Bluetooth? by sonamchauhan · · Score: 2, Informative

    Or, if range isn't an issue, how about a DIY bluetooth module for the wireless connectivity?

    BTDesigner.com seems to be selling 20m-range modules for about $60.

    Anyone know of cheaper sources? By now, Bluetooth modules were meant to cost around $5/module (in large quantities).

  123. Re:kewl by Anonymous Coward · · Score: 0

    Attention users: Bagdad will be down for routine preventive maintenance in 41 hours.

  124. +1 funny by Anonymous Coward · · Score: 0



  125. Could build one for under a buck by FreedOhm · · Score: 1

    You could probably build one for under a buck- Well maybe two- I'd just pick up a few LF356 opamps, build some comparitors, use each comparitor w/a resistor to drive a single color LED ('cause they're cheapo) then use your parallel port to control the which LED's light up and why. The circuits are all REALLY simple, and you can readily supply the power from a computer power supply. I have built things such as this before. Currently building a frequency-responsive LED array for the output of my soundcard.......
    I can provide schematics of things to those who want them.

    (I'm an EE student, so I spend lotsa time doin' stupid stuffs like this)

  126. Two birds with one stone by john.r.strohm · · Score: 2, Informative

    Motorola currently has a design contest going with
    their MC68HC908QT4 8-bit microcontroller. This
    puppy is an 8-pin DIP, FLASH EEPROM programmable,
    and the pins appear to be PWR, GND, and 6 I/O
    pins. (One of them may be a clock, or it may be
    set up to accept a clock if you give it one.)

    Start at http://www.circuitcellar.com for details.

  127. Parallel Relay box by Anonymous Coward · · Score: 0

    Maplin Electronics, a British hobbyist company, used to sell a srelay box to connect to the printer port of MSDOS computers and some basic code to use to control it. The software would be no good now but the hardware might be....

  128. Parapin worked for me by jamesmartinluther · · Score: 1
    I used Parapin a year ago for a small project to control LEDs from linux. I wrote a small app in c to make a set of 8 LEDs blink in patterns. If you can compile and link using gcc, and are willing to do a little work toward understanding the parallel port, you won't have any problems using parapin.

    Enjoy!

    - James

  129. To all /. reading Labour MPs by Anonymous Coward · · Score: 0

    Vote against Tony Blair's warmongering!

    1. Re:To all /. reading Labour MPs by stormraven · · Score: 1

      I suppose all these off-topic comments are justified because Tony Blair and George Bush have the big glowing cyber-balls to do what needs to be done without having to screw around with france?

  130. Aerotech by permaculture · · Score: 1

    Aerotech make juggling balls that glow in the dark and change colour.

    --
    Environmentalism is the new Victorianism. Everyone ties on a green corset and pretends we're virtuous.
  131. Release your source by Hecatonchires · · Score: 1

    Come on, a few pic on a web server are nothing when you could have everyone bowing before u

    --

    Yay me!

    1. Re:Release your source by Gordonjcp · · Score: 1

      That's about it, really. There are a few programs on Slashdot that flash LEDs on the parallel port. I tweaked a couple.

      I'll release some source when I write some, I promise ;-)

  132. Check the description... by Anonymous Coward · · Score: 0

    Imagine if you had to go to your computer and type in your zip code whenever you wanted to check what time it was. Your important information should be as accessible as looking at a clock, now the Ambient Orb can make a variety of information just a glance away.

    That's funny... I have to enter my zip code every time I want to check my pc clock? What's up with this technology crap?!?

  133. Cyber balls, eh? by Anonymous Coward · · Score: 0

    The quest for Balls

    (Trust me, it's funny...)

  134. oh, wow... by Anonymous Coward · · Score: 0

    ...it's just like a super-expensive, super-lowres pixel!

    Cutting edge. Yea, I want one.

  135. Open source LED controller by micahjd · · Score: 1
    This is a little project I did, specifically for controlling a large number of LEDs for ambient information (CPU load, music visualization...). It connects to the serial port, and can control up to 72 LEDs with variable brightness.

    I was planning on making kits for this available if there's interest, but that's on hold until I finish a new design (thousands of LEDs, true color, USB).

    There is hardware info, source code, and photos at the project web page.

    --
    -- 2 + 2 = 5, for very large values of 2
  136. fyi by Anonymous Coward · · Score: 0

    Dude, I used to work at a nuclear power plant, so I already have glowing balls.

  137. Why it is export restricted? by Eminence · · Score: 1

    I know it is out of topic as far as your DIY project is concerned, but I went to the Think Geek page and apart from seeing that the item was already Slashordered ("out of stock"), I read that this item can't be shipped out of US. Now, is it because there is strategically important technology involved or just because Think Geek doesn't want to sell to foreign customers?

    1. Re:Why it is export restricted? by Anonymous Coward · · Score: 0

      Probably because it does not work outside the US. No coverage.

    2. Re:Why it is export restricted? by Anonymous Coward · · Score: 0

      It's probably related to the fact that it requires a certain cellular (or whatever) network to be present for the device to function.

      I never did get a good explanation as to why they wouldn't ship the StreamZap PC remote to Canada, though.

  138. Quick dirty way of doing this by triaxcaribdis · · Score: 1

    Quick and dirty way of doing this... Use the output of your sound card. Add an LED VU meter (one with fade, these are available from places like Maplin etc. in kit form) to the line out. Constantly play a tone through the card and turn the volume up and down depending on the "news". You'll probably want a second sound card for this but hey, they're cheap.

  139. Re:Go USB (quick! Easy!) by thogard · · Score: 1

    How much hardware support is there for the usb end? Most of the USB chips I've looked into seem to do have one CPU as a traditional MCU and another preprogrammed with a USB stack.

    Does anyone else wonder why Motorola dumped the 6809 in favor of offshoots of an earlier design?

  140. Black tape by blastedtokyo · · Score: 1

    Just dust off an old monitor you've got lying around. Cover it in black electrical tape so that you've got a hole showing the shape of a ball. Then write software to show a colored ball positioned exactly where you've left the hole in the screen. Place it in a dark corner. Be careful not to cover the air vents. Voila! you've got a screen with unlimited patterns and a native interface for your video card.

  141. What's a PIC? by GCP · · Score: 1

    some kind of microprocessor or something?

    Sounds fun...

    --
    "Those who have never entered upon scientific pursuits know not a tithe of the poetry by which they are surrounded."
  142. LED brightnes control chips. by r2000 · · Score: 2, Informative
    Maxim make a chip designed to control a few 16 segment displays, or overall it can control 128 individual LEDs. each "digit" has brightness control.

    www.maxim-ic.com

    A data sheet

    also check out the related products on that page.

    maxim are helpfull with there sample policy. If you were to connect an array of red, green and blue LEDs inplace of the digits, you can change the brightness of each bank of them with 8 brightnesses,

    In the data sheet they talk about 127 colours with bi-coloured LEDs, if you had tri-coloured then you would get... ooooh.. 16.8 million.

    can be loaded by bit-banging the SPI or I2C interface from a printer port. Im sure someone has made a linux driver for it. Some code to do that was on there site when I looked but I cant find it now..

  143. Sounds to me like... by Anonymous Coward · · Score: 0

    a radio receiver determines the amplitude (brightness) of the red, green or blue part or a tricolour LED. They could have three close together FM channels that are doing their magic. I suspect smoke and mirrors and $200 is a bit steep for smoke and mirrors.

    An easy way to get the multicolour effect: Three slow sine wave oscillators of different frequencies (1/10hz, 1/11hz, 1/12hz ?) wired into a multicolour LED with enough voltage not to pop them. Maybe a 1/2 wave rectifier (two diodes) to keep the voltage +ve

  144. Re:kewl by more+fool+you · · Score: 1

    please ensure that your media has their collective cameras on watching the fireworks from the safety of the HYATT for our viewing pleasure (when we aren't playing BF1942) and of course ensure that the sanitized militiary footage (that somehow avoids media scrutiny) DOES NOT show any civilians being blown up into little pieces. KTHXBAI

  145. Re:kewl by Anonymous Coward · · Score: 0

    the aussie "media" have done the pre-emptive strike on the war. we now have a "news" segment called "target iraq". now i'm not sure if these guys stole the name from a video game, but hey, it turned some fatcat's executive dial. anyways, i suppose it's the next evolutionary step from big brother.

  146. asdf by s0m3body · · Score: 1

    i'm controling my devices at home via computer
    i have bought mem-PIO module (http://www.bmc-messsysteme.de/ger/pr-mem-pio.html ) which is attached to USB (i wanted to save my serial port) and has 3 programmable 8 bit i/o gates
    under windows, you can use active-x control provided by vendor
    under linux, you can ask me for a linux driver

  147. Oops... by TopShelf · · Score: 1

    Silly me - I thought this was a story about some nerd getting stuck at 3rd base with his equally nerdy girlfriend...

    --
    Stop by my site where I write about ERP systems & more
  148. offtopic? by Anonymous Coward · · Score: 0

    can someone fill me in?

  149. check out by Bowdie · · Score: 1

    The stuff coming out of Color Kinetics

    They do a lot of colour changing LED gear.

    purty cool.

    --
    yes, www.dotcomforwardslash.com is my real URL.
  150. Building by Wirr · · Score: 1

    glowing Cyber-Balls might be easy, but where do you get the nano-tech sperm for the filling?

  151. Watch out for patents, DMCA etc by Indulis · · Score: 1
    The patent on using PWM to drive LEDS which combine to make different colours is, I believe, held by
    color kinetics.


    When you are taken to court for patent infringement, you can use this batch of comments on slashdot to try to defend the fact that the idea is trivial and obvious to anyone who knows anything about electronics. I'll send you cards in jail :-)



    Colorkinetics web site


    Indulis
    (about to put in a patent on
    "Forward motion by gravity assisted rythmic motion and articulated frameworks"... next time you go for a walk you'll be paying ME!)

  152. Easy(ish) PIC based solution by AmiMoJo · · Score: 1

    Here is my little guide to making a complete system based on a PIC12C508. Might actually try this one since it could be interesting for other uses...

    First, I`d go with a PIC12C508 microprocessor. You cMaybe a similarly specced Atmel, unfortunatly I have not had time to look into them too much yet. Anyway, if you search around you will be able to find some hardware bit banging RS232 code for this device, meaning you can connect it easily to your serial port.

    Now, wire up some RGB LEDs to some of the pins of the PIC, using transistors to drive them. Put them in serial. If you put enough in serial so that their rated working voltages add up to the supply voltage, you don`t need a resistor, BTW. There are loads of example transistor LED driver circuits on the web, if you need help.

    The key here is that you only need three pins on the pick, and three transistors. One per colour (reg, green, blue). You should be able to get six LEDs in serial from a 12V supply, you can just create more serial chains if that`s not bright enough.

    To make the colours you want, have the PIC pulse the pins connected to the LEDs. The more often a pin is "on", the brighter that colour component of the output will be. My advice would be to read three bytes from the serial port, and then do a loop 256 times. Each time you go around the loop, you compare the loop counter with the byte you read (three bytes, one for each colour) and if it's lower turn the corresponding LED pin on. You may find 256 iterations is too high, but keep in mind each time you reduce it you also reduce the colour resolution. Going as low as 16 loops should look fine though.

    The only really tricky part is the serial comms bit. My advice would be to come up with a very simple protocol. For example, you expect 0x00 followed by 0xff and then the three colour bytes. That way, no matter what state the PIC is in when you transmit, if you send 0x00, 0x00, 0x00, 0x00, 0xff and then your colours it is certain to reset the protocol and work.

    Not a complete guide, but it`s not hard so give it a go! With a PIC with more IO you could wire up quite a few LEDs, and give yourself status info on all sorts of things. With a USB interface chip you could even go for a more modern connection if that is important. Personally I like RS232 though :)

    --
    const int one = 65536; (Silvermoon, Texture.cs)
    SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
  153. troll? by Anonymous Coward · · Score: 0

    can someone PLEASE fill me in??

  154. I have 2 balls by Anonymous Coward · · Score: 0

    that change color with how much pr0n is on my hard drive.

  155. With the stockmarket today it'll be a disco light! by Viol8 · · Score: 1

    Still , at least while your portfolio goes down
    the toilet you can enjoy the show while it lasts.
    I wonder if it could display the fortunes of Saddam .. no wait , I get depressed
    if I see too much red in a day...

  156. Say no to relays! by Anonymous Coward · · Score: 0

    Be mindful when connecting relays. And if you want
    _many_ colors, you could use simple resistor-ladder
    D/A-converters connected to latches. Then, if you
    used say, 8 bits of the parallel port, you could
    use one of them as "clock", two to select the
    latch (this would give you 4 addresses) and the last
    five as the value. So with for example 3 latches
    (red, green & blue) you would have yourself nice
    RGB555 colors, which should be more than enough.
    Or maybe use 4 bits per color, those latches
    would be easier to find.

  157. sounds easy but... by hopelessOne · · Score: 1

    there are some problems.

    Many of the RGB leds require particular levels of voltage etc to make them work (I'm vague here 'cos I'm a software guy) - it is not like connecting a standard red LED in a circuit. Also, getting the colours to mix properly whilst still getting the brightness takes some effort. I heard Apple spent a while trying to get the glowing logo on their notebooks to light evenly (and that's just white light!)

    Secondly, producing particular RGB colours from these LEDs is extremely difficult as you have to map from the RGB space to the colour space produced by the leds (which is nothing so linear and simple as the three RGB integer values). Unfortunately, this is what I need to do :-(

    Oh, and regards the Ambient Orbs - they rely on a wireless network which it states is available across "95% of the US". Homemade alternatives with a simple serial interface (to which we can attach modems, micros or PCs) would be very useful for the rest of the world. I think Ambient Devices has missed a huge opportunity by relying on their own infrastructure (servers, the wireless network etc) instead of providing simple interfaces upon which we could all have built the cool applications mentioned in this thread (oh, yeah and they're too expensive!).

    Sounds like a great open source project. Good luck and let us know how you progress,

    -- Jamie

  158. Maybe the next iMac will do the job for you... by henele · · Score: 1
    Analysis of a patent Apple filed a while back pertaining to a possible iMac, hardcore, casemod, that could potentially offer what you want built right into the case...

    Meanwhile, for external data I'll probably settle with the still very cool DIGN Case with a really sweet software configurable LCD panel...

  159. Parallel Port is Easy.. by Anonymous Coward · · Score: 0

    My mom has a dance studio and, for the yearly show, had a set of chase lights built into various drops, driven by a gadget built maybe ten or fifteen years ago by a local college guy in an emergency; the one she'd bought had blown, and te show was in two days. Clacking relays, resistors, what looked like gobs of bathroom caulk holding it all together.

    Well, it broke.

    Me being a software geek instead of a hardware geek, I figured out just enough to manage to turn all those lights on and off from a parallel port - three big solid state relays. And now her lights can make all kinds of wacky patterns instead of just going around and around.

    What's my point? Well, the test rig was three LED's from radio shack, a chunk of phone wire, a DB25 connector, and one of those screw-terminal blocks. Soldered the phone wire to the apropriate pins on the DB25, used the terminal block to connect the other end to the LED's in an appropriate fashion, and good to go.

    Maybe not an approved method, but you know, so long as you hook it to an old computer you don't care about, what's gonna happen?

  160. You don't want relays. by PSaltyDS · · Score: 1

    I don't think you want relays to control the colors. That will only give you on/off for each color. What you want is variable intensity for each color, and that means more sophisticated control.

    In the Navy, I used to work on tactical consoles that used LEDs for control panel illumination. I always thought the brightness control for panel illumination was pretty slick. It was just an oscilator firing a RC time constant (adjustable by a pot on the panel) that determined the duty cycle of the LEDs (the ratio between on and off time). If you put an o-scope on the power to the LEDs, you saw a 5vdc square wave at a fixed frequency (about 1KHz). Turning the panel dimmer pot just changed the duty cycle for each period. With the pot all the way down, there was little or no up time in the cycle. With the pot all the way up, there was almost continuous up time with short down spikes. The effect on the panel illumination was smooth easy control of the LED intensity.

    This should be an easy circuit to build. A 1KHz oscilator drives a variable RC (resitor-capacitor, not radio controlled) time circuit, which controls the transistor that provides Vcc to the LED. The RC circuit is constantly being triggered by the oscilator, but the duration of the RC signal to the power transistor depends on the variable resistance (0-1000us).

    For a digital control to replace the mechanical pot, use an off the shelf programable one-shot (monostable multivibrator). Use one of these circuits for each color and you can get a wide range of variable colors and combination colors in your glow ball.

    Personal: Incredibly good looking young sexy guy seeks blind gulible girl...

    --
    Any technology distinguishable from magic is insufficiently advanced. - Geek's corollary to Clarke's law
  161. BASIC Stamp by 192939495969798999 · · Score: 1

    Use the BASIC stamp interface, or something like it... all our art-robotics labs use that, and it seems to be a pretty easy way to control something with your PC/etc. heh heh, glowing balls. ok i'm done.

    --
    stuff |
  162. Fun with microcontrollers by Anonymous Coward · · Score: 2, Informative
    I actually developed a sorta-simlar project (controlling a series of LEDs from PC, no ball though) a few years back, and I had great success using the Motorola 68HC12 microcontroller. Built in serial input (so you can use serial or parrallel interface), you can control the brightness of the LEDs with the PCM functionality (see note below) and, as I recall, the chip was $15 at the time, probably down to $5 now.


    As far as the PC side goes, just a program to output individual bytes to the serial (or parrallel) port as the backend, and you can do all the "detrermine-what-LEDs-to-light" calculations in a heavier portion of code, updating itself every 60 seconds or whatever from whatever data sources.


    As for the microcontroller, it's fairly trivial to write the code to control the lights, unless you want to put in stock-price-fetching/web-page-parsing functionality on the chip. Like I said, i'd recommend doing that on the PC and just have the microcontroller doing the LED-lighting work. If you've done assembly programming on Intel or most Motorola chips before, it's not hard to pick up (very different though from most RISC designs, like MIPS) but if you're not that great with assembly you can build gcc to output code for the HC12.

    Regardless of how you generate the bytecode, you'll have to simulate it, and have access to an EPROM writer, and maybe some RAM. The way I implemented mine was to have the initial "boot program" on EEPROM which made a request to the PC for the actual program. The PC-side caught the request, and sent a copy of the 'real' program bytecode which got loaded into RAM, and the booter jumped to the new code. This let me update the HC12 running-code as I found bugs, and let me add more features without re-writing to the EEPROM


    As promissed a note about PCM. I know a bunch of know-nothing-kiddies are going to reply to this post saying "it's a LED, it's either on or off, stupid" but as anyone whose done 1 year electical/computer engineering there are 2 ways (that i know of) to control the apparent brightness of LEDs. First, controlling the current flowing though said LED (which was not done in my HC12 LED controller implementation, but could have been with creative use of output ports and resistors), and the second is with pulse code modulation. For PCM, if you want a LED on at 80% brightness, you simply output a '1' 80% of the time, and '0' 20% of the time. The cycle repeats fast enough (remember that we're running on a 16MHz clock which (although it seems puny now) it insanely fast compared to the human eye) so that our eye sees that as 80% the brightness of an "on" LED.

  163. This is only $100, and is easy. by NortWind · · Score: 1

    Try out the 232DRIO RS-232 Digital Relay I/O Module. It worked ok for me, easy to use. They have some other models as well.

  164. Remote controlled reading light by goonies · · Score: 1

    Now isn't it great, come here you can subscribe to a glowing ball where we change its colors using radio signals... btw, if you pay more you even may change the colors yourself... oh and if you pay us $1000 a month we will maybe allow you to turn it of at night, maybe!

    --
    .sigh
  165. Balls thoroughly licked� by Anonymous Coward · · Score: 0

    ...the problem of what I'm going to spend my next $200 on.

  166. Tiny Internet Device (MicroController) by Anonymous Coward · · Score: 0

    - uses java and there are many interfaces to the
    'real world' (see ibutton on their site)

    - samples available (free w/o any shipping costs !)

    http://www.ibutton.com/TINI/index.html
    http://w ww.maxim-ic.com/TINIdocs/tinispec.pdf

  167. The Coffee Howto by Kafteinn · · Score: 1

    The Coffee Howto has information on how to control stuff with your parallel port.

    I found it very useful.

    --
    Hitler's in the fridge.
  168. Cheap USB Interface by Odie_flocon · · Score: 1

    Ok I've been working with unit that has a nice small footprint. is USB. and currently works with Win2k, and Linux(Linux is still in development). the neat thing with this unit is that it has 8 digital inputs and outputs. so not only can it be used to monitor the goings on of your PC. you can hook it up to anything that will give you an on/off state. It's called a Phidget Interface Kit. here's a link to the website. http://www.phidgets.com/ I have 3 interface kits and am very impressed with them. they are approx $80(Cad) with shipping and everything.

  169. Re:Microcontrollers ---ARRRGGGH!!! by b96miata · · Score: 1

    Enough from your pic people! AVR's come in all shapes and sizes just like that other uproc family, not only that, they can execute nearly all their instructions in ONE clock cycle (divide pic's mhz by 4 when comparing) and they are *cheap*. I am no pricing expert but last I looked 6mo or so ago there was a respectable price difference. I understand pic's are popular, but you really need to know a thing or two about the avr's before you say things like that. They're quite cheap to program as well. ( I actually got my avr starter kit thing complete w/ serial & parallel programming cables, 2x20 lcd, max232 & power supply, assembled, for under 40. came with a basic *compiler* as well for all you basic stamp folk, not to mention free assembler tools from atmel, and gcc is available.

  170. Re:Microcontrollers ---ARRRGGGH!!! by b96miata · · Score: 1

    Oh and if you are really pressed for cash and don't want the full-featured starter kit.... http://www.danaco.net/avr.htm - microcontrollers that would be more than capable for this for under $5, and under $10 for an assembled programmer. Probably better prices out there too, this is the first I could come up with.

  171. A few hardware links ... by OldHawk777 · · Score: 3, Interesting

    Okay, maybe a few basic hardware References, HI-LED, Breadboard, and Chip Products links would help.



    Reference - AtariArchives Electronic Computer Projects
    Reference - Electronic Circuit Guidebook Sensors
    Reference - Robot Building For Beginners
    Global Specialties Breadboards
    Eductional Kits USA including LED kits
    High Intensity (HI) LED Source Discrete LEDs, LED Panel Mount Lamps, Based LED Lamps, SMT LEDs, PCB LEDs
    RF Digital Corporation HI-LED White Red Yellow Blue Green
    National Semiconductor Chip Products Catalog National Semiconductor Products
    PMC-Sierra Chip Products Product Directory
    R.T.Nollet, Chip Products, Australia


    There you go; it should be enough to get you started on the hardware. Others that are far better at software can help with some of the required programming resources. If you can afford an old logic analyzer (maybe 8/16-pin, at surplus stores) for the I/O buses they can help you optimize your code. Years ago, (when I did) I would have used, an appropriate Hex/Machine code to do a small project like this. If you and a couple colleagues/friends succeed at this level ... the lessons you teach yourselves and experience obtained will be significant ... not many universities teach at this "wide-concept" "Master-O-None, Jack-O-All" level anymore. Very few Geeks under 40 years old (I believe) would be able to do what you are thinking about even less if they have a college degree that pushed them into a "high pay/viz" specialty at a young fragile age.


    OldHawk777


    Reality is a self-induced hallucination.

    --
    Unaccountable leaders are masters, and unrepresented people are slaves. How do US and EU fare?
  172. Happy Karma Ball by thatguywhoiam · · Score: 1
    Happy Ambient Orb!

    -only $14.95-

    * Warning: Pregnant women, the elderly and children under 10 should avoid prolonged exposure to Ambient Orb.
    * Caution: Ambient Orb may suddenly accelerate to dangerous speeds.
    * Ambient Orb contains a liquid core, which, if exposed due to rupture, should not be touched, inhaled, or looked at.
    * Do not use Ambient Orb on concrete.

    Discontinue use of Ambient Orb if any of the following occurs:

    * Itching
    * Vertigo
    * Dizziness
    * Tingling in extremities
    * Loss of balance or coordination
    * Slurred speech
    * Temporary blindness
    * Profuse sweating
    * Heart palpitations

    If Ambient Orb begins to smoke, get away immediately. Seek shelter and cover head.

    Ambient Orb may stick to certain types of skin.

    When not in use, Ambient Orb should be returned to its special container and kept under refrigeration...

    Failure to do so relieves the makers of Ambient Orb, Wacky Products Incorporated, and its parent company Global Chemical Unlimited, of any and all liability.

    Ingredients of Ambient Orb include an unknown glowing substance which fell to Earth, presumably from outer space.

    Ambient Orb has been shipped to our troops in Kuwait and is also being dropped by our warplanes on Iraq.

    Do not taunt Ambient Orb.

    Ambient Orb comes with a lifetime guarantee.

    Ambient Orb.

    ACCEPT NO SUBSTITUTES!

    --
    If Jesus wants me it knows where to find me.
  173. Re:Go USB (quick! Easy!) by oaklybonn · · Score: 1
    Erm...nothing about USB is "trival." It might seem that way if you've never been down-and-dirty with the firmware.

    True, I've not had to write USB firmware; the chips I was referring to in the parent provide basically parallel port functionality in a single chip and a handful of discretes.

    Most people (like me!) won't have the time or technical skills to try and customize the firmware. What I liked about the delcom chips was that all I only needed a host platform compiler for my favorite language and I was able to get my IO hacks working. Its in the sweet spot, IMHO, for a hobbiest.

  174. Re:Microcontrollers ---ARRRGGGH!!! by cybermace5 · · Score: 1

    I feel the same way you do, about PICs. I don't like their instruction set. The HC08 is much, much better for comparable feature sets.

    --
    ...
  175. Buy this glowy mouse, then mod it to be a ball. by rickmccl · · Score: 1

    I've posted about this before, as an example of proior art to Apple's patent on having computers change their colors. Go to SHINZA.COM and get the Elecom Grast24 mouse ~$US50. It is a USB mouse that has a 3-color LED inside. The color can be set to change randomly, like those glowy pens on the market now, or it can be set to any specific color. [I used to be positive this was software controlled, but the web page has changed and now I'm not sure.]

  176. nothing but hardware by wireb · · Score: 2, Informative

    Ok 2 not so easy ways to do it...

    serial port method.
    Get a pic microcontroler with built in serial port and a DtoA converter. Connect each (1 red, 1 blue, 1 green) to its own individual DtoA output (with a current limit resisor picked so 5V results in full led brightness ((5V-VfLED)/(IledCONT)= R). next hook your serial port to the pic via a RS232 to TTL converter (MAX232 is a good choice). write some simple code to read 3 values from the serial port and dump them to the DtoA reg (too long to post here send me Email for help or look at the ap notes on microchips web sight) and tada you have a serial controled glowing ball....


    10baseT ethernet (UDP/IP) method.
    go to
    http://home.att.net/~wireb/niode/niode/index.html
    build a niode and hook the led to that. I am currently working on new commands to allow the DtoA converter to work for a use similar to this (controling fiber optic lights in celing tiles). A lot more work but you would be able to control it from anywhere in the world that can send UDP trafic to it.

    Later
    Wire

  177. Don't use relay's, Transistors or buffer IC!!!! by nexusone · · Score: 1

    First LED's don't pull a lot of current but relays do. Also relays are not cheap and wear out over time.

    Transistors: very low power, long life, fine for turning on and off a LED. but in a parallel port limits you to 8 LED's.

    Now using a few IC's, you can create an address system and have 16 or more LED displays hooked to your parellel port.

    Google search on parellel port interface will give you everything you need to know on how to access it.

    --
    Wise men speak because they have something to say, Fools because they have to say something!!!!
  178. I saw a nicer one at the Whitney Museum Giftshop by ajaxlex · · Score: 1

    Not network enabled, but it was not glass - some malleable translucent substance - like a 'stress' ball. Also contained an internal power reservoir - plug it in and then unplug and play with it for a while. Somehow more elegant.

  179. An Animal Book 4 u by Breakerofthings · · Score: 2, Informative

    I picked up Designing Embedded Hardware a couple of weeks ago; being a software geek, with no hardware experience (except for assembling PC's, etc), I found this book to be amazing.

    I highly recommend it.

  180. Robot Builder's Bonanza by NitsujTPU · · Score: 2, Informative

    If you want a quick fix on how to wire stuff for parallel port, I believe that there are plans in the book "The Robot Builder's Bonanza" to do this. It's great, it's only about $30, and one of the professional societies on your campus probably already has a loaner copy. It's available on amazon.com. Get super-saver shipping if you're on a budget, reply to this with an e-mail addy and I'll even write software for it if I think that your design is sound ;-)

  181. Hack this: prebuilt color-changing LED balls by kriegsman · · Score: 2, Insightful

    Color Kinetics (aka CK Sauce) makes a line of color-changing LED balls, wands, lights, etc.. They have several "modes", and presumably could be hacked to do whatever you wanted. Some of them run on batteries, some run on AC current, and all are cool. Chiasso carries their stuff. Fun.

    -Mark

    1. Re:Hack this: prebuilt color-changing LED balls by licem · · Score: 1
      Mathmos also makes color changing stuff you can buy and hack. ThinkGeek sells the ColorBubble, which doesn't color change -- but they have the Tumbler on their site which does change color (just random color changing, not connected to information).

      The CK Sauce stuff sucks, don't buy it.. it really is the $3 LED version of the Ambient stuff. The Mathmos and Ambient products are much higher quality. If you're going to hack anything, grab those.

    2. Re:Hack this: prebuilt color-changing LED balls by kriegsman · · Score: 1

      I actually own a few items from each company (Mathmos and Color Kinetics). The CK items give off a more steady, uniform light than the Mathmos products, but I'm really hooked on the built-in rechargable-ness of the Mathmos gadgets, and the frosted glass look is pretty nice, too.

      FWIW, the "functional" part of a CK Sauce color wand is about only about 1.5cm x 1.5cm x 1.5cm, and it's powered by a single AA battery: very easy to repackage and repurpose.

  182. Be careful of patents... by slipandfall · · Score: 2, Insightful

    It sounds like a cool project but companies like Color Kinetics and others have patents in the color changing LED arena that you should be aware of before you go too far down this road.

  183. Won't work well. by Andy+Dodd · · Score: 1

    With a 16 line decoder alone (No extra hardware), you can only have one of those 16 lines selected at a time. Not good for brightness control - Useful if you want to choose between 16 different LEDs, each of a different color.

    --
    retrorocket.o not found, launch anyway?
    1. Re:Won't work well. by nate1138 · · Score: 1

      Yeah, that's true. could use it to switch between banks of different LED's tho. Have each bank vary in color slightly, then you have 16 gradients to choose from. Or not. I'm no super hardware engineer guy.

      --
      Where's my lobbyist? Right here.
  184. It's the hair by Fencepost · · Score: 1

    And since I got about 6-8 inches and all the split ends whacked off of it last Friday, my showers are noticeably shorter.

    --
    fencepost
    just a little off
    1. Re:It's the hair by Anonymous Coward · · Score: 0

      And since I [...] whacked off [...] last Friday, my showers are noticeably shorter.

  185. Insert Southpark reference... by Rude+Turnip · · Score: 1

    ...about how you'd like to make your own salty chocolate balls [HERE].

  186. Frosted glass by Fencepost · · Score: 1
    Quoting from their FAQ:
    11: Can the Ambient Orb break?
    Well, the electronics are pretty sturdy, but the Orb itself is made of frosted glass. So if you drop it you might still get your information, but the glass probably won't make it.
    --
    fencepost
    just a little off
  187. AVRs rock by Andy+Dodd · · Score: 2, Informative

    I guess the poster has two options:

    Parallel port - Eats his parallel port, and needs lots of wires to be run.

    AVR - More complex to design, but easier overall.

    I don't see why you reccommended an oscilliscope - For most uC development one isn't needed. (Can be nice to have though!)

    Parallel-port AVR programs are simple and easy to build. Atmel did a good job as far as AVR programmability. You can program most AVRs in C with good results, either using GCC, or one of a few other compilers. (As much as I like GCC for most development, Codevision is an EXCELLENT IDE/compiler that is well-maintained. Cornell uses Codevision + AVRs for their microcontroller class, and Prof. Land has had 1-day turnarounds from bug report to bug fix from the author of Codevision.)

    For those who are lazy and have some extra cash, the STK500 devel board is $89-109 or so depending on where you look and is wonderful for prototyping circtuits. (Has built-in switches and LEDs, TTL-to-RS232 converter for AVRs with a UART, and a serial port based programmer.)

    Some AVRs have built-in internal RC oscillators - Not as stable of a frequency reference, but for many applications (such as this one), it doesn't matter, and it's much easier to use.

    Most AVRs have only one or two PWM outputs, and VERY few if any have three, which isn't as serious of a limitation as it may seem - Since the PWM rate only has to exceed 100 Hz or so, he can easily do 8-bit PWM with a software loop. (Essentially, having 8 or 16 software-driven PWM channels.) 8-bit PWM would probably be overkill for this application, even 4-bit might be more than sufficient.

    AVRs are also excellent for driving parallel LCD displays, although the software is much more difficult. (It's easy with Codevision, except that only the commercial versions of CV can use the LCD library.)

    --
    retrorocket.o not found, launch anyway?
  188. Ambiant orb by TheMerk · · Score: 2, Informative

    Hmm.
    $299 list.
    $199 Thinkgeek
    $150 Brookstone Ships week of 5/15/2003

    Not sure if building your own worth the effort.

    My 2

  189. Or similarly by Andy+Dodd · · Score: 1

    Power connected to LED via resistor.

    Transistor between LED and ground.

    Also good to have a resistor between the uC pin and the base.

    Can't remember NPN or PNP... I really need to brush up on the basics, been spending too much time with upconversion/downconversion of RF and high-speed ADCs... :)

    In this case, the transistor sinks rather than sources current. (In many situations, sinking current is easier than sourcing it - This is inherent in most logic/uC output circuits, almost all TTL logic, CMOS logic, and most uCs can sink much more than they can source.

    --
    retrorocket.o not found, launch anyway?
    1. Re:Or similarly by Jeff+DeMaagd · · Score: 1

      Agreed, sinking is definitely better than sourcing due to efficiency and speed issues. Beginner books I've seen start out with sourcing just because it's easier to get beginners started when high (1) turns the LED on. Even the first EE classes I've had start with positive logic for a week or so before moving to inverting logic.

  190. small correction... by MadCow42 · · Score: 1

    sorry, you can get 5 input channels... I only use 4 though, hence my confusion. The diagram shows all 5 though.

    MadCow.

    --
    I used to have a sig, but I set it free and it never came back.
  191. Other AVR compilers by Andy+Dodd · · Score: 1

    For those who are willing to try commercial compilers, Codevision is excellent. The professor for Cornell's microcontrollers class loves the compiler (and most students of the class including myself wind up swearing by it by the time they finish with EE 476). Prof. Land has had 1-day turnarounds between bug reports and bug fixes.

    http://instruct1.cit.cornell.edu/courses/ee476/ is the webpage for the course and has LOTS of AVR resources as well as some good example code. Sadly, my lab partner and I never got around to tidying up our final project summary for posting on the class website, we also had a POV display, albeit single-color. (Dot-matrix scrolling sign plus a PS/2-to-RS232 converter.)

    --
    retrorocket.o not found, launch anyway?
  192. Sucks by Andy+Dodd · · Score: 1

    Atmel (http://www.atmel.com/) AVR series >>>>> Microchip PIC

    http://www.digikey.com/ is an excellent source for AVRs. AT90S8515s are around $8 each and a good "Beginner's" uC (Lots of memory, lots of features), from there you can go to smaller uCs such as the AT90S1200 (No RAM, just flash memory for program, some EEPROM, and the CPU registers. Don't worry, it's not x86, there are PLENTY of registers. :) or the ATTiny series.

    --
    retrorocket.o not found, launch anyway?
  193. Wireless access - Use an old pager. by Dethpickle · · Score: 2, Interesting

    It seems most of the posts involve USB or some other port from a PC. I thought some of the point of the ball... well, all of the practicality of it, at least, was that it was wireless. I know the only reason I'd ever use one is because my computer is loud and I like to have it off when I'm doing anything else in my room. To have a lamp light when I've got mail would let me unsleep my machine just when I need to.

    Just put the guts of an old pager in it. Then you could have the thing battery powered and completely wireless. Your server checks whatever you're interested in and fires off emails to ##########@messaging.yourpagerco.com with text messages telling the lights what to do. RED FULL, PULSE RAINBOW, SLOW GREEN, whatever... have that tie in to all the other hardware you guys came up with.

    Text pagers are dirt cheap - we probably have a drawer-full somewhere. And the service is under 5 bucks a month for a single person...

    ... and of course, if someone actually makes one, I want one....

    -- I have nothing clever to say.

  194. To make lots of colors, blend using duty cycling by badmonkey · · Score: 3, Informative

    Not sure if anyone covered this yet, but wouldn't you want to duty cycle the various colored LED's so that you can blend lots of different colors. You don't need actual relays to switch this level of power do you?

  195. Simple way - rip status LEDs out of old keyboard by badzilla · · Score: 1
    --
    "Don't belong. Never join. Think for yourself. Peace." V.Stone, Microsoft Corporation
  196. couple of sites to recommend by brysnot · · Score: 1

    http://www.boondog.com/tutorials%5Ctutorials.htm actually just that one. can't find the other. -bry

  197. Color Kinetics and Ambient Devices Blend Smart Ill by NoCrypto · · Score: 1

    COLOR KINETICS AND AMBIENT DEVICES PARTNER TO BLEND SMART ILLUMINATION WITH WIRELESS
    INFORMATION

    Color Kinetics licenses patented Chromacore® technology to wireless information innovator for new category of color-driven, ambient information devices

    Boston and Cambridge, MA - March 18, 2003 - Color Kinetics Incorporated, the pioneer of intelligent LED-based illumination technologies, and Ambient Devices, the leader in glanceable information displays, today announced an agreement designed to address demand for an emerging wave of wireless ambient devices. Through a technology licensing agreement, Ambient will leverage Color Kinetics' patented Chromacore® technology to provide the color-changing "intelligence" that illuminates its innovative Ambient Orb and enables a broad range of future applications.

    "We're pleased to add Ambient Devices to the growing number of companies that are differentiating their products by licensing Color Kinetics' technology. Ambient Devices has created an entirely new way of delivering timely, wireless information with massive consumer and business appeal, and we're excited to play a role in this new and forward-looking market," said Bill Sims, president and COO, Color Kinetics. "The use of intelligently controlled LED illumination for the transmission of wireless information demonstrates the truly remarkable breadth of applications that can be achieved using Chromacore."

    "We're thrilled to collaborate with Color Kinetics and explore the potential for real-time information visualization," said David Rose, president, Ambient Devices. "Ambient Devices is committed to the concept of 'calm technology', which takes advantage of a person's powerful perceptual system. We have an innate ability to read subtle changes in the surrounding environment and this can be a means to render information without cognitive clutter. Incorporating Color Kinetics' Chromacore technology allows us to do this in a simple and aesthetically elegant way through non-intrusive color-changing light."

    In response to the increasingly pervasive flood of information that interrupts consumers via pagers, cell phones, personal digital assistants and the like, Ambient Devices weaves information into everyday objects that employ color-changing light to unobtrusively deliver Internet-based information at a glance. The Ambient Orb, a wireless, glass desktop device, is the first in Ambient Devices' growing line of products to take advantage of Color Kinetics' Chromacore - a pioneering technology that applies microprocessor-controlled, multicolored, high-brightness LEDs to generate millions of colors and color-changing effects. The Ambient Orb is powered by the Ambient Information Network, a nationwide wireless network which transmits user-specified information and seamlessly maps that data to color changes, reflecting fluctuations in everything from the stock market to traffic patterns to pollen counts and weather conditions. Chromacore supplies the color-changing effects that are the Orb's means of communication to users - for example, displaying a linear spectrum from green when a user's stock portfolio is up to red when it's down. It also provides the inherent benefits of LED-based illumination, including long source life, low energy consumption, and little heat emission.

    Ambient Devices is working with companies across numerous markets to embed wireless connectivity in a wide range of products, including gauges and indicators for financial services, office furniture, health and wellness, and business accessories. The compact, flexible nature of Chromacore allows for easy configuration within products as small as keychain fobs and pens. As a result, businesses can differentiate their products by transforming them into unique, ambient information delivery services.

    The Ambient Orb will be available nationwide in May 2003.

    About Ambient
    Ambient Devices provides the hardware, infrastructure and services that support a new range of glanceable wireless devices.

  198. Give 1-wire network hardware a try . . . by a_timid_mouse · · Score: 3, Informative

    I'm not an electrical engineer, but you might find what you're looking for at AAG Electronica. They have serial port adapters, sensors, switches, etc that work on a 1-wire network. I have a weather station hooked up with their gear. I think you'd need the adapter (~$15) and their switch module (~$30). http://www.aagelectronica.com/aag/index.html

  199. Make it bigger by ehiris · · Score: 1

    I'd really like to try this with a white workout ball that I use as my home office chair.
    Any pointers on how many LEDs I would need to light up a white ball with a 75 cm diameter?

  200. $200? Get a job and buy one. by Anonymous Coward · · Score: 0

    Dude! Add up all the time you'll spend reading these replies, formulating your plans, acquiring parts, assembling parts, and writing code. Even if you do end up spending less cash on the parts than just flat out buying the thing, the value of your time and effort is going to be, what, like 50 cents an hour?

    You'd be better off getting a job in your campus bookstore and just buying one.

    If your objective is to tinker, more power to ya. But if you think you're saving money, think again.

    Obviously not a tinkerer,
    kestrel blue

  201. Use for old chips? by HeyLaughingBoy · · Score: 3, Informative

    This is interesting. I have a basement full of old ICs including drivers, microprocessors, digital/analog devices and thousands of LEDS and other things I've bought surplus over the years for various projects. I've thought of packaging them up into little "hobbyist paks" and selling on EBay, but never could think of what kind of project to sell them for. Perhaps a kit with parts like a UDN2987 octal driver, 8 leds, a connector and a schematic showing how to build a parallel port I/O interface along with some Linux C driver code for $15-20 shipping included? I think I even have artwork for a PCB I made to do this years ago!

    Think anyone would be interested?

    Then again, do I really want to deal with the support emails from people who can't hold the right end of a soldering iron...

  202. Re:Obligatory Southpark Reference... by Anonymous Coward · · Score: 0

    Kind of like Alec Baldwin's Schwetty Balls on SNL.

  203. try a microcontroller... $10 solution by Anonymous Coward · · Score: 2, Informative

    http://www.cygnal.com The C8051F300 is an 11-pin micro with 8 digital/analog peripherals. It can provide serial access and then an additional 6 outputs. Run the leds through a ULN2003 darlington array (7 transistors in a 16 pin package) and hook them up to the micro. Cost $15.

  204. This is a very simple circuit. by jackrabbit123 · · Score: 1

    If all you want to do is control eight LED's from your copmuter, get eight resistors which will keep the current at what the LED's can handle, a SN74LS7405 IC chip (that's an open collector inverter) and of course eight LED's.
    Build the circuit like:
    +5 -> resistor -> LED -> outputs of IC chip.
    The outputs of your IC chip will be the ground of the circuit. That way if you put a logical high on the input of the IC chip, the output will be GND otherwise it'll be +5 and current won't flow (turning the LED off).
    Now simply connect the DATA pins to the inputs of the IC chip and voila.
    To control the parallel port from within windows, you can use a driver called tinyport. I'm sure you can find it on google.

    --
    War(n) - Gods way of teaching Americans geography.
  205. A Better use for the Glowing-Ball-Protocol by catch23 · · Score: 1

    Here at work I use 3 monitors controlled by one mouse and one keyboard by making use of x2x and x2vnc. Because of the large amount of desktop area, sometimes it's to easy to locate where my mouse is. I'd have to jerk my mouse around to see which part of the screen is moving.... and it gets even more confusing when one monitor is turned off. What I'd really like to do is hack their glowing-ball-protocol so I can have one ball on top of each monitor that changes color everytime my mouse was in that "area". It would probably require changes to x2x and x2vnc, but the software part doesn't look hard.

    1. Re:A Better use for the Glowing-Ball-Protocol by catch23 · · Score: 1

      stupid submit button!!

      That should've read "...sometimes it's NOT easy to locate where the mouse is...."

    2. Re:A Better use for the Glowing-Ball-Protocol by Anonymous Coward · · Score: 0

      Windows XP has an Accessability option that triggers a sort of 'shrinking bubble' effect around the mouse cursor -- basically creating a large, moving target that points to where your cursor is. I think it's mapped to the Ctrl key by default, which sucks, but otherwise it's quite effective. Something like that would be much easier to implement, more accurate, and wouldn't cost $600.

    3. Re:A Better use for the Glowing-Ball-Protocol by catch23 · · Score: 1

      hello? some people don't use WinXP or even windows for that matter.... And two of my monitors aren't running windows, hence the basis of my question to begin with!!

    4. Re:A Better use for the Glowing-Ball-Protocol by licem · · Score: 1
      Unless you happen to be rich and feel incredibly wasteful - perhaps you should have just ONE (instead of three) orbs, and have it show different colors based on where the mouse is. For instance: red=left, yellow=middle monitor, green=right.

      This would be completely doable with a software development kit for the Orb. They need something that will just let you bypass the wireless if you like and plug directly into the serial port, then control via some basic software.

      There is some talk over at Ambient411 about an API for controlling the Orb, either locally or having developer access.

      I hear that remote developer access is already available to some users (I haven't used it yet). You just spit query strings to a URL with the color & serial number of your Orb and it will change colors. This, however, has a delay due to the wireless network

      For a "roaming mouse" application you'll need a serial or USB input for faster feedback... Some of the Ambient guys sometimes post on Ambient411, so I'd try petitioning there.

  206. Interfacing by Anonymous Coward · · Score: 0

    Hey,

    Check out this link for info on how to build a device that flashed leds via the parralel port. Has pin outs and diagrams plus code.

    http://www.hackcanada.com/homegrown/wetware/brai nw ave/

    "The brain wave machine"

    Peace

  207. STK500s by Andy+Dodd · · Score: 1

    Looks like I was wrong about STK500 prices - They're apparently down to $79 from DigiKey... Very tempted to finally order one, have been planning on doing so for a long time.

    --
    retrorocket.o not found, launch anyway?
  208. Darlington Arrays by Anonymous Coward · · Score: 0

    Just use some 1411/12/13s or relatives. 7 Darlingtons in a single package with flyback diodes. Some of the relatives have eight devices, and some four high current devices ( commonly used for print heads at 1.2A/pin).

  209. Re:That's missing ANOTHER key point... by MadCow42 · · Score: 1

    Getting rid of the wireless network also gets rid of the $1/mo access charge the company is charging for providing the "content". The glowing balls are useless without a signal to drive them.

    Hook it to your computer, save the $$$.

    MadCow.

    --
    I used to have a sig, but I set it free and it never came back.
  210. The Definitive Guide To Making Glowing Balls by kp2sushi · · Score: 1

    Ok, I'll be the first to say that "glowing balls" sounds really funny.

    There are two ways to do this. One is easy and the other requires some hardware skills.

    Ok, I'll give some hardware background. The parallel port is really the way to go because you have 8 (count 'em) data pins. From each of the data pins you connect a little device called an opto-isolator. I've seen octal opto-isolators in a DIP package. If that went over your head, it basically means that there are 8 individual opto-isolators in a single package. The opto-isoloator will have the dual function of protecting your parallel port from dangerous currents and it will behave as a relay. The major advantage to this method is that you can build this arangement in a very small package.

    The second method gives you more control over the brightness of the bulbs. Microchip Inc. makes these nifty microcontrollers called PIC chips. You can buy one with DAC (Digital to Analog Converter) outputs. You wire the DAC outputs to a FET (field effect transistor, I'd recommend a small MOSFET) and then wire the FET to the leads of the LEDs. The second connection you will make is from the parallel port to the PIC chip. I've never done this arrangement before, but I'm guessing you can connect the CLOCK input of the PIC chip to the parallel port's STROBE output. Then you connect the PIC chip to the parallel port. The final step is burning (actually, this would be the first step) a small program to the PIC chip that accepts data from the parallel port and converts the 8but value into an analog voltage. With this method you can control the brightness of each color

    I hope this helps some people at least get out the door on, what seems to me, is a very nifty hardware hack.

    -Kp2Sushi

    --
    Take the white suppository, and I'll show you how deep the rabbit hole goes...
  211. Spencer Gifts.. by way2trivial · · Score: 1

    Right now sells a three LED ball o'trips for acid/X heads that's almost identicle. A plastic sphere, whith three superbrite leds it just changes colors based on ambient sound.. flowing from red-blue-yellow All you have to do is snip the microphone off, and wire something else in. I'd go look at Spencer's

    --
    every day http://en.wikipedia.org/wiki/Special:Random
  212. Easily controlled color changing LEDs by jcdick1 · · Score: 1

    You might want to check out Color Kinetics as a possible solution. They are DMX controllable, and allow 65k colors. They were considered for some architectural lighting in a remodelling project where I work.

    --
    What?
    1. Re:Easily controlled color changing LEDs by jcdick1 · · Score: 1

      The iColor MR (a PDF doc) is what we had considered. They are really rather snazzy little things that fit into a standard MR16 lamp.

      Just put some sort of a translucent globe in front, come up with a DMX control sequence, and voila! You have your basic glowing cyber-ball.

      --
      What?
  213. Fine, you don't want SOLID STATE relays by dozer · · Score: 2, Insightful

    A solid state relay (S101S05v) is not a mechanical switch.

    Who brings up solid state relays when talking about hooking to a parallel port? You've never done this, have you? Solid state relays are too expensive, have high hold currents and forward voltage drops, burn quiescent power, and are very large in comparison. In other words, they are simply wrong for this application.

    But, you're right, they are not mechanical switches.

  214. patent violation? by dten · · Score: 1

    Could this project potentially violate this company's patents (assuming they have some)? Would that pose a challenge for openly distributing the results?

  215. Optoisolators and resistors by DaCool42 · · Score: 1

    4n33 opto-isolators and some resistors. Hook-em straight up to the parallel port data out lines. Works like a charm, and its super cheap.

    --

    ----
    All of whose base are belong to the what-now?
  216. Linux source by Whatever+Fits · · Score: 2, Informative

    I have a project that you can look at to get some Linux source for this and some simple hardware to look at for hooking up 8 LEDs to a parallel port. This is very simple and safe to do. I have it running on my desktop at home giving me the CPU usage in bright blue LEDs across the front bezel of the machine. Looks awesome. Very easy to adapt the code to utilize other values to control it. Just replace the function that gets the CPU usage with whatever you want. Diskspace on a server, network utilization, flowrate in the sewage system, whatever.

    --
    My name fits again.
  217. A piece of advice... by El+Camino+SS · · Score: 1


    Do not taunt happy fun ball.

  218. I did this...Sort of. by jedi_gras · · Score: 1

    I did a project in school that interfaced a computer to a piece of external hardware, namely LEDs.

    To do this, I wrote a DOS assembly front end (control panel) that controlled the pins on the parallel port.

    Secondly, I built the LED array with a spliced parallel port cable and connected the parallel wires to transistors so that when they are activated, the juice from the batteries supplied the current needed to drive my LED array. ( I think if you just hooked it up directly, via some small 220ohm resistors, the parallel signal could actually drive the LEDs.

    Lastly...just hook up the two systems and viola!

    I called my system..smart house demo or something, and used LEDs and piezo electric buzzers to represent things in the house that could be controlled via my control panel.

    It was kinda a cop out from doing something cool with Xilinx gate arrays but this was still fun and visual too. :)

    Hope that helps.

  219. Slashdotted a product by Michael+Crutcher · · Score: 1

    The orb is now out of stock. I don't know if this is a first, but wow, we slashdotted a product.
    1. Make something geeks will drool over (anything with glowing balls should suffice)
    2. Post on slashdot
    3. Profit!!!
    The mystical second step has now been revealed.

  220. Corrections to the above code... by wirelessbuzzers · · Score: 1
    I looked at PIC codes and the above stuff looks approximately correct. However, the synch is wrong between colors and pulsating, due to my hack of complementing RED value registers subtracting from 255 not 256, as well as timings between updating and stuff. You can hack it so that it works right as long as you initialize things very carefully, but a better methed would be to replace:
    MOVF $red, W //0x51
    MOVWF $redtemp
    XORLW -1
    MOVWF $red
    with
    MOVF $red, W
    BTFSS PORTA, $redbit
    XORLW -1
    MOVWF $redtemp
    The colors will then be in 255ths, but be careful to set it between 1 and 254; in fact, you might want to enforce this in your connection code. Alternatively, you could add the following:
    after MOVF $red, W:
    BTFSC STATUS, Z

    after ADDWF $blue, F (and ditto for other colors):
    BTFSC STATUS, Z
    BCF PORTA, $blue_bit
    Otherwise either 0 or 255 will give you about half duty ratio. Again, this list is not necessarily all the bugs.
    --
    I hereby place the above post in the public domain.
  221. D'oh! preview first!!! by wirelessbuzzers · · Score: 1
    I'm spaced out today. The BTFSS PORTA command should be a BTFSC or your colors will be backward. The BTFSC command listed as after MOVF $red, W should be two lines down, after XORLW -1, and should read:
    BTFSC STATUS, Z
    GOTO do_green
    Sorry about that.
    --
    I hereby place the above post in the public domain.
  222. Re:More than 8 colors? Kinda true... by AtariDatacenter · · Score: 1

    You *can* do it with relays in the same way that the parallel port sound cards worked.

    The para-what!? Yes. You hooked a decreasing level of resistors (8 of them, in fact) up to the 8 bits out data output on your parallel port. (With the proper resistance, and wattage, of course.) And at the time, there were quite a number of programs that would take advantage of a parallel port D->A converter. I seem to recall some Disney games (The Rocketeer) and several MOD players.

    Of course, not the greatest way of doings this (how many parallel ports do you want on your computer?) but the point is that you can do more than turn on/off a light with a solution you might normally consider as binary. You can affect brightness, too, and get some analog control out of it.

  223. Re:More than 8 colors? Kinda true... FOLLOWUP by AtariDatacenter · · Score: 1

    Where this all leads (in case it wasn't obvious):

    3 parallel ports. (Install an extra 2 cards and put them on a different IRQ/base addr.) Congratulations. You've got 24 bits of color information and even a marginal hack could string together the hardware and the software.

    And you might be able to use some of the additional data lines for other forms of information/communications.

  224. The Stamp Controller by davidmccabe · · Score: 1

    Parallax has a wonderful line of cheap, easy to program, microcontrollers called stamps. The low-end one is about $25 if I recall, and it's about everything you need.

    http://www.parallax.com/

  225. I am currently using this... by Bombur · · Score: 1

    Go to http://casemods.pointofnoreturn.org/cpumeter/ , I am currently using this hardware under both Linux and Windows. I am not that heavy into programming, but the source of was pretty easy to read, even for me. It should not be a problem for a better programmer to modify it to his needs.

  226. Unsefull link by Poison-R · · Score: 1

    http://www.cnckits.com - This is a site a friend has that's geared towards hooking up robotics and other machinery to standard computer equipment. Most of the same hardware could likley be applied to hooking up the glow-ball.

    --
    PR
  227. Transistorphobia by Jennifer+E.+Elaan · · Score: 2, Insightful
    Why are so many "geeks" nowadays afraid of a 2N2222? I built a circuit to do this with my C128's User Port when I was 12. Transistors aren't all that frightening.

    When working with a +-5V logic signal like the parport, just put some 1K input resistors on some 2N2222 or BC547's, and hook the LED with a 220 ohm resistor into the collector path.

    If the LED's require more current (like a blue LED does) recalculate the 220 ohm by using ohms law of (5V - 0.7V [transistor drop] - (whatever the LED forward voltage is listed at)) / (LED typical forward current). Simple really. For something more robust, you could even use a current-source circuit, but these can be a little tricky for a beginner.

  228. TQW looked like fun by Hecatonchires · · Score: 1

    I had a look at the website and loved your project. Wish I'd been in the same country so that I could have gone to burning man ^_^

    --

    Yay me!

  229. Use a PIC or a Cyprus by Anonymous Coward · · Score: 0

    The electronics for a simular (but not identical) device would be easy. a PIC, Scenix or Cyprus chip. Then you can do an RS232 or USB connection. (Cyprus is a cheap/simple way to do USB. PIC and Scenix are simpler and cheaper and good for RS232).

    I wouldn't go the wireless route like this device, that seems like overkill. I suppose you could do bluetooth or something with a PIC though.

    Then you just need some transistors setup to drive your LEDs with real power and control it with 3 fake digital to analogs on your PIC or SX. for a ball you could go with acrylic, you can make that yourself and just put the entire thing in plastic. or you could get a frosted glass globe from a craft store. if it has a nice heavy frosting on it you won't see the electronics inside and it will look much cooler.

    This sort of project is relatively simple and you could certainly build it for less than $200. I'd say depending on what sort of functionality you wanted expect to spend $40 to $80 on this sort of project. (unless of course you have all the tools and parts laying around.)

  230. asm solution by sPaKr · · Score: 1

    Check out the 'Art of Assembly Language Programming' One of the early projects is exactly this, programming a set of LED's to flash in a seqance. You can find it at webster.cs.ucr.edu

  231. Physical Widgets by IHateUniqueNicks · · Score: 1

    Well, if you're willing to go with USB, there are some very cool things being done at the University of Calgary, and they have comercialized some very handy interface devices dubbed "phidgets" which are as easy to program as any other interface widget. The web site can be found at http://www.phidgets.com/ I highly recommend you check it out.

    1. Re:Physical Widgets by licem · · Score: 1

      yeah, there's a little talk of it over at some ambient devices fan site and I think one of the guys from that program posts over there.

  232. Everything about LEDs by mbstone · · Score: 1

    Don Lancaster's page. Http://Www.tinaja.com.

  233. The Terror-O-Meter by licem · · Score: 1
    As ridiculous as the information as, logging in as a guest a myambient.com seems to show that they actually have a Homeland Security Channel. I can see paranoid old men in camos huddled in the basements waiting for the oracle of light to glow green before they will leave.

    Ahh.. and not to forget the Terror-O-Meter

  234. PWM and some interesting stuff... by xgoat · · Score: 1

    The best way of controlling an LED's brightness is though using PWM, and that's a fact. The only thing is how to control the PWM, there are two basic possibilities. The first is to bung in a micro(processor|controller) and multiplex the LEDS in a nice fashion connected to that. The second method, would involve building some (quite simple if you think about it) logic circuitry that controls the PWM from a serial input. The serial input could come from something like your serial port, taken through a MAX233 or MAX232 to get the voltage levels down.

    I think that the processor method is much better, because all you have to do is put some sort of connector on the main board that allows you to add and change the method of control - e.g. serial, parallel or some sort of wireless (which would infact be serial...) thing.

    You could also connect an ethernet device to the bus so that you could control it via ethernet.

  235. I'm not sure if anyone has mentioned this. by Anonymous Coward · · Score: 0
    There's a site that has a lot of informations about using parallel ports and relays. In fact there's a site called http://www.geekinventions.com/ that has a schematic of a relay board controlled via the parallel port.

    Hope that helps, and I think I'll be making my own ambient orb now. Cool idea.

  236. reams of data by Anonymous Coward · · Score: 0

    I would write this in software first. Dont bother making the step to hardware until you try writing some connectors for data you want to monitor. I like the idea of querying a database used by an application (like bugzilla or a project tracker) for some meaningful information (number of bugs unresolved, etc..) and displaying that information on your screen somewhere. Then you can have an emulator before spending any money on hardware.

  237. Ambient Devices Releases Hardware/Software SDK by licem · · Score: 1
    Ambient has released schematics for building your own orb, or to control the Ambient Orb locally through a serial port, or controlling it remotely through their developer channel.

    Ambient Devices Releases Hardware/Software SDK

  238. okay I know I'm asking for trouble.. by shakes · · Score: 1

    I know I'm asking for trouble by posting my URL on slashdot... but here:

    http://v8.emorific.com/images/articles/orb_schemat ic.jpg

    Please be nice to my server. This is an untested schematic, use at your own risk. Note that the caps need the same value as your crystal's load capacitance, so you may need to change those. VSS is +5v. The only other thing that is needed to connect this to your computer is a signal level converter for serial (max232 chip would do it..) I'll be designing a quick little circuit to do that tomorrow. The source code for the pic chip hasn't been written (again, I'll write that tomorrow). If you are really interested in this, let me know and I email you the urls for the missing parts when I have completed it.

    1. Re:okay I know I'm asking for trouble.. by shakes · · Score: 1

      oh yeah and q1 is a 20Mhz Crystal..