1.No python environment required
- Use Type-C USB cable to connect the A0 and PC.
- Power other devices with 3.7V lithium batteries,and adjust the positions of A1, A2 and A3 so that they form a square of 10 metres with A0.
- Open position.exe, and you can see the red dots on the canvas move according to your position.
2.Python environment required
- Open position.py, and you can change the positioning range by modifying the A0, A1, A2, A3 pixel coordinates(unit cm).
A0X, A0Y = 0, 0 A1X, A1Y = 1000, 0 A2X, A2Y = 1000, 1000 A3X, A3Y = 0, 1000
- Use Type-C USB cable to connect the A0 and PC. Power other devices with 3.7V lithium batteries, and adjust the positions of A1, A2 and A3 so that they can adapt to pixel coordinates.
- Choose the python interpreter, enter the address of your python software.
- Run the project, and you can see the red dots on the canvas move according to your position.
And more detailed information such as how to prepare python and pycharm you can check here.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.