Another update with a video.
In order to choose the spices, Doug has 3d printed a platter that will be required to spin and lift the spice bottles. In order to do that he has designed in 2 servos to do the spinning and lifting. I get to make the code to spin and lift the servos. There is a python library to access the servos that I will be using. After working on this Friday night and a good chunk of Saturday I have very limited success. I have been able to get the servo-demo script that the library provides to work, but when I add it to my actual code I get segmentation faults all the time. That is why I have to press the button to get the servo commands to work. You will also notice in the video, that the servo seems to be 'fidgeting'. So I think that the power will have to be turned on only when the servo is actually needed to do some work.
So, time to do some research as to why the segmentation faults are happening and see if I can get around them.
Design Challenge Links:
Project Links:
Blog Glenn 1 - AIY Voice Kit Unboxing
Blog Doug 2 - The Block Diagram and Bill of Materials
Blog Doug 3 - Spice Jar Lift Mechanism
Blog Glenn 2 - Firmware Considerations
Blog Doug 5 - Platter Rotation Mechanism
The Spice of Pi - Blog Glenn 3
Blog Doug 6 - 3D Printed Platter Parts
Blog Doug 7 - Main Drive Assembly
Blog Doug 8 - Working Carousel
Top Comments