Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    4,072

    Re: Best way to read multiple temperatures?

    Hi, I've used the MAX6675 in the past with two connected to an spi bus, this has now been replaced with the MAX31855. Should have no problems getting the accuracy you require.
  2. Replies
    3
    Views
    5,934

    Re: Low Power Led Circuit

    Hi Andy

    How many Led's are you running in each row? It may be a better light output / power usage comperimise to use a switch mode driver.
    160ma @ 24V is 3.84W, but as an example 5 rows of 6...
  3. Replies
    10
    Views
    5,795

    Re: Pulsin ir receiver and osc speeds

    I'm guessing your still using the 18F24K22 ?

    Check your OSCCON settings are

    OSCCON = %01110010 ' Set internal 16Mhz OSC
    OSCCON2 = %00001100

    while OSCCON.2 = 0 : WEND ' Wait for...
  4. Re: Can someone show me how to set ccp3 to RC6 on pic 18f24k22

    Cheers Robert, It was going to be something simple.
  5. Re: Can someone show me how to set ccp3 to RC6 on pic 18f24k22

    Don't know what happend to the code i posted earlier in the thread, it seems to have been reformatted missing bits so would never work.

    Here it is as an attachment

    6363
  6. Replies
    10
    Views
    5,795

    Re: Pulsin ir receiver and osc speeds

    ok i'm sure youve checked this but have you checked the ports Analog input is turned off.


    ANSELA = 0
    ANSELB = 0
    ANSELC = 0 ' Config A2d All OFF
  7. Re: Can someone show me how to set ccp3 to RC6 on pic 18f24k22

    Hi,

    Sorry I've been meaning to post the code I had for this, but have problems with the computer that has the file on.

    The CCP3 output is set in the configuration bits, I'll have a look at the...
  8. Re: Oh Dear. My head is spinning. HPWM RGB LEDs What to choose?

    It's a bit overkill but a PIC18F24K22 does RGB led's with no hassle, using 3 of the CCP modules.
    And in the UK its only £1.98, 4pence more than a 16F628. I have an example that i can post if you...
  9. Replies
    22
    Views
    10,911

    Re: looking for a PIC

    As a very different suggestion have you looked at the Si4010 by siliconlabs ?

    Just starting on a project using this, SiLabs do supply Gerber files for a keyfob, not sure what the usage limits are...
  10. Replies
    6
    Views
    4,033

    Re: Discovering devices on a bus

    I've not had a chance to do much more on this but my though's were

    All slaves have fixed unique addresses, they also have a broadcast address to listen in to

    The master broadcasts a start new...
  11. Replies
    3
    Views
    3,314

    Re: Cant see where im going wrong with 16f1937

    Hi

    I used the 16F1936 a while back, from memory there were a few more things to set up, OSCCON register for example.
    For some reason the code is not on this PC, I'll have a look when i get to...
  12. Replies
    6
    Views
    4,033

    Discovering devices on a bus

    Hi All

    After some ideas here, I have a master unit that colects data from several slaves on a bus.

    At the moment I have the master hard coded with a list of the slaves addresses, all working...
  13. Re: 1Hz clock using Timer3, 32.768kHz crystal and runs badly on 18F26k22

    Chris
    A thought accured to me RE timer 3. did you check the configuration bits in CONFIG3H?

    bit 4 T3CMX: Timer3 Clock Input MUX bit
    1 = T3CKI is on RC0
    0 = T3CKI is on RB5


    MOUNTAIN747
  14. Re: 1Hz clock using Timer3, 32.768kHz crystal and runs badly on 18F26k22

    Hi Chris

    I had this problem on a 24k22, turned out to be the TxRD16 bit of TxCON being set for 16bit mode. Changing this to 8 bit mode solved it for me.
  15. Replies
    5
    Views
    5,749

    Re: Multiple I2c Devices

    Agreed, not picbasic, what version of picbasic are you running?
  16. Replies
    3
    Views
    6,165

    Re: HSEROUT problem

    Is there any way you can add in a DEBUG after the "hserin 15,PasoSerie,[b0,b1,b2,b3]"?
    Just to output the raw recieved bytes to monitor in a terminal.

    The other thing that you could do is to...
  17. Replies
    3
    Views
    6,165

    Re: HSEROUT problem

    Hard to say, could you post the entire tx/rx routine and details of hardware.
    I presume your using a max485 or similer as the RS485 hardware interface to the PIC, the first thing that if this is...
  18. Replies
    5
    Views
    5,749

    Re: Multiple I2c Devices

    Hi

    This can easly be done in PBP using the I2CREAD and I2CWRITE commands.
    The I2C routines in PBP are software based and can be assigned to almost any pin on the PIC, in your case you could use...
  19. Replies
    14
    Views
    16,396

    Re: Problem proramming PIC 16F886 with PICKIT2?

    Give it a go with PGM pulled down. I only found this after intermittent programming problems on a project some time ago, now allways keep this pin in a way it can be pulled down (even if it means an...
  20. Replies
    14
    Views
    16,396

    Re: Problem proramming PIC 16F886 with PICKIT2?

    I have had strange programming issues with the 16F88x series and Pickit2 a while back.
    Turned out to be the PGM pin (RB3) on the PIC needs to be pulled down to GND with ~10K - page 228 of the...
  21. Replies
    7
    Views
    4,209

    Re: Pic and the Xbee module

    Thanks that Charles, In my sleep deprived state i'd forgoten that not all PICs run stable at lower voltages.
    In my case, the 16F688 does run fine @4Mhz 3.3V.
  22. Replies
    7
    Views
    4,209

    Re: Pic and the Xbee module

    Ok, not sure what happend to my reply so here it is again.

    I've got Boards with Xbee's and PIC's running both of 3.3V, Not found any problems with the PIC running off 3.3v, is there a reason why...
  23. Thread: Lookup Tables

    by BH_epuk
    Replies
    7
    Views
    5,222

    Low cost option

    Have you considered the MCP9700 temp sensor from Microchip.
    About to use one on a project myself, Cheap £0.22 @10off in farnell and hopefuly a lot less coding than a Thermistor.
  24. Replies
    4
    Views
    4,852

    Don't forget in automotive when the engine is...

    Don't forget in automotive when the engine is running you'll have 13.8V not 12V (This is to charge the battery). Used a DCDC convertor for a car based project a while back, will try to dig out the...
  25. Replies
    0
    Views
    1,856

    Pcpwm pic18f2431

    Hi All

    Using the PCPWM module to drive led arrays at the moment. All working fine but does anyone know if it posiable to put each output out of phase with each other so say that with all 3...
Results 1 to 25 of 26
Page 1 of 2 1 2