Search Results - MEL PICBASIC Forum


Search:

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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    9
    Views
    9,602

    Re: Logic Level Triac

    I'd suggest you use an opt-triac to drive a triac for best protection and ease of use.

    The MOC3041 works very well, just follow the data sheet. Use a zero cross type for best results.
  2. Replies
    40
    Views
    51,557

    Re: How about String Variables?

    Thanks Charles for your subroutines.

    This is a snippet of code from a two temperature probe controller, chiller and alarm
    Alarm MIN and MAX
    Chiller MIN and MAX

    Crammed it into a 12f1822,...
  3. Re: better coding methods to freeing active ram in small pics

    What is your issue programming or outputting?

    Ran into the same brickwall and used the onboard NV ram for stuffing the output messages.
    Used the debug instead of serout/hserout it uses less space...
  4. Re: How to shoehorn MORE text into 2k or how to squeeze in the most bytes.

    Here's a slightly better version for #2




    Print_ROM_127: ' Call with zb = INTERNAL ROM_Memory_Location
    [B]Do until AB > 128
    READ ZB, AB BB = AB & $7F ' drop the upper bit, DEBUG...
  5. How to shoehorn MORE text into 2k or how to squeeze in the most bytes.

    Sample code for:
    Working with Strings via EEPROM, can be used for LCD output as well.
    Doing Serial I/O using the DEBUG / DEBUGIN commands.
    Moving strings from the internal EEPROM using the READ...
  6. Re: Capacitive Touch Button by using ADC channel (the CVD system)

    Max,

    If you like the 12f1822 then you will like the 16f1825 & 1829 -- via newark.com
    May I suggest the 16f1825 @14pins $1.61 and - and 16f1829 @20pins $1.84


    PIC16F1825 1,4,20 - 14 dip -...
  7. Replies
    91
    Views
    91,793

    Re: mackrackit's ConnectOne example code

    Dave H,

    Glad you're doing well and still on this side of the grass.

    And THANK YOU for your service.

    Fuzzy
  8. Re: PWM on pic16f1825 issues - 1.pbp v2.60c bug found, fix shown, 2.CCP2 on ALT pin p

    Yup, Figured that out the other night.

    It's them config words and assuming the compiler is doing what you want not what it was told to do. : )

    posted the details on the Microchip site....
  9. Replies
    23
    Views
    21,635

    Re: Making PCB, best software

    I'll vote for KI-Cad -- no board size limits and FREE decent size library
    Took 4 hours to LEARN & make first PCB.
    Download the FREE JAVA autorouter, it is really amazing.


    Eagle has some...
  10. Re: PWM on pic16f1825 issues - 1.pbp v2.60c bug found, fix shown, 2.CCP2 on ALT pin p

    Thanks Bruce,

    Will pay more attention to the caps issue.

    Any thoughts or considerations on the alternate location for CCP2?

    This did not work.

    APFCON0.7 = 1 'assign RX/DT to...
  11. How to define OSC for vlaues below 1mhz? so you get the timing correct.

    Define OSC ??

    I like to run stuff at the slowest possible speed, to save battery power.
    -- most of the time accuracy is not important.

    32khz is not defined.

    So I use the shift:
  12. PWM on pic16f1825 issues - 1.pbp v2.60c bug found, fix shown, 2.CCP2 on ALT pin probl

    'LESSONS LEARNED
    ' 1. pbpbasic hpwm 2,64,1 works properly for the 16f1825 for ccp2 on pin7 RC3
    ' 2. must use TRISC.3 =0 to enable
    ' 3. needed to add definition for CCPTMRS0 in the MPASM...
  13. Re: Looking for a chart on the pinouts of the 12,16,18 family of chips.

    Thanks Darrel,

    That was what exactly it!

    Now to find a more recent version -- that was the 2005 guide. :p
    Just skimmed the file, that is some really really good reading.

    530053015302
  14. Replies
    6
    Views
    6,194

    Re: Minimizing power use w/ 12f683

    there's not much in your circuit than should be drawing power when 'off'.

    1. change the 1k on pin4 ra3 to 47k
    2. use TRIO=$FF when you want to turn off stuff completely
    3. have you considered...
  15. Replies
    8
    Views
    7,670

    Re: selecting the correct micro controler to use

    I got this from the selection page and cleaned it up and working on the pin out question.
    -- which is my question, I'm lloking for a chart with the pinout sytles.
    Will add 18f family soon.

    hope...
  16. Looking for a chart on the pinouts of the 12,16,18 family of chips.

    the closest is here:
    http://usuaris.tinet.cat/sag/pic452.htm
    http://usuaris.tinet.cat/sag/jpgs/pic/josepino.gif
    Mainly it is for programming.

    or here
    http://www.cs.uiowa.edu/~jones/cross/pic/...
  17. Re: Help: how to assign assorted pins to one byte variable

    Now that was to easy! Dooh!

    I was wondering this morning how to do the .bit thing ;)
  18. Re: Help: how to assign assorted pins to one byte variable

    Heckler, bless your heart.
    Like I said, it would help if I read a bit better --- should go to bed.

    Since your the Teacher then here: :o

    Question: does your suggestions apply to writing out to...
  19. Replies
    4
    Views
    3,371

    Re: Array Display on LCD

    Try using NCD & then Lookup to simplify your code.

    per the manual:
    4.17.12 NCD returns the priority encoded bit number 1-32 of a value. it is used to find the HIGHEST bit set in a vlaue. it...
  20. Re: 18F4550 Solar battery charger / regulator & inverter system

    NEWARK and MOUSER sell the PB137 it is a 13.7V version of the 7815.

    13.7V is the perfect voltage for Sealed Batteries, you NEVER EVER WANT TO OVER CHARGE THEM 14.1V is the absolute max.

    GEL...
  21. Re: Help: how to assign assorted pins to one byte variable

    Congrats on your Efforts of working on your Eagle Scout !!

    You know it would help if I really read the question, the following is how I did an INPUT from a DIP Switch.

    I did this using a 12f683...
  22. Re: disabling the master clear bit MCLR OR MCLRE or using gpio.3 or pin4 or RA3

    Thanks Mackrackit -- that was the thread I pointed to at the top.

    After reading the thread yet again, : ) At a more reasonable time of day.
    Specifically folks want to see post#15.
    -- It says to...
  23. Why is GPIO.0 on the 8 pin devices funky? GP0 pin7

    on my 12f683 and 12f675

    IT appears to be a SINK, shorts to ground as it does not pull up well.

    So turn it to ZERO in GPIO.0 when you want it to work -- other end of the BUZZER TO to batt+,

    ...
  24. disabling the master clear bit MCLR OR MCLRE or using gpio.3 or pin4 or RA3

    see:
    http://www.picbasic.co.uk/forum/content.php?r=157-Presetting-Configuration-Fuses-%28PIC-Defines%29-into-your-Program


    disabling the master clear bit MCLR OR MCLRE or using gpio.3 or pin4 or...
  25. Replies
    8
    Views
    7,885

    disabling the master clear bit MCLR OR MCLRE or using gpio.3 or pin4 or RA3

    Want to use pin4?
    It will only be an INPUT.

    ' WHEN PROGRAMMING PROGRAM $2007.5 TO LOW THIS WILL ENABLE GPIO.3 / RA3 AS AN INPUT
    '
    ' Set the 2007 Register BIT FIVE [5] to ZERO [0]...
Results 1 to 25 of 27
Page 1 of 2 1 2