Project information

  • Category: Electronics
  • Features: Custom 3D printed container and candy holding wheel, 1 servo, and 1 Arduino Nano
  • Project date: 5 June, 2022

Building Process

Initially, I was planning to use a gravity fed column of candy which would be pushed out by a 3d printed servo powered linear actuator. However, I determined the design to be too complicated which resulted in me designing the rotating wheel. With the candies positioned vertically, I could hold more in the dispenser. After completing the physical design, I could now focus on the software side of the dispenser. It took me several days to figure out how to get Netbeans Java IDE to communicate with the Arduino IDE. Although I had the code, it would not open the communication channel between the two IDEs. After another long troubleshooting session, I was able to figure out that after connecting to the Java IDE, the code on the java side would execute immediately before it was fully connected. By adding a time delay line, I was able to fix the connection mistiming.