hardware-interface

iPhone as a robot controller

I have successfully used pocket pcs in the past (using the serial port) to control simple robots (small rovers). Looking around here and on apples' developer website, it seems that starting on 3.0, they do allow applications to communicate (and even use their own protocol) with custom hardware. I'd assume they have the same policy for b...

How are instructions dispatched to devices in a computer?

This is my mental image of what happens and I am hoping for some corrections, clarifications and maybe even more details. Basically, when the computer is powered on, the BIOS loads all devices on the PCI bus and makes them available at a certain pre-determined addresses. The same occurs with the PCI-express bus. So each device can rece...

Best Practices: Handling disconnects of hardware in classes that represent them

Hello, I'm working in VB.Net developing data logging software. I've developed classes implementing a common interface that works with many of the data loggers my company produces. These classes handle the low-level hardware interfacing and expose common methods for accessing the data logger's records. My issue is what would be a good...

What techniques should I learn to be able to control appliance programmatically?

I'd like to be able to control household appliances. I don't know where to get started, does anyone have any tips? ...

problem with two .NET threads and hardware access

I'm creating an application which communicates with the device via FT2232H USB/RS232 converter. For communication I'm using FTD2XX_NET.dll library from FTDI website. I'm using two threads: first thread continuously reads data from the device the second thread is the main thread of the Windows Form Application I've got a problem when ...

GDI & Hardware Cursor

Dear All I am working on iMX51 project. The RTOS is WINCE 6.0 r3. And I am using iMX51 freescale evaluation kit. We are actually looking to speed up the GDI and to implement the hardware cursor. I am unclear abt the following:- What exactly does speed up of GDI & Hardware cursor means? Also What is the difference b/w software ...

Serial Port Data Structure

I need to send data to a hardware device over serial port. I'm using a program called serial port tool for os x. After I connect to the device there is a form box where I can type data to send. I have no idea how to format the data. Here is an excerpt from the manual for the device. "The Net Manager Command structure consists of one ...

Ruby SerialPorts

I'm using the ruby serial port gem. After I open up the port I send the data I want like this. sp.write [200.chr, 30.chr, 7.chr, 5.chr, 1.chr, 2.chr, 0.chr, 245.chr].to_s It doesn't work, but if I put it in a loop of around 200 times: 200.times do sp.write [200.chr, 30.chr, 7.chr, 5.chr, 1.chr, 2.chr, 0.chr, 245.chr].to_s end It ...

I want my software to respond when someone inserts a coin, how can I do it ?

I understand this can seem a bit weird. So I'll give more details. Is it possible for my computer to interact with some kind of "coin collector" ( just like the kind that's used in a vending machine ) ? Basically I'd like to be able to implement the following methods public void onCoinInserted( Coin coin ){ if( coin.value == 10 ) ...

How to simulate a USB drive

Hi all, Is it possible to simulate a USB drive with software only? I mean, for example, to expose a local memory space to the OS so the device manager will recognize it as a USB device. I'm not familiar with hardware implementation, but I'm sure that it is possible somehow to emulate the USB protocol. I began with this book - USB Desig...

Usage of peripherals (special hardware) to make programming more efficient?

Possible Duplicate: What peripherals or accessories help you program? Outside the standard mouse/keyboard combination are there any other peripherals that you use to make you programming more efficient? One option that I have considered is using AutoHotKey to script the buttons on a Logitech Wingman to run different functions...

Web application and hardware interaction.

First off, let me apologize if this has been asked already, but I can’t seem to locate a solid answer. Is there any web application language or related process that will allow a web app to interact with the local PC hardware? I am trying to see if there is a way to have a web page interface with a local scanner device to capture, write ...

Are IO Control codes determined by the hardware or ...?

I have a small project (for my cell phone) on the go, and I believe I have found IO Control codes for what I want to accomplish (theres nothing at a higher level unless I can reverse engineer the dlls and call them). However, the codes are from a different device from a different manufacturer (the board is the same - a snapdragon 8650)...

How to Read RS232 Serial Port in PHP like this QBasic Program

I'm trying to port the following small QBASIC program (which works 100%) to PHP: OPEN "com1:2400,n,8,1,DS," FOR RANDOM AS #3 OPEN "data.dat" FOR OUTPUT AS #2 REM read 17 chars from the port scale$ = INPUT$(17, #3) PRINT scale$ WRITE #2, scale$ CLOSE #2 CLOSE #3 SYSTEM Currently I'm calling it in its compiled (exe) form from PHP (on WA...

How can I capture the key pressing from a external equipment ?

I have a hardware which connect with my computer via com interface, I want to implement such a feature: When the button on the hardware is clicked, My application can capture this event and then write something on my application. So How can I listen to a specific COM interface and capture the event ? How can I get what command the hardw...

Mobile Phone (different platforms): Cell reselection control/Layer3 reporting modification

Ideas welcome how to create an application able to lock phone on a particular operator's cell, prevent cell reselection/handover, modify layer 3 "Measurement Report" messages which handset sends uplink towards base station (it is commont for GSM & UMTS). Platforms: iPhone Symbian S60 3rd, 5th Android Windows Mobile What I currently fi...

How do you do hardware handshaking with a usb to matlab?

How do you do hardware handshaking with a usb to matlab? We have already accomplished this with a serial, but now need to do it via usb. ...

Hardware and software setup for accessing and monitoring text messages on a phone connection

What hardware/software do I need to setup a machine that monitors incoming text ("SMS") messages on a phone connection? The software needs to be able to read the message, copy it to a database and then delete it. ...

Is it possible to gather information about computer hardware using Java?

If so, then how? I'm doing a team project for school. I thought that Java couldn't actually access hardware directly, since that would make it hard to be cross-platform. I need to know this, because after some quick Googling, I haven't found anything, and my team members(who want to do this and want to use Java) seem unsure of how to pro...

dialogic API AND simulator

hi Everyone i want to test dialogic board (HMP Software 3.0 win) API (R4 and Global Call) i downloaded the samples from dalogic website but both API'S samples throw EXception that the dependency for DLLs not found . i think it's because of the board doesn't exist on PC . is there any simulator for dialogic board? does anybody know w...