Rank: 26 based on 1593 downloads (last 30 days) and 33 files submitted
photo

Giampiero Campa

E-mail
Company/University
The Mathworks Inc.
Lat/Long
33.857662, -118.29316

Personal Profile:

I am from Taranto, South East Italy. I received Master (EE) and Ph.D. (Robotics) from the University of Pisa, and I have been with the Flight Control Group, (MAE Dept), at West Virginia University until 2008. I am now finally and proudly working for The MathWorks.

Professional Interests:
Nonlinear Control, Systems Modeling and Simulation, Robotics

 

Watch this Author's files

 

Files Posted by Giampiero View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
09 Apr 2014 Screenshot Arduino IO package: Slides and Examples Slides for the webinar: "Learning Basic Mechatronics Concepts Using the Arduino Board and MATLAB". Author: Giampiero Campa arduino, mechatronics, class, motor, analog, digital 615 43
  • 5.0
5.0 | 8 ratings
08 Apr 2014 Screenshot Motor Shields Motor Shield Driver Blocks Author: Giampiero Campa arduino, motor shield, driver, servo, stepper 44 0
06 Dec 2013 Screenshot Device Drivers Developing Simulink Device Driver Blocks: Step-By-Step Guide and Examples Author: Giampiero Campa arduino, device, driver, encoder, dc motor, stepper motor 284 43
  • 4.9375
4.9 | 18 ratings
24 Apr 2013 Screenshot proesmans Optical flow using the Proesmans method Author: Giampiero Campa image processing, optical flow, mex file 20 1
  • 5.0
5.0 | 1 rating
07 May 2011 Screenshot Primes Simulink system that generates primes Author: Giampiero Campa mathematics, simulink 8 0
Comments and Ratings by Giampiero View all
Updated File Comments Rating
25 Nov 2013 Device Drivers Developing Simulink Device Driver Blocks: Step-By-Step Guide and Examples Author: Giampiero Campa

IMPORTANT UPDATE: For MATLAB 2013b you will need to apply a fix for the S-Function builder (otherwise an incorrect argument list will be generated for a block that has no inputs).

Go to the following page: http://www.mathworks.com/support/bugreports/1006532
scroll down to the bottom, and follow the instructions therein (it basically
comes down to saving the zip file, opening winzip as administrator, and
unzipping the file in the MATLAB folder (e.g. C:\Program Files\MATLAB\2013b).

Also note that another issue in MATLAB 2013b causes high memory usage on the
Arduino side, and thus prevents the upload of models that have many blocks
and/or high memory requirements. This might sometimes be a problem for boards
with smaller memory footprint like the Uno or Nano.

17 Jun 2013 Device Drivers Developing Simulink Device Driver Blocks: Step-By-Step Guide and Examples Author: Giampiero Campa

Glen,
send me the files with the exact procedure that you are following and the error you are getting, i'll see if i can do anything.

30 May 2013 Device Drivers Developing Simulink Device Driver Blocks: Step-By-Step Guide and Examples Author: Giampiero Campa

Mark,
you need to scroll up to see the upper part of the text. Maximizing the window might also help a little.

29 Apr 2013 Device Drivers Developing Simulink Device Driver Blocks: Step-By-Step Guide and Examples Author: Giampiero Campa

I'm glad that's working, Nathan.
Thanks Phil, that's great!

19 Apr 2013 Device Drivers Developing Simulink Device Driver Blocks: Step-By-Step Guide and Examples Author: Giampiero Campa

Phil, i think the variable "lcd" needs to be defined as a global. Try to define it in the libraries pane, after all the includes, see page 16 of the guide.

Comments and Ratings on Giampiero's Files View all
Updated File Comment by Comments Rating
18 Apr 2014 Device Drivers Developing Simulink Device Driver Blocks: Step-By-Step Guide and Examples Author: Giampiero Campa JimC

This is a great help to get started. I've been able to tweak the encoder block for speeds.
I can't seem to create a driver block that uses the serial comms commands though. I tried including the HardwareSerial.h and .cpp files in the library pane and ran renc2cpp.
Any trick needed?

14 Apr 2014 Device Drivers Developing Simulink Device Driver Blocks: Step-By-Step Guide and Examples Author: Giampiero Campa EDUARDO

09 Apr 2014 Device Drivers Developing Simulink Device Driver Blocks: Step-By-Step Guide and Examples Author: Giampiero Campa Tomas

Interrupt block and some more is now here:
http://www.mathworks.com/matlabcentral/fileexchange/30277-embedded-coder-target-for-arduino

04 Apr 2014 Device Drivers Developing Simulink Device Driver Blocks: Step-By-Step Guide and Examples Author: Giampiero Campa phil

Has anybody been able to make an interrupt block?

24 Mar 2014 Arduino IO package: Slides and Examples Slides for the webinar: "Learning Basic Mechatronics Concepts Using the Arduino Board and MATLAB". Author: Giampiero Campa vishnu vardhan

Hi All. Hope I get help .
Im using Arduino Mege 2560. When I enter "a=arduino('COM42');" in the
command window of Matlab13, im getting error as "Undefined function
'arduino' for input
arguments of type
'char'."
Please Resolve This.

Contact us