HSERIN problem


Closed Thread
Results 1 to 3 of 3

Thread: HSERIN problem

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Location
    Zamora, Spain
    Posts
    11

    Default

    hi, I have not read in deep your code, but, a servo needs to be "refreshed" with a pulse in [0.5-2ms] every 20 ms (aprox.).
    If you wait for the receiving of one new information string from the sensor for longer or shorter than this, your servo will not work properly.
    Take a look on this.
    Bye.

  2. #2
    s_syafiq81's Avatar
    s_syafiq81 Guest

    Default

    hi MaxG

    Another thing I would like to know, are my HSERIN command is correctly used. THe AHRs will output the euler angle as presented below. Can the HSERIN command detect the negative sign since from what i have read from the manual, A variable preceded by DEC will receive the ASCII representation of its decimal value. All non-digits received prior to the first digit of the decimal value are ignored and discarded.

    example:

    E:-0.01825,12.45123,-5.23564

    The three Euler angles roll, pitch and yaw are output in degrees.
    (roll range:-180 < roll angle < 180 , zero deg mean level with positive angle is right wing down)
    (pitch range: -90 < pitch angle < 90, positive angle = nose up)
    (yaw range: -180



    regards,
    syariful.

Similar Threads

  1. PIC16F88 HSERIN to LCD Problem
    By robbrownuk in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 6th June 2009, 22:32
  2. 16F877 HSERIN problem with 3th party software
    By RFsolution in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 11th March 2009, 17:11
  3. PIC HSERIN problem
    By shaiqbashir in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 20th July 2008, 11:08
  4. HSERIN problem
    By eggman in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 6th October 2007, 21:31
  5. Replies: 3
    Last Post: - 12th February 2007, 18:32

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts