Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Quadro-Plot – chart of the serial port + Acc + Gyro

Status
Not open for further replies.

Vermes

Advanced Member level 4
Joined
Aug 2, 2011
Messages
1,163
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,316
Activity points
22,318


This project consists of two parts. First is software written in C++ based on QT4 libraries. The program is to download data from the serial port and draw on the basis of a graph in real time.
The application was equipped with several essential functions:
  • reading of available serial ports
  • setting properties of the serial connection
  • the ability to draw 4 independent waveforms in real time
  • the ability to disable the channel
  • AC/DC mode
  • signal inversion
  • amplify adjustment
  • offset adjustment
  • choice of colour of the channel
The data given in the program are placed in a form of stream. Here's an example:

Code:
"a231.342\nb4342.23\nc0.0\nd-12.23\n"

Data of each channel start from a prefix in the form of a letter “a”, “b”, “c”, “d” and end with a mark of end of a line “\n”.
Second part of the project consists of two boards. One of them has a 3-axis accelerometer and two gyroscopes while the second board is responsible for processing and transmission of read signals. Accelerometer and gyroscope need a power of 3,3V and the system was designed to communicate with the processor powered by 5V. The board with AVR intended for testing was also built for a 3,3V. Transistors had too low voltage to be open so they were shorted. If you connect the device to the voltage of 5V, the transistors should be disconnected before.
Schemas, pictures and videos:



Link to original thread (useful attachment) – QuadroPlot - Wykres z portu szeregowego + Acc + Gyro
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top