≡ Menu

LED Bar Graph: Testing the Ardweeny

A while ago I purchased an Ardweeny kit, but hadn’t put it together and tested it until now. The Ardweeny is a small, low-cost breadboard friendly Arduino clone. In fact, it is the smallest Arduino clone that I know of as of this posting, and the tiny board is backpacked on top of the ATMega chip.
Here are the parts laid out before I put the Ardweeny together: PCB, ATMega, headers and 7 parts. Tip: double check that you received the correct parts; I received a 470K Ohm resistor (yellow-violet-yellow) instead of a 470 Ohm (yellow-violet-brown) one.
Ardweeny parts
The assembly manual that comes with the Ardweeny is illustrated in color, and explains how to put it together in great detail, step-by-step. It is a very easy kit to put together, perfect for a beginner. There isn’t a lot of soldering involved, either. (There are only 7 parts after all!)
Ardweeny manual
Here is the final product, assembled and ready to go! Isn’t it tiny? The Ardweeny comes preloaded with the “Blink” sketch. In order to program it you will need an FTDI basic breakout board and USB Mini-B cable. Upon hooking it up for the first time the green LED should blink.
To test it I put together a simple circuit connecting a LED bar graph display and a variable resistor (trimpot) to the Ardweeny. Turning the dial on the trimpot lights the LEDs on the bar graph display accordingly. Here’s the setup:
Ardweeny LED bar graph project
Here’s the schematic showing how the circuit was wired:
Ardweeny LED bar graph schematic
Here’s a quick video of the Ardweeny in action.

And here’s the sketch:

// www.TinkerHobby.com
// Natalia Fargasch Norman
// Trimpot display using LED bar graph

// loop variables and trimpot reading
int i, j, val;

void setup() {
  for (i = 0; i < 10; i++) {
    pinMode(i, OUTPUT);

void loop() {
  for (i = 0; i < 10; i++) {
    digitalWrite(i, HIGH);
  // trimpot connected to analog pin 0
  val = analogRead(0);
  // analogRead returns number
  // between 0 and 1023, scaling
  // for the 10 LEDs in the bar graph
  j = val / 100;
  for (i = 0; i < j; i++) {
    // LED bar graph is common anode, LOW is on
    digitalWrite(i, LOW);
{ 4 comments… add one }
  • Savli


  • I do like the Ardweeny. They are cheap too. Nice write up!

    • Yep, like’em too! Thanks Michael! I did solder the wrong resistor I received at first. After desoldering, the soldering job looks VERY lame, though… but hey, it works!

      I bought another 5 kits, but still haven’t put them together…

Leave a Comment