Shop OBEX P1 Docs P2 Docs Learn Events
pwm and basic stamp 2 — Parallax Forums

pwm and basic stamp 2

dwaegerledwaegerle Posts: 4
edited 2008-05-05 22:23 in Robotics
Hi im a senior in high school and for my final electronics project i am building a robot and instead of using servos im using dc motors and i was wondering if anyone could help me with it.· what im having trouble understanding is i know i have to build 2 h bridges but like i dont understand the pwm and h bridge coding for it and also if you guys can help me withy how to make the connection gfrom the h bridge to the basic stamp 2 it would be helpful i am also controlling it from a universal remote. I appreciate it. once i figure out what im doing i will post a video up of me controlling it along with the schematics. ·

Comments

  • dandreaedandreae Posts: 1,375
    edited 2008-05-01 15:21
    Please post the information (data sheets)·regarding the components that you are using, this will help us determine what we can do.



    Dave



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Dave Andreae

    Parallax Tech Support·
  • dwaegerledwaegerle Posts: 4
    edited 2008-05-01 15:27
    My teacher just informed me we have a circut for the h- bridge so now im left with how to program pwm i can list the program im using if that might help

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Daniel Waegerle
  • Mike GreenMike Green Posts: 23,101
    edited 2008-05-01 19:02
    In order for us to give you advice or point you in the right direction, we would need the schematic for the H-Bridge. There are several different ways to make an H-Bridge and the signals they need depend on the design.
  • dwaegerledwaegerle Posts: 4
    edited 2008-05-01 20:20
    heres the information·you requested· and this is coming off of a ir remote

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Daniel Waegerle
  • dwaegerledwaegerle Posts: 4
    edited 2008-05-05 20:48
    Any one have any suggetions

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Daniel Waegerle
  • Brad_HBrad_H Posts: 35
    edited 2008-05-05 22:21
    Hi dwaegerle,

    Before anybody can offer any specific help you will have to, as Mike Green requested, post the schematic for the H-Bridge.


    Brad
  • Mike GreenMike Green Posts: 23,101
    edited 2008-05-05 22:23
    I'm sorry. You've not posted any information so far on the circuit you want to use or datasheets for the H-Bridge IC. There's good information on H-Bridges in the Wikipedia. Start there to begin to understand how they work and how they're used. Do a web search for "wiki h-bridge".

    It's impossible to tell you how to control the I/O pins without more information on the H-Bridge. If you get the signals wrong you can destroy the H-Bridge.

    Here's a 3 part article on motors and their control. Part 3 goes into h-bridges. members.tripod.com/RoBoJRR/motortech.htm
    It's not a lot of detail, but does show some typical h-bridge ICs and examples of their use.
Sign In or Register to comment.