Shop OBEX P1 Docs P2 Docs Learn Events
$$$ REWARD!- Can you make a stamp controlled digital camera? - Page 2 — Parallax Forums

$$$ REWARD!- Can you make a stamp controlled digital camera?

2»

Comments

  • DaveFDaveF Posts: 62
    edited 2005-01-07 21:29
    I read somewhere that all you need to do is to get the unique ID of the USB device, and then you just use that when communicating.... similar to the MAC or IP address when networking. Like the MAC address of a network card, each USB device has an assigned manufacturer ID followed by more manufacurer specific numbers and then finally some random numbers to make sure there are never (hopefully) duplicate ID numbers.

    The one thing you need to address (I believe) is that USB can also provide power (although I do not think cameras use it).

    I do not claim to be a USB expert, but this all sounded very logical to me.

    Theoretically, the stamp could just send out a certain string of bytes. This would then get the camera to send out it's response. USB is just like broadcast networking. Every device sees all of the traffic, but they only respond when they see their name.
  • DaveFDaveF Posts: 62
    edited 2005-01-07 21:32
    In addition, if Stamps cannot use USB, then what is this "FTDI USB" chip that Parallax is talking about stamps using in this page:

    http://www.parallax.com/html_pages/products/ftdi/ftdi_chips.asp

    Again, I am a newbie, so if I am wrong, take it easy on me!!!

    Dave
  • allanlane5allanlane5 Posts: 3,815
    edited 2005-01-07 22:09
    The FTDI USB chip set implements a very nice USB "SLAVE" device. One of the reasons it is so nice is that FDTI has put a LOT of effort into their downloadable drivers, that MUST be resident on the PC. If they are, it works great.

    I didn't say Stamps could not USE 'USB'. I said Stamps could not be "USB Master" devices. Thus Stamps cannot be "Master" devices for USB "Slave" devices like USB Cameras. Stamps can certainly be "USB Slave" devices (with the use of the FTDI or similar chip-set). The USB-BOE is a USB "Slave" device.

    And by the way, "all you need to do is..." and "you JUST..." and "Theoretically..." are all ways of trying to minimize the effort needed to accomplish something. When you see these phrases in some problem statement, underline them, as they can hide a lot of complexity, making something that can be really hard look trivial.

    I don't mean to discourage you here, actually. I'm just trying to explain that USB is NOT "RS-232" (which is fairly simple, actually), that it has a large over-head (in terms of driver development, which you can usually ignore, when using your PC). It is natural for a new person to want to apply this wonderful technology. I just don't want the new people to be mis-lead how difficult this is going to be.

    USB is VERY different from RS-232, and even from ethernet-based approaches.
  • DaveFDaveF Posts: 62
    edited 2005-01-08 02:16
    Gotcha, thanks for the breakdown!

    One question:
    Is it not possible to just monitor the communication between the PC and the camera, and then try to imitate that with the stamp? (I will take a simple no for an answer here!)

    I was going to ask you why YOU don't try to develope a USB interface for the stamp to act as a master, and then get rich selling it us, but I guess that is another thread!!

    hahaha!

    No problem, I will stick to serial for now, and wait for the USB to come.... it HAS to come some day!!

    Dave
  • wolffwolff Posts: 41
    edited 2005-01-08 04:33
    allanlane5 said...
    The FTDI USB chip set implements a very nice USB "SLAVE" device. One of the reasons it is so nice is that FDTI has put a LOT of effort into their downloadable drivers, that MUST be resident on the PC. If they are, it works great.

    I didn't say Stamps could not USE 'USB'. I said Stamps could not be "USB Master" devices. Thus Stamps cannot be "Master" devices for USB "Slave" devices like USB Cameras. Stamps can certainly be "USB Slave" devices (with the use of the FTDI or similar chip-set). The USB-BOE is a USB "Slave" device.

    And by the way, "all you need to do is..." and "you JUST..." and "Theoretically..." are all ways of trying to minimize the effort needed to accomplish something. When you see these phrases in some problem statement, underline them, as they can hide a lot of complexity, making something that can be really hard look trivial.

    I don't mean to discourage you here, actually. I'm just trying to explain that USB is NOT "RS-232" (which is fairly simple, actually), that it has a large over-head (in terms of driver development, which you can usually ignore, when using your PC). It is natural for a new person to want to apply this wonderful technology. I just don't want the new people to be mis-lead how difficult this is going to be.

    USB is VERY different from RS-232, and even from ethernet-based approaches.
    Very well said!!!!!
  • allanlane5allanlane5 Posts: 3,815
    edited 2005-01-10 00:46
    DaveF -- No, it is not possible to monitor the USB communcation between the PC and the Camera with a Stamp.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-01-10 02:19
    This article, from Parallax's main website, shows a BS2-controlled camera application.· I think it also lists a few camera models that support this feature.

    http://www.parallax.com/html_pages/resources/custapps/app_aerialphoto.asp



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage

    Knight Designs
    324 West Main Street
    P.O. Box 97
    Montour Falls, NY 14865
    (607) 535-6777

    Business Page:·· http://www.knightdesigns.com
    Personal Page:··· http://www.lightlink.com/dream/chris
    Designs Page:··· http://www.lightlink.com/dream/designs
    ·
  • DaveFDaveF Posts: 62
    edited 2005-01-12 01:08
    Thanks Eco!
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-01-12 20:13
    Who's Eco?

    confused.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage

    Knight Designs
    324 West Main Street
    P.O. Box 97
    Montour Falls, NY 14865
    (607) 535-6777

    Business Page:·· http://www.knightdesigns.com
    Personal Page:··· http://www.lightlink.com/dream/chris
    Designs Page:··· http://www.lightlink.com/dream/designs
    ·
  • DaveFDaveF Posts: 62
    edited 2005-01-12 20:45
    Good question...· I meant you Chris!

    Not sure why I tyed Eco!!

    Thanks!
  • ecourtecourt Posts: 13
    edited 2005-01-13 08:29
    I am.
    ECO
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-01-13 16:09
    Okay, well, as long as everyone got what they were looking for...I assume that you found what you need?· Take care!



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage

    Knight Designs
    324 West Main Street
    P.O. Box 97
    Montour Falls, NY 14865
    (607) 535-6777

    Business Page:·· http://www.knightdesigns.com
    Personal Page:··· http://www.lightlink.com/dream/chris
    Designs Page:··· http://www.lightlink.com/dream/designs
    ·
  • DaveFDaveF Posts: 62
    edited 2005-01-21 23:34
    yes, I think so... for now!
Sign In or Register to comment.