How to send data to Arduino MKR1010 via wifi In Simulink
3 views (last 30 days)
Show older comments
I'm working on a project where I'm using the input from a USB gamepad to wirelessly control a brushless DC motor. I'm currently able to control the motor with eveything connected to my computer (not wirelessly). How can I use the wifi blocks from the Arduino hardware library in Simulink to send the data from my gamepad to the Arduino so that it generates a PWM signal based on the value coming from the gamepad? Thank you!
0 Comments
Answers (1)
Abhisek Pradhan
on 7 Aug 2019
WiFi UDP Send and WiFi UDP Receive Blocks in Simulink Support Package for Arduino Hardware ( Supported on MKR 1010 ) can be used to send and receive data on wireless networks.
Data is sent from the port number specified in the Local IP Port and received by host with specified Remote IP address and the Remote IP Port.
2 Comments
See Also
Categories
Find more on Modeling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!