Skip to content

Big Red Button Wireling Tutorial

TinyCircuits Big Red Button Sensor Wireling product photo

Ever need a flare of drama in your project? Look no further than the Big Red Button Wireling.

Technical Details


  • 200mm cable compatible with Wireling platform
  • 30mm height
  • 33mm width

Big red button size dimensions


Processor Adapter
*TinyDuino and USB TinyShield Wireling Adapter TinyShield
*TinyZero Wireling Adapter TinyShield
*TinyScreen+ Wireling Adapter TinyShield
WirelingZero N/A
*RobotZero N/A
Arduino Wireling Arduino Shield
Raspberry Pi Wireling Pi Hat

* These processors have a 32-pin connector and can have multiple Wireling Adapter TinyShields stacked to increase the number of Wireling ports up to a maximum of 32 total Wireling ports.

In order to interface with Wirelings, you'll need the Wireling.h Library (You can download this from GitHub as linked, or from the Library Manager in the Arduino IDE).

You will also need the Big Red Button Wireling and the included example Arduino sketch:

Wireling Code
Port 0

Hardware Assembly

Depending on the development system you choose, you will need to put together a TinyDuino stack using the 32-pin tan connectors, or you will just need to plug in your Wireling to Port 0. (You can change this port in the included Arduino Sketch by editing the buttonPin variable. Use A0 for Port 0, A1 for Port 1, etc.)

NOTE: Be mindful when inserting Wireling Cables - the connector pins inside the 5-pin connectors on Wirelings can be bent when cables are inserted at an angle.

Software Setup

No need for a library, so all you have to do is open the example program in the Arduino IDE!

Make the correct Tools selections for your development board. If unsure, you can double check the Help page that mentions the Tools selections needed for any TinyCircuits processor.

Upload Program

Once you have the correct Tools selections, upload the program to your processor!

 * Big Red Button Wireling
 * Program will print to the Serial Monitor if the button has been pressed.
 * If the button has not been pressed, it will print the AnalogRead value.
 * Written by: Laveréna Wienclaw for TinyCircuits

#include <Wireling.h>

float buttonPin = A0;

// Make Serial Monitor compatible for all TinyCircuits processors
#if defined(ARDUINO_ARCH_AVR)
  #define SerialMonitorInterface Serial
#elif defined(ARDUINO_ARCH_SAMD)
  #define SerialMonitorInterface SerialUSB

void setup() {

  pinMode(buttonPin, INPUT);

void loop() {
  int buttonState = analogRead(buttonPin);

  if(buttonState < 50)
    SerialMonitorInterface.println("Button pressed!");
    SerialMonitorInterface.print("button state: "); SerialMonitorInterface.println(buttonState);
  //Poll Sensor Data

Open up the Serial Monitor to see the output of the button. When pressed "Button Pressed!" will print to the Serial Monitor. Otherwise, the Analog value will be printed:

TinyCircuits Big Red Button Sensor Wireling serial monitor output showing analog values and 'Button Pressed'


Contact Us

If you have any questions or feedback, feel free to email us or make a post on our forum. Show us what you make by tagging @TinyCircuits on Instagram, Twitter, or Facebook so we can feature it.

Thanks for making with us!