Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: scottl; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    4,654

    The memory is incremented by one each time a new...

    The memory is incremented by one each time a new datapoint is collected. I am looking at the samples counter to determine the mem_end location which depends on when the user does his rounds. If the...
  2. Replies
    6
    Views
    4,654

    I will give it a try this evening! I thought I...

    I will give it a try this evening! I thought I tried this but it seemed to return all 0's. I will double check my code.

    Thanks for your help,

    Scott
  3. Replies
    6
    Views
    4,654

    OWOUT dynamic memory addresses

    I have a IButton DS1921G and logs the temperature every X minutes to its memory! It starts at address 1000h and goes to 3048h. I am trying to use the OW commands to get X readings but do not know...
  4. Replies
    0
    Views
    1,959

    Need IButton Help!

    I have been trying to get my DS1921G working with my pic for about four weeks now! I cannot get anything but FFFFFFFFFFFFFF returned from the IButton. I am able to communicate with my DS1920...
  5. Replies
    0
    Views
    1,817

    DS1921G and OW commands

    I am able to use the OW commands to communicate with standard DS1920 IButton temperature sensors! I am also able to get the data such as serial number etc from the DS1921G but that is all I can get!...
  6. Replies
    5
    Views
    4,749

    Steve, Thanks for your time! I will try this...

    Steve,

    Thanks for your time! I will try this when I get home this evening.

    4) there's no max-232 (or else inverter) between the PIC and the PC
    Sorry forgot to mention the PIC connects to a...
  7. Replies
    5
    Views
    4,749

    Here are the details: PIC12F675 Internal OSC...

    Here are the details:

    PIC12F675
    Internal OSC 4 mhz

    It only gets garbage when I enable the second 232 port on GPIO.4! When I reroute the data how should it be formatted? Everything from the...
  8. Replies
    5
    Views
    4,749

    Serin2 pass through to Serout2

    I am trying to get the following code to work but get garbage on the other side.



    serin2 GPIO.1,84,5000,mainloop,[str command\4\13] ' This could be Acr, E'dc1'cr or E'dc3'cr

    If (command[1]...
  9. Replies
    1
    Views
    2,186

    For Next Loops and Serin2?

    I am trying to use SERIN2 and get 1 byte at a time! The data being received could be any lenght up to 32 bytes. I have tried the following but it seems to fail. Can anyone tell me if this will...
  10. Replies
    2
    Views
    3,498

    Serin2/Serout2 Question

    I cannot seem to get the following code to work properly!

    serin2 GPIO.5,Baud,2000,mainloop,[str command\20\13]
    SEROUT2 GPIO.0,Baud,[str command\20,13]

    The data coming in on GPIO.5 is in this...
  11. Thread: DS1920 IButton

    by scottl
    Replies
    1
    Views
    2,809

    I have found this sample on the forum and would...

    I have found this sample on the forum and would like to see if someone can try this and tell me if this works? I would like to use this on a PIC12F675 or PIC16F628!



    @ DEVICE pic12F675,...
  12. Thread: DS1920 IButton

    by scottl
    Replies
    1
    Views
    2,809

    DS1920 IButton

    I am trying to communicate with an IButton DS1920. I am using the ONEWIRE.pbp example. According to the datasheet it communicates the same as the DS18S20 or DS18B20. I am able to communicate with...
  13. Replies
    10
    Views
    5,153

    Hi Bruce, I have been looking at upgrading but...

    Hi Bruce,

    I have been looking at upgrading but timing is an issue here! I would like to test your sample .hex file just to see if it works. I will test this tonight and let you know. At least I...
  14. Replies
    10
    Views
    5,153

    Bruce, The ICD-U40 is the CCS USB Programmer! ...

    Bruce,

    The ICD-U40 is the CCS USB Programmer!

    I have tried all that everyone suggested but it will not program the PIC18F452. It may be my version of PICBAsic Pro 2.43. I may rewrite the...
  15. Replies
    10
    Views
    5,153

    Seem to get everything to compile without...

    Seem to get everything to compile without warnings. I am using MPASM and the programmer I am using is the ICD-U40. I know I know!
  16. Replies
    10
    Views
    5,153

    PIC18F452 Compile Problem

    I am using PICBASIC PRO 2.43 and have been trying to modify the PIC18F452.inc file to allow compile without warning. I found a post by Bruce mentioning to remove the warning add w = -230 to the .inc...
  17. Replies
    8
    Views
    6,797

    Thanks for the reply! I will give it a shot this...

    Thanks for the reply! I will give it a shot this week.

    Scott
  18. Replies
    8
    Views
    6,797

    Dave, This look like this will do the trick. ...

    Dave,

    This look like this will do the trick. I am going to order a couple to try and I will let you everyone know the results.

    Mouser also has stock at $4.75!

    Thanks,

    Scott
  19. Replies
    8
    Views
    6,797

    I have setup an LDR with Op-Amp and it works just...

    I have setup an LDR with Op-Amp and it works just fine. I have been looking at using the TI parts and have some on order but may go with the LDR if I can generate a curve to allow voltage to lumens....
  20. Replies
    8
    Views
    6,797

    Ambient Light Level Monitoring

    I am working on a solar water heater project and would like to monitor the ambient light level. Can anyone recommend a simple light level sensor that can interface directly to an analog pin of a...
  21. Thread: Pic 3.3v ?

    by scottl
    Replies
    3
    Views
    4,705

    I wish it were that easy! I am using an...

    I wish it were that easy!

    I am using an AD7895 A/D to allow measuring -10 to +10 volts. The PIC12F675 will not allow me to measure this range. The AD7895 is 5V powered with an SPI interface. ...
  22. Thread: Pic 3.3v ?

    by scottl
    Replies
    3
    Views
    4,705

    Pic 3.3v ?

    I am running my PIC12F675 at 3.3V which connects to my Bluetooth radio! I want to connect an SPI device powered at 5V to the PIC. I know the PIC's inputs can handle 5V but will this cause any...
  23. Replies
    4
    Views
    4,606

    Hi Melanie, I have been out of the office...

    Hi Melanie,

    I have been out of the office today! I was working on this late last night and come up with the following:

    if adval > adval1 then
    celsius = adval - adval1
    farenheit =...
  24. Replies
    4
    Views
    4,606

    Help!! Integer Math?

    I have been racking my brain for the past two weeks with the following!

    I have a PIC12F675 reading an AD595 thermocouple IC. The AD595 provides 10mV/C. In order to read the temp below 0 I have...
  25. Replies
    1
    Views
    2,386

    Help!! Integer Math?

    I have been racking my brain for the past two weeks with the following!

    I have a PIC12F675 reading an AD595 thermocouple IC. The AD595 provides 10mV/C. In order to read the temp below 0 I have...
Results 1 to 25 of 37
Page 1 of 2 1 2