Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    3,185

    Re: 18f4550 ADC not responding

    The first thing that pops out at me is the ADCIN line. The ADCIN command accepts the ADC channel, not the pin. Try this instead:

    ADCIN 0,an1
  2. Replies
    2
    Views
    2,495

    Re: Useless problem :)

    How about:

    byte=0-bit
  3. Replies
    3
    Views
    2,858

    Re: Please help with basic math

    The angle needs to be in radians. If you multiply the angle in degrees by Pi/180 you will get the angle in radians.

    When you do so, it comes out to 480....
  4. Replies
    1
    Views
    2,670

    Re: Problem with -ASM

    Try using PORTD instead of PortD
  5. Replies
    29
    Views
    17,203

    Re: Unstable sine PWM output

    I'm assuming that the changing frequency shown on the scope was because you were changing the frequency yourself. If thats the case, does it ever glitch when the frequency is left the same or is it...
  6. Replies
    7
    Views
    5,653

    Re: Phase Locked Loop

    If it's just zero crossing you need you can do that with comparitors. Detecting the zero crossings of 3 phases would just require 3 comparitors.
  7. Replies
    2
    Views
    14,757

    Re: PIC18 connect to USB thumb drive

    You would require a USB host. I dont beleve its possible with just a PIC18. The PIC18s with built in USB are USB slave devices only.

    If I was you I would look for a USB host chip that you could...
  8. Replies
    9
    Views
    8,432

    Re: 10 bits ADCIN with 18F2520

    I'm not sure if this is the problem, but try:

    ADCON2.7=1
  9. Replies
    8
    Views
    7,204

    Re: Wireless LAN cable tester

    Unfortunately, 1-Wire still needs a common ground.

    The loop back plug is a good idea. The only thing I can think of that it wouldn't be able to test is if there happens to be a short across one of...
  10. Replies
    8
    Views
    7,204

    Re: Wireless LAN cable tester

    Thanks for the suggestions. I don't really want to use mains for ground - mainly because it will make the device much more bulky with a power cord and also less convenient because it would need a...
  11. Replies
    8
    Views
    7,204

    Wireless LAN cable tester

    Years ago I made a LAN cable tester using PBP and its served me very well. It displays on a 2x16 LCD if the cable is standard or crossover, and lets you know if there are broken wires, crossed wires...
  12. Replies
    4
    Views
    3,839

    Re: Turn off HPWM?

    It may differ from PIC to PIC so check the data sheet, but taking the 18F1320 as an example, the following would turn off HPWM:

    CCP1CON=0
  13. Replies
    2
    Views
    2,346

    It's hard to say what's happening without seeing...

    It's hard to say what's happening without seeing the code.

    Keep in mind that crystals do not keep perfect time. They have a rated accuracy - usually in ppm (parts per million). They are also prone...
  14. Thanks very much DT.

    Thanks very much DT.
  15. Create BAS and INC files to add support for new PICs?

    Hi, I have PBP 2.60A and I need support for 16F1828 PICs.

    I have the latest MPASM which has support for the 16F1828, but PBP is missing the INC and BAS files for it.

    Could someone give advice...
  16. Replies
    2
    Views
    2,643

    I would also change the line you mentioned to:...

    I would also change the line you mentioned to:
    I2CWRITE i2Dpin,i2CLKpin,$EE,[$FD]

    I would also change the 1st one to:
    I2CWRITE i2Dpin,i2CLKpin,$EE,[$FF,$F0]

    If that does not help, I would try...
  17. Replies
    13
    Views
    8,322

    The 12F510 would be the cheapest that meets your...

    The 12F510 would be the cheapest that meets your requirements:

    http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en023670

    *edit*: as long as you dont need a lot of code space. The code...
  18. Replies
    13
    Views
    8,322

    Everything you need is in the data sheet. You...

    Everything you need is in the data sheet.

    You can set the port directions using TRISIO.x=y where x is the GPIO bit number and y is 0 out output or 1 for input. Or use the PBP INPUT or OUTPUT...
  19. Replies
    27
    Views
    12,474

    I have tried 2 difference sources. Firstly a...

    I have tried 2 difference sources. Firstly a computer power supply's 5v rail, and ive also tried the 5v source on the pickit2. No regulator.



    The blue is bottom layer - all surface mount...
  20. Replies
    27
    Views
    12,474

    still no luck unfortunately when i turned it...

    still no luck unfortunately

    when i turned it on after it being off over night, it took 3 mins to start running.

    once it was running it seems to work fine, and turning it off and back on results...
  21. Replies
    27
    Views
    12,474

    The only SMD tantalum cap I had handy was 1uF so...

    The only SMD tantalum cap I had handy was 1uF so I soldered it as close to the pic's supply pins as possible and it seems to have fixed the issue.

    I'll know for sure once I've left it off night...
  22. Replies
    27
    Views
    12,474

    I'm still noticing something strange. When I...

    I'm still noticing something strange.

    When I turn it on for the first time in half an hour, it takes about 3 seconds to start running.

    If I then turn it off, and back on it starts right away.
    ...
  23. Replies
    27
    Views
    12,474

    it seems to be running happily at 64hmz i dont...

    it seems to be running happily at 64hmz

    i dont understand why since i tried 2 different 10mhz crystals
  24. Replies
    27
    Views
    12,474

    I just replaced it with a 16mhz which is working...

    I just replaced it with a 16mhz which is working but that could just be because of the heating up. The test will be leaving it for half an hour and see if it still works. I'll post again then
  25. Replies
    27
    Views
    12,474

    I added a pullup resistor to PORTA.4 It's...

    I added a pullup resistor to PORTA.4

    It's definitely the osc because if I leave it running for 15 mins or so it does eventually display "Hello World!" extremely slowly.
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4