Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: Charles Linquis; Keyword(s):

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    129
    Views
    137,434

    Re: I2C Slave with a PIC

    It will work fine - as long as the PICs are the only I2C devices on the bus. The I2C specification was written to deal with low-power devices that have no more than 2 mA drive. As a result, all the...
  2. Replies
    2
    Views
    2,992

    Re: Monitoring negative voltages

    I should also add that - when converting voltages, you gain a lot of accuracy from oversampling.

    For example, if you need to multiply an A/D reading by 14, rather than take one sample and...
  3. Replies
    2
    Views
    2,992

    Monitoring negative voltages

    From time to time, I have seen requests for information about how a PIC - using only a positive voltage supply, can measure negative voltages.
    In order to simplify things, I have created a...
  4. Replies
    21
    Views
    12,089

    Re: PBP and a hard dirve?

    I can understand the thrill of being successful at doing something new and hard - but don't you want to channel your efforts toward something that will produce a base for future work?
  5. Replies
    21
    Views
    12,089

    Re: PBP and a hard dirve?

    You two HAVE to be joking! Wouldn't it be much easier to read a SD card instead? There is even code available.
  6. Replies
    3
    Views
    2,874

    Assembler problem

    I'm having a strange problem when using PBP on my new laptop. I'm away from home now, and don't have access to all my resources.

    I can compile using PBP (3.x) just fine.

    When I try to use the...
  7. Replies
    5
    Views
    4,041

    Re: SPI woes

    I found part of the problem: The accelerometer is running at 2.5 V, the PIC is running at 5. I was using a Tiny Logic buffer to do the level shifting. The buffer was a Schmitt trigger type with a...
  8. Replies
    5
    Views
    4,041

    Re: SPI woes

    I'm using a PIC 18F8723 and Pin H.2 for SDI. It is tristated, and the external memory function is turned OFF.
  9. Replies
    5
    Views
    4,041

    SPI woes

    I'm trying to talk to an accelerometer via software SPI, but can't seem to get the SHIFTIN command working.





    iSDO = 0

    AccRegister = $F
  10. Replies
    0
    Views
    4,430

    Hobby servo tester

    I needed a quick way to test hobby servos that didn't involve radios, etc. I had a PIC18F development board with an RS-232 port lying around, so I wrote a quick and dirty tester.

    I'm providing...
  11. Replies
    0
    Views
    1,723

    PIC16X with a 1.3GHz clock

    For those of you who use 16F PICs and need more speed.

    http://edn-mail.com/portal/wts/cemciv2d3U2Leeob7LEbsiuioi7-jd
  12. Re: Counting RPM's with Interrupt? Speed Limitations?

    The following code can be used or modified to do what you want. Everything is done in the background.

    The good thing about it, is that it can be used on any port - not just port B.
    And it will...
  13. Re: A (possibly) odd way to access a port

    Although I have posted it before, the code below can be used as an example of referring to a port bit as a variable.
    I use this code (or a variant) all the time to test new hardware.

    Note that...
  14. Replies
    16
    Views
    16,067

    Re: Interrupt 101

    Here is a snippet of running code





    INTCON = %11000000

    '---------------------------------------------
  15. Re: Load partialy the code in the microcontroller - something like partial bootloader

    Although what you want is possible, I can't think of why you would want to do such a thing.


    If you have the original source, then you can find out where the routines are by looking at the ASM...
  16. Replies
    40
    Views
    51,462

    Re: How about String Variables?

    I like strings as well. All my projects have either RS-232 or Ethernet connectivity, and they all have
    menus, user input, etc. I need to handle strings constantly.

    I generally put all my...
  17. Replies
    2
    Views
    3,098

    Re: Microchip MASTERS

    Phoenix, AZ
    About $1600 - Room + Conference + meals + transportation to/from airport.
  18. Replies
    2
    Views
    3,098

    Microchip MASTERS

    Returned from the Master's conference last Sat. This was my first time, and I recommend it to everyone that can make the trip. Great hotel, and everything was taken care of (meals, transportation,...
  19. Replies
    3
    Views
    3,137

    Re: How slow is pic basic pro

    PBP is fast for most operations, and if you need more speed in certain circumstances, you can just code in ASM.

    But I don't think you will have luck decoding MP3 in software with any 8 bit chip....
  20. Replies
    2
    Views
    3,547

    Re: PGC (ICSPCLK) Conflicts with Vref ?

    A resistor will isolate the two. 2K is probably a good value. Anything larger may compromise the accuracy of Vref, but check the input current on the Vref pin for your device to make certain.
  21. Replies
    12
    Views
    10,314

    Re: 18F46K22 being dyslexic

    Darrel,
  22. Replies
    12
    Views
    10,314

    Re: 18F46K22 being dyslexic

    Darrel, I'm getting lamer and lazier every day. I have Proteus, but never got it to work with PBP. Do you have a 'quick-start' guide of some sort to get me started?
  23. Replies
    129
    Views
    137,434

    Re: I2C Salve with a PIC

    I am using a slight variant of the code I posted, and it is working fine. The only major change is that I'm sending a packet length byte, and I'm handling the entire receive packet inside the ISR....
  24. Replies
    129
    Views
    137,434

    Re: I2C Salve with a PIC

    Although my slave example may not be as robust as AN734, I have systems running that have 14 slaves running. All 14 slaves are polled on 2 second intervals. The master uses bit-banging (I2CWrite). ...
  25. Replies
    8
    Views
    8,973

    Re: Fixed Voltage Reference

    There really is not magic.

    Connect your voltage reference (I use an LM4120-4096) to AN3. Make certain that you connect the GND of the reference to the PIC GND pins.
    Also, you will need to...
Results 1 to 25 of 100
Page 1 of 4 1 2 3 4