Discussion in "Software" started by    Anigurl    Jul 8, 2010.
Thu Jul 08 2010, 07:09 PM
#1
any1 help me plz...i need d codes for max 232 chip.in order to send d data from one modem to one modem..this is low cost infrared wireless modem for pc to pc communication...what are a simple modification which i can do in this circuit....mail me to [email protected]


• The schematic of Low Lost Infra-Red Wireless Link for PC-to-PC Communication is as follow:



Mon Jul 12 2010, 06:42 PM
#2
there doesnt seems to be any code involved in this.. just send data from your PC's uart to other which also connected to similar module.

what language are you using?
Wed Jul 14 2010, 05:36 PM
#3
i need c codes.then only i can send data from this module to another same module...by using infrared
Wed Jul 14 2010, 05:41 PM
#4


i need c codes.then only i can send data from this module to another same module...by using infrared

Anigurl



do u mean the computer side software
Wed Jul 14 2010, 08:26 PM
#5
Mon Sep 13 2010, 12:59 PM
#6
Public Class Form1
    Private mintbaud As Integer

    
    Dim varRX As String
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Try
            AxMSComm1.PortOpen = True
        Catch ex As Exception
            MsgBox(" already in used by other application.", vbExclamation, "Message")
            Exit Sub
        End Try
        AxMSComm1.CommPort = TextBox1.Text
        AxMSComm1.Settings = TextBox2.Text & ",N,8,1"

        Button1.Enabled = False
        Button2.Enabled = True
        Button3.Enabled = True
        AxMSComm1.DTREnable = True
        AxMSComm1.RTSEnable = True

    End Sub
    Private Sub MSComm1_OnComm(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AxMSComm1.OnComm
        varRX = AxMSComm1.Input
        RichTextBox2.Text = varRX
        AxMSComm1.Output = RichTextBox1

    End Sub

    Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged

    End Sub

    Private Sub TextBox2_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox2.TextChanged

    End Sub


    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        AxMSComm1.PortOpen = False
        Button1.Enabled = False
        Button2.Enabled = True
        Button3.Enabled = False
        AxMSComm1.DTREnable = False
        AxMSComm1.RTSEnable = False


    End Sub

    Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
        RichTextBox1.Text = ""

    End Sub

    Private Sub RichTextBox2_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RichTextBox2.TextChanged

    End Sub
End Class


above is my code.when i debug this code...there is error stated tat "A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in AxInterop.MSCommLib.dll" and a new exception unhandlled open..and state "Exception from HRESULT: 0x800A1F4C"..i really need ur guys help..


[ Edited Mon Sep 13 2010, 05:52 PM ]
Mon Sep 13 2010, 06:33 PM
#7
you're asking something that is out of our hands well atleast my hands.
you can however go through this tutorial maybe you get some help on how to program serial port in VB.net
http://www.innovatic.dk/knowledg/SerialCOM/SerialCOM.htm

PS: Its easy to program serial ports in VB6 than in vb.net, thats what i feel

Get Social

Information

Powered by e107 Forum System

Conversation

Thu Jun 11 2020, 06:27 AM
anudee
sir could please send the code for I2C and wifi interfacing with 8051
scena
Tue May 19 2020, 10:29 PM
Does anyone have microcontroller programming software for STC15F104W (core 8051, 4 k, 128 byte, 6 I/O pin, UART ... DIL8), that works?
Sat May 02 2020, 07:38 PM
Tamu Gurung
Hi I am looking for a assembly language program for a digital decimal counter. Time counts max limit of 2 mins starting from 2.00 mins and ending at 0.00. time is to be displayed on 4 7-segment LED displays. Edsim51 simulator to be used. Thanks
Wed Mar 25 2020, 01:39 PM
Tajammul
Sir kindly send the code file i2c for 8051
ExperimenterUK
Fri Mar 13 2020, 10:36 PM
@ Rohitnani,ABEBE..which project ?
Fri Mar 13 2020, 12:55 PM
ABEBE
how can get hadwere of this project
Rohitnani
Sat Mar 07 2020, 05:11 PM
Sir, Could you please send me the zip file input password....
Wed Feb 26 2020, 04:58 PM
Peter Parker
Is it possible to send multiple messages using only 1 GSM module?
Sat Feb 01 2020, 10:12 AM
Pearl Olin
Hello,
Wed Jan 22 2020, 06:16 PM
MINU CHAUDHARY
I m getting errors while simulation process during interfacing socket output and lcd... Can i get the report of ur project which is same as us.

Downloads

Comments

Mirza123
Thu Jun 25 2020, 03:46 PM
eunicelove124
Mon Jun 22 2020, 03:03 PM
cerouno
Tue Jun 16 2020, 05:10 PM
Marce
Sat Jun 13 2020, 09:43 PM
Davidthils
Thu May 21 2020, 12:44 PM
Jakeror
Thu May 21 2020, 01:28 AM
motorCar
Wed May 20 2020, 07:05 PM
Vordrync
Wed May 20 2020, 11:52 AM

Online

Guests: 94, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38215
Newest member: Mirza123