Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Re: What's the next chip up from F627/8 for basic digilal I/O? Need a few more pins.

    Great feedback guys - thanks. I will look into the suggested chips.

    Sometimes I wish Microchip would go retro and make some *really* basic chips with no fancy features, just s few A/Ds and all...
  2. Re: What's the next chip up from F627/8 for basic digilal I/O? Need a few more pins.

    Thanks, that is an interesting chip. Unusual power pin locations an general pin placement. I see why you like it and will keep it in mind.

    I'm also considering the PIC16F882 as it's a bit cheaper...
  3. Replies
    1
    Views
    4,835

    Re: LCD's and Sleeping Pics

    Andy,
    I *almost* always drive the back light with a separate pin via a MOSFET to have the option of PWM dimming of the light. If you have 2 pins to spare - 1 for LCD and 1 for BL. Many LCDs draw...
  4. What's the next chip up from F627/8 for basic digilal I/O? Need a few more pins.

    Most of the designs I have done recently have used the F627/8 chips using mostly digital I/O and one or two analog inputs, but now I need two or three more digital I/O pins and I'm trying to figure...
  5. Replies
    5
    Views
    9,242

    Re: Max31855 Thermocouple Temperature Reading

    Thanks Lefteris - this was very helpful. Not clear why you shift the data right by 4 bits, but it works great. Thanks for posting this! :)
  6. Replies
    10
    Views
    10,113

    View Post

    Almost all CPUs (including PICs I think) use a simple logic circuit known as a "pseudo random number generator". It is basically a shift register that feeds back on itself producing a finite series...
  7. Replies
    8
    Views
    5,810

    Re: ADC setup on 12F1822 ??

    Not sure if you figured this out, but 10bit AD need to be read out as RIGHT justified, and 8 bit reads should be LEFT justified. Here's a config that works for 8-bit:
    ADCON0.0 = 1 ' AD...
  8. Re: How to detect low battery in battery powered F683 circuit

    Got all the OUTPUTS working fine - no need for LATA configurations apparently. Struggling with some kind of hardware bug - so I'm basically good. No idea how or why I would configure LATA at this...
  9. Re: How to detect low battery in battery powered F683 circuit

    Been testing that and the compiler seems to accept either
    GreenLED var PORTA.1
    or
    GreenLED var LATA.1
  10. Re: How to detect low battery in battery powered F683 circuit

    Wow. Thanks Mark - I missed that. I just HATE all these whiz bang "features" that force us mere mortal coders to spend *days* learning a new chip! Grrrr. <end rant>
    SO to implement a pin as...
  11. Re: How to detect low battery in battery powered F683 circuit

    Mark, thanks for the very helpful configuration settings. I got a test chip working fine using 8-bit reads and left justified results. I am in a similar position to peterdeco1 in that I have a...
  12. Re: Our dearest friend has passed away. Bye Darrel...

    I just heard from Charles that Darrell passed. Wow. I felt a disturbance in the force. He was a Jedi coder! I have at least one product on the market that would not have happened without his...
  13. Re: How to detect low battery in battery powered F683 circuit

    Of course! Been using PIC Basic for over 14 years! Early adopter that came over from Basic Stamps. - thanks for checking though :)
  14. Re: How to detect low battery in battery powered F683 circuit

    Thanks guys! Now I completely understand what I need to do and this solution will work extremely well for me. I have ordered some sample chips and will dig into this later in the week. I...
  15. Re: How to detect low battery in battery powered F683 circuit

    Mark, thank you for clarifying. I thought it was something like that but my inexperience with internal voltage references left me confused. I have ordered some F1822 chips to experiment with.
    ...
  16. Re: How to detect low battery in battery powered F683 circuit

    OK, I see that now. So how do I select between the IO pin and the Vref source in code? No idea how that is done...
    Still don't see how the resistor - diod junction will provide me with a reading...
  17. Re: How to detect low battery in battery powered F683 circuit

    Yeah, I get the hardware side now - but how to implement this on the F683 with no Vref and one A/D? Am I missing something?
  18. Re: How to detect low battery in battery powered F683 circuit

    OK, now that is helpful. I was not aware of an 8-pin chip with all those features and at a good price too! Now I'll just have to learn how to configure the internal Vref to get the results I need. ...
  19. Re: How to detect low battery in battery powered F683 circuit

    Sorry pedja089,
    I am having trouble understanding your very terse sentence. I would appreciate it if you could elaborate what you mean by this

    As I understand it, my A/D reading will always be...
  20. Re: How to detect low battery in battery powered F683 circuit

    I don't see how this is any different from putting a resistor divider on the ADC input. The problem is that the divided voltage will track Vdd and the A/D reading will always represent the resistor...
  21. Re: How to detect low battery in battery powered F683 circuit

    Yes, I saw that but the best circuit (on p.8) uses an external comparator. Not sure if that can be implemented with the INTERNAL one?
  22. How to detect low battery in battery powered F683 circuit

    I do a lot of battery powered designs with li-po (3.7v) batteries - mostly using 8 pin chips like the F683. I am trying to figure out if there is a way to use an AD input - or comparator...
  23. Replies
    2
    Views
    23,449

    Re: Playing sound files from 4dSystems SOMO Module

    Gary,
    Thanks for posting this. I was struggling with getting commands to work - I was using SHIFTOUT, then I noticed how SLOOOW the SOMO is and found your post. Your bit bash shift out routine...
  24. Replies
    38
    Views
    33,076

    Re: Help with DS18B20 program

    I want to thank CocaColaKid for posting his beautiful, awesome, well documented code! I was under the gun to get a temperature sensor working and ported it into my code and it works flawlessly. ...
  25. Replies
    23
    Views
    11,958

    Re: A rant about port configurations

    Thanks for that Darrell. Thing is I only need to learn a new PIC every 12-18 months, so I tend to forget how to set them up. I had really never seen it as "everything is already OFF". As I blunder...
Results 1 to 25 of 81
Page 1 of 4 1 2 3 4