Hey Guys,
I had made the following changes to the code, and added the "DEFINE PULSIN_MAX 300" line to the top of the code. It now works for GPIO.3 most of the time but it does not work...
Type: Posts; User: jhorsburgh; Keyword(s):
Hey Guys,
I had made the following changes to the code, and added the "DEFINE PULSIN_MAX 300" line to the top of the code. It now works for GPIO.3 most of the time but it does not work...
Hi Guys,
What i am trying to do is have the signals come in on different pins and then send the received data along with the input pin number out through RS232. I have tried using GOTO...
Hello All,
I am trying to get a PIC to receive a binary code from either one of two 38Khz IR receivers, at the moment it works for one receiver but i don't know how to make it monitor two...
Thanks guys, i didn't realise you could calibrate the internal oscillator, ill definitely have a look into it.
Jeremy
Hi Guys,
The external oscillator has fixed the problem! Thanks a bunch guys.
Jeremy
Hi Dave,
The program makes it to the HIT routine and turns the LED on, it even sends a pulse out GPIO.2 but Hyperterminal doesn't receive anything. I'll try an external oscillator to see...
Hey Skimask,
I am using MicroCode Studio Compiler and WinPIC PIC Programmer.
I have just changed that statement to <code>@ DEVICE PIC12f629, INTRC_OSC_NOCLKOUT</code> which is what...
Hi Guys,
I have another little problem, the code below work perfectly with the exception of the SEROUT Command. For some reason the computer is not receiving the SEROUT information. Can...
does this attachment work better? PS. i forgot to put the external oscillator on the the drawing, but its connected.
Jeremy
Thanks Guys,
I have been looking around at different posts and the internet and i can't find a solution, they all say what i am doing is correct but it does not work. I have...
Hey Jerson,
I tried changing the the code but for some reason when i try to compile the code, the following error occurrs. <code>ERROR Line 25: Bad expression. (RX.pbp)</code>
...
Hello Again,
I have another problem with wireless communication, this time with IR.
I am trying to setup stable IR communication between to PIC's but I cannot get it to work.
For...
Thanks Dave, i will take a look.
Jeremy
Hello All,
I am trying to measure resistance quite accuratly, i did some research and found that the POT Command can be used to measure resistance but i can't seem to get the resolution i...
Thank you all for your help.
I have moved back to SEROUT/SERIN to keep things simple. The RF seems to be working great, now i just have to get the IR working.
Thanks Again,
Jeremy
Hi All,
I have found the code below on the Rentron for Infrared Serial Communication;
<code>' Initialize hardware PWM - IRLED 40KHz drive
PORTB = %00000000 ' PortB = 0...
Thanks Skimask, i had to read over the SLEEP definition a couple of times but i got it in the end. The code worked fine when there is a wire between the PIC's but when i use the RF Modules the first...
Thanks Skimask, i made the changes to the code and it compiled with no errors.
I managed to download the HEX files to both the transmitter and reciever chips and installed them back into the...
Hello All,
A while ago I found a code posted by dhouston for Manchester encoded RF communication. http://www.picbasic.co.uk/forum/showthread.php?t=6261
I have been trying to compile the...
Hey Dave,
I plan on using IR in the future but for the moment i would like to get the RF working, the RS232 portion of the reciever is also something i would like to play with so the...
Thanks Melanie,
I have had a read over the PIC Basic Manual and now understand most of the code, i have previously dealt with the .asm file format so i am not quite sure how to...
Hello Everyone,
As you will no doubt gather from the following question, i am very new to PIC's, PIC Programmers and their corresponding code. I have a question about two peices...
Hi All,
I am quite new to the world of PIC's and have a question in regards to changing the code examples at this link http://www.picbasic.co.uk/forum/showthread.php?t=6261 so that they will...
Hi Dave,
I made some changes to the schematic to include the capacitor, ideally what i am trying to do is have the transmitter send a code when SW1 is pushed and if that code is the same...
Hi Mister_E
I am really quite new to basic and have no clue where to start, i have attached a schematic of what i think the wiring should be (if there is anything wrong please point it...