I originally planned to use Scilab to generate to interact with the Arduino and get "Block Simulation experience." The code was working originally, however I began to get the "You have to load the toolbox_arduino_v5-x.ino sketch with the arduino software in the Arduino board" error any time I tried to upload the .zcos model, even though the toolbox sketch was already loaded. I proceeded to take the steps to rectify the error as stated in the comments section of https://atoms.scilab.org/toolboxes/arduino. Eventually even the .sce code to brighten and dim an LED from a potentiometer input would work intermittently. Using "cmd_analog_out" would cause the program to timeout. Even when the function did work the value it returned would sometimes incorrectly jump to the highest or lowest.
Due to the unreliability of Scilab's Arduino Toolbox, I have decided to use MATLAB/Simulink instead.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.