Code for reading a barometric sensor with PIC16F1827


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    May 2011
    Posts
    42

    Default Code for reading a barometric sensor with PIC16F1827

    I do not have the time nor the desire to learn how to work I2C communications with PICs. I am sure it is really easy but all the examples I am looking at are just making my head spin. I need code for an 1827 that has a main loop I will fill with my code afterwards and a Sub that does the reading of the pressure and stores it in a variable. I am pretty sure none of that calibration garbage needs to be done because the measurements I am taking are relative to one another and not to our atmosphere or any traceable pressure. I am looking to pay about $100 but lower is better. If $100 won't touch it and I am completely out of my gourd then tell me what price you will do it for. Thanks.

    Here is the sensor: https://www.sparkfun.com/products/11282
    Last edited by Szczepaniec; - 18th March 2013 at 19:05.

  2. #2
    Join Date
    Feb 2010
    Location
    USA, New England
    Posts
    164

    Default Re: Code for reading a barometric sensor with PIC16F1827

    Hello Szczepaniec;

    If there are no other takers I'd enjoy doing it. It'll take as long as it takes for the part to arrive from SparkFun, plus a day. Work for you?

    Best Regards,
    Paul
    The way to avoid mistakes is to gain experience. The way to gain experience is to make mistakes.

  3. #3
    Join Date
    May 2011
    Posts
    42

    Default Re: Code for reading a barometric sensor with PIC16F1827

    Thank you for the response. Charles from Windblown Solutions has provided me with a solution.

  4. #4
    Join Date
    Feb 2010
    Location
    USA, New England
    Posts
    164

    Default Re: Code for reading a barometric sensor with PIC16F1827

    Excellent! I hope it works perfectly!

    Best Regards,
    Paul
    The way to avoid mistakes is to gain experience. The way to gain experience is to make mistakes.

Similar Threads

  1. Computer Fan RPM Sensor Reading
    By CocaColaKid in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 27th December 2019, 21:05
  2. Reading a speed sensor best method?
    By davewanna in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 27th January 2012, 03:37
  3. Tilt Sensor Reading
    By sincity337 in forum Serial
    Replies: 6
    Last Post: - 20th September 2010, 06:23
  4. Need help for reading I2C Sensor
    By Omalik in forum Serial
    Replies: 13
    Last Post: - 10th June 2008, 05:24
  5. Reading a linear hall sensor
    By peu in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 3rd October 2006, 23:31

Members who have read this thread : 1

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