Community Profile

photo

Arun Kumar

Last seen: Today Active since 2019

Programming Languages:
C
Spoken Languages:
English
Professional Interests:
Automotive Applications, Simulink Support Package for Arduino Hardware, Embedded Systems, Automotive

Statistics

All
  • Explorer
  • Knowledgeable Level 3
  • Revival Level 3
  • 3 Month Streak
  • Promoter
  • First Review
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Content Feed

View by

Answered
I am having a problem running arduino, I have installed everything too but it wont let me run and monitor and say there is a block from MatLAB host
HI Easton, From the error it looks like you are using blocks that are meant for simulation on host machine to deploy on Arduino...

2 months ago | 0

Answered
Getting error when trying to build & deploy code on Arduino. Error "Spaces in build-related folder paths can cause the build process to fail"
Hi Mohammad Zainullah Khan, You are right, the error is due to the space in your username. The second line in the log clarifie...

2 months ago | 0

| accepted

Answered
Build error in Simulink using TCP/IP Send block
Hi Alex, Please use the following block for TCP/IP communication on arduino board: https://www.mathworks.com/help/supportpkg...

2 months ago | 0

| accepted

Answered
Problem in getting the data stored to SD card after running the hardware test using Arduino mega that are attached with mpu6050 accelerometer and also SD card.
Hi Noor Amira, Please follow the follwing tutorial to log signals to SD card using Arduino hardware. https://www.mathworks.com...

3 months ago | 0

Answered
High frequency generation ( 100K ) and above using Simulink and deploying it on Arduino
Hi Mustafa, Don you mean the PWM frequency? If yes, then you can specify the PWM frequency in the PWM block by selecting the s...

4 months ago | 0

Answered
Simulink Crashing on run with Arduino Engineering Kit R2 Package
Hi Justin, Please delete the following dll file and try again: C:\ProgramData\MATLAB\SupportPackages\R2021a\bin\win64\simuli...

6 months ago | 1

| accepted

Answered
How to use I/O mode to control a servo motor?
Hi Cong Sun, Not all the block support connected IO mode. The blocks that support this IO mode are listed in the following pag...

6 months ago | 1

| accepted

Answered
Create and Deploy Interactive Dashboard on Arduino - Adafruit ILI9341
Hi Prashant, Support for graphical displays was added in 21a. Please use MATLAB R2021a or newer version to use this feature. ...

6 months ago | 1

| accepted

Answered
read Bluetooth data from Arduino using Simulink
Hi Ajay Krishna, The BLE blocks in Simulink support package for Arduino hardware are not backward compatible. You need to use R...

1 year ago | 0

| accepted

Answered
Simulink Arduino SD Card .mat logging parameter error
Hi, This is the error: MAT-file logging supported only for Arduino Due, Arduino MKR1000, Arduino MKR WiFi 1010, Arduino MKRZe...

1 year ago | 0

Answered
increasing the sampling frequency in simulink to read input pulses from digital (PWM) pin of arduino
Hi Aakash, The sampling frequency is limited by the microtroller clock frequency which is avr in this case. A good way to capt...

1 year ago | 0

| accepted

Answered
Which Arduino board (Name) can be used to read the speed directly using the Encoder block of Simulink?
Hi Aakash, Which release of MATLAB are you using? Till R2021a, the encoder block supports only encoders on motor carrier shiel...

1 year ago | 1

| accepted

Answered
How to connect load cell (with HX711 and arduino) to simulink
Hi Aakash, This sensor is currently not supported by Simulink support package for Arduino hardware. But you can add custom Sim...

1 year ago | 0

Answered
The MKR IMU shield is showing calibration status -1. How should I resolve this error ?
If the Status port outputs an array with all the elements having a value of -1, ensure that the sensor is properly connected to ...

1 year ago | 0

Answered
Simulink and Arduino Nano Sense problem - external mode "hangs"
Hi Max Abildgaard, The error you are seeing is due to missing drivers of Arduino board. Try to reinstall the drivers and the is...

1 year ago | 1

Answered
Running into `Unrecognized function or variable 'portInfo'.` error when trying to use Monitor and Tune option
Hi Lukasz, If you are setting the com port manually then try the following patch file. Here are the steps to apply patch: 1...

1 year ago | 0

Answered
Send data from Arduino ethernet shield to Simulink
Hi Luciano De Crecchio, The following example shows usage of Ethernet shield with Arduino hardware. https://www.mathworks.com/...

1 year ago | 0

Answered
Simulink coder installation error
Hi Cosimo, You don't need Simulink Coder license to build model for Arduino hardware. You can Click on "continue" which will di...

1 year ago | 0

| accepted

Answered
Matlab 2020Rb External mode missing
Hi Maris, "External Mode" has been renamed to "Monitor and Tune". Please refer this doc for using "Monitor and Tune" feature: ...

1 year ago | 0

Answered
Hardware Configuration Settings for Arduino Mega 2560 on Macbook
Hi Derrick, This looks like an installation issue. Please reinstall the support package. May I know the version of MATLAB that...

1 year ago | 0

Answered
How can I read Arduino pins with pre-existing code
Hi Mehrdad, This kind of workflow is not supported. As an alternative, you can connect a second board programmed using simulin...

1 year ago | 0

Answered
SIMULINK Arduino Nano Every Support
Hi Hugo, Nano Every is not supported by Simulink support package for Arduino Hardware and there is no simple way to add support...

1 year ago | 0

Answered
My Hardware tab in Simulink is missing
Hi Menghan, Please go to Modelling tab and click on ModelSettings. It will open up the configuration parameters windows. In thi...

2 years ago | 2

| accepted

Answered
Arduino Issue: I cannot run any of my code. 'To create a new connection, clear the existing object.'
Hi Willian, Please refer the following page for correct syntax of the command. https://www.mathworks.com/help/supportpkg/ardui...

2 years ago | 0

Answered
How to add an arduino library to Simulink for C-Caller ?
Hi Joncikas, The recommended way of interfacing sensors to Arduino is by creating a custom block by following the device driver...

2 years ago | 0

Answered
How to generate High frequency PWM pulses by interfacing simulink and arduino?
Hi, Please change the Frequency parameter of PWM block to "Specify" and enter the desired frequency in "Desired" input. Please...

2 years ago | 1

Answered
Pin Mapping and limitations of the MCP2515 library in Simulink
Hi Anders, I've answered your questions below. Possibility of Unlocking pins: There's only one restriction for SPI chip sele...

2 years ago | 0

Answered
Error in PIL testing using Arduino
Hi Piyush, Double datatype is not supported for AVR targets. Either remove double datatype from your model or use some other ta...

2 years ago | 0

| accepted

Answered
ExtTargetPktPending() call failed while checking for target pkt
Hi Abdul, The error is seen when Simulink doesn't get acknowledgement from the target. One very common reason for this is targe...

2 years ago | 1

| accepted

Answered
Arduino connect with matlab using matlab system block in simulink
Hi Salman, Refer this example for detailed description of working with MATLAB system block: https://in.mathworks.com/help/suppo...

2 years ago | 0

Load more