How was the device assembled?
How do we program the device?
The software that is used to program this device is the Arduino software supplied by makers of the Arduino. The software can be found at the following link: http://arduino.cc/en/main/software. The Arduino software is open source, this means that it can be programmed in C/C++ or Java. However, the Arduino language is a set of C/C++ functions that can be referenced from your code. The Arduino board can be programmed without the software as well with straight AVR C or C++.
Initial testing for this project was done by coding the Arduino via MATLAB. Instructions on how that was set up are as follows:
The following schematic shows the setup for the project as it is at the moment.
How do we program the device?
The software that is used to program this device is the Arduino software supplied by makers of the Arduino. The software can be found at the following link: http://arduino.cc/en/main/software. The Arduino software is open source, this means that it can be programmed in C/C++ or Java. However, the Arduino language is a set of C/C++ functions that can be referenced from your code. The Arduino board can be programmed without the software as well with straight AVR C or C++.
Initial testing for this project was done by coding the Arduino via MATLAB. Instructions on how that was set up are as follows:
- Download Arduino IDE from http://arduino.cc/en/main/software and install.
- Connect Arduino and test which COM port it is plugged into
- Run a quick test program to ensure Arduino is functioning correctly
- Test programs can be found in the "Help" drop down menu from the Arduino IDE
- Go to http://www.mathworks.com/academia/arduino-matlab.html and download the MATLAB Arduino support package
- This only needs to be done if you wish to program the device in MATLAB instead of the Arduino program
- Follow the instructions in the readme file to install the MATLAB support package for Arduino.
- Upload the adiosrv.pde file in the Arduino
- Open the Arduino.m file in MATLAB to install Arduino libraries in MATLAB
- Connect to Arduino using the following:
- a = arduino('COMPORT') ; COMPORT is determined in Step 2 from above
The following schematic shows the setup for the project as it is at the moment.
No comments:
Post a Comment