PICBASIC PRO-coding for wireless sensor node


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2009
    Posts
    2

    Smile PICBASIC PRO-coding for wireless sensor node

    I have some problem in my project.
    My project is wireless sensor node for monitoring indoor air quality. The sensor that i used are humidity and temperature sensor.. I have a PIC16F877-20/P. This pic act as micro controller for my project. I want design a project of "wireless sensor node" =hardware of the sensor node. i design for the 3 node of the hardware. PIC will detect temperature and humidity from the sensor that I plug in at PortA.0 and PortA1. This PIC will convert the data in analog from the sensor to digital. After that the data will sent to PC using transceiver (AO545) that I plug in at port C. How to write the code using PICBASIC PRO....

    The PC will send character "start" to PIC. PIC will start monitor the temperature and humidity and send the data to PC. The data will transfer the data every 1 hour and every sensor node has delay of 10 minute.."

    P/S-i hope anybody can help me...

  2. #2
    Join Date
    Feb 2009
    Posts
    26


    Did you find this post helpful? Yes | No

    Default Have something similiar...

    syazila,
    The code I have have is for a PIC12F683 (8-pin). It does some of what you are looking for. It would atleast get you on your way.

    This is the remote monitor portion of the thermostat I have in my home. This code randomly sleeps (like me), wakes up, reads temp, transmits the temp and then does it all over again.

    I am using the DS1820B Digital Temp Sensor, which I have found to be more accurate than the LM37. You also don't have to run the A/D code to figure out the temp.

    Hope this helps.
    Attached Files Attached Files

  3. #3
    Join Date
    Feb 2009
    Posts
    2


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by nemesis View Post
    syazila,
    The code I have have is for a PIC12F683 (8-pin). It does some of what you are looking for. It would atleast get you on your way.

    This is the remote monitor portion of the thermostat I have in my home. This code randomly sleeps (like me), wakes up, reads temp, transmits the temp and then does it all over again.

    I am using the DS1820B Digital Temp Sensor, which I have found to be more accurate than the LM37. You also don't have to run the A/D code to figure out the temp.

    Hope this helps.
    tq for information

Similar Threads

  1. How to configure SPI in PICBASIC PRO?
    By moogle in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 15th April 2007, 18:31
  2. ICD, ICSP and Picbasic Pro
    By mwhatley in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 30th July 2006, 19:38
  3. Replies: 0
    Last Post: - 22nd November 2005, 13:16
  4. Question for all that use MELABS PICBASIC PRO
    By oskuro in forum Off Topic
    Replies: 2
    Last Post: - 24th March 2005, 17:15
  5. PicBasic Pro & PicBasic syntax different
    By Billyc in forum General
    Replies: 5
    Last Post: - 16th April 2004, 21:19

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