Shop OBEX P1 Docs P2 Docs Learn Events
need help for boebot — Parallax Forums

need help for boebot

SYSSSYSS Posts: 10
edited 2010-01-28 00:36 in Learn with BlocklyProp
Hello everyone,
Iam trying to build a boebot robot
using bs2 microcontroller·and white breadboard
I connect the microcontroller, servo motors to breadboard
and tried to make it move but it is not show any action
The program in bs2 is fine, but the problem is in hardware, does it need more equipment
can any one help me?
thanks

dsc00497rx.th.jpg
1632 x 1224 - 431K
1632 x 1224 - 414K

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2010-01-12 19:44
    Please draw a schematic and post it.

    The Board of Education used in the BoeBot is quite simple. It has connections for programming the Stamp from a PC and it has an extra voltage regulator since the Stamp's regulator has limited current output. What is your power source for the servo motors (the red wire)? This should be the unregulated 6V supply. Make sure your batteries are fresh. Weak batteries are a common problem.
  • abcdabcd Posts: 22
    edited 2010-01-12 22:56
    Yep. It is possible you may have connected your ground and power incorrectly. Or you may have incorrectly connected the stamp to the rest.
  • SYSSSYSS Posts: 10
    edited 2010-01-13 09:01
    My teacher told me: you have to build your own circuit
    So I want to build an education board using breadboard
    how can I do that, any helpful links?
    I change battries and chech the connection, all are OK
    I want to know how to build my own board of education?
    thanks
  • Mike GreenMike Green Posts: 23,101
    edited 2010-01-13 14:55
    The schematic for the Board of Education is available:
    www.parallax.com/StoreSearchResults/tabid/768/List/0/SortField/4/ProductID/125/Default.aspx?txtSearch=board+of+education

    between that and the picture of the board along with the manual, you should have pretty much all the information you need except for the detailed bill of materials (parts list) used.
  • SYSSSYSS Posts: 10
    edited 2010-01-14 11:59
    I have supply 6 volts (4AA 1.5) battries to both servo and another 6 volts (4AA battries) to the
    bs2 microcontroller but it is not show any action I check the scematic diagram of the education board
    everything is OK?
    any suggestion?
  • Mike GreenMike Green Posts: 23,101
    edited 2010-01-16 05:25
    If you want help with this, you'll have to post a schematic of what you actually have (not what you think you have). A scanned in neat schematic drawing will do. You also need to post your program (as an attachment ... use the Attachment Manager that you used to post the photos).

    There is no particular reason why what you have described shouldn't work, so there must be some mistake in the wiring or the program. If your setup was OK, it would work.
  • SYSSSYSS Posts: 10
    edited 2010-01-16 09:49
    TX and RX codes and schematic digarm as attached file:

    http://www.2shared.com/file/10714070/7d169a73/bs2_Schematic.html

    63707_bs2_Schematic_122_587lo.JPG



    Post Edited (SYSS) : 1/16/2010 5:46:34 PM GMT
  • SYSSSYSS Posts: 10
    edited 2010-01-18 14:43
    ?????????
  • Mike GreenMike Green Posts: 23,101
    edited 2010-01-18 16:21
    1) Please don't use those file sharing services for hosting an image. It doesn't work with the forum software.

    2) Don't connect Vin and Vdd together. Vin is for connecting an unregulated power supply and goes through the voltage regulator on the BS2 module. Vdd is the output of the regulator. If you're using Vin for an unregulated supply, then Vdd can supply up to about 50mA of regulated 5V for other circuitry. Vdd can also be used for the input of 5V regulated DC (as you're doing) in which case Vin is not connected.

    3) In the transmit program, you have the SEROUT at the beginning, before anything else (like setting X). The first time through the loop, X will be zero and that's what will be transmitted. The 2nd time through the loop, X will be set and will be transmitted. Move the SEROUT to the end of the loop.

    4) Servos require the control pulse to be repeated every 20ms or so. If a servo doesn't get a control pulse roughly in that time period, it will shut itself off until the next control pulse comes in. What you will see is very slight jerking of the servo motor. You may need to redesign your program. I can't tell you what to do because you haven't really described what you want to accomplish with your program.

    5) You have your Baud constant set for 9600 Baud. That's too fast for wireless communication with a BS2. I'd suggest no faster than 4800 Baud, maybe only 2400 Baud. A BS2 can transmit at 9600 Baud, but receive is unreliable at that speed. Sometimes it works and sometimes it doesn't.
  • SYSSSYSS Posts: 10
    edited 2010-01-24 14:37
    Thanks alot Mike you are ahelpful person I appreciate your advices.
    I have one question>>
    How can I make the robot (boebot) stop when he sense an object
    what is command used to stop the boe bot moving when he sense an object
    I used stop command but it is not moving to anywhere else when I click keyboards buttons
    I used sleep command but the robot moving slowly
    how can I make it move in any direction and if it sense any object stop for 5 seconds
    and then move quickly again in any other direction
    thanks
  • Mike GreenMike Green Posts: 23,101
    edited 2010-01-24 15:20
    You need to go through the "Robotics with the BoeBot" tutorial (www.parallax.com/tabid/535/Default.aspx). This will show you how to use servo motors and how to adjust them. It has several chapters on object detection and avoidance using "whiskers" and switches and using IR LEDs and detectors.
  • SYSSSYSS Posts: 10
    edited 2010-01-27 17:25
    The problem that IR detector is working fine but I cant control boebot if it detect something
    when it detect any object it stops then I send control signals to make it move in other directions
    but it remain stops how can I make to move in any other directions manualy (not from it self).
    I mean the movement must done by control from PC keyboard
  • Mike GreenMike Green Posts: 23,101
    edited 2010-01-28 00:36
    What are the rules you want your program to do? ("IF ... THEN ...") What does your current program look like? What do you mean by "control signals"? What do you mean by "move in other directions"? In order to create programs, you have to be very specific about what you want the program to do.
Sign In or Register to comment.