Community Profile

photo

Arun Kumar

Last seen: ongeveer een maand ago Active since 2019

Programming Languages:
C
Spoken Languages:
English
Professional Interests:
Automotive Applications, 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
Could someone provide an explanation for why I'm encountering the error message "Expected Duty Cycle to be a scalar" while trying to interface an Arduino Due with Simulink?
The output of the mux block is is 1X4 vector which is being fed to the PWM blocks after some switch blocks. The PWM blocks accep...

7 maanden ago | 0

Answered
Troubleshooting ESP32-WROOM/ESP32WROVER Setup Error in Simulink Support Package for Arduino Hardware
The encountered error is related to the installed ESP32 package. To resolve this issue, you need to update the board.txt present...

8 maanden ago | 0

| accepted

Question


Troubleshooting ESP32-WROOM/ESP32WROVER Setup Error in Simulink Support Package for Arduino Hardware
When attempting to set up the ESP32-WROOM/ESP32-WROVER board in Simulink using the 'Setup Hardware' option, I encounter an error...

8 maanden ago | 1 answer | 0

1

answer

Answered
Generate 12bits resolution analog voltage from Arduino due using simulink/PYTHON/Arduino IDE
Hi Aakash, Please modify the MW_analogWriteDAC.cpp file by running the following command: edit(fullfile(fileparts(codertarget....

12 maanden ago | 1

Answered
coding for mapping rc values to pwm values using simulink block diagram
Hi Noor, Please implement this equation in Simulink using math blocks. long map(long x, long in_min, long in_max, long out_m...

12 maanden ago | 0

Answered
SPI data reading in simulink arduino connection using LS7366 R IC
Hi Aakash, Here is a tutorial of communicating with spi based EEPROM: https://in.mathworks.com/help/supportpkg/arduino/ref/com...

12 maanden ago | 0

Answered
sample time in serial send and serial receive block
Hi Surya, The model demoinstrsl_Serial_read_binary that you are trying to open is from the Instrument Control Toolbox. Either i...

ongeveer een jaar ago | 0

Answered
Tune Arduino using XCP over CAN
Hi Midhulesh, XCP over CAN is not supported on Arduino hardware. But you can use CAN blocks in the model to communicate on CAN ...

meer dan een jaar ago | 1

| accepted

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...

meer dan een jaar 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...

meer dan een jaar 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...

meer dan een jaar 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...

meer dan een jaar 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...

meer dan een jaar 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...

bijna 2 jaar 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...

bijna 2 jaar 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. ...

bijna 2 jaar ago | 1

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...

meer dan 2 jaar 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...

meer dan 2 jaar 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...

meer dan 2 jaar 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...

meer dan 2 jaar 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...

meer dan 2 jaar 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 ...

meer dan 2 jaar 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...

meer dan 2 jaar 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...

meer dan 2 jaar ago | 1

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/...

bijna 3 jaar 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...

bijna 3 jaar 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: ...

bijna 3 jaar 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...

bijna 3 jaar 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...

ongeveer 3 jaar 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...

ongeveer 3 jaar ago | 0

Load more