LCD frustration when I use MPASM assembler.
Hello dear friends, I am a newcomer in PIC world. I've started to learn PBP by using of the PM assembler and Ive found it very easygoing and fluent. And I have never ever faced with any serious...
View Article4 x AM2302's and 4 x 18B20's
Guys, just wanted to do a big shout out for TabSoft for producing a new include file for the AM2302 (and similar) range of humidity / temp sensors. I'm in the process of upgrading the functionality of...
View ArticleLCD showing mostly jibberish on 16F716
I've had a break from PIC's for a little so I'm a bit rusty, but I don't recall having this many issues in the past. Just trying to get an LCD to work first on my 16F716. I haven't used this pic before...
View ArticlePIC16F676 troubles
I've chosen the 16F676 for size and cost and it also has an ADC which I also need. I need to use all the I/Os and I need to use PORTA.3 (MCLR) as a digital input to be used with a button. The "big"...
View ArticleNeed to flip order of bits MSB to LSB re: MCP23S17
Hello all! I am using a couple of MCP23S17's with a PIC18F2320 in order to communicate with a circuit that converts a 24 bit parallel output from the MCP23S17's to a fiber optic signal. The fiber...
View ArticleSending text to GLCD using BV4511 interface
Hi, I picked up a 128 x 64 GLCD with a ByVac BV6511 adapter board that uses the I2C interface (web site http://www.byvac.com/index.php/BV4611) I'm totally confused.... Reading the datasheet for the...
View Articlequick changing of ports for I/O use
Hi guys , was wondering where i should look in the electrical specs for the chip where the ports settle time between changing port inputs to output and back have need to do fast transition of direction...
View ArticleLED Blinking while main does something else
Hello, I am new to PIC programming and the forum so please be gentle. I was hoping someone could offer some suggestions on a program. I am using a PIC16f628 to check for a button press (this all works)...
View ArticleWhat's the next chip up from F627/8 for basic digilal I/O? Need a few more pins.
Most of the designs I have done recently have used the F627/8 chips using mostly digital I/O and one or two analog inputs, but now I need two or three more digital I/O pins and I'm trying to figure out...
View ArticleEUSART's - Which timers do they use?
Referencing page 12 of the 18F87J50 data sheet, the diagram has arrows pointing from EUSART1 to Timer3 and EUSART2 to Timer4. Is that true? If not, which timers are they associated with? For now, I...
View Article18F25K20 osc setting problem
Hi every one, On a older application with the 18F25K20 I need some more I/O. So, I remove the crystal to get RA6 and RA7 available. Now I want to switch to the internal osc and try this working with...
View ArticleLow power sleep mode 18f46k80
Hi guys trying to get the PIC to go to sleep in the lowest power mode available but i notice even in sleep mode i am still pulling 3ma also that the outputs with week pullups are still active on...
View ArticleInterpret to Picbasic Code ¿?!!
Hello, As I interpret this in Picbasic code: It is for the IC MAX17040, Project GauGauge Clearly are functions or subroutines. The lines 111 and 123, I think are Subrutines. The lines 117 and 118 , I...
View ArticleQuestion about SERIN / SEROUT and why I have to send commands twice?
I have an odd problem with SERIN and SEROUT in that to get them to work, I often times, if not always have to send my command to the receiving PIC or device twice in order to get any kind of action...
View ArticleTemperature does not go below 0
IAM MAKING TEMPERATURE CONTROLLER USING ntc THERMISTOR FROM -10 DEGREE TO 50 DEGREE.BUT MY TEMPERATURE IS NOT GOING BELOW 0. PLS CHECK MY CODE AND GUIDE ME.THANKS Code: DG1 VAR BYTE DG2 VAR BYTE...
View ArticleDS 3231 temperature reading
Hello everyone, I made a clock with DS3231 chip and clock works great. Now I would like to have and temperature display with this chip but I do not know how to do that. Does someone have a sample...
View ArticleSuggestions for a 40 pin DIP PIC with two MSSP
Guys, If you have been following my recent posts you'll see that I've been playing with an i2c adapter that allows a 128 x 64 GLCD to be driven by sending instructions via the i2c bus. Lets just say...
View ArticleNot able to compile code due to PBPPROC.bal file not found
Hey All, I am relatively new to programming with the Picbasic Pro compiler and MPLAB IDE v.8.53. I am currently trying to compile some old code (C with inline assembly) on a windows 8.1 machine. I am...
View ArticleReading DS1620 (SPI Temperature) from 18F46k22 Micro at 16MHz
In the past I built a device that read the temperature from two DS1620 (SPI) using an 18F4620 at 8MHz and it has been working good for years. Recently I had some boards made for this design, however I...
View Article