Thanks for the reply. I am using a 9600 baud rate, and the clock is set as "HS" with a 20 mHz resonator. The code has worked for a couple of years, but sometimes it will not work with some PIC...
Type: Posts; User: Armadus; Keyword(s):
Thanks for the reply. I am using a 9600 baud rate, and the clock is set as "HS" with a 20 mHz resonator. The code has worked for a couple of years, but sometimes it will not work with some PIC...
I am using PIC Basic Pro (verson 2.47) and Micro Code Studio Plus to program two PIC18F252-I/SPs. Part of the program is to communicate between the two PICs, with Serin2 and Serout2 on PIC pins C4...
I am trying to program a PIC 18f252 with PICBasic Pro 2.47 and MicroCode Studio Plus.
The program always works when programed on a 18f242, but often will not start, (or starts after a long...
[I] would like to connect two outputs from 2 PIC 18F242's to one Serial LCD.
If I use the Serout ON9600 command do I need resistors on the output ports of both PICs?
Do I need to use a pulldown...
Thanks for your help. I must have misread the table that I was looking at. The correct setting
is ADCON1 = %10001110.
Using ADCON1 = %01001110 corrects my digital input problem, but now PortA.0 does not work as an analog input for ADC. Where can I find some more information on how ADCON1 works?
I am using a PIC 18F242 with 20mhz. I want to assign PinA.0 as an ADC input and all other Port A pins as digital inputs. I am currently using TrisaA = %11111111 and ADCON1 = %1001111. The...
I am sending and receiving on the two ports on each PIC with two wires.
Not sure why, but the problem was solved when I reset each Port to Input after transmitting or receiving.
My final use is with radios, but I am now trying direct wires.
I have experimented with time delays to make sure the receiver is ready, but it appears to lock up when trying to send the return...
I am trying to send data between two PIC 18F242s.
I use the command:
Junk Con 198: Synch Con "A": Dat var byte: INCLUDE "mosdedefs.bas"
Dat = 15
Serout2, PortC.5, 84, [Junk, (Synch), Dat] to...
Thanks for the new information. I think that this is a superior circuit compared to the mosfet bridge using 4 transistors to trigger the four mosfets. This circuit has the elegance of simplicity,...
Thanks to all for your respoonse.
As Skimask indicated I found more hits on Google and I could not possiblity look at them all.
My posting was not to save time, but hopefully get some real world...
I am looking for a H-bridge circuit to control a 12 VDC motor with a 10 amp draw.
I have used a TIP 120 circuit in the past, but I think it is limited to 5 amps max.
Any suggestions?
By changing the pins to inputs after the Serial out commmand the circuit works very well.
For this application there is not a problem with timming the two signals, so for this time I do not need the...
I have a circuit that uses 2 Microchip PIC18F242 chips, programmed with PicBasic Pro. I would like to use a single serial LCD controlled by each of the chips. (See attached diagram).
The...
Thanks to everyone for the help. I am not sure why, but moving the 10K to ground does not work.
With the 10K to the input the circuit works, but it is inconsistant which I think may be due to...
I want to use a 25V reflective photo sensor as a digital input for a PIC 16F628.
Attached is a sketch of the circuit I am working with.
For information on the sensor see:...
Dave,
1. I have replaced the transistor and relay, but made no difference. I will try the resistor and LED you suggested.
2. I have a 330uF cap between the output of the regulator and Gnd.
...
Andy,
There is a diode accross the relay.
Thanks
Bob,
Thanks for the reply. I do have a cap across +5 and Gnd. The program is simply
High PortC.1
YR:
Low PortC.1
High PortC.2
Pause 700
Low PortC.2
I am using an 18F2424 to drive a transistor and relay for a 12V LED lamp output.
When simply flashing the circuit on and off with a pause 700 statement the pic often resets to the start up point....
Using PBP 2.45, Microcode Sudio, and 18f242-I/sp at 20mhz I have not been able to get the program to move to a label after time out. The program appears to get to the Serin2 command and stop at the...
Ron,
Which of the Maxim RS 422 converters do you use?
-Greg
Ron,
Thanks for the insight.
I used a B&B electronics RS 232 to RS 485 converter to connect the 4490 to the PC.
According to Aerocomm there is no need for a terminating resistor, but I have...
RE: Uart mode
I cannot see any method to change the radio to Uart Mode using the Configuration Utility, but I will look into this.
Thanks