week1
(last update: 03/02/2023, Yibing)
The system takes the movements of the hand as input that would be sent to the accelerometer through an analog channel. It gets three values: acceleration in the x-axis, y-axis, and z-axis. Arduino calculates the difference between the present value and the calibrated value, and from the result, it decides the command that the hand is trying to signal. It, then, sends the signal through a Bluetooth module.
There is another Bluetooth module residing in the car kit. It has been paired with the module in hand so no noise interferes with the connection. According to the command received (F for forward, L for left, R for right, S for stop), the Arduino controls the motors to move the car accordingly.
Process checking
- hardware-task-0 transmission circuit build
- software-task-0
Test if ADXL335 functions correctly in sensing the movements.
video-1
programming output shows what data the Arduino will receive if we rotate the whole breadboard in the direction of the y-axis, negative y-axis, x-axis, and negative x-axis sequentially. x[395,500]
y[395,505]
z[495,605]
speed setting later will be based on these data.
Note that the z-axis changes when the device is turned upside down.
- hardware-task-1 receiving circuit build
failed to test the code when lacking L293D and the car kit.
Issues occurred
1. the car kit and L293N did not arrive as expected.
Additional tasks
1. further research on Bluetooth HC-05
2. more research on the receiver circuit and how to connect the Bluetooth to uno
Comments
Post a Comment