I would like to hire a Python Developer for helping me with a small python script.
$10-30 USD
Completed
Posted over 6 years ago
$10-30 USD
Paid on delivery
Raspberry pi ”sense hat” unstoppable ball.
Im going to make a ball that senses movement and execute a simple action every time the movement stops.
The ball will use the raspberry pi as the controller and use the IMU sensor on the ”sense hat” for YAW, PITCH and ROLL axis input.
I have some skills in Python, and will be able to do minor adjustments to the final script to get it working as i want.
The function of the ball will be like this:
The ball rolls down a slope, everytime the ball is in movement, the IMU sensor detects movement and nothing is done.
If the ball comes to a stop and the IMU sensor detects no movement.
A timer will start for 30 sekunds and then execute a action. (this action can be just a print ”action executed”, I will insert the action myself afterwards. Its gonna be a output to a engine that make the ball move again. )
Everytime the action is executed, i want the python script to write to a log file that tells the date and time of execution.
The ball will role for several hours and i want to read afterwards how many times the ball execution have ocurred.
If movement is detected while the timer is ongoing, the timer will be canceled and nothing is executed.
The ball needs to be lying still for 30 sekunders uninterrupted before action is exectued.
Information about sensehat IMU :
[login to view URL]
I can provide a more detailed description if needed.
Please contact me to establish a dialog on the project.