Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Thread: Power up reset

    by ErnieM
    Replies
    6
    Views
    4,359

    By all means clear the ports before changing...

    By all means clear the ports before changing TRISx. The MC data sheet on this part defines the port pins as UNDEFINED after power-up.

    It is definitely good programming practice, even on parts...
  2. Replies
    6
    Views
    9,235

    7 seconds a minute is 11.6% error, probably not a...

    7 seconds a minute is 11.6% error, probably not a crystal error but the code.

    Changing timer zero's count is very funky to do as there is a built-in two instruction cycle delay before it starts...
  3. Replies
    16
    Views
    11,348

    Ive done two "water" sensors in my time. First...

    Ive done two "water" sensors in my time. First was decades ago using a CMOS quad gate, 1 gate to detect rain, 2 to make a gated multivibrator, and 1 spare.

    Theory is CMOS has near infinite input...
  4. Replies
    25
    Views
    16,842

    Always helps to go back to the definition of the...

    Always helps to go back to the definition of the problem:


    Questions:

    Does <b>"sometimes"</b> mean some units all the time or any unit some of the time? Do the bad units fail every time or...
  5. Replies
    25
    Views
    16,842

    Pedro, OK, so GP4 and GP5 are the outputs, the...

    Pedro,

    OK, so GP4 and GP5 are the outputs, the rest are inputs. Each output has a 1K resistor, so the max that goes into/out of there is 5/1K or 5mA each output, 10 mA total. 10 is well within any...
  6. Replies
    25
    Views
    16,842

    Pedro, Don't apologies for your English. I'm...

    Pedro,

    Don't apologies for your English. I'm always amazed when people can learn anything (such as electronics) in something other then their native language: that double translation is huge,...
  7. Replies
    25
    Views
    16,842

    I went thru your code a bit to count I's and O's:...

    I went thru your code a bit to count I's and O's: looks like you have two outputs.

    While you wait for your chips to arrive you may want to try this: (assuming you can ICSP this board) make up some...
  8. Replies
    25
    Views
    16,842

    OR... new revision silicon is acting up...

    OR... new revision silicon is acting up (doubtful).

    Interesting problem, current is going somewhere, but current isn't a directly measurable quantity suck as voltage is. Good news is you only have...
  9. Replies
    4
    Views
    3,455

    Actually, oscillators like a little noise: one...

    Actually, oscillators like a little noise: one old guy trick from the days men were men and oscillators were built on a single transistor and gains were very finite one trick to make sure an...
  10. Replies
    4
    Views
    3,455

    I was once flamed on the piclist for suggesting...

    I was once flamed on the piclist for suggesting just that: connecting the common terminal of a resonator (or a crystal cap common, same thing) to Vdd instead of Vss, as the Vdd pin is usually on the...
  11. One thing to keep in mind with the revision I...

    One thing to keep in mind with the revision I described is it is incredibly sensitive to noise if the signal goes away. It will chatter at some high frequency, so you either need to code against that...
  12. 6 hours is nothing, I spent most of a working...

    6 hours is nothing, I spent most of a working week finding some missing brackets on CODE THAT COMPILED WITHOUT EVEN A WARNING.

    (Note from user: bad code (syntax) should provoke a good compiler to...
  13. Well, since I speak both analog and digital as my...

    Well, since I speak both analog and digital as my dual native languages....

    The circuit you propose looks OK on the surface. You are using an op amp in a comparator mode, and as your inputs are...
  14. Replies
    4
    Views
    2,863

    Your programmer may be your friend here. My first...

    Your programmer may be your friend here. My first choice is a humble PICkit2, which allows EEPROM data to be written and read back out too.

    So you can set the initial value, run your program see...
  15. Replies
    7
    Views
    4,768

    The impedance of the resistor divider is...

    The impedance of the resistor divider is approximately the same as the resistor from analog input to ground; this resistor is in parallel with the other as far as impedance goes (look up Thévenin...
  16. Replies
    13
    Views
    7,409

    Oops... not 4455... you said 4450. Never mind.

    Oops... not 4455... you said 4450.

    Never mind.
  17. Replies
    13
    Views
    7,409

    But they say yes to MSSP on page 1 of the data...

    But they say yes to MSSP on page 1 of the data sheet.
  18. Replies
    13
    Views
    7,409

    Funny you say that, I just completed a project...

    Funny you say that, I just completed a project where I made the same mistake in ordering the breadboard parts: got 4450 and thought I had 4550's.

    Lead to some funny bugs because I was using a...
  19. Replies
    11
    Views
    6,235

    The last one is easy! It's a trick...

    The last one is easy!



    It's a trick question. Transistors are analog devices; they don't have anything like a well-defined trip point.


    And I'll go out on a limb here and guess "GP" is...
  20. Replies
    11
    Views
    6,235

    View Post

    The “bridge to Vcc” resistor is needed cause transistors ain’t perfect. There is always a leakage current from B to C that needs come from somewhere. If you don’t provide a source for it then it...
  21. Replies
    7
    Views
    77,388

    OK, open drain has to do only when a pin is used...

    OK, open drain has to do only when a pin is used as an output. When you want to use the pin as an input then you are fine, the pin works completely the same as any other input pin.



    It can work...
  22. Replies
    4
    Views
    3,854

    I have the 4550 on my list (Ive even worked with...

    I have the 4550 on my list (Ive even worked with that one).

    Mebby reinstall it?


    Mecanique sez:
  23. How are you getting this code to synchronize with...

    How are you getting this code to synchronize with the position of the wand?

    Say you wave it right and left over and over. You would want your code to start displaying letters when the wand ‘banks’...
  24. Replies
    8
    Views
    6,959

    View Post

    To start, let’s assume your A/D (10 bits) is going to read some parameter, you make a calculation based on that info, spit that number to the D/A which sets how fast the motor runs.

    At first...
  25. Replies
    7
    Views
    9,864

    USB Programmer: There is probably no better and...

    USB Programmer: There is probably no better and few cheaper programmers then the one that Microchip sells inside the PICKIT II development toolbox. It is a small (like 1 by 3 inch by 1/3 inch tall)...
Results 1 to 25 of 78
Page 1 of 4 1 2 3 4