Decimal to Degrees mathematics help


Closed Thread
Results 1 to 18 of 18

Hybrid View

  1. #1
    Join Date
    Jul 2005
    Posts
    78


    Did you find this post helpful? Yes | No

    Default

    With a 10 bit A2D you have a max reading of 1023 counts, which represents 360 degrees. Therefor, each count is 1023/360=2.84... degrees.

    You don't have .1 degree resolution here, you have 3 degree resolution. That .1 degree is not a true number.

  2. #2
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    Hi ErnieM,

    I do not think your formula is ok. Your result is not in "degree" by the way. 2.84 is the step for per degree.

    Lets leave 0.1 degree sensitivity issue to our teacher, Alain!

    I love to learn.


    ----------------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  3. #3
    Join Date
    Jul 2005
    Posts
    78


    Did you find this post helpful? Yes | No

    Default

    Oops, I inverted it. I should have checked the units.

    Resolution = 360 [degrees] / 1023 [count] = .3519... [degrees/count]



    However, you still don't have .1 degree resolution.

Similar Threads

  1. variable + decimal
    By savnik in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 18th August 2009, 14:21
  2. Offset to variable howto ?
    By RFsolution in forum mel PIC BASIC Pro
    Replies: 18
    Last Post: - 3rd October 2008, 09:36
  3. Conversion to degrees help
    By RFsolution in forum mel PIC BASIC Pro
    Replies: 18
    Last Post: - 5th September 2008, 18:03
  4. Help for decimal conversion
    By eva in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 15th March 2007, 18:20
  5. Convert a word variable to decimal
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 4th December 2004, 20:02

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