Need help: hserin, serin and serin2 does not work for me
Hi all Programming PIC18F45K22 @ 64Mhz. Can't read any kind of input in to it. (hserout, serout, and serout2 works in the three code examples) It is not responding on any kind af input from a terminal...
View ArticleData log to file by Ethernet
Are their any Serial > TCP/IP Ethernet Modules which can save a few lines oftext to a PC file? I have a PIC data logging application which presently sends RS232 to a PC with a Delphi terminal which...
View Articlegive an address to pic on rs-485 network
I'm trying to figure out how to put an address in pic by Dip Switch. What I mean is I'm trying to teach pic to determine network address 485 by changing the state of dip Switchs. sample request: for...
View ArticleNM7010 network module
Has anyone tried to use NM7010a (W3100) via I2C for TCP/IP communication and can share with experience?
View Article16F690 VREF PGC question
On the PIC16F690 RA1 is both the ISPCLK (PGC) and VREF pin i need to use an external VREF and am concerned about conflict with ISP operations VREF would be 2.5V and would connected to the 'cathode'...
View ArticleCounting Timer0 and Timer1 overflows without any interrupt handler
Hi Gang, Today, I played around and got a couple of programs running on a 16F877A. One program monitors internal Timer1 overflows and flips a port bit every 210 counts, to produce a 1 second clock...
View ArticleHow to detect variable decrease moment?
Hello. I'm doing a task, where variable presents certain data (changes every second). I have to capture a moment, when it starts to decrease. My code is here: Code: COMPARER: IF OLD>NEW THEN GOTO...
View ArticleInventory System
I've piled up quite a lot of stuff over the years. It's now a chore to find a part, let alone remember what I have and how many. This is my solution done in Access 2002. I enter the specs the same way...
View ArticleHaving problems with nrf24l01 when trying to send multiple bytes
I've got everything working well using single byte payloads but when I try to send multiple byte payloads (tried 2 and 5 bytes so far). All I get is the last byte sent no matter how I try to send and...
View ArticleExecute Picbasic Pro code from external EEPROM?
Hello. Is such thing possible? Say I have PIC16F877 hooked to 24C32. Theres some "bootloader" in 877, which reads picbasic code from 24C32 and executes it. Is such thing possible?
View ArticleSerial: PIC18F45K22 -> (Arduino) Uno = works | Uno -> PIC18F45K22 = fails Why?
Both running 5V 9600 Baud Uses HSERIN PORTC.7 Is there something with logic voltage levels I should be aware of? Have tried with pull up 4K7 and 10K ... Receives only 3 nonsense letters - Jacob
View ArticleConfigurator
I wish for a PIC configurator like this: http://www.protonbasic.co.uk/content...nfigurator-Mk2 If this is already working for the PDS compiler in a MCS environment, how difficult is to make it...
View ArticleDefine osc 8 not working on 12f683 - wondering if Its related to include files?
Hi gang, I've been playing with a 12f683 in 4mhz mode and sending results to a serial LCD using "SEROUT pin, T9600, ["text here"] works fine. But then I tried bumping the internal osc to 8mhz OSCCON =...
View Articleanalog to digital setup on 18F2550
below is the setup portion of some code down the the ADCIN, adval1 command. the digital value is used to turn on 10 leds as a binary representation of adval1. num is set equal to adval1 and displayed...
View ArticlePIC12f683 GPIO.0 Trouble
Trying to build small power reset circuit using a PIC12f683. When GPIO.1 goes high, I set GPIO.0 high to MPS2222 Transistor to make the circuit. Trouble is GPIO.0 dosen't go low, or if it does it's...
View ArticleHelp with PWM pulse train
Hi Everyody I am a newbie to PIC programming. In fact, just playing with LEDs to learn control of outputs. I could not understand the term "CYCLE" used with command PWM. Can somebody spare a few...
View ArticleHelp to setup ADC for 16F1826
I am pulling what hair is left out of my head. For PIC16F1826, I am trying to get the ADC setup. I have a voltage INPUT on RA2 (pin1). This is where I want to ADC to be controlled (AN2). I referred to...
View ArticleMAX7219 behaves strangely with various PICs and config.
Hello. Here's sample code I'm using: Code: ' Program: MAX_CNT.BAS ' ************************************************************* ' * For use with EXPERIMENTING WITH THE PICBASIC PRO COMPILER * ' *...
View ArticleOverwriting previous address contents... oh no - not again!
Beginning to regret that I bought PBP3 for a lot of money. I'm so tired of this idiot system failure. I've had it 4 times before with PBP2.6. The only thing that works is to format the entire C drive!...
View Article16F1826 cannot get MCLR to act as an INPUT
Here is my initialization code for 16F1826 . I want RA5 to act as an INPUT. However, when I check PortA.5 no matter if it is HI or LO, it does not seem to function as an INPUT. I have a 100k ohm...
View Article