zoncoffee_pid_controller
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
zoncoffee_pid_controller [2013/11/11 01:31] – created Ethan Zonca | zoncoffee_pid_controller [2023/03/23 02:48] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 5: | Line 5: | ||
- Connect your LCD | - Connect your LCD | ||
- Serial LCDs are connected to the " | - Serial LCDs are connected to the " | ||
- | - Parallel LCDs are connected through the auxilliary | + | - Parallel LCDs are connected through the auxiliary |
- | - Connect a rotary encoder | + | - Connect a rotary encoder |
- | - Connect | + | - 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, |
- | - Connect your power supply | + | - Connect |
+ | - Connect your 5v power supply | ||
===== Software Setup ===== | ===== Software Setup ===== | ||
- | Your ZonCoffee board comes pre-loaded with the latest firmware. However, you can flash your own custom firmware | + | To get started, [[http:// |
+ | |||
+ | Your ZonCoffee board comes pre-loaded with the latest firmware. However, you can flash your own custom firmware | ||
+ | |||
+ | ==== Arduino IDE ==== | ||
+ | |||
+ | Download | ||
+ | |||
+ | Note: In that zip file, all libraries in the " | ||
+ | |||
+ | |||
+ | |||
+ | ==== LCD support ==== | ||
+ | |||
+ | 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 '' | ||
+ | |||
+ | 13 //#define LCDSF // Use SparkFun serial lcd | ||
+ | 14 #define LCDHD // Use standard HD44780 lcd or compat. | ||
+ | |||
+ | |||
+ | Uncomment the LCDSF line and comment out the LCDHD line. Now your SparkFun LCD should work properly. | ||
+ | |||
+ | **There seems to be a bug in the Arduino IDE when switching between LCDs. If you change the selected display in '' | ||
+ | |||
+ | 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. | ||
+ | |||
+ | |||
+ | | ||
zoncoffee_pid_controller.1384133472.txt.gz · Last modified: 2023/03/23 02:48 (external edit)