zoncoffee_pid_controller
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| zoncoffee_pid_controller [2014/11/04 18:24] – [Hardware Setup] Ethan Zonca | zoncoffee_pid_controller [2023/03/23 02:48] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| - Connect a rotary encoder and switch to the labeled screw terminal | - Connect a rotary encoder and switch to the labeled screw terminal | ||
| - Internal pull-ups are enabled, so the switch should be connected between ground and the '' | - Internal pull-ups are enabled, so the switch should be connected between ground and the '' | ||
| - | - If your rotary encoder does not operate correctly with any pin configuration, | + | - If your rotary encoder does not operate correctly with any pin configuration, |
| - Connect a solid-state relay to the 2-pin SSR screw terminal | - Connect a solid-state relay to the 2-pin SSR screw terminal | ||
| - Connect your 5v power supply (either USB or screw terminal) | - Connect your 5v power supply (either USB or screw terminal) | ||
| Line 14: | Line 14: | ||
| ===== Software Setup ===== | ===== Software Setup ===== | ||
| - | [[http:// | + | To get started, |
| + | |||
| + | Your ZonCoffee board comes pre-loaded with the latest firmware. However, you can flash your own custom firmware | ||
| + | |||
| + | ==== Arduino IDE ==== | ||
| + | |||
| + | Download the latest [[http:// | ||
| + | |||
| + | Note: In that zip file, all libraries in the " | ||
| - | Your ZonCoffee board comes pre-loaded with the latest firmware. However, you can flash your own custom firmware or updates using the Arduino bootloader which is pre-programmed on the ATMEGA32u4. | ||
| ==== LCD support ==== | ==== LCD support ==== | ||
| Line 22: | Line 30: | ||
| The firmware comes pre-configured for the HD44780 parallel LCD display. To use a SparkFun serial LCD, you will need to change a couple configuration options: | The firmware comes pre-configured for the HD44780 parallel LCD display. To use a SparkFun serial LCD, you will need to change a couple configuration options: | ||
| - | In the Arduino sketch, browse to options.h | + | In the Arduino sketch, browse to '' |
| 13 //#define LCDSF // Use SparkFun serial lcd | 13 //#define LCDSF // Use SparkFun serial lcd | ||
| Line 30: | Line 38: | ||
| Uncomment the LCDSF line and comment out the LCDHD line. Now your SparkFun LCD should work properly. | Uncomment the LCDSF line and comment out the LCDHD line. Now your SparkFun LCD should work properly. | ||
| - | ==== Libraries ==== | + | **There seems to be a bug in the Arduino IDE when switching between LCDs. If you change the selected display in '' |
| - | Note: In that zip file, all libraries in the " | + | |
| + | Change this: | ||
| + | |||
| + | 15 // Setup LCD | ||
| + | 16 #ifdef LCDHD | ||
| + | 17 # | ||
| + | 18 | ||
| + | 19 #endif | ||
| + | 20 | ||
| + | 21 #ifdef LCDSF | ||
| + | 22 # | ||
| + | 23 SLCD sflcd = SLCD(LCDROWS, | ||
| + | 24 #endif | ||
| + | |||
| + | To this: | ||
| + | |||
| + | 15 // Setup LCD | ||
| + | 16 #ifdef LCDSF | ||
| + | 17 # | ||
| + | 18 SLCD sflcd = SLCD(LCDROWS, | ||
| + | 19 #endif | ||
| + | 20 #ifdef LCDHD | ||
| + | 21 # | ||
| + | 22 | ||
| + | 23 #endif | ||
| + | 24 | ||
| + | |||
| + | ...or the other way around. | ||
| - | Thanks, | + | |
| - | Ethan Zonca | + | |
zoncoffee_pid_controller.1415125484.txt.gz · Last modified: 2023/03/23 02:48 (external edit)
