Check into Don Lancaster's Magic Sinewaves here: http://www.tinaja.com/
I did it with a basic stamp BS1 several years ago when I was a newby, it is quite simple and works great.
Type: Posts; User: Russ Kincaid; Keyword(s):
Check into Don Lancaster's Magic Sinewaves here: http://www.tinaja.com/
I did it with a basic stamp BS1 several years ago when I was a newby, it is quite simple and works great.
I installed a different programmer, Elproducts EZpic, but now MicroCode Studio will only program 16F628. How do I get full feature back?
I programmed two before checking that the 3rd one was good before programming.
I am using 12F675, I checked before programming that the clock was running and the chip drew only the normal microamps. After programming, the chip drags down my 3 amp power supply and gets very...
I knew that! Bonk! Bonk! Bonk!
This program runs (produces pulses of varying width):
REM DEVICE = 12F675
CMCON = 7 'SETS DIGITAL MODE
ANSEL = 0 'GPIO.0 TO GPIO.3 SET AS DIGITAL
TRISIO = 0 ...
Thanks for the idea, Darrel. While looking for a breadboard to try it, I found a PC board labeled "PIC12F675 programmer" It had my name on it but I have no memory of designing or building it. I...
Thanks, Melanie, I think you have explained my problem. I don't understand why this 12F675 (which still has not been removed from the ZIF socket) now generates this error message: "target device...
I did download the beta programmer and tried to program a 12F675 that had already been successfully programmed. First I read the memory; it was 3FFF in all locations. That was not correct but I...
Thanks, Darryl but the connector has not been messed with and it worked OK before. The read does read the hex file that was loaded.
Any time I try to program a 12F675, the default configuration is LP osc and code protected.
If I change the configuration to EXTOSC and NOT PROTECTED and try to program, I get a configuration...
OK, I tried a 3rd 12F675 and altho I made sure the configuration was xt_osc and not code protected, the program failed with configuration error and when I read the memory, it comes up lp osc and code...
I did a read on the 12F675 and it came up "code protected". How did that happen? I thought default was not protected. How could I read the memory if it was protected? I suppose I will have to...
I am using melabs programmer version 4.01, microcode studio version 2.3.0.0 and compiler version is picbasic pro 2.46. I don't know if that answers your question. I have not looked at the include...
My simple program compiles OK but when I try to program, I get "configuration error". I don't understand how the configuration can be in error, it is what it is, isn't it? This is my program:
code...
Thanks for your insight, I pulled the mosfet that was being driven and now the IC works. The mosfet was shorted.
I have use this configuration before with no problem, I don't know what is wrong. GPIO.0 never goes high.
REM DEVICE = 12F675
CMCON = 7 'SETS DIGITAL MODE
ANSEL...
The current transformer has to have a load, usually 100 or 200 ohms. You have to know the ratio of the transformer, 1:100 or 1:1000, etc. Then you can calculate the voltage across the load from...
I am using Microcode Studio, it was working OK the last time I used it but today it does not recognize symbols: ansel, trisio, or cmcon. Any suggestions on how to fix the problem? I hope I don't...
OH, my. I found part of my problem: I was loading the hex file from the Melabs folder but Microcode Studio was saving in a different folder. No wonder nothing I did made any difference! I will...
Thank you. I see you don't like the "on interrupt" command; I don't either any more.
I tried your program and it works exactly the same as mine: the first pass is OK but interrupt does not go to...
To answer your original question: The AC drive is intended to vary from 0 to 400 volts max so there is a 200 volt offset called "bias".
My program runs OK the first time, but interrupt does not go to start. It wakes from sleep (clock is active) but just idles. What am I doing wrong? This is the program:
'* Notes : Power up...
Thanks for the info. Since I can't have more than one interrupt goto, I will have to re-think my program. I would like to have the program wake from sleep on interrupt. Could I use "on interruupt...
I am a neophyte and don't understand why my code is not working. The statement: on interrupt goto wait is said to be bad syntax but I don't believe it, something else is wrong. My program:
REM...