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...
Type: Posts; User: scottl; Keyword(s):
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...
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
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...
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...
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!...
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...
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...
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]...
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...
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...
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,...
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...
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...
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...
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!
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...
Thanks for the reply! I will give it a shot this week.
Scott
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
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....
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...
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. ...
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...
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 =...
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...
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...