TwoWay Thing - Dvosmjerni GSM Kontroler
Moderators: pedja089, stojke369, [eDo], trax
Hi Trax,
I got this bug in my SMS controller..
Upon connection to my 6210, the LED blinks for about 10 or 15 second then stays ON for a while then blinks again..which I think is normal.
Now when I txt the command 1.Abcd the controller will read the command then turn my LED connected output A. Then I'll send 0.abcd to turn OFF all the port (ABCD) again but this time the Indicator LED will remain lighted (NOT BLINKING) and it will not process the new message..IT SEEM THAT IT HANGS??
I have to disconnect and reconnect it again to make it works..
did I missed something?
@Buco
Sure I will participate and join the discussion, give my comments and suggestion..but I can't share my comments on actual hardware performance..
I got this bug in my SMS controller..
Upon connection to my 6210, the LED blinks for about 10 or 15 second then stays ON for a while then blinks again..which I think is normal.
Now when I txt the command 1.Abcd the controller will read the command then turn my LED connected output A. Then I'll send 0.abcd to turn OFF all the port (ABCD) again but this time the Indicator LED will remain lighted (NOT BLINKING) and it will not process the new message..IT SEEM THAT IT HANGS??
I have to disconnect and reconnect it again to make it works..
did I missed something?
@Buco
Sure I will participate and join the discussion, give my comments and suggestion..but I can't share my comments on actual hardware performance..
rhonnz
Hello kasamiko,
To turn OFF or ON any relay you must send it's name in UPPERCASE. If you want to turn ON relay A you will send this:
To turn it off you will send this:
To turn off ALL relays you should send:
The TwoWayThing will ignore all lowercase letters (sensors and relays).
Another thing, here is something that you CAN'T DO:
The first command will not turn on all relays because the letter-order is not right. It should be: A, B, C and the last D. The second command will also not work. The third command WILL TURN ON ONLY RELAY "D".
Try again and report here if you still have the same problem
Trax
To turn OFF or ON any relay you must send it's name in UPPERCASE. If you want to turn ON relay A you will send this:
Code: Select all
1.Abcd
Code: Select all
0.Abcd
Code: Select all
0.ABCD
Another thing, here is something that you CAN'T DO:
Code: Select all
1.BCDA
0.BDBC
1.BCAD
Try again and report here if you still have the same problem
Trax
Last edited by trax on 17-09-2005, 15:41, edited 1 time in total.
Trax,
The problem is in my phone connector..I clean all contacts and as of now never encounter the same problem again..
Just want to ask something..How can I modify it to ignore the sensors? what portion of the code I will comment out to disable the sensor.
I only want to trigger the relay ON/OFF via text message and the 15 seconds scanning of sensors introduces some delay..
I hope I'm note demanding to much from you..
The problem is in my phone connector..I clean all contacts and as of now never encounter the same problem again..
Just want to ask something..How can I modify it to ignore the sensors? what portion of the code I will comment out to disable the sensor.
I only want to trigger the relay ON/OFF via text message and the 15 seconds scanning of sensors introduces some delay..
I hope I'm note demanding to much from you..
rhonnz
@kasamiko, if you have PIC16F628A you can try this NEW version (v3.01)
http://www.elektronika.ba/projekti/fajl ... 1.alfa.rar
In RAR file, you will find a new schematic diagram which is not very much different from previous version. The MCLR pin has a new function: "sensors enable".
This new version also has "Relay status command". Just send:
and you should get a message like: "Relay - A=off, B=on!, C..bla bla"
Please try if it will work for you. I tested it and it works great
Pay attention to new pin: MCLR! Do not connect it to voltage >5V !!! You should use zener-diode to limit the voltage (as in schematic). If you want your sensors to be enabled, connect this pin (MCLR) to GND all the time.
You asked me about the 15~ second pause... it can be fixed, I will explain maybe today...
So, try it with new PIC and let me know if you have any problems.
Trax
http://www.elektronika.ba/projekti/fajl ... 1.alfa.rar
In RAR file, you will find a new schematic diagram which is not very much different from previous version. The MCLR pin has a new function: "sensors enable".
This new version also has "Relay status command". Just send:
Code: Select all
H.
Please try if it will work for you. I tested it and it works great
Pay attention to new pin: MCLR! Do not connect it to voltage >5V !!! You should use zener-diode to limit the voltage (as in schematic). If you want your sensors to be enabled, connect this pin (MCLR) to GND all the time.
You asked me about the 15~ second pause... it can be fixed, I will explain maybe today...
So, try it with new PIC and let me know if you have any problems.
Trax
Malo sam pogledao novi file i imam pitanje !!
Zasto jos ovijek za testiranje i trazenje nano koristis ovaj oblik ?
MOVLW 0x42
SUBWF 0x2A,W
BTFSC STATUS,Z
mjesto XORLW naredbe , jer ces ustedjed prostor u flasu i brze ce ti radit
pretrazivacka rutina , primjer [ tj cijelo rijesenje ] sam ti dao u analizi ako se sijecas.
Da i jos nesto, sto ce ti zapravo LED diode ?? kad pokaxivac imas ako to zelis na LCDu GSMa ?? To mi nikako nije jasno , jel to ostalo od ranijih vijezbi s diodama ?
Pozdrav
Zasto jos ovijek za testiranje i trazenje nano koristis ovaj oblik ?
MOVLW 0x42
SUBWF 0x2A,W
BTFSC STATUS,Z
mjesto XORLW naredbe , jer ces ustedjed prostor u flasu i brze ce ti radit
pretrazivacka rutina , primjer [ tj cijelo rijesenje ] sam ti dao u analizi ako se sijecas.
Da i jos nesto, sto ce ti zapravo LED diode ?? kad pokaxivac imas ako to zelis na LCDu GSMa ?? To mi nikako nije jasno , jel to ostalo od ranijih vijezbi s diodama ?
Pozdrav
Pa cini mi se da te diode sluze kao neki light show , ako ti MCU posalje info da je port aktivan ili nije sto ce ti dioda ?? ionako vidis sto se dogadja .Pa mislim da bi se moglo setiranjem tipke/i za citanje sms-a preko MCUa , ali ionako je jedino vazno koju informaciju ima onaj koji upravlja sustavom preko sms-a na drugom telefornu , tj da je ta informacija 100% tocna . Da i cuo sam da se kod nas rade i prodaju uredjaji ocito s istom idejnom podlogom "valjda ne i vecinskim udijelom FW" za kontrolu alarma automobila , tj dojavu pokusaja provale i sl.
Pozdrav
Pozdrav
Hi Trax,
I'm TOO excited with this version!!
But today is Sunday here in my place and all the electronics supply store are closed!!
I'll try it tomorrow..and post the result here.
One thing about the ENABLE input, If I connect it to ground, all sensor monitoring will be enable? if it is unconnected the sensor monitoring is disabled? and the 15 seconds sensor checking is disabled too?
Thanks again..
I'm TOO excited with this version!!
But today is Sunday here in my place and all the electronics supply store are closed!!
I'll try it tomorrow..and post the result here.
One thing about the ENABLE input, If I connect it to ground, all sensor monitoring will be enable? if it is unconnected the sensor monitoring is disabled? and the 15 seconds sensor checking is disabled too?
Thanks again..
rhonnz
Zdravo, pa i nije bas neki light show Ta LED nam govori da je sve OK sto se tice uredjaja. Recimo, ja sam ovo napravio za instaliranje u automobil, tu treba neka LED da blinka kad covjek zakljuca auto da bi se uvjerio da je sve OK, nema on vremena da svaki put vadi mobitel sa nekog skrivenog mjesta, gleda sta pise na displeju i tako dalje i tako dalje. Zato sluzi ta LE dioda. Ovo je kod mene instalirano u kolima vec duze vremena i radi super.buco wrote:Pa cini mi se da te diode sluze kao neki light show , ako ti MCU posalje info da je port aktivan ili nije sto ce ti dioda ?? ionako vidis sto se dogadja .Pa mislim da bi se moglo setiranjem tipke/i za citanje sms-a preko MCUa , ali ionako je jedino vazno koju informaciju ima onaj koji upravlja sustavom preko sms-a na drugom telefornu , tj da je ta informacija 100% tocna . Da i cuo sam da se kod nas rade i prodaju uredjaji ocito s istom idejnom podlogom "valjda ne i vecinskim udijelom FW" za kontrolu alarma automobila , tj dojavu pokusaja provale i sl.
Pozdrav
Pozdrav
Here it is: http://www.elektronika.ba/projekti/fajl ... x_only.rarkasamiko wrote:Hi Trax,
I'm TOO excited with this version!!
But today is Sunday here in my place and all the electronics supply store are closed!!
I'll try it tomorrow..and post the result here.
One thing about the ENABLE input, If I connect it to ground, all sensor monitoring will be enable? if it is unconnected the sensor monitoring is disabled? and the 15 seconds sensor checking is disabled too?
Thanks again..
@Trax zar ti ne moze uredjaj poslat poruku da je aktiviran i da je sve OK ? Mislim da je to bolje a usput imas i povratnu informaciju da je potpuno sve u redu . Sto ce ti dioda ?? nije to vise neka stara logika pa sad treba neki vizualni indikator [ ili zvucni] , vizualizaciju imas ili je lako dodas kao poruku .
Pozdrav
Pozdrav
GSM Controller
Greetings to All!
Hello Trax!
Thank you for accepting me in the forum. I m very glad that I found this interesting site even though I'm not familiar with Bosnian language, but electronic schematic speak for itself.
I like also too to assemble this great GSM controller of yours 'coz most of the time I am out from the dormitory.
Can I ask you Guys? Is there any AT command for searching in the phone book? Well I do have a school project and I'm thinking of a CelTel
sort of phone pach but instead of using radio, a cellphone. The idea is that when RX cellphone receives a call, the GSM controller enable the relay to patch the landline phone, but before enabling the landline, the GSM controller will scan the phone book(sort of call filtering) if it is regestered, and if not it will not respond to that call.
Is PIC12F628 suitable for this?
I do have ERICSON GA628, is it good for this?
73! maximus
Hello Trax!
Thank you for accepting me in the forum. I m very glad that I found this interesting site even though I'm not familiar with Bosnian language, but electronic schematic speak for itself.
I like also too to assemble this great GSM controller of yours 'coz most of the time I am out from the dormitory.
Can I ask you Guys? Is there any AT command for searching in the phone book? Well I do have a school project and I'm thinking of a CelTel
sort of phone pach but instead of using radio, a cellphone. The idea is that when RX cellphone receives a call, the GSM controller enable the relay to patch the landline phone, but before enabling the landline, the GSM controller will scan the phone book(sort of call filtering) if it is regestered, and if not it will not respond to that call.
Is PIC12F628 suitable for this?
I do have ERICSON GA628, is it good for this?
73! maximus
Pozdrav Buco ima li sanse da semu tog programatora i ja dobijembuco wrote:Znaci tako zastita ! Nego hoce li ti stogod pomoc onaj programator ?
Pozdrav
nemanba@yaho.com
no