We made an automatic marshmallow roaster in two days during the 2019 MakeNTU hackathon, and won 2 awards: Best Creativity (chosen from 50 teams) and Highest Popularity (we received 40 votes)!
After visiting several stores that sold electronic materials, we still couldn't find one that sold heating elements (preferable nichrome wire). However, hackers use whatever resources they can find, and one of our teammates came up with the clever idea of tearing down nichrome wire from a toaster machine, so we spent around $12 on a cheap toaster to get the goodies inside. We put some space between the nicrome wire, and raised them with wooden blocks to match the height of marshmallows on sticks. The result looked like this:
To concentrate the radiating heat and hot air, we cut off one side of an open cardboard box to form an "oven opening", padded the interior with aluminum foil, and put this cover over the three nichrome wire boards.
We did some testing to ensure that the temperature was indeed high enough to roast marshmallows, which it was (phew!), and got that nice brown coating without much effort :D
If you've roasted marshmallows over a fire before, you know that it's hard work -- your hands get uncomfortably hot, and the marshmallows burn very easily :'(
We came up with the idea of designing something mechanical to turn the marshmallow sticks for us, which would both enable more control over the roasting process and save people the inconvenience of having to continuously turn and watch over those needy little marshies.
To implement this, we connected four stepper motors and a button to a Raspberry Pi. The motors turned the sticks after a button-press, and stopped turning when the button was pressed again. We could also code the turning duration into the Pi if we wanted. Because heat rises and all the circuitry lay below the nichrome wire, we were fairly confident that the electric components wouldn't be exposed to high temperature, but just to be on the safe side, we added a temperature sensor to monitor the circuitry surroundings. During all our roasting sessions, the temperature never exceeded 35°C, which is slightly colder than the human body (very safe). Here's what the tray looked like:
With both the heat source and roasting tray completed, we could now roast perfect marshmallows with minimal effort!
- Get 4 marshmallows and 4 sticks, then poke the sticks into the marshmallows. Insert the sticks into the wood bases on the roasting tray.
- Plug in the heater (110V). You will see the nichrome wire heat up and become red.
- Push the roasting tray into the "oven", and press the button to begin the roasting process. The motors should first turn 30 seconds, heating the marshmallows uniformly to melt them. Then, the motors should stop turning -- two sides of each marshmallow will be continuously heated until they become nice and brown.
- When you see the marshmallows become brown, slide the tray out of the "oven", and you will have 4 perfectly roasted marshmallows.
- Eat (send your mouth to sweet marshmallow heaven)
startup.sh: the script that runs when the Pi is booted, runsLCD_test.pyandbutton.pyLCD_test.py: reads the temperature and shows it on an LCD screenbutton.py: allows control of stepper motors by pushing a buttonI2C_LCD_driver.py: dependency forLCD_testds18b20.sh: just a test of reading temperature data

