- /HapticProject: Integrated audio frequency recognition and actuator module. It is separated from the /HapticProject_Actuator and /HapticProject_Actuator_Simulation. Please see /Media/videos/integrated_demo for a demo video.
External libraries required:
- arduinoFFT
- AdafruitBusIO
- Adafruit VEML 6075
- Use Sketch -> include library -> manage libraries
- Search for the libraries and install them
- /HapticProject_Actuator and /HapticProject_Actuator_Simulation: the vanilla version of the actuator driver. The following sections Environments, Modes, Parameters, Simulation is intended for this vanilla version, but not fot the /HapticProject integrated version
- /Media: images, animations, and videos.
- ENABLE_SIMULATION: Enable Processing graphical simulation
- ENABLE_MOTORS: Enable motor signal output from Arduino Uno
- MODE_SAME: Under this mode, the actuators vibrate at the same frequency and amplitude.
- MODE_CLOCKWISE: Under this mode, the actuators vibrate in the clockwise direction.
- MODE_CCLKWISE: Under this mode, the actuators vibrate in the counter-clockwise direction.
- MODE_PLANARDIRECTION: Under this mode, the actuators roll toward a user-specified (automatic set if certain sensors were available) direction in 2D space.
- MODE_SPATIALDIRECTION: Under this mode, the actuators roll toward a user-specified (automatic set if certain sensors were available) direction in 3D space. - TODO
- freqLevel: 1~5, vibration frequency = 1/(0.01*freqLevel)
- ampLevel: 0.0~1.0, vibration amplitude
- rollLevel: 1~5, rolling speed
- motorPinDir: planar direction
- gyroscopeVector: current body pose - TODO
- motorPinDir3D: 3D spatial direction - TODO
- For more simulation please see in the Media folder.
- In the image, the actuators roll toward motor 5, representing forward direction.
TODO