Menu
Combining the Power of Open Source Software and Hardware with Scilab
Scilab and Arduino are the famous open source software and hardware respectively. Combining the power of both makes the teaching, research and engineering work more efficient.
How to add arduino library in Scilab Xcos. Link to download the Serial library for the communication of arduino. Xcos SciLab + Arduino. Reading analog output for temperature. Communication over a RS-232 Serial Port with Scilab on Windows and Linux (4362 downloads for this version - 61427 downloads for all versions). FUNCTIONS -. openserial — open serial port. readserial — read characters from serial port. writeserial — write to the serial port. serialstatus — get status of the serial.
“Scilab, the Open source software for numerical computation and Visualization.”
Course Synopsis
'Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists and anyone interested in creating interative objects or environments'
In this course, we would use a pre-programed Arduino to communicate with the Scilab in computer through the serial port. The Arduino is preprogramed with different IO including digital IO, analog IO, encoder input, pwm output, etc.
Using the provided IOs, we control the data flow from Scilab/Xcos to acquire the data, process the data, and sent the control signal back to the board.
Course Objectives
This one day course would cover how to interfacing with various hardware from Scilab/Xcos though a pre-programed Arduino Uno. In general speaking, there are very minimum programming involved in this course as the examples are all done in block diagram. Do note that programming of Arduino using Arduino IDE is NOT covered in this one day course.
Who Must Attend
Engineer, researchers, scientists, and managers from the academic, manufacturing, government and defence sectors who want to learn the concept of hardware interface with Scilab/Xcos.
Prerequisites
Candidates must have experience with basic computer operation.
Course Outline
Introduction
- Introduction to Scilab
- Introduction to Xcos
- Example of applications
Hardware Overview
- Overview structure of Arduino board
- Type of pins and functions
- Properties of pins.
- Voltage Supply and Ground Points
Software Overview
- Arduino Module for Arduino
- Arduino Communication through Serial
Building Xcos Model
- Analog Read and write
- Digital Read and write
- Data Exchanged with Computer
Application Examples
- Blinking LEDs
- Interfacing and controlling Servo Motor
- Interfacing and controlling DC Motor
- Reading Analog or Digital Sensors
A toolbox for communication over a Serial Port in Scilab (4097 downloads for this version - 62105 downloads for all versions) |
0.4
A more recent valid version with binaries for Scilab 5.4 exists:0.4.1
A more recent valid version with binaries for Scilab 5.4 exists:0.4.1
Enrico Segre
Aditya Sengupta
Indian Institute of Technology Bombay
Aditya Sengupta
April 14, 2012
Scilab 5.4.x
Windows 64-bit Windows 32-bit Linux 64-bit Linux 32-bit MacOSX
--> atomsInstall('serial')
Source code archive
[47.22 kB] OS-independent binary for Scilab 5.4.x
You must register and log in before leaving a comment.