Hi!
If you followed my schematic exactly, try the attached code.
It works fine for me.
Notice : Cs (PortB.3) must be Low ; Rst(PortA.4) needs a pullup ; Mode is disabled (you need another pin)...
Type: Posts; User: GioppY; Keyword(s):
Hi!
If you followed my schematic exactly, try the attached code.
It works fine for me.
Notice : Cs (PortB.3) must be Low ; Rst(PortA.4) needs a pullup ; Mode is disabled (you need another pin)...
Some programmer have problem with 12f675. Do a Google on "12F675, programming problems, internal oscillator".
Keep in mind that the calibration oscillator value should be stored on address 0x3FF as...
What does not work?
Have a look here:
http://www.picbasic.co.uk/forum/showpost.php?p=44869&postcount=4
You can use this code to measure the frequency with timer1. This open the timer1 gate for exactly 1 sec. (@4MHz);...
why do not use the timer ?
For low frequency is more accurate measure the period.
Regards
Here a snip that send a sms from position 1, then wait for ok.
SerOut2 TX,TTMode,["AT+CMSS=1",Cr] ’invia sms presente in posizione 1
gosub Poll_Ok ...
Why not store the messagge in the sim memory card and send with the command "AT+CMSS=n",Cr
Regards
Forget Schematic and hex.
Regards
Hi.
Here a nice graphic temperature recorder.
Features
It shows 60 samples. (new values scrolls left the plot)
Temperature is sampled every 15 Sec. and averaged.
The following parameters are...
Obviously the eeprom must be pre loaded with the binary file (filename.btc)
A simple file transfer through com port could be interesting.
Regards
Gianni
IMHO the attached sample works at 22050Hz 1 bit
it uses a 12F675 @20MHz and an external I2C eeprom (24C256)
The i2cread statement needs about 170uS to respond(@ 20MHz); i suppose that 44100Hz...
Would be nice have a 14bit core version.
Regards
Gianni
Years ago, Epe Online www.epemag.com published a project "Micro picscope" a simple visual signal monitor.
It shows a representation of the signal waveform using an alfanumeric 16*2 lcd display....
Yes that is possible.
Please note that the voltage measure implement a digital low pass filter, so the response is smoothed.
IMHO a simple micro switch can do the job.
Regards
Gianni
I have modified the vb6 program that receive, display and plot the battery voltage.
If someone want play with it, source code and BattMonitor.exe are attached.
Improvement and bug fix are welcome....
Yes; every second.
Regards
This works with P16F628 (4MHz)
Interrupt must be disabled
Result 32bit counter Hicntr,Locntr
'
Locntr var word
Hicntr var word
'
if your period counter has 1uS resolution
asm
move?cb 00h,r2 ; load dividend 60e6
move?cb 87h,r2+1
move?cb 93h,r0
move?cb 03h,r0+1
endasm
TmpW = div32 Period
...
1) No. You need a different program
2) Yes
Sometimes I use stamplot
http://www.selmaware.com/stampplot/
Regards
Gianni
Hi Steve.
I have written the code time ago(I am a beginner with Vb6) only to test the device; the program is unfinished (the graphic part in particularly). Anyway if you are interested i'll send you...
For carputer fanatics (but not only) a serial voltmeter to monitor the battery voltage.
Features
uC Pic12F675
voltage range 9-20v
resolution 100mV
Com. port 2400baud , N , 8 , 1
sampling...
Did you see this?
http://www.picbasic.co.uk/forum/showthread.php?t=4425
Regards
If your message do not change, you can store it in the sim card and send with the "AT+CMSS=" command.
Regards
Gianni
Perhaps you can start from here:
It is for car battery; but you can adjust for any voltage
http://www.pctuner.net/articoli/Pic/571/Monitor_per_batteria_d_automobile_-_Datalogger/
Regards
Gianni
Yes you can!
Anyway the block must be closed with exactly 512 bytes.
Absolutely necessary the "ProdManualSDCardv1.9.pdf" from Sandisk
Regards
Gianni