Shop OBEX P1 Docs P2 Docs Learn Events
Another example of a poorly designed battery powered propeller based product — Parallax Forums

Another example of a poorly designed battery powered propeller based product

william chanwilliam chan Posts: 1,326
edited 2009-01-25 01:21 in Propeller 1
Can you guess what it is?
Somehow it looks unprofessional, more like a student project.
Any suggestions on how to make the product look more presentable?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my
1280 x 960 - 76K
1280 x 960 - 168K
1280 x 960 - 90K
«1

Comments

  • MikerocontrollerMikerocontroller Posts: 310
    edited 2009-01-22 08:54
    It detects motion via the PIR sensor and outputs an IR code produced by the Propeller which modulates the 555 timer operating at 38 khz. If a force great enough to overcome the grip strength of the Velcro is applied, the unit will tip over and activate the mercury switch. By then it is too late and the only thing left to do is run. Looks okay to me but I'm from the Basic Stamp section and have yet to package a project. Your threads are always thought provoking!
  • Dr_AculaDr_Acula Posts: 5,484
    edited 2009-01-22 09:03
    It is a robot detector. If a human approaches they are detected with the PIR. But if a metallic robot approaches with all the magnets in its motors, it trips the reed switch. The LED is actually a lethal laser. It starts off programmed to zap evil robots but something goes horribly wrong with the code and it gets reprogrammed to zap humans...
  • Erik FriesenErik Friesen Posts: 1,071
    edited 2009-01-22 13:05
    Polycase will custom cut any of their boxes for you. However you may expect to spend $125+ for a setup fee so you have to be wanting a few of those to pay for that.
  • william chanwilliam chan Posts: 1,326
    edited 2009-01-22 14:02
    Somehow I think only a custom made case can look commercial. Enclosures are always my weak point.

    With the Propeller's surprisingly efficient power design and some smart circuitry, the entire board's average current consumption is only 140 micro amps !.
    This is amazing, considering that that Propeller NEVER goes to sleep at all times.

    At this current consumption level, I estimate the 2 AA alkaline batteries can last 12 months.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.fd.com.my
    www.mercedes.com.my
  • kwinnkwinn Posts: 8,697
    edited 2009-01-22 14:03
    Is it a "one of", a prototype, or a finished product?
  • Ken PetersonKen Peterson Posts: 806
    edited 2009-01-22 14:07
    If I were to guess (which I guess I am..) I would say it detects someone entering the room and then uses the IR LED to turn on the stereo. smile.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·"I have always wished that my computer would be as easy to use as my telephone.· My wish has come true.· I no longer know how to use my telephone."

    - Bjarne Stroustrup
  • william chanwilliam chan Posts: 1,326
    edited 2009-01-22 14:13
    kwinn said...
    Is it a "one of", a prototype, or a finished product?

    For the 1st batch, we made 10 units for beta-testing.

    I am still not satisfied with the outlook, so version 2 will naturally see some changes. (hopefully improvements.)
    It is a chicken and egg problem.
    We can't finalize the board design unless we can finalize on the casing.
    On the other hand, we can't finalize the casing until the board has been finalized!

    If we finalize on a board too early, the casing will turn out too bulky or ugly.
    If we finalize on a small slim casing, the final board may not fit.

    Designing around a good casing is difficult.
    Even a simple task of centralizing the PIR sensor to the center of the casing may take days if your PCB is compact.

    Anybody facing similar kinds of problem?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.fd.com.my
    www.mercedes.com.my

    Post Edited (william chan) : 1/23/2009 1:55:16 AM GMT
  • Ken PetersonKen Peterson Posts: 806
    edited 2009-01-22 14:20
    That box looks familiar. Is it a case from DAT or backup tape?

    I know a lot of people use Altoids boxes.... smile.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·"I have always wished that my computer would be as easy to use as my telephone.· My wish has come true.· I no longer know how to use my telephone."

    - Bjarne Stroustrup
  • StefanL38StefanL38 Posts: 2,292
    edited 2009-01-22 14:22
    Hello William,

    do you know a design-university ?

    The students need projects to get examined you need a goodlooking case
    so come together

    Maybe you can initialize a design-contest at a highschool

    best regards

    Stefan
  • Fred HawkinsFred Hawkins Posts: 997
    edited 2009-01-22 14:32
    it's a distributed security sensor, one of (size of your budget or size of the secured area, whichever is less). The sensors yell at each other about the big objects that pass by.
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2009-01-22 14:43
    William,

    I have used off the shelf cases and dressed them up with laser labels. If you have seen some of my products I have featured on this forum you might like to know that the labels for the prototypes are printed onto heavy duty laser label paper on a color laser. The label is polyester based I believe and resistant to water and oils, tear proof, weather resistant etc. The toner bonds to this very nicely and looks exactly like the real thing. I pick them up at the local office supplies. Try AVERY L7067 for A4 sized sheets or the equivalent. Use OpenOffice Draw to create the labels as it allows precise positioning etc. You would be surprised what a difference a smart label makes.

    This is a case I have used with the Prop which has a battery compartment for two AAs plus a window for IR leds.
    www1.jaycar.com.au/productView.asp?ID=HB5610&CATID=5&keywords=&SPECIAL=&form=CAT&ProdCodeOnly=&Keyword1=&Keyword2=&pageNumber=&priceMin=&priceMax=&SUBCATID=644

    This case uses a laser label.
    http://forums.parallax.com/attachment.php?attachmentid=57690

    *Peter*
  • william chanwilliam chan Posts: 1,326
    edited 2009-01-22 14:49
    Ken Peterson said...
    That box looks familiar. Is it a case from DAT or backup tape?

    Yes it is. But it is the smaller 150MB or so case, not the larger 400MB case.
    Do you know where to buy such cases without buying the DAT tape?

    What are Altoids boxes?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.fd.com.my
    www.mercedes.com.my
  • Ken PetersonKen Peterson Posts: 806
    edited 2009-01-22 14:55
    William:· Altoids are mints that come in a small metal box, sold in the U.S. and I'm not sure where else.· The box is a popular case for hobby projects.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·"I have always wished that my computer would be as easy to use as my telephone.· My wish has come true.· I no longer know how to use my telephone."

    - Bjarne Stroustrup
  • william chanwilliam chan Posts: 1,326
    edited 2009-01-22 15:10
    Ken Peterson said...
    If I were to guess (which I guess I am..) I would say it detects someone entering the room and then uses the IR LED to turn on the stereo. smile.gif

    You are so smart.
    It is designed to switch on the air conditioner when you enter the room and switch it off when nobody is around for 10 minutes.

    Simple but effective energy saving device.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.fd.com.my
    www.mercedes.com.my
  • RDL2004RDL2004 Posts: 2,554
    edited 2009-01-22 16:42
    I doubt the Altoids tin will provide the professional appearance you want.

    www.fixup.net/tips/pktamp/original.htm

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Rick
  • Ken PetersonKen Peterson Posts: 806
    edited 2009-01-22 17:28
    @RDL2004: I agree. I only mentioned it because it's popular with hobbyists and it may look about as good as a tape case (hence the "grin" in my entry).

    If you need something more production-ready, I suggest a project box that screws together. The PCB doesn't necessarily have to fit like a glove.

    How you approach this depends on your expected sales volume. Start with an off-the-shelf project box, design your PCB to fit and set up a drilling jig for the holes. Then if you sell enough of those, go to Protomold or some other rapid tooling source and have a custom box made.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·"I have always wished that my computer would be as easy to use as my telephone.· My wish has come true.· I no longer know how to use my telephone."

    - Bjarne Stroustrup
  • Ken PetersonKen Peterson Posts: 806
    edited 2009-01-22 17:38
    Another thought: I suggest using the LQFP-44 package rather than the DIP-40 if you are going into production with it. You can make it much smaller then. Also use the SOIC version of the EEPROM. If your power requirements are really low, perhaps you can also consider a button battery.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·"I have always wished that my computer would be as easy to use as my telephone.· My wish has come true.· I no longer know how to use my telephone."

    - Bjarne Stroustrup
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2009-01-22 17:42
    It appears to have an IR Detector as well. Does this respond to remote control?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
  • SRLMSRLM Posts: 5,045
    edited 2009-01-22 18:14
    I think it would look more professional if the batteries were mounted on the PCB, and you used all SMD components (that you can at least).
  • PhilldapillPhilldapill Posts: 1,283
    edited 2009-01-22 18:56
    This is really cool, William! When I'm home from school, my dad's always complaining that I leave the AC unit on. Something like this would certainly shut him up! [noparse]:)[/noparse]
  • Ken PetersonKen Peterson Posts: 806
    edited 2009-01-22 19:17
    @William: I hate to say this in the Propeller forum, but using the Prop may be overkill for this application. You can maximize your profits by using a cheaper microcontroller. Freescale has controllers that will do the job for about $0.50 (US) each, available in an 8-pin SOIC (no external EEPROM required). You may be able to fit the whole thing in the size of a key fob.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·"I have always wished that my computer would be as easy to use as my telephone.· My wish has come true.· I no longer know how to use my telephone."

    - Bjarne Stroustrup
  • Andrew E MileskiAndrew E Mileski Posts: 77
    edited 2009-01-22 22:16
    Dr. Who in Blink said...
    This is my Timey-Wimey detector.
    Goes ding when there's stuff.
    Also, it can boil an egg at thirty paces.
    Whether you want it to or not, actually.
    I've learned to stay away from hens. It's not pretty when they blow.
    Post Edited (Andrew E Mileski) : 1/22/2009 10:22:58 PM GMT
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2009-01-22 22:50
    Ken Peterson said...
    @William: I hate to say this in the Propeller forum, but using the Prop may be overkill for this application. You can maximize your profits by using a cheaper microcontroller. Freescale has controllers that will do the job for about $0.50 (US) each, available in an 8-pin SOIC (no external EEPROM required). You may be able to fit the whole thing in the size of a key fob.

    If you hate to say it then why say it? nono.gif

    If it's not a Prop then it wouldn't be on this forum and it wouldn't be as much fun either, and neither would we be discussing it. Besides even if you prototype it with a Prop there is still nothing that stops you from doing a production version with something cheaper after you made a functional unit.

    However, I have designs which I know I can handle using a cheaper micro but for the sake of a few dollars I choose to use the CPU of my choice, the one that I have abundant tools and software for as well. Besides, I hate debugging conventional micros. If I did a production version of William's cool gadget (I will have to make one myself) then I might look at a small MSP430 mainly for battery life. But then again, as William pointed out the Prop does a surprisingly good job in that department too.

    Viva la Prop

    *Peter*
  • william chanwilliam chan Posts: 1,326
    edited 2009-01-22 22:52
    Chris Savage (Parallax) said...
    It appears to have an IR Detector as well. Does this respond to remote control?

    You have a keen eye for detail...
    The IR detector is used to record the equipment's IR pulse train during program mode.
    It is powered off to save power during normal operation.

    This way, the product can be used for any air conditioner brand.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.fd.com.my
    www.mercedes.com.my

    Post Edited (william chan) : 1/23/2009 4:24:55 AM GMT
  • william chanwilliam chan Posts: 1,326
    edited 2009-01-22 23:02
    Phil,

    I think the coolest thing about this gadget is that it is completely wireless.
    Just velcro it near the AirCon and that's it!

    SRLM,

    I think smaller batteries (button?) cannot handle the IR play current, which is targeted at 80mA (short time) and last one year.
    I can't use SMD Prop, because the Prop is the most expensive part in the product.
    We only plug in the Prop just before shipping.

    Ken,

    In a way, you are right, the Propeller is an overkill. I use only 1 cog to save power. Can I get a discount if I use only 1 cog? smile.gif
    But when viewed in another way, the Propeller is not an overkill, because the SX could not handle this project.

    That is why I asked for the TinyPropeller. No battery powered application is going to use 8 cogs.
    It's a pity because the Propeller actually has a lot of battery application potential, not many people realize it.

    To implement IR record and playback for all air-con brands, I need at least 600 longs (2400 bytes) of ram AND eeprom just for the pulse train storage.
    EEProm alone is too slow.

    Does the $0.5 Freescale have more than 2400 bytes of RAM?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.fd.com.my
    www.mercedes.com.my

    Post Edited (william chan) : 1/22/2009 11:40:18 PM GMT
  • william chanwilliam chan Posts: 1,326
    edited 2009-01-23 00:21
    Peter Jakacki said...
    Besides even if you prototype it with a Prop there is still nothing that stops you from doing a production version with something cheaper after you made a functional unit.
    *Peter*

    It would be a pity if the Propeller is only used for prototyping and never for mass production.
    How would the price of the Propeller chip come down then?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.fd.com.my
    www.mercedes.com.my
  • Ken PetersonKen Peterson Posts: 806
    edited 2009-01-23 00:30
    Nobody in their right mind is going to use the Propeller for a production product if it's overkill. I agree with using what you're familiar with for prototype, but if you're in the business to make money, then you use the cheapest thing that will do the job. Leave the Propeller for things that need it.

    As to your RAM requirements, there are I2C RAM chips mentioned in other recent posts on this forum that would probably help you there, and you would still be ahead.

    Don't get me wrong...I'm a big fan of the Prop, but as an engineer you have to realize that there are more efficient ways to do some things. Business is business.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·"I have always wished that my computer would be as easy to use as my telephone.· My wish has come true.· I no longer know how to use my telephone."

    - Bjarne Stroustrup
  • Ryan CrabbRyan Crabb Posts: 3
    edited 2009-01-23 00:45
    Do you plan on selling these? If so will they be offered as a kit? Will you be offering the schematics without the hardware? Will you be releasing the source code?
  • william chanwilliam chan Posts: 1,326
    edited 2009-01-23 02:10
    No schematics or source code will be released.
    PM me for more details.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.fd.com.my
    www.mercedes.com.my
  • PhilldapillPhilldapill Posts: 1,283
    edited 2009-01-23 02:13
    William, you mention that you would need a boat load of ram to store all the AC brand's codes? I thought this thing "learns" the code? i.e. wouldn't you only need a single long to store THAT code once it's learned?
Sign In or Register to comment.