Hi everybody, I am to build a hotwire anonemeter that give us the velocity of airflow by generating voltage.....I want to write a code that convert the voltage export to computer to velocity.
is this possible by VB... i have to write a driver? can anybody give me a full instruction? i am a newbie in this field
usb port programming for a horwire
Started by morteza08, Dec 11 2010 03:34 PM
2 replies to this topic
#1
Posted 11 December 2010 - 03:34 PM
|
|
|
#2
Posted 13 December 2010 - 02:13 PM
morteza08 said:
I want to write a code that convert the voltage export to computer to velocity.
is this possible by VB... i have to write a driver?
is this possible by VB... i have to write a driver?
So you need to develop external hardware (ADC is just one of its module) which can translate the voltage generated by the anemometer into digital number and feed that number to PC. Unless your main target/market are laptop users, I recommend to use UART in the hardware to give it ability to "talk" with PC using serial ports. Since you are not an expert in this area, I think targeting serial port communication is much easier than immediately develop the hardware to use with USB port (which requires more complex hardware design in the external hardware side and also the need to write driver - or buy the code - in the PC side).
Edited by LuthfiHakim, 13 December 2010 - 02:15 PM.
Add wikipedia link about UART
#3
Posted 13 December 2010 - 02:17 PM
thanks for your informative guide
LuthfiHakim said:
You can not do this inside a PC. You have to do it outside the PC by using ADC (analog to digital converter) from which the result can be feed to your PC. The reason is because our PC can only process digital signals, not analog signal. Also if the voltage exceeding the tolerance range, it will damage the PC.
So you need to develop external hardware (ADC is just one of its module) which can translate the voltage generated by the anemometer into digital number and feed that number to PC. Unless your main target/market are laptop users, I recommend to use UART in the hardware to give it ability to "talk" with PC using serial ports. Since you are not an expert in this area, I think targeting serial port communication is much easier than immediately develop the hardware to use with USB port (which requires more complex hardware design in the external hardware side and also the need to write driver - or buy the code - in the PC side).
So you need to develop external hardware (ADC is just one of its module) which can translate the voltage generated by the anemometer into digital number and feed that number to PC. Unless your main target/market are laptop users, I recommend to use UART in the hardware to give it ability to "talk" with PC using serial ports. Since you are not an expert in this area, I think targeting serial port communication is much easier than immediately develop the hardware to use with USB port (which requires more complex hardware design in the external hardware side and also the need to write driver - or buy the code - in the PC side).


Sign In
Create Account

Back to top









