Step 3Connecting the Arduino
The Arduino is equipped with a protoshield with a small bread board. It consists of:
* The temperature sensor: a simple voltage divider connection with a 1KOhm resistor, using analog port 9.
* The fanspeed controller: pulse width modulator (PWM) of port 3, connected to a mosfet (IRF540N) which controls the fan motor with 19V coming from the laptop adapter. Use 1Kohm resistor between base and digital 3.
*Heater controller: turned on or off by the solid state relais, connected to digital port 5 (dont forget the 1KOhm resistor or you blow you relais).
*A potmeter to adjust the minimal fanspeed, connected to 5V, ground and analog port 0.
*A button to start the roasting, connected to digital port 6, use another 1KOhm resistor here.
*LCD connection Digital pins 7-13 connected to RS, RW, E, d4, d5, d6, d7 of the LCD screen (and of course 5V and ground)
The popcorn machine is connected to the Arduino through 4 wires, all connected to metal pins to easily stick them in the holes of the breadboard.
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|
















































