Send / Rcv Msgs Using GSM Modem RS232
Mar 20, 2012I am using a GSM modem RS232 where a sim is inserted. I want to write a VB.NET application so that i can send or rcv messages using the modem. How to proceed for same?
View 2 RepliesI am using a GSM modem RS232 where a sim is inserted. I want to write a VB.NET application so that i can send or rcv messages using the modem. How to proceed for same?
View 2 RepliesI have downloaded the vb script and it works as it should, its a program where you have some buttons so that you could trigger the relays.But i need several small scripts, one for each relay on / off so that i can call them from a .bat file with argument.i have a .bat named relaycard and in thet i have created argument like
relay1on
relay1off
relay2on
relay2off
and so on.
The small program relay1on should just do the jobb and then close itself.Maybe its a little bit clearer now.On the link that i posted there is a manual and even links to the vb program,
how to send/receive messages via RS232 from my programme. I have a USB-serial adaptor
Can anyone recommend any places to look? Is this something that you would expect would be fairly easy to do for someone with a few months of coding practice?
I am trying to implement automated sms(Short Msg ) system.I implemented sms receiving part.but I could't send a sms as reply.
View 5 RepliesI have a problem regarding rs232-usb converter... I'm using toshiba laptop. The problem i faced is i can receive data from my microcontroller to VB but i cant send data to microcontroller... However, when i use the same VB code and same converter, i try at my friend laptop (other brand), it works... May i konw is there any other setting i need to set for my laptop??
View 3 RepliesI need to send sms via GPRS Modem with vb.net
View 2 RepliesI want to send SMS Via GSM Modem from vb.net application I write code But it is not working .
Here is Code below :
Public Class Form1
Private SMSEngine As SMSCOMMS
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
[code].....
I am doing wrong? I am using VB2008/VB.NET to send a command (set to 4 volts) to a Tenma DC Power Supply over an RS232 cable. I don't have documentation from Tenma that lists the commands that the instrument understands, I got "VOLT040" from a program in an older version of VB that someone else wrote for this instrument. The code is below:
[Code]...
I want to make a program to send sms using gsm modem .. but i don't know how can i start .
View 2 RepliesI want to send sms using my vb.net application by using my Asuse T500 GSM Modem.
View 2 RepliesI want to write a Solution with VB.Net for Receive "Users" requests and Send specified information to
them with SMS.I use D-Link GSM-Modem (Model:DWM-156).
This model/type of GSM-Modem, has embeded Driver and a Application for Sending/Receiving SMS.on it, and also we can attach MicroSD to the Device. 1-Send/Receive with GSM-Modem and D-Link's application :
when i attach GSM-Modem to USB port, D-Link' app , run automatically , then I heared noises on my Speaker, like when turn on a Mobile. I think this Signals "Hand Shake" with My GSM-Network.
[Code]...
I have to create an application that can receive/send SMS using GSM Modem.
View 4 Replieshow to use at commands in vb.net and how to send image from computer connected to GSM modem to a mobile using vb.net
View 1 RepliesI have developed a microprocessor based devise. It can communicate with laptop through RS232 as a VB application. Now most of laptops have USB port only. So I want to use USB replacing RS232 port on laptop side but not change anything on the device side. Can I do this using a USB-RS232 converter? How to change the VB software?
View 1 Repliesi need help to do a simple chatting software which will use my wireless modem to send and retrive data.i must create a program something like MSN messenger.
View 1 RepliesI am attempting to call a remote modem using a local modem connected via USB. Programming language is VB.NET and I am using the SerialPort control to talk to the modem.
Communication is as follows:
I send: ATZ0[CR]
Modem responds: ATZ0[CR][CR][LF]OK[CR][LF]
I then try to dial a number:
I send: ATDTnnnnnnnnnn[CR] where nnnnnnnnnn is a valid number
The modem responds with:ATDTnnnnnnnnnn[CR][CR][LF]ERROR[CR][LF]
All other commands seem to work without any issues
For info the modem is a MultiTech MT5634ZBA-USB-V92
If I use hyperterminal and type the same commands in it works as expected and dials the number, so it must be something I am doing in my code, possible some setup in the SerialPort control
I am using VB2008 Express and am curious how to send a command via RS232 communications. The string that I need to send is 02h PON 03h. The start and end bits are 02h and 03h.
How can I convert 02h and 03h to its ascii form. In hyperterminal, I use the sequence {(hold)ALT 0 0 2} on the number pad to send the start bit.
I am using this code currently without the start and end bits
Code:
Is there a simple ASP.NET (.VB) available for AES-encrypting?here is a link to c# one but its complicate one having pretty much parameters, for example salt. [URL]I need a simple one that works together with GOOGLEAS3 Class that is called easily like this:
var key:ByteArray = Hex.toArray("1234567890abcdef");
var pt:ByteArray = Hex.toArray( Hex.fromString("aaaaaaaaaaaaaaaaaaaa"));
var aes:AESKey = new AESKey(key);
aes.encrypt(pt);
var out:String = Hex.fromArray(pt).toUpperCase();
(from scratch as I've not done this before) how I can stream live through modem-to-modem connection. The modem here refers to dial-up modem (PSTN modem), there is no internet/lan involved.It will be 2 programs, the first is to transmit real-time video from webcam, and the second is to remote video from the first.
View 5 RepliesI am trying to connect a PC with peripherals thru RS232.The PC program has to send and receive value in HEX to peripherals.However, the value sent out seems to arrive at peripherals in ASCII.Following is two of my trial codes:
Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim HexArray(8) As Byte
[code].....
My program connects via the rs232 port to a pump and it managed to start the communication and sending data. But the problem arises when i try to read the return signal from the pump to pc. This is the piece of code i've used:
Code: Dim returnbyte(0) As Byte Dim ByteIndex As Integer = 0
Do While ClassSerialPort.BytesToRead <> 0 ReDim Preserve returnbyte(ByteIndex) returnbyte(ByteIndex) = ClassSerialPort.ReadByte() ByteIndex = ByteIndex + 1 Loop
[code]....
I obtain the following results:
Code:... 6 12 0 0 0 92 ...
From the manual i understand which byte to read. For e.g 6 = ACK. The problem is how to interpret the 4 bytes together in a string for e.g 0 0 0 92 means 9.2ml ?Is there any way to read the decimal point?
I chose Visual Basic 8 as a computer interface to communicate through RS232 (serial) to my microcontroller, which in turn will do its own thing to transmit data it receives from the VB GUI through wireless
I have used VB before but it's been a long time. I looked at some of the settings and it looks like it has a SerialPort com component I can use. Will it suffice for this project?Might be a simple question, but just want some tips from experienced developers.
I have a Delphi program that communicates with a vb.net dll that I created. The vb.net dll communicates with a Fluke scope meter via an RS232 connection. I have created a program that communicates correctly via RS232, giving me the anticipated value. Though, when I package this up as a dll and access the dll from my Delphi program I always receive a value of "1", rather than the value I was expecting (most cases a value in and around 240).I know that my delphi program is definitely communicating correctly with the dll and that my dll is definitely communicating with the scope meter
Here is my vb.net code:
Public Interface IFlukeComm
Function GetReading(ByVal Command As String, ByVal PortNum As Integer) As String
[code].....
How can I get the port name (COM6 for example) for a given hardware ID, such as USBVid_04d8&Pid_1234, and vice versa? I'm using an RS232 to USB interface.
View 6 RepliesI currently have software that sends out plain text(i.e. 'X') to comm 1 port and was wondering if there was any way to capture that plain text and also respond to that port on the same compute as the port without having anything plugged into the machine (i.e. 9 pin serial cable). I am trying to avoid buy any more hardware as this is an objective to acutally cut down on hardware.
View 1 RepliesI am trying to read a packet of data which has come in from RS232. I need to be monitoring the port until data comes in to be actioned. I have been doing this fine for some time using the following code:
Dim strline As String = Nothing
Dim comPort As SerialPort
Dim bIsOpen As Boolean = False
[Code]....
The code above works without a problem unles byte 1 or two are greater than 127. Basically, all of the characters that are not converted seem to be 128-255.
I am using VB 2008 express. Clearly I need to read each byte individually and store it as a byte within an array instead of a string but i am not sure how to do this.
how to get around this either through reading bytes properly or through using a different encoding format
At the moment, I need to write a simple peice of software using VB.
I have a computer with VB2008, a RS232 interface; a electronic scale with RS232 interface; a cable with two female sides(this cable is file transfer cable, it enable data transfer between two computers according to the instruction)
My task is to connect the scale to the computer and the computer will keep track of the data sent from the scale.
how to get started? I'm new to VB and have no background in seiral communication, please give details.
My first question is: I have connected them together with the cable, how can I make sure they are really conected (able to communicate)? And can anybody give a peice of code to let me start building on that?
I have been using VB 6.0 and new to VB.net (VB 2005) I want to know how to read characters from RS-232 port.
I have created serialport object and want to read this sort of thing "A,2451.3955,06715.8253"
i would like to know a method that can read data via rs232 ( i use pic 18f452 to send 5 values(pression, temperature, current, voltage and solar radiation ) of Adc conversion )i successed to read one value at first ( sending one value via pic) , but i couldn't read more than one at end
so, question is how to do that ? how to separate between the data?
[Code].....
Possible Duplicate: Creating a Serial Port in code in VB.net
I wanna connect RS232 to vb in order to set an input for motor such as the steps and motion. I'm really new with VB. I'm using VB2010 express. Can you help me with the coding?