Tilt your smartphone to control your own Robot. Here is a simple project to control your Robot/Robo Car using Bluetooth Module HC-05 & 89c2051 Microcontroller with your Android Smartphone device. In this project the accelerometer of your android Smartphone is used to detect the tilt movement angle of Smartphone, just tilt your mobile Forward, Backward, Left and Right to control the direction of Robot.
You can download Circuit & HEX File here http://www.hobbyprojects.com/bluetooth-device-control/
App Instructions:
1. First make sure your HC-05 Bluetooth Module is paired with your mobile. The default password for pairing is "1234" or "0000". Check the manual of Bluetooth module.
2. Click on "SELECT DEVICE" icon to select paired Bluetooth module.
3. When you tilt mobile "FORWARD" it sends the data "A" to Bluetooth Module connected with the circuit. When Microcontroller detects "A" the Robot / Robot Car moves FORWARD.
4. When you tilt mobile "BACKWARD" it sends the data "B" to Bluetooth Module connected with the circuit. When Microcontroller detects "B" the Robot / Robot Car moves REVERSE.
5. When you tilt mobile "LEFT" it sends the data "C" to Bluetooth Module connected with the circuit. When Microcontroller detects "C" the Robot / Robot Car turns LEFT.
6. When you tilt mobile "RIGHT" it sends the data "D" to Bluetooth Module connected with the circuit. When Microcontroller detects "D" the Robot / Robot Car turns RIGHT.
7. When the mobile phone is not tilted in any direction (screen upward position), it sends the data "E" to Bluetooth Module connected with the circuit. When Microcontroller detects "E" the Robot / Robot Car gets STOPPED. You can also stop the robot by pressing STOP button which is in the center of remote.
Nghiêng điện thoại thông minh của bạn để kiểm soát Robot của riêng bạn. Dưới đây là một dự án đơn giản để kiểm soát Robot của bạn / Robo ô tô sử dụng Bluetooth module HC-05 & 89C2051 Vi điều khiển với thiết bị Android Smartphone của bạn. Trong dự án này, gia tốc của điện thoại thông minh Android của bạn được sử dụng để phát hiện các chuyển động góc nghiêng của điện thoại thông minh, chỉ cần nghiêng điện thoại di động của bạn Forward, Backward, Left và Right để điều khiển hướng của Robot.
Bạn có thể tải về Circuit & HEX file ở đây http://www.hobbyprojects.com/bluetooth-device-control/
Hướng dẫn ứng dụng:
1. Đầu tiên chắc chắn HC-05 Bluetooth Module được ghép nối với điện thoại di động của bạn. Các mật khẩu mặc định để ghép nối là "1234" hoặc "0000". Kiểm tra hướng dẫn của mô-đun Bluetooth.
2. Bấm vào nút "CHỌN THIẾT BỊ" biểu tượng để chọn cặp mô-đun Bluetooth.
3. Khi bạn nghiêng điện thoại di động "Forward" nó sẽ gửi dữ liệu "A" để đun Bluetooth kết nối với mạch điện. Khi vi điều khiển phát hiện "A" Robot / Robot xe di chuyển về phía trước.
4. Khi bạn nghiêng điện thoại di động "lạc hậu" nó sẽ gửi dữ liệu "B" để đun Bluetooth kết nối với mạch điện. Khi vi điều khiển phát hiện "B" Robot / Robot xe di chuyển ngược.
5. Khi bạn nghiêng điện thoại di động "LEFT" nó sẽ gửi dữ liệu "C" để đun Bluetooth kết nối với mạch điện. Khi vi điều khiển phát hiện "C" Robot / Robot xe quay sang trái.
6. Khi bạn nghiêng điện thoại di động "RIGHT" nó sẽ gửi dữ liệu "D" để đun Bluetooth kết nối với mạch điện. Khi vi điều khiển phát hiện "D" Robot / Robot xe quay RIGHT.
7. Khi điện thoại di động không được nghiêng về bất kỳ hướng nào (màn hình vị trí trở lên), nó sẽ gửi các dữ liệu "E" để đun Bluetooth kết nối với mạch điện. Khi vi điều khiển phát hiện "E" Robot / Robot xe bị NGƯNG. Bạn cũng có thể ngăn chặn các robot bằng cách nhấn nút STOP mà là ở trung tâm của từ xa.