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.
Type: Posts; User: ofuzzy1; Keyword(s):
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.
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,...
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...
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...
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...
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 -...
Dave H,
Glad you're doing well and still on this side of the grass.
And THANK YOU for your service.
Fuzzy
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....
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...
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...
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:
'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...
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
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...
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...
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/...
Now that was to easy! Dooh!
I was wondering this morning how to do the .bit thing ;)
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...
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...
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...
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...
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...
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+,
...
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...
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]...