Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: Armadus; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Thread: 18f252-i/sp

    by Armadus
    Replies
    4
    Views
    4,314

    Re: 18f252-i/sp

    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...
  2. Thread: 18f252-i/sp

    by Armadus
    Replies
    4
    Views
    4,314

    18f252-i/sp

    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...
  3. Replies
    1
    Views
    2,817

    PIC 18f252 will not start

    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...
  4. Replies
    0
    Views
    1,585

    2 PICs 1 Serial LCD

    [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...
  5. Thread: Adcon1

    by Armadus
    Replies
    4
    Views
    3,377

    Thanks for your help. I must have misread the...

    Thanks for your help. I must have misread the table that I was looking at. The correct setting
    is ADCON1 = %10001110.
  6. Thread: Adcon1

    by Armadus
    Replies
    4
    Views
    3,377

    Using ADCON1 = %01001110 corrects my digital...

    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?
  7. Thread: Adcon1

    by Armadus
    Replies
    4
    Views
    3,377

    Adcon1

    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...
  8. Replies
    4
    Views
    3,027

    I am sending and receiving on the two ports on...

    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.
  9. Replies
    4
    Views
    3,027

    My final use is with radios, but I am now trying...

    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...
  10. Replies
    4
    Views
    3,027

    Serin2/ Serout2

    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...
  11. Thread: H bridge

    by Armadus
    Replies
    6
    Views
    39,913

    H Bridge

    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,...
  12. Thread: H bridge

    by Armadus
    Replies
    6
    Views
    39,913

    H-Bridge

    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...
  13. Thread: H bridge

    by Armadus
    Replies
    6
    Views
    39,913

    H bridge

    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?
  14. Replies
    3
    Views
    3,203

    Thanks for the help

    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...
  15. Replies
    3
    Views
    3,203

    2 Pics, 1 Serial LCD

    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...
  16. Replies
    8
    Views
    5,894

    Thanks for the help

    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...
  17. Replies
    8
    Views
    5,894

    npn reflective photo sensor input

    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:...
  18. Thread: 18f242 reset

    by Armadus
    Replies
    7
    Views
    4,531

    18f242 reset

    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.
    ...
  19. Thread: 18f242 reset

    by Armadus
    Replies
    7
    Views
    4,531

    18f242 reset

    Andy,

    There is a diode accross the relay.

    Thanks
  20. Thread: 18f242 reset

    by Armadus
    Replies
    7
    Views
    4,531

    18f242 reset

    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
  21. Thread: 18f242 reset

    by Armadus
    Replies
    7
    Views
    4,531

    18f242 reset

    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....
  22. Replies
    1
    Views
    3,275

    18f242 serin2 timeout

    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...
  23. Replies
    22
    Views
    13,679

    Rs 485

    Ron,

    Which of the Maxim RS 422 converters do you use?

    -Greg
  24. Replies
    22
    Views
    13,679

    Ron, Thanks for the insight. I used a B&B...

    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...
  25. Replies
    22
    Views
    13,679

    RE: Uart mode I cannot see any method to...

    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
Results 1 to 25 of 28
Page 1 of 2 1 2