How steering wheel with force feedback read and send data amount windows using USB HID - usb

How steering wheel with force feedback read and send data amount windows using USB HID?
Is there any sample project of driver for steering wheel to communicate with PC?
Or detailed docs about develop a firmware on steering wheel device?
I have viewed pid.pdf but have no idea how to do detailly.
Thanks!

Related

Video transmission from OV2640 camera using STM32F429IGT6 microcontroller

For the project, I need to transfer video from the OV2640 camera using the STM32F429IGT6 microcontroller to a 7-inch screen on Open429I-C. So I have a few questions.
What will be better in terms of FPS, quality and additional features: transfer video to this screen, or make a utility on a PC and transfer video there (especially considering that in the future it is possible to expand the functionality)?
Can someone share tips/materials/examples on this topic?

How to stream Wireless WiFi IP camera video into my application?

I would like to develop an interface to a Wireless WiFi IP camera and stream its video in a frame in my application. I never did such a thing and would appreciate any pointers.
how should I approach this task?
Have a look at my MJPEG Decoder on CodePlex. You'll find source + binaries for almost every Windows platform (WinForms, WPF, Windows Runtime, etc.) along with samples. Let me know if you have any questions.
There are couple options that you may consider. However, it is very important to define the stream/source of video transmitter.
How to use a web cam in C# with .NET Framework 4.0 and Microsoft Expression Encoder 4
Perform live video stream processing from CaptureElement & MediaCapture
Video Panel control XAML description for Viewing Webcam in WPF

monitor mouse status on Mac OSX

I wanted to monitor mouse status(connect/disconnect) in system wide on OS X. I checked the Apple developer library, but cannot find any clues.
My goal is to monitor both USB and Bluetooth mouse. Any API that I could use?
Thank you very much.
--N
You can use I/O Kit's HID manager API to find out when new HIDs (Human Interface Devices) appear in the system, or are disconnected from it. This is a complex topic in itself, so I won't throw random code at you - just go read Accessing a HID Device (in particular the Matching HID Devices and Registering for Unplug Notifications sections). Example code is included.

How to get a single screen shot from photo camera using microcontroller

Let's imagine that we have any of popular photocameras (like Canon or whatever) installed on a mechanical platform. This platform allows us to accurately adjust camera's lens direction to any interesting object. This platform is controlled from PC via microcontroller board. But we need a feedback from a photocamera - the image which currently appears on camera's display. Obviously, this feedback is required to be sure that the camera looks in a right direction. At the moment I don't know how to get a single shot image from photocamera by a microcontroller.
Could you please recommend me any directions to dig to ? Any recommendations on how to select photo camera (web cameras are not allowed) ? Any tips ?
Thank you in advance =)
Dwelch is right, you need to pick a "friendly" camera and work from there - google CHDK for a starter.
You could use the SPI interface of a micro to spoof being an SD card, and accept image data from the camera straight into the micro, but you would probably need quite a fast micro with a fair amount of RAM, especially if you want to do any processing on it.
Other than that, you could sample the camera's AV-output (if it has one), either into the micro or straight into the PC via a USB capture stick (or USB capture stick into micro if you're being a show-off), or maybe interrogate the camera over its USB or (insert name of proprietary port here) IO port.
Getting more hacky (yes, even more!) you could sniff the LCD data bus of the camera and steal the image from that, but that brings all sorts of pain, and tiny, tiny screws.

Affordable, programmable device with gprs and simple sensors?

I've got quite a fun challenge / work assignment. I'm to monitor a couple of 5V light bulbs (warning lights) on a machine standing far out in no man's land. I'm looking for an affordable device with an input which allows me to hook into the light bulb circuit to tell whether it's lit or not.
Requirements:
GPRS
Inputs for at least two light bulbs
Programmable in C or something similar.
Bonus (not required, but it would be kind a nice):
Waterproof casing / chassis (I could make this my self, but it would be nice if I didn't have to)
Option to add other sensors like humidity, temperature and gps.
Any tips?
I'd recommend an arduino
Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.
Arduino can sense the environment by receiving input from a variety of sensors and can affect its surroundings by controlling lights, motors, and other actuators. The microcontroller on the board is programmed using the Arduino programming language (based on Wiring) and the Arduino development environment (based on Processing). Arduino projects can be stand-alone or they can communicate with software on running on a computer (e.g. Flash, Processing, MaxMSP).
there's an article here on hooking one up with gps
http://www.arduino.cc/playground/Tutorials/GPS
and for more information on the arduino platform in general, and where to buy
http://www.arduino.cc/
Edit: just noticed you were looking mainly for GPRS and not GPS - doh, however, quick look on google brings up this: http://www.libelium.com/squidbee/index.php?title=New_GPRS_module_for_Arduino_%28Hilo_-_Sagem%29 which is a GPRS module for the arduino :]
Have you looked at Arduino?
in fact, what you are asking already exists: many companies which produces electrical component for the industry provides a rail-mounted GPRS modem for remote signaling.
here is one example, made by phoenix contact
another one from another company
the tele-control range of product from wago
telit is well-known for its GSM chips, and provides a complete module with GPRS and programmable in python.
you can find some fancier systems including GPS and linux-based, here for example
there are countless other solutions...
I would buy the Terminus from Janus RC it is based on a telit module. It is a cell modem with 9 GPIO and you can program it using python.
Interface
9 Bi-directional CMOS I/Os
Power Monitor
1 ADC
ITU-T V.24 serial link through UART
Python Script Support
Integrated Python script interpreter (V1.5.2+)
2 MB of non-volatile memory
1.2 MB of RAM reserved for Python engine usage
Powerful built-in libraries makes accessing hardware easy