Since this hardware will be used in many projects, we give you detailed description of schematics and PCB board realization.
We used Microchip dsPIC30f4013 because it is very powerful MCU with plenty of peripheral possibilities. If you need a lot of processing, such as fast ADC, this is right choice for you. Also, this MCU isn’t expensive, about 5 EUROs.
Accelerometers and gyroscopes are used for various safety features in modern vehicles. In this article we used Parallax LISY300 Gyroscope Module to measure Gyroscope PCB rotation speed and current position. The complete project is available for download at the bottom of the page. Results turned out to be better than we expected. An error is only few degrees in 10 full circles turn. You can read more about this sensor in this Featured components - LISY300 Gyroscope Module article.
In this project we used ADJD E622 QR999 light to voltage converting sensor to detect color of surface in front of our PCB board. This kind of sensors are often used in robotics and where color detection is needed. Complete source code and schematic with PCB design is provided below.
LABVIEW is data flow oriented programming language. It gives engineer many possibilities to make complex program in few minutes. Down side is that it is usually used with NI data acquisition boards which are expensive. In this example we will use data received from cheap microcontroller via COM port of PC to process and display data.