General > Buy/Sell/Wanted
FOR SALE GSM/GPRS Module
red_mamba:
Any one interested in GSM modules.
You can use it for GPRS communication, sending SMS-es.
It can be connected to PC via USB port (can be powered directly from USB if needed or from external PSU)
You can connected it to any uC with RS232 interface. Supports standard AT commands.
It uses SimCOM GSM modules.
The module is powered with +4.0V!
So if 3.3V uC will be used you should consider level shifter so you don't fry your microcontroller
Alex:
LoL, WTH happened to the board?!
red_mamba:
Prototype ;D
The final version looks more pretty ;)
Mechatrommer:
1) the price?
2) how do we send msg/call through this unit from mcu?
red_mamba:
--- Quote from: Mechatrommer on February 28, 2011, 03:01:58 pm ---1) the price?
2) how do we send msg/call through this unit from mcu?
--- End quote ---
1. to which country do I have to send it?
2. The module is controlled with AT commands, can send you datasheet with all the commands and I can help you with integration in all most any language ;D
This for example is in python
--- Code: ---def sendSMS(self, gsm, msg):
log = 'AT+CMGS="' + gsm + '",145'
mr = None
self.__buf = ''
self._write(log, True)
if self.checkResponse('>')!=True:
return None
self._write(msg + chr(26), False)
#Boljsa metoda ?!
mr = None
self.__buf = ''
while mr==None:
i=50
while (self.__ser.inWaiting() == 0) & (i>0):
time.sleep(0.1)
i-=1
if i!=0:
self._read(False)
matches = re.compile("\+CMGS: (.*?)<").findall(self.readBuffer())
if matches != []:
mr = matches[0]
log += ' >> '+self.readBuffer()
#log += ';'+msg+' > '+self.__buf
self._clearBuffer()
if (mr==None):
self._writeErrorLog(log)
else:
log += ': ' + mr
self._writeInfoLog(log)
return mr
--- End code ---
Basically you send this after the module is initialized:
AT+CMGS="+386000000000",145
modem responds with: >
and then you send the message terminated with ASCII character 26.
the module responds with OK or error
if confirmation is enabled you will get it when the message is delivered.
we use this modules for automatic SMS delivery from MySQL database and our python daemon does all the magic ;)
Navigation
[0] Message Index
[#] Next page
Go to full version