Internships/ProjectIdeas/ArduinoVisualisation:detail: Difference between revisions

From QEMU
No edit summary
No edit summary
Line 1: Line 1:
[[File:intended_arduino_visualization.png|800px|QEMU emulated Arduino board visualizer.]]
[[File:intended_arduino_visualization.png|800px|QEMU emulated Arduino board visualizer.]]


The '''QEMU emulated Arduino board visualizer''' is a platform for QEMU based board emulation interface.  
The '''QEMU emulated Arduino board visualizer''' is a platform for QEMU based board emulation interfacing.  




Using the inteface a board is defined as a group of *widgets* connected to the board. Each widget is defined as a block that can have two features:
Using the inteface a board is defined as a group of *widgets* connected to the Ardunio. Each widget is defined as a block that can have two features:


* User interaction: the user can modify the parameters of the widget.
* User interaction: the user can modify the parameters of the widget.
Line 20: Line 20:
|Apple
|Apple
|-
|-
|[[File:widget_potentiometer.png|150px|left|Led with brightness widget.]]
|[[File:widget_potentiometer.png|150px|left|Potentiometer widget.]]
|'''Potentiometer''': the widget modifies the middle point of the potentiometer configuring a variable voltage to the ADC.
|'''Potentiometer''': the widget modifies the middle point of the potentiometer configuring a variable voltage to the ADC.
|-
|[[File:widget_switch.png|150px|left|Switch widget.]]
|'''Switch''': the widget will be used to turn on/off all the board. The state of the switch is represented with a colored box with text:
* Open: Green.
* Closed: Red.
|-
|[[File:widget_console.png|150px|left|Serial console widget.]]
|'''Serial console''': the widget will show the updated serial output.
|-
|[[File:widget_button.png|150px|left|Button widget.]]
|'''Button''': the widget could be modify by the user. While the button is pressed the pin is connected to GND and HiZ when not.
|-
|[[File:widget_osc.png|150px|left|Oscilloscope widget.]]
|'''Oscilloscope''': the widget could be connected to any pin showing the updated signal generated by QEMU.
|}
|}

Revision as of 09:49, 9 March 2020

QEMU emulated Arduino board visualizer.

The QEMU emulated Arduino board visualizer is a platform for QEMU based board emulation interfacing.


Using the inteface a board is defined as a group of *widgets* connected to the Ardunio. Each widget is defined as a block that can have two features:

  • User interaction: the user can modify the parameters of the widget.
  • Visualization: the widget will show updates of the state of the circuit.

Widgets

Led with brightness widget.
Led with brightness: the widget indicates the brightness of the led.
  • If the led is connected to a GPIO pin the brightness could be full brightness or none depending on the GPIO state.
  • If the led is connected to a PWM pin the brightness will be proportional to duty cicle of the signal.
Apple
Potentiometer widget.
Potentiometer: the widget modifies the middle point of the potentiometer configuring a variable voltage to the ADC.
Switch widget.
Switch: the widget will be used to turn on/off all the board. The state of the switch is represented with a colored box with text:
  • Open: Green.
  • Closed: Red.
Serial console widget.
Serial console: the widget will show the updated serial output.
Button widget.
Button: the widget could be modify by the user. While the button is pressed the pin is connected to GND and HiZ when not.
Oscilloscope widget.
Oscilloscope: the widget could be connected to any pin showing the updated signal generated by QEMU.