Proecessing+Arduino
How to use MPU6050_DMP6 (IMU) with processing GY80-master _tested_ok_200831.zip
http://www.cse.cuhk.edu.hk/~khwong/www2/stem/GY80-master%20_tested_ok_200831.zip
How to run GY80-master _tested_ok_200831, 2020 Aug 31
1) Download GY80-master _tested_ok_200831 from
http://www.cse.cuhk.edu.hk/%7Ekhwong/www2/stem/GY80-master%20_tested_ok_200831.zip and unzip to a directory , say,
C:\Users\khwong\Documents\Arduino\GY80-master _tested_ok_200831, you have two major directories
a) directory 1: \ C:\Users\khwong\Documents\Arduino\GY80-master _tested_ok_200831\AHRS_9DOF_arduino\AHRS_9DOF
i) It contains AHRS_9DOF.ino,
ii) edit AHRS_9DOF.ino to check the correct Badu rate
(1) (line 51 #define OUTPUT_BAUD_RATE 57600 //115200)
iii) compile this .ino and upload to an Arduino–uno etc.
iv) check which comm port you are using say “Com12”
v) You may open the Arduino/Tools/Serial_monito to see the data sending out from the Arduino, close the Com_window after the observation, otherwise processing cannot read this pot.
b) directory 2: C:\Users\khwong\Documents\Arduino\GY80-master _tested_ok_200831\AHRS_9DOF_processing\AHRS_9DOF_display
i) That contains the “processing” code: AHRS_9DOF_display.pde
2) Install “processing”: Download processing (I tested the 32-bit version) from https://processing.org/download/
a) Save in somewhere: say c:\processing-3.5.4\
b) Go to the directory c:\processing-3.5.4\, double click “processing.exe” to start processing
c) In the processing window, open the *.pde (i.e. file AHRS_9DOF_display.pde) in directory 2(see above)
d) In AHRS_9DOF_display.pdeC , ceck if the correct prot is used, in
i) line 24 of AHRS_9DOF_display, should conatin
(1) final static int SERIAL_PORT_BAUD_RATE = 57600; //115200; // choose the correct that matches the Arduino output baud rate, see above
///////////////////////////////////////////////////////////////////////////////////
2020.9.1 khw
Use of SOUNDCIPHER ( http://explodingart.com/soundcipher/download.html ) under processing. Assume you have installed processing (tested 32-bit) under C:\processing-3.5.4
Download http://explodingart.com/soundcipher/soundcipher.zip from http://explodingart.com/soundcipher/download.html
unzip \soundcipher and place the unzipped directory in
C:\processing-3.5.4\modes\java\libraries\soundcipher
also copy C:\processing-3.5.4\modes\java\libraries\soundcipher\examples
to C:\processing-3.5.4\ examples
run C:\processing-3.5.4\examples\Bing\Bing.pde to test if it is ok.