Hi,
I had a few questions about usb devices.
I am kind of new to the world of electronics, and built this small conception:
I did this by writing a small arduino program that sends the distance between the ultrasonic sensor and my hand, to my pc by using serial.write. And I wrote a small program in c# that listens to my com port. volume of the pc is set to the distance in centimeters.
The ultrasonic sensor outputs a pulse, the duration of the pulse is the is the time that the sound took to travel to my hand and back to the sensor
So, as a challenge/project I want to make this without an arduino. just a microcontroller and my ultrasonic sensor. At this moment I have a program at my pc which sets the volume, but is it possible to let an usb device do this? without having to develop/install additional drivers? So just a plug&play situation.
and how to make a microcontroller communicate with a pc via usb?
Thanks!
I had a few questions about usb devices.
I am kind of new to the world of electronics, and built this small conception:
I did this by writing a small arduino program that sends the distance between the ultrasonic sensor and my hand, to my pc by using serial.write. And I wrote a small program in c# that listens to my com port. volume of the pc is set to the distance in centimeters.
The ultrasonic sensor outputs a pulse, the duration of the pulse is the is the time that the sound took to travel to my hand and back to the sensor
So, as a challenge/project I want to make this without an arduino. just a microcontroller and my ultrasonic sensor. At this moment I have a program at my pc which sets the volume, but is it possible to let an usb device do this? without having to develop/install additional drivers? So just a plug&play situation.
and how to make a microcontroller communicate with a pc via usb?
Thanks!