Project log: Arduino Uno + “reprap d1scount display”

The code is running on an Arduino Uno, wired up to the controller. This is a generic control board called the “RepRapDiscount Smart Controller” which can come in many different configurations, so ensure you know yours before doing anything.

To document how I have wired this up, here is a diagram. Obviously your mileage may vary. The display is a 4 lines x 20 chars running a generic HD44780 type controller, only available in 4-bit mode.

#include <Arduino.h>
#include <LiquidCrystal.h>

const int PIN_BUZZER = 9;

const int PIN_LCDDATA4 = 5;
const int PIN_LCDDATA5 = 4;
const int PIN_LCDDATA6 = 3;
const int PIN_LCDDATA7 = 2;
const int PIN_LCDE = 11;
const int PIN_LCDRS = 12;

// declare the LCD in parallel mode.

// the setup function runs once when you press reset or power the board
void setup()
  // initialize digital pin LED_BUILTIN as an output.
  // initialize buzzer as output.

  // initialize the LCD, number of columns and rows.
  lcd.begin(20, 4);
  lcd.print("hey whats up");

// the loop function runs over and over again forever
void loop()
  lcd.setCursor(1, 1);
This entry was posted in Uncategorized. Bookmark the permalink.

1 Response to Project log: Arduino Uno + “reprap d1scount display”

  1. Pingback: Project log: More about the Arduino Uno + “reprap d1scount display” and “rrd smart adapter”. Rotary encoder button debouncing. | ./sinetek_

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s