Hello All,
I have created “distance1” snap and completed the process mentioned in snapcraft.io document.
When checked the same snap using snapcraft login, it shows that uploaded to global store.
Now I would like to install the distance1 snap to another Raspberry Pi from the store. But when tried to search on store, I was not able to find.
Do I miss any process. Please suggest
Please find the details of the snap as below,
This snap measures distance between ultrasonic sensor and obstacle in centimetre. The program is created in python.
The module is a sensor which can measure distance and runs with 5V, so be aware of the Echo pin, it needs a voltage devider to have a lower voltage then 3.3V.
Here is a reference sheet for the module: www.micropik.com/PDF/HCSR04.pdf
I used the GPIO.BOARD mode and for the trigger(output) pin 11 and for echo(input) the pin 13, it can be changed to what ever you want.
Please see the test file for further explanation.
Thanks & Regards,
Ashish