Within PBP you can manually manipulate SFRs, read and write to UART registers, etc. If the PIC you are using has EEPROM, you can set up an array of sequential EEPROM addresses with SFR settings. It...
OWOUT DQD, 1, [$CC, $44] ' Start temperature conversion
LATD.1=1 SET PIN STATE TO HIGH
TRISD.1 = 0 'MAKE PIN AN OUTPUT WITH DEFAULT STATE HIGH
pause 760 'ADD AN EXTRA 10...
CuriousOne, How many times are you letting the program cycle? Here is the output from my terminal after I reset the processor power. Notice the "85" as the first reading from the DS18B20-PAR. This...
YUP it wasn't OSCCONx per se, but you got me thinking and it WAS the Configuration Word Settings. I had (erroneously) assumed that by setting INTOSC at 32MHz, no other config word settings would be...
Have you tried a different sensor. It could be that the current sensor is faulty as the code looks to be correct.
What's the cable length between the chip and the sensor. I have 18B20's in a...
Published on - 27th May 2010 02:01
Number of Views: 5069
This is an effort to help users understand how the I2C command works by comparing it with SHIFTIN/SHIFTOUT. A serial EEPROM, 24FC1025 will be used in the example.
Re: ADC input signal filter selection
I prefer the inductor on the +Vdd side.
Ioannis Yesterday, 22:05Anyway, I'd suggest get 10 or more samples in an array, then sort them in order and keep the middle 5 values.
Then add them together and divide by 5.
...