top of page
  • Writer's pictureJanakan Chandrakumar

Week 5 - Python Control + Calibration

The BBT machine is controlled by both an Arduino and Raspberry Pi. The Arduino is responsible for issuing specific commands to our various components and sensors, such as turning the motor or dispensing a topping. The RaspPi, on the other hand, is responsible for issuing any routines we want to run such as calibrating the machine or taking a drink order and figuring out what the Arduino needs to do in order to create the drink.


The Arduino and RaspPi communicate via serial, and in previous weeks Python code was implemented such that the RaspPi could issue Gcode commands to the Arduino. This week, calibration routines were implemented that would allow us to set the location of the different topping/liquid stations, calibrate the weight scale conversion factor, and calibrate the distance conversion factor. These routines will allow us to operate the machine more smoothly and with more ease!

3 views0 comments

Recent Posts

See All

Week 5 - Firmware Implementation

During this week's meeting, it has come to our attention that some of the motors will have rotational limit due to mechanical interference. Therefore, new Gcode commands are added to set the limit of

Post: Blog2_Post
bottom of page