Robot Vision & Feedback Control: Zumo 32U4, Pixy CMUcam5

Sdílet
Vložit
  • čas přidán 27. 08. 2024
  • Zumo 32U4 with Pixy CMUcam5: The robot carrying the ball is using a bump-and-go algorithm. The robot following is using the Pixy vision sensor and a feedback algorithm to coordinate servo arm and motor control.

Komentáře • 19

  • @joshualim9469
    @joshualim9469 Před 2 lety +1

    The music makes this 5 times better

  • @arya8431
    @arya8431 Před 7 lety +1

    thats cool project

  • @adayinthelife5496
    @adayinthelife5496 Před 2 lety

    Are you multi-threading or using dual core for your tracking/steering?

  • @AkmalxXVid
    @AkmalxXVid Před 7 lety

    hello sir....its work with micro-controller arduino?

  • @mwetzel0
    @mwetzel0 Před 7 lety

    Thank you for sharing. After watching your video, I made the same setup. I can verify my wires are the same as your. (I2C+GND to Zumo. 9V battery to Pixy.)
    I have an issue with the Pixy, though, and am wondering if you have similar problems. The Pixy wants to reset after each use. When I turn the robot off, the Pixy resets, losing both the color signature AND (more importantly) the setting to use I2C. It's quite frustrating, going back and forth to testing the robot, then plugging in USB to fire up PixyMon to change settings back.
    I have a support email going with Charmed Labs about the Pixy, but there's no obvious solution as of yet.
    If yours works fine, then I can at least suspect my Pixy is faulty.
    Thanks.

    • @DavidStenbeck
      @DavidStenbeck Před 6 lety

      Why does this setup use a 9v battery for the pixy? seems like this shouldn't be needed considering the pixy pet build doesn't use this? is there any advantage to this?

  • @sigitsasongko4234
    @sigitsasongko4234 Před 7 lety

    can you help me about program in your vidio?

  • @kurterickson2467
    @kurterickson2467 Před 7 lety

    What/how did you interface the Pixy with the 32U4? I asked Pololu and they said it could probably be done but didn't say how and then told me about your youtube video as proof it would work. Thanks for any assistance you can provide.

    • @The0000o0000
      @The0000o0000  Před 7 lety +2

      I2C interface. Pause at :50 seconds and note the the white and blue I2C wires connecting Pixy to the 32U4.
      Pixy documentation and pinout for I2C is here:
      www.cmucam.org/projects/cmucam5/wiki/Porting_Guide
      I2C pins on the 32U4 are shown in the top expansion pinout diagram here:
      www.pololu.com/docs/0J63/3.9
      Source code is in github here:
      github.com/cambrozak/bpl001/tree/master/session-07/pixy_8
      Hope this helps!

    • @mwetzel0
      @mwetzel0 Před 7 lety

      I can verify that it's easy to setup.
      (1) In PixyMon, you need to change the Settings->Interface to use I2C. Leave the address as 0x54 (since that's what The0000o0000's supplied code uses).
      (2) Their are THREE wires to hook up the I2C. Do not forget to connect the Pixy GND to the Zumo 32U4 GND. You can see this in the video around 0:51.
      (3) However, you need to solder a couple of header pins to connect to the I2C on your Zumo 32U4. Message me if you need a photo. This would be ALOT easier starting from an unassembled Zumo 32U4, but there is (barely) enough room to solder from through the battery compartment.
      Once connected, everything just works. Thanks again to The0000o0000 for doing this and providing the code!

    • @DavidStenbeck
      @DavidStenbeck Před 3 lety

      @@mwetzel0 If you could toss me a photo of the pins that'd be amazing

  • @moeshickenyay
    @moeshickenyay Před 6 lety

    Cool

  • @Jerseylance1
    @Jerseylance1 Před 8 lety

    nice.....

  • @jeremyjohns9795
    @jeremyjohns9795 Před 2 lety

    I'm not crying... your crying!

  • @williamhuang5329
    @williamhuang5329 Před 2 lety

    Hanzhen harmonic gear , robot joint gear over 30 years experience

  • @sigitsasongko4234
    @sigitsasongko4234 Před 7 lety +1

    excuse me sir, can you share the codes...

    • @mwetzel0
      @mwetzel0 Před 7 lety

      They did. (And I've built the robot and used the code, so I can verify it all works).
      From The0000o0000:
      Source code is in github here:
      github.com/cambrozak/bpl001/tree/master/session-07/pixy_8