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

Mon Jan 20 2020, 05:54 AM
Braymi
https://www.softtraf.ru
Tue Jan 14 2020, 07:08 AM
shubham kharade
when i am trying to simulate the program in Proteus 8 professional, I am getting some errors as cannot find module file dhtxx.md can u help me
Tue Dec 17 2019, 01:44 PM
Devangi
hello..i am programming industrial timer using 8051 with 24lc64 eeprom. i have query in storing the 3 diff value in eeprom with enter button. can anyone share c code ?
Tue Dec 17 2019, 10:30 AM
Andrius
Hello. Can anyone share the code in Bascon and scheme in Proteus?
Thu Nov 21 2019, 12:30 PM
raj2555
how to interface 8051 microcontroller with NRF24L01+ module
ExperimenterUK
Sat Oct 12 2019, 10:23 PM
Log in.. then post your code in the 8051 forum
Sat Oct 12 2019, 10:18 AM
Bhadra Sajikumar
i am doing a countdown timer with 8051 for my project, unfortunately our professor had to take a leave of absence before he could teach us most of it.. can someone explain the .asm code of it for me?
Mon Sep 23 2019, 07:37 AM
Nathaniel
I am doing a project for my schools wireless security system with cameras,sensors and spot lights using 8051 micro controller, could you help me out with the design and its source code.
Wed Sep 18 2019, 08:48 PM
Caryn Kover
Thank you for your time,
ExperimenterUK
Mon Aug 05 2019, 07:09 PM
@Ismail ..post in forum, give details

Downloads

Comments

Nippy56
Sun Jan 19 2020, 02:13 AM
usb5962
Sat Jan 11 2020, 10:42 AM
elt
Tue Jan 07 2020, 06:53 PM
mg3914697
Tue Jan 07 2020, 12:42 PM
afds43
Sun Dec 29 2019, 05:54 AM
Rupeshpatil
Fri Dec 27 2019, 06:14 PM
pyxus
Sat Dec 14 2019, 12:31 PM
Istika
Thu Dec 12 2019, 12:04 PM

Online

Guests: 45, Members: 0 ...

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

Members: 38116
Newest member: Nippy56
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Jan 17 2020, 10:24 PM
We will need the circuit diagram.A Proteus simulat...
Billz Avatar
Posted By Billz
Sat Jan 11 2020, 05:43 PM
hi everyone please attached files are my c code fo...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Jan 07 2020, 08:18 PM
Not a stupid question.Setting up "Eclipse" can be...
elt Avatar
Posted By elt
Tue Jan 07 2020, 07:06 PM
So i have just began learning programming micros a...
Billz Avatar
Posted By Billz
Mon Jan 06 2020, 09:22 PM
I think it would be better if you guys try to come...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon Jan 06 2020, 12:22 AM
Can you post a circuit diagram and any code you ha...
Billz Avatar
Posted By Billz
Sun Jan 05 2020, 08:17 PM
Need help regarding C code (specifically for PIC 1...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon Dec 30 2019, 06:42 PM
Can you give more details of your problem.
Rupeshpatil Avatar
Posted By Rupeshpatil
Fri Dec 27 2019, 06:21 PM
How to copy program my old microcontroller to new ...
ilylily07 Avatar
Posted By ilylily07
Thu Dec 12 2019, 02:26 PM
wil do.thank you for your advice!