Shop OBEX P1 Docs P2 Docs Learn Events
Penguin uOLED sonar-sodar installed. — Parallax Forums

Penguin uOLED sonar-sodar installed.

InteractInteract Posts: 79
edited 2007-10-18 15:34 in Robotics
My penguin is really getting quite a bit more capable. I have added the uOLED display, and along with the rotating feet (from this thread) he is able to become aware of the objects and their placement in his environment.
This picture is the radar (actually sodar since it’s not under water) result of him spinning on one foot with a wall on one side and a glass bottle off to another. ·As you can see the bottle is closer to the penguin than the wall. He is currently facing 49 degrees and the object directly in front of him is 108cm away.


·attachment.php?attachmentid=49899


·
I had to re-write the Parallax-Calibrated-compass routines so they were more optimized for variable usage and program space. The result of that work turned out to be just as accurate as the original Parallax code.
In theory the original code should be more accurate but due to the fact that the actual resolution of the HM55B is only good for 255 positions around the compass at best, my new routine came out to be of equal accuracy. The whole Compass routine including the calibration calculation only uses 2 word, and 1 byte, length variables. And the routine is just 3 lines longer than the non-calibrated routine. I will post another thread on this subject and the code.
The next picture is a bit shaky, but shows the penguin taped to his calibration disc (old CD with a line drawn across the middle. I turned the penguin to the four poles and moved and object toward and away from him to look at the result from the compass and calibration calculations. Without using the compass calibration calculation the display looked more like a peace sign.
·I was really surprised that this robot still has power to support all the things I’ve added:
Ultrasonic Ping))
Polouo Motor controller.
2 additional gear motors.
The uOLED display.
·
attachment.php?attachmentid=49900

Post Edited (Interact) : 10/15/2007 11:26:31 PM GMT
800 x 855 - 191K
800 x 753 - 165K

Comments

  • D FaustD Faust Posts: 608
    edited 2007-10-15 22:35
    Cool project!!!!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    LOOKDOWN ThisThread, [noparse][[/noparse]Your_?, My_?, Cool_Thing], looknum
    LOOKUP looknum, [noparse][[/noparse]1, 2, 3], subnum
    ON subnum GOTO Hope_this_helps, Thanks!, WOW!!
    END 
    
  • Mike GreenMike Green Posts: 23,101
    edited 2007-10-15 23:57
    I'd be interested in finding out how you've hooked everything up given the limited external connectivity of the Penguin.
  • InteractInteract Posts: 79
    edited 2007-10-16 00:20
    The 4 pins that normaly go to the LED driver are brought out to 2 conectors. Two control lines are needed for the uOLED and 2 control lines are needed for the serial Pololu motor controler, which controls 2 independent motors.
  • MinimumWageMinimumWage Posts: 72
    edited 2007-10-16 16:41
    Great job on all these mods! Any chance of getting movies of the robot in action?
  • quickster47quickster47 Posts: 35
    edited 2007-10-16 17:00
    Interact that is very nicely done. Great application for the uOLED display.

    Carl
  • HumanoidoHumanoido Posts: 5,770
    edited 2007-10-17 19:15
    Interact, very good work on adding the uOLED
    display with PING))) to make a SODAR on
    Penguin robot. Your work is exceptional and
    your programming is a remarkable accomplishment.
    I'm really glad you're here in the forum to share
    these very exciting mods.

    humanoido
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-10-18 15:34
    I would also recommend posting your optomized Compass Code. Perhaps there are others who could benefit from it or even the code you're using on the Penguin.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
Sign In or Register to comment.