Any views expressed within media held on this service are those of the contributors, should not be taken as approved or endorsed by the University, and do not necessarily reflect the views of the University in respect of any particular issue.

Week6_Arduino_Max_Connection_Jingqi Chen

The main work I am doing this week is the second subsection of the Interaction Part, which is the connection between Arduino and Max. By communicating with Leo and searching for relevant information on the Internet, I compiled a main patch for sending data from Arduino to Max (see Figure 1).

Figure 1: A Screenshot of Max Patch that Runs the Operation of Sending Data from Arduino to Max.

After the port in the serial object corresponds to the connected USB, it means that the serial object has received the data sent from Arduino, so the “print raw” object will cause the value to be printed out in the console according to the delay time interval set in Arduino, and the corresponding data groups will also be displayed in the following three message objects.

I tried to send the Arduino data of the ultrasonic sensor directly to the Max patch in the visual part made by Ruojing to change some parameters (see Video 1).

Video 1: A Video Showing the Ultrasonic Sensor Arduino Project Sending Data to the Visual Max Patch.

It ran successfully, but at the beginning I found that when the delay value was too small, that is, when the time interval between the two data generation was too short, Max could not work properly, and there was a very large lag. However, after increasing the delay value, although it can run normally, the data changes too slowly and is not suitable for the actual operation of our final installation. So the bigger problem I am currently encountering is how to balance and coordinate the actual operating rate of the equipment and the required operating rate of the installation. This is also what I will mainly need to work on over the next few weeks.

Leave a Reply

css.php

Report this page

To report inappropriate content on this page, please use the form below. Upon receiving your report, we will be in touch as per the Take Down Policy of the service.

Please note that personal data collected through this form is used and stored for the purposes of processing this report and communication with you.

If you are unable to report a concern about content via this form please contact the Service Owner.

Please enter an email address you wish to be contacted on. Please describe the unacceptable content in sufficient detail to allow us to locate it, and why you consider it to be unacceptable.
By submitting this report, you accept that it is accurate and that fraudulent or nuisance complaints may result in action by the University.

  Cancel