Great, thanks, now i do have a complete picture. Surely resolution below 1 Hz in my case is overkill. Crystals will come tomorrow and i can start testing.
Also started reading about reciprocal...
Type: Posts; User: Rufinus; Keyword(s):
Great, thanks, now i do have a complete picture. Surely resolution below 1 Hz in my case is overkill. Crystals will come tomorrow and i can start testing.
Also started reading about reciprocal...
Or "manual counting" in your example is the part of the code, which fills out the precaler by toggling PSCLKOUT for 3uS instead of using actual measured frequency to increase the count? Than it...
Ok, now i think i got it. It was the last step (remainder in prescaler), which I could not understand.
But it would mean then, that the smallest frequency, which I could measure in one second is 256...
Holy Christ, i had no idea! So sorry about that.. R.I.P Darrel..
Thanks for fast answer Henrik, but please let me pull my thought together before i can understand your explanation..
Hello Darrel,
found your excellent example and i would like to build the same counter based on PIC16F870. From your above post i understand, that with prescaler 256 minimum measured frequency is...
Thanks for the prompt reply! Well, now it is clear for me, that it is clear for you :)
And i also got now how it works. But for myself, i would use DEC values, they are much obvious, IMHO of course....
First of all, i would like to thank Mr. Olsson for his great work.
Currently i'm working with the AC heater, driven by the SSR. This heater is very inertial and slow, in particular dropping the...
Hi everyone.
I tried suggested in the first post connection for high-voltage programming of PIC16F877A. Programmed uC with IC-Prog, with suggested above settings.Works flowless, no problem at...
Well, S55/S65 suports only PDU, unfortunately :(
I will get the book, because this is not my last project related to this matter.
Regarding datasheets. It is quite a tricky one, to find a...
I should report now, that the problem is solved!!
My thanks and respect goes to NavMicroSystems and Ioannis for helping me out.
Problem was solved by making a simple level shifter (so i can use...
RS232 output of max i do connect to the pic, but through 22k resistor.
Pic to phone both ways goes through 1k resistor.
There is no reason to connect rs232 straight to phone anyways, so i dont and...
Discovered strange thing. Works with S55. If i connect Tx line from the phone trough 1k resistor to one of the ports, serin2 will hang, waiting for an answer on that port. But when i quickly shorten...
Connected Tx line from the phone through max232 to pic. Nothing.
Than i desided to hook it up to pc. So the phone is receiving commands from the pic and outputting them to the pc.
Here is what i...
Switched back to HSEROT, HSERIN just to experiment. Seems to be fine, phone starts dialing! (extremely strange).
But still cannot receive anything. Considering level shifter for the Tx line of the...
Well, i fidured out S65 now too. The cable is the key to success.
S55 and S65 use different cable detection mechanisms. Yes, yes, phones novadays are detecting data cables. So, besides the usual...
Ooops. It was to early to yell Gloria! :(
It does work with S55, i am able to send commands to the phone, but not receive from the phone.
And with S65 nothing is working at all. Tried different...
Well, i guess, your wishes did work ;)
A little :)
I did connect it straight with the pic and used inverted mode. And i got the phone dialing! Why didnt it work with pic16f84 then?? Who knows.....
OK, just finished selfmade cable.
Rx and Tx do through the MAX, and CTS(5), RTS(6), DCD(7) are connected to the GND(2) trough 10k resisors. Without this it does not work. Or other way is to...
OK, i will try again without MAX using inverted mode. How to set it in HSerout command?
I am sure about the RX TX connection, besides, with the pc communication there are no problems.
And i will...
Thanx, but i tried this already. Nothing. And i do not power up the phone in the same time. Phone is just on costantly.
I thougt, maybe when i send AT, phone answers OK, but pic does not capture...
Here is the code i used to test it with PC:
DEFINE LOADER_USED 1
'UART hardware defines
DEFINE HSER_RCSTA 90h
DEFINE HSER_TXSTA 20h
DEFINE HSER_BAUD 9600
DEFINE HSER_CLROERR 1
Thanx, Lotondo.
But i do have the pinout of S65 and even service manual of C55/S55 (they are similar to S65).
Perhaps i should give some more detail of my problem.
I started with 16F84 and...
Hi everyone!
Did somebody try to connect Siemens mobile to PIC? I have S65 with no result :(
I guess, Siemens needs more then 3 wire connection.
I would like to have some similar software under linux too. It must not be open sourse (but would be nice ;).