Read The Value Of The Sonar-sensor Of NXT Through Bluetooth?

Sep 22, 2011

How is it possible to read the value of the sonar-sensor of my NXT through Bluetooth (and Visual Basic 2010)?

View 3 Replies


ADVERTISEMENT

Communications :: Using Telnet To Read A Sensor

Jul 28, 2009

I am using Telnet in VB to read a temperature and RH sensor. I don't know that the data is the exact same length every time. I have pasted the code below. This code does get the data back. I have also pasted the unparsed and parsed data as well.... Sometimes I get more or less data than the time before and I think this is because I am not reading the entire buffer. How can I make this code run a little better so that I can get the proper data every time? Below the code is a sample of several readings. You can see how I get bad data periodically.

Unparsed
" 24.4155 45.2235 11.7921 200.9005 45.2372 45.2235 -42.0242"
Parsed (replaced " " with , and then " " with ,)

[Code].....

View 2 Replies

Read Data Through The Virtual COM Port Created By Bluetooth?

Oct 25, 2010

Trying to read data through the virtual COM port created by bluetooth.

The original console program (and the trimmed version below) was designed to read data from serial port COM1 and output the data to notepad. The program works; hook the bar code reader to COM1, activate bar code reader, swipe card, bar code reader beeps, data input collected from COM1 and sent out to notepad.

The problem: Bluetooth is wanted instead of serial cable.

We disconnected the serial cable, we connected a USB bluetooth receiving device onto the XP. XP installed the bluetooth device drivers 'Generic Bluetooth Radio' and 'MS Bluetooth Enumerator'. Bluetooth detected the bar code reader device and created COM5 outgoing SPP slave and created COM6 incoming.

But now; activate bar code reader, swipe card, bar code reader beeps, NO data input collected from COM5.

[Code]....

View 7 Replies

Create An Interface For A Sensor?

Dec 7, 2011

How to access VB functions using C#? I am trying to create an interface for a sensor, whose files are given in VB format. How can i access themm and consequently make changes in the same?Ok! sorry for incomplete info. The files i have are .vbp and .frm format. I am trying to create a Form file(interface, with buttons etc.) using Microsoft Visual Studio2008, which has a included wrapper to combine C++ and C# and has console application. Now how do i call the .vbp files and to furthur work on the interface?

View 1 Replies

Getting Control Using Picoscope Sensor

Apr 1, 2009

I am looking to create a VB 2008 Express programme which converts a data stream from a picoscope muscle sensor into a power output board which controls a mechanism.

In simple terms when the Muscle sensor reaches a value of 0.8 V or higher I want the programme to send a text file to the power output control programme, and likewise when the sensor is below 0.2 V I want the power to be zero.[code]...

View 3 Replies

Pull Info From Sensor.dll?

Jan 15, 2010

I'm trying to get my hands on my ThinkPad T500 tilt sensor data.So the (unfinished, but works (i'll get three values, state,x and y)) code is:

Public Class Form1
Private Structure AccelData
Dim stat As Integer
Dim x As Short

[code]....

With debug.print I'll get the correct information, but as soon as I try to insert the outcomes to label.text I'll get error:

Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

So, how can I pull the information from dll to label text?how to use the sensor.dll to extract information?

View 1 Replies

G-Sensor/Accelerometer, How To Find Values

May 3, 2009

I have been searching everywhere to figure out how to access the G-Sensor/Accelerometer in my HTC Touch Pro and other like devices. I've already created a number of app's for windows mobile but now I'd like to add some more customizations into my app's. I don't mind installing 3rd party app's but I'd like to add the same fuctionality into my own apps with regaurds to the G-Sensor/Accelerometer funtions. I got a hold of some code(Rhaakmeester)...

[code]...

This code helped a bit but only detects the change after a 3rd party app has already changed the screen orientation or if the KB was slid out. How do I access the G-Sensor data myself.

View 2 Replies

Light Sensor And Audio Announcement

Nov 6, 2009

I'm new at VB therefore i need some guidance on how to go about doing e current project that i have. Currently doing on Light Sensor and Audio Announcement.

[Code]...

View 5 Replies

Measure Distance Using Serial Port (sensor)?

Mar 21, 2010

measure distance using serial port (sensor)?

View 1 Replies

Converts A Data Stream From A Picoscope Muscle Sensor

Apr 1, 2009

I am looking to create a VB 2008 Express program which converts a data stream from a picoscope muscle sensor into a power output board which controls a mechanism. In simple terms when the Muscle sensor reaches a value of 0.8 V or higher I want the programme to send a text file to the power output control programme, and likewise when the sensor is below 0.2 V I want the power to be zero.

So 0.8 V > = send text file (0O=100%)
0.2 V < = send text file (0O=0%)

so when muscles being senced move the device turns on and off. I think I am successfully getting the data stream from the Picoscope which is plugged in the usb. I am using codes and examples that the programming guide for the device provided. [Code] I just need to now how to get the data to be displayed or how to tell the programme to do something with the data. The device also came with an example of how it can record data to an excel sheet if anyone needs the code to gain a better understanding.

View 20 Replies

Visual Basic Hard Disk Acceleration Sensor?

Oct 21, 2011

Is there a way to detect the motion sensor in the hard disk with visual basic .net?I know that hard discs has an acceleration sensor to turn the hard disk off when the computer falls from a height.I have seen one example of this in a game using this sensor.I want to detect the sensor so that my security program can alarm and email me if lets say someone nocks my computer to the floor while im gone.

View 1 Replies

Write An Application That Communicates With A Digi Watchport/D Sensor?

Jul 18, 2009

I am using Visual Basic Express 2008 to write an application that communicates with a Digi Watchport/D sensor. This is an IR sensor and I checked the manual for the commands to send to it. In order to get the distance, it say to send the sensor the command D<CR>. Here is my code so far...

Option Explicit On
Option Strict On
Imports System.IO.Ports
Public Class Form1

[Code]...

Every time when i click the button, I get the timeout exception error message.

View 1 Replies

Bluetooth Pairing With A HID?

Sep 14, 2009

i got a app that needs to connect to a HID device.but every time i off my PC the pairing of the 2 (PC with the HID device) is gone. is there a way for VB to pair it ?

View 1 Replies

How Is The Bluetooth Connection By VB

Feb 10, 2010

How is the Bluetooth connection by Visual Basic Dot Net readers and text sent by the Bluetooth

View 2 Replies

How To Send Bluetooth By App

Jul 5, 2011

I desgin an app that encoding text to sms format so you can after that sent this text to your mobile.ok now I want to know how can I send this file by bluetooth from my app

View 4 Replies

Way To Get UUID Bluetooth

Apr 22, 2011

I am developing for my project is "Remote Control Winamp from Mobile with Bluetooth Connection".I have two applications to develop it. Application server with vb.net programming and application client with J2ME.[code]...

View 1 Replies

Get A List Of Bluetooth Devices?

Jun 27, 2010

got a good sample of using VB to get a list of Bluetooth devices? And to maybe send and receive a file.Also, I'm using VS2005. Is there any better Bluetooth resources available if I upgrade to VS2010?

View 6 Replies

How To Implement Bluetooth Hotspots

Jun 2, 2009

Where should you start when your next application was a bluetooth hotspot implementation?

View 1 Replies

Send Sms Using Bluetooth Devices?

Sep 28, 2011

How to create code and send sms in vb.net using bluetooth devices..

View 2 Replies

Adding In Some Bluetooth Functionality To Application?

Sep 9, 2009

I am looking at adding in some bluetooth functionality to my vb.net application. I require it to couple with a specified mobile phone (that is found by the app) than to be able to retrieve contact information, phone calls (made and recevied) and images from the phone.

Can anyone tell me what my best approach will be for this? If there are any good third party solutions that will do it? If it is actually doable? Im thinking that it should because im basically mimic'ing what all the new fancy cars do with their bluetooth phone compatibility.

View 1 Replies

Auto-SMS After Trigger By Other Bluetooth Device For Wm6?

Dec 23, 2011

I'm looking for an "auto-SMS VB.Net programme module" for window mobile 6.0 professional.my application will operate like below:1. User required pair his hp bluetooth device with his car bluetooth device for first.2. If the accident happened the car sensor will automatic trigger the car bluetooth device to trigger the sms button and send a SMS to a predefined recipient. (this scenario is same with Bluetooth headset, once you press the Bluetoth headset button, you can trigger the mobile phone call function automatically)The process of sending the SMS is 100% automatic, trigger by the car Bluetooth Device and without interception of any users.

View 14 Replies

Cannot Establish Bluetooth Connection With Desktop In Vb?

Oct 15, 2010

i use vb 2008 office 2007 , it's a powerpoint add-in application. I need to use a window form as a bluetooth interface.the working procedure is like that when i click the Enum button, it will help me to search for available bluetooth devices.but now i have an error, it shows "WCL ERROR: Specified transfer is not available"

[Code]...

View 2 Replies

Create Bluetooth Messenger For Computers?

Sep 13, 2011

i wanted to create bluetooth messenger using vb.net for computers.

View 2 Replies

How To Send File Via Bluetooth Through Program

Jun 15, 2011

How to send a file via bluetooth through my program? I have a text file that I make it by my program and i want to send it to mobile via bluetooth and also I want my program gives me a message in these 2 cases?
1- In case if there's no bluetooth in computer
2- In case if it dose not find bluetooth device around

View 4 Replies

Receive Bluetooth-messages Through Vb 2010?

Sep 22, 2011

How is it possible to receive Bluetooth-messages through vb 2010?

View 1 Replies

Reducing The Range Of A Bluetooth Device?

Oct 22, 2010

i am currently working on an application that reads the MAC addresses of all phones within the range of our bluetooth reader on the workstation. However, we would like to reduce the range of the reader to < 1 meter. I have dont alot of research and the only solution that i have found is a hardware one; i.e. changing the device to a class 3 or getting a custom made device that will have it's range adjusted to our preferences. However, i also know that we can adjust the power that runs through the bluetooth device in order to reduce the range. Is there any way that we can reduce the power of the device ? We don't have many funds atm and we're looking at a software solution and not a hardware one.

View 4 Replies

Send Audio To Bluetooth Headset?

Jan 8, 2011

how to program using bluetooth dongle in vb.net. i want to send audio to bluetooth headset.

View 1 Replies

VS 2008 Scan BlueTooth Devices?

Nov 8, 2010

I was trying to play a bit with bluetooth devices but i can't find that much info about it. I'd like to build some sort of program that allowed me to send messages into bluetooth enabled cellphones. The idea was to send messages with tasks/events inside the building. This software would be part of other software such as ERPs or agendas.

View 4 Replies

Way To Transfer A File To Another Device Over Bluetooth

Jun 8, 2011

I was wondering if there was a way to transfer a file to another device over bluetooth using vb.net.

View 1 Replies

[2008] Getting Strings From A Bluetooth Com Port?

Jan 9, 2009

i'm currently trying to make a connection between my phone to my PC using vb .net and a program I will build for my phone.my phone should send information (some strings) through the com port, I wrote in google "VB .net bluetooth" and I sew there is a library for vb .net, but I don't think I need that library, can I communicate with a com port without this library? like making a connection with a normal com port?If I'm right, how do I do that? how can I recieve information from the bluetooth com port?

View 7 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved