Each phone comes with an accelerometer, the gyroscope. The acceleration sensor can sense the acceleration of the three components of the X, Y, and Z axes of the current state of the mobile phone.
When the phone is shaken, the three acceleration components on the X, Y, and Z axes will change accordingly. Of course, the data measured by different mobile phones may not be the same.
In fact, we only need the sensor data that the mobile phone shakes left and right in the vertical state. From this we can find that the mobile phone shakes to the left or right, which is in one-to-one correspondence with the change of the X-axis acceleration component, so it can be changed according to the X-axis acceleration component. Determine the direction in which the phone shakes.
How do you know the direction of the phone? It's very simple. Just take a certain amount of time, get the sensor value, then subtract it, and judge according to the result. details as follows:
Definition: Xq is the X-axis acceleration component of the previous position, and Xh is the X-axis acceleration component of the current position.
If Xh-Xq>0, the phone shakes to the left; otherwise Xh-Xq<0, the phone shakes to the right.
material selection
According to the demand, if the "waving robot " controls the robot to perform a "waving" motion according to the swing of the mobile phone, a communication module is required between the mobile phone and the robot; and when the robot performs a "waving" motion, an execution module such as a controller and a steering gear is required.
There are many ways to communicate between mobile phones and robots. We have chosen a more common communication method - Bluetooth. When the mobile phone is waving, the corresponding command (such as "L", that is, waving to the left) is sent to the controller of the "waving robot" through the Bluetooth communication module of the mobile phone; the controller performs the execution of the "swinging robot" according to the received instruction. The module servos make the corresponding action.
Structural construction
The structure of the "Walking Robot" must be stable, otherwise it will affect the balance of the "Walking Robot" when performing the "Walking" action.
When building the "skeleton" structure of the robot, we used a lightweight and inexpensive acrylic plate to cut with a laser cutter. Using these boards and screws and nuts, we quickly completed the "skeleton" of the "waving robot" and installed the ArduinoUno control board, Bluetooth communication module, and steering gear on the "skeleton" of the robot.
10 inch tablet is the most important size on tablet market. Which kind of clients like more? The answer is loving bigger size or storage, longer working time, etc. Since Android Tablet 10 inch is usually equipped with full HD screen, memory support up to 8GB, storage up to 256GB, battery up to 7000mAh-working 5-8hours. However, 8 inch android tablet mainly up to 4GB ram 64GB ROM, 4000mAh battery. At this store, you can see more than ten different 10 inch tablets on sale and one 10 inch windows tablet with magnetic keyboard option, and high level CPU and SIM Card option. Besides, you can also see amazon tablet 10 inch with competitive cost, especially take above 1000pcs. Except android tablet, 14 inch 64Gb Student Laptop for online learning, 15.6 inch celeron n5095 business laptop, 15 inch intel i3, i5, i7 10th or 11th generation Gaming Laptop and 16 inch laptop with 4gb graphics card and 16gb ram 512GB ssd alternatives also.
Any other special requirements, just fee free to contact us. Will try our best to support you.
10 Inch Tablet,10 Inch Tablets On Sale,Android Tablet 10 Inch,Amazon Tablet 10 Inch,10 Inch Windows Tablet
Henan Shuyi Electronics Co., Ltd. , https://www.shuyilaptop.com