Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.234.311 Times

Interacting with an Arduino Using the Matlab Serial Commands 1.0

  Date Added: April 10, 2013  |  Visits: 395

Interacting with an Arduino Using the Matlab Serial Commands

Report Broken Link
Printer Friendly Version


Product Homepage
Download (44 downloads)



Using information from Matlab central, Robot Grrl, and the Arduino forums, four files (two .m and two sketches) demonstrate two way communications between Matlab and the Arduino. The first set of files, serialTest1, demonstrates arduino input with Matlab tic/toc timing information added, and the second set of files, serialTest2, uses clock information from the arduino. I think you'll find the results interesting when the two approaches are compared.Usage:Load the sketch on your arduino. LED13 will light, indicating that the arduino is waiting for a response from Matlab to start. Load the m file, and change the com port to the port where the arduino USB is mapped on your PC (I use Linux, thus the /dev/ttyUSB1, it will be something like 'COM3' in windows). Run the .m file, and LED13 will turn off as Matlab signls the arduino, data is read, and a plot is created of time info versus counter data (simulating sensor data). Remember to reset the arduino before each m file run (LED13 must be on)! Used an arduino mega, but should work fine on most arduinos. Thanks to Tom Igoe and Robot Grrl (see sketch references to http addresses). Robot Grrl plots as she goes, and you can do that also, although it will slow things down slightly. But, note the key to these files, is the use of the proper TERMINATOR. The matlab set terminator statement using LF and the use of serial.println in arduino is the secret ingredient to success. If you don't use these, then you are relying on inserted timing delays, yuck.

Requirements: No special requirements
Platforms: Matlab
Keyword: 039com3039 Addresses Arduinos Counter Created Devttyusb Plots References Remember Reset Sensor Signls Simulating Versus Windows
Users rating: 0/10

License: Freeware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


INTERACTING WITH AN ARDUINO USING THE MATLAB SERIAL COMMANDS RELATED
Utilities  -  PowerClick 1.0
PowerClick was created to provide shortcut to oftenly used power features in Windows. Some people (like the author it self) sometimes hate to bother, to shutdown or restart system the regular way.This is usually the case when large number of...
21 KB  
Business  -  Microsoft Office Open XML Converter 1.0.1
Open XML Converter allows you to convert Open XML files that were created in Office 2008 for Mac or Office 2007 for Windows so that you can open, edit, and save them in earlier versions of Office for Mac. Open XML Converter can convert Word...
44.7 MB  
Email  -  Hypermail for Email Systems Utilities 2.2.0
Hypermail is a program that takes a file of mail messages in UNIX mailbox format and generates a set of cross-referenced HTML documents.Each file that is created represents a separate message in the mail archive and contains links to other...
1.2 MB  
Programming  -  zope.fssync 3.5.2
This package provides filesystem synchronization utilities for Zope 3. It is used by the zope.app.fssync package. Filesystem Synchronization This package provides an API for the synchronization of Python objects with a serialized...
71.68 KB  
Libraries  -  CAD::Drawing::Manipulate 0.26
CAD::Drawing::Manipulate is a Perl module to manipulate CAD::Drawing objects. Move, Copy, Scale, Mirror, and Rotate methods for single entities and groups of entities. Group Methods These methods are called with required values, followed by...
39.94 KB  
Utilities  -  BlockSSHD 1.3
BlockSSHD is a Perl script based on BruteForceBlocker v1.2.3 that dynamically adds IPTables rules for Linux and pf firewall rules for BSD that block SSH brute force attacks. It can also detect ProFTPd login failures. BlockSSHD checks a...
10.24 KB  
Multimedia Integration Tools  -  LiveSlideShow 2.0
LiveSlideShow 2.0 is the easiest way to take your digital photos and transform them into dazzling and powerful presentations. LiveSlideShow offers Macintosh and Windows users the most effective presentation tool for digital images available to...
13.18 MB  
Utilities  -  Qemudo 0.1.1
Qemudo is a Web interface to QEMU offering a way for users to access and control multiple virtual machines (guest systems) running on one or more remote physical machines (host systems). From the Web interface, VMs can be created, started up,...
24.58 KB  
Programming  -  interface preprocessor for PHP 0.2.10
ippfp is an easy-to-use library which provides oo-methods for creating and rendering user interfaces in PHP independently from output format. It features HTML, GTK, PDF and ncurses. You can create input masks such as forms for databases or other...
133.12 KB  
ActiveX Components  -  Better ListView Express 2.4.3
Better ListView Express free listview control for .NET 2.0 or higher. It is written from scratch in pure managed C# code. It has many additional new features. Better ListView Express both greatly improves the user experience and saves you...
4.6 MB  
NEW DOWNLOADS IN SCRIPTS, COMMUNICATION
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Communication  -  Contact Form Script 1
This PHP script is a fully functioning contact form which can be easily installed on your own website. It enables users to contact you directly by filling out the form. The PHP script is completely FREE to use, and none of the code is encoded...
19 KB  
Communication  -  Ethernet Source with SimEvents 1.1
When audio or video is transmitted over an Ethernet network, the data is usually transmitted in bursts of packets with long idle times in between bursts. SimEvents is a good tool for modeling those types of sources and studying the effects of...
2.8 MB  
Communication  -  Autocorrelation and Crosscorrelation function of gold sequence 1.0
This m-file finds and plots the autocorrelation and crosscorrelation function(ACF and CCF) of generated Gold codes of length 31.Crosscorrelations are three valued.
10 KB  
Communication  -  Zoom Spectrum 1.0
This function returns N point DFT samples of 2dw band of Fourier transform of a sequence. Typically, fft() returns N samples of Fourier transform ranging from 0 to 2pi. This function takes the N-point DFT samples and returns N-point samples...
10 KB  
Communication  -  BER of BPSK DS-SS System 1.0
This m-file finds the bit error rate performance of BPSK DS-SS system over (i) AWGN channel and (ii) Slow Rayleigh fading channel corrupted by AWGN. Compare the performance with simple BPSK system.In this simulation I have used two functions.So to...
10 KB