Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    5
    Views
    254

    Re: PICKIT 3 -- never used it

    ZIF-socket with a PICKit3? EBAY clone?

    Anyway, generally you use it In-Circuit, wire up PGD, PGC, Vpp, Vss, Vdd to the approriate pins of the target device. On the software side you can use...
  2. Replies
    3
    Views
    164

    Re: 18F87J50 I/O problems

    For the original code using the MSSP module, yes because it works on the development hardware. For the SHIFTOUT/SHIFTIN no, but if you look at the logic analyzer trace you'll see that part of the...
  3. Replies
    3
    Views
    164

    18F87J50 I/O problems

    After spending two fruitless nights on this I ask for help.
    After weeks of developing code on a PIC Clicker 2 with 18F87J50 I received the actual hardware on which the code is supposed to run on...
  4. Replies
    3
    Views
    261

    Re: PIC16F18855 and DT elapsed timer

    Several versions of ELAPSED_INT seems to exist. One that predates the existance of DT-Ints and one which is supposed to work WITH DT-Ints. For the one that's using DT-Ints it looks like you also need...
  5. Replies
    131
    Views
    59,411

    Re: PID-filter routine (2nd try).

    Mark,

    It provides some filtering to the input of the integrator and slows down its response some. The integrator does run on every call but the output of it is only added to the total output every...
  6. Replies
    131
    Views
    59,411

    Re: PID-filter routine (2nd try).

    I think it's the integral clamp that's the root cause.
    When the actual value is getting closer to the target, the output from the proportional term gets smaller and the integral term needs to "build...
  7. Replies
    131
    Views
    59,411

    Re: PID-filter routine (2nd try).

    You have quite high integral gain I'm surprised the system doesn't become unstable with that.
    I'd try setting Ki and Kd to 0, then increase Kp until you're starting to get oscillation then back Kp...
  8. Thread: Goodbye

    by HenrikOlsson
    Replies
    62
    Views
    4,753

    Re: Goodbye

    Yes, of course. I didn't mean it could be any 8-bit ATMEL just that the original Arduino is based on an 8-bit ATMEL processor. Obviously you need to use a microcontroller for which support exists in...
  9. Thread: Goodbye

    by HenrikOlsson
    Replies
    62
    Views
    4,753

    Re: Goodbye

    The Arduino hardware is simply a microcontroller (an 8-bit Atmel job in its original form) with a bootloader mounted on a somewhat standardized form factor PCB with headers. There are many different...
  10. Re: Using byte variable for storing two different values

    The decimal value 99 requires 7 bits so most you can save by packing values is 1 bit per value with the added overhead and complexity of unpacking them.

    If these values are to be in RAM (which I...
  11. Replies
    68
    Views
    3,721

    Re: GPS Project: PIC18F26K22 or PIC18F46K22

    Yes, you can have different baudrate(s) on different UARTs and yes you can change it at any time you want. But, as the posts in the other thread says, to change it you can't use PBPs DEFINE HSER_BAUD...
  12. Replies
    13
    Views
    1,008

    Re: EEPROM Issue

    Do you have (or can you add) a debug port (EUSART, SEROUT, DEBUG)?
    If so, then print the value of your variable out before calling the write routine, before executing the write command, after...
  13. Replies
    13
    Views
    1,008

    Re: EEPROM Issue

    Now there's a problem description if I've ever seen one :-)

    My bet is that it has something to do with the interrupts. Have you tried to disable the USB comms and change/save/read back the EEPROM...
  14. Replies
    131
    Views
    59,411

    Re: PID-filter routine (2nd try).

    As far as this PID code goes this is by far the most common question I've received over the years....

    If you have no integral gain then yes the output should (and will) be zero when the error is...
  15. Replies
    11
    Views
    1,240

    Re: 16-bit version of the WS2801 chip

    Don't know about a 16bit version but I just stumbled across the LDP1886 which is a 3x12bit LED driver.
    That's 4096 levels per channel or 68.7 billion colors.

    I have not looked at the datasheet to...
  16. Replies
    17
    Views
    2,257

    Re: Pic 18F26K40

    I'd say yes. But then again, my programs are usually not near the size of the memory size of the part in question and IIRC the bootloader does not reprogram the FULL memory while an ICSP device...
  17. Replies
    17
    Views
    2,257

    Re: Pic 18F26K40

    Hmm... My experience is the complete opposite. Using a bootloader is generally much faster than using ISCP (with a PK3 at least) - especially when loading small programs into chips with a lot of...
  18. Replies
    22
    Views
    3,729

    Re: PWM and audio noise

    I'm certainly no expert but can you show the schematic and PCB layout? It might give a better sense of what you're doing.
    I mean, are you dimming a LED or running an 500A TIG inverter with that PWM...
  19. Re: PBP3.1 Gold + MCSX+ + Microchip's ICD3 programmer?

    If you're using IPE then this thread might be helpful. It also targets the PICKit3 which is likely different from the ICD3 but as eagleman pointed out you should be able to find the corresponding...
  20. Re: SDI vs UART efficiency for wireless comms

    You mean SPI, not SDI right?
    SDI is a serial interface generally used for video and runs in the hundreds of megbits per second range, I don't think a PIC will cope with that :-)

    Technically, SPI...
  21. Replies
    5
    Views
    1,401

    Re: 18F26K42 TMR1 Interrupt troubles

    Hi,
    I don't have a definitive answer for you but here's a couple of things.

    First, if you haven't already, make SURE that you have Control of the pin where you have the LED connected. Make it...
  22. Replies
    15
    Views
    2,388

    Re: Unable to Open Include File

    Have you verified that the file extension is .bas and not .pbp?
    As long as the file is in the PBP folder or in the same folder as the source file from which you include the other file(s) it should...
  23. Replies
    42
    Views
    9,079

    Re: 18F2550 and Blink Led

    The oscillator block on the USB equipped devices are a bit complicated.
    It looks to me as if you're trying to run off of the internal oscillator at 8MHz (judging by OSCCON setting INTOSC to 8MHz)...
  24. Replies
    9
    Views
    1,368

    Re: EUSART vs. MSSP

    EUSART = Enhanced Universal Asynchronous Receiver Transceiver
    MSSP = Master Synchronous Serial Port

    Asynchronous means there is no dedicated clock line/signal, while synchronous means there IS a...
  25. Replies
    7
    Views
    945

    Re: PIC 18F46K22 Wierdness

    I believe it's basically the same issue as Ioannis had the other day when he tried to use HIGH/LOW on anything but a PORT register.

    Any command that automatically makes the pin in question and...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4