aim
Published © LGPL

Professor Artemis' Qwiic Thinking

An escape room model based on the booby trapped lab of a mad scientist. Includes various IoT components running on an Uno and Artemis.

IntermediateWork in progress57
Professor Artemis' Qwiic Thinking

Things used in this project

Hardware components

SparkFun RedBoard Artemis ATP
SparkFun RedBoard Artemis ATP
×1
SparkFun Qwiic Twist Rotary Encoder Breakout
×1
SparkFun Qwiic Keypad
×1

Story

Read more

Custom parts and enclosures

"Clock" Holder

Holder for the uno and 4 digi LED display.
The components and wiring are purposefully left on display to give it a techy science vibe.

Code

1st Clue - LED Code

Arduino
Arduino sketch for the 7 segment LED - It is set to display "1470"
If you would like to add a different number, alter the following code:
display.showNumberDec(1470);

Where as (1470) should be (xxxx)

You will need to include the TM1637 Display Library that can be found here:
https://github.com/avishorp/TM1637
#include <TM1637Display.h>

const int CLK = 3; //Set the CLK pin connection to the display
const int DIO = 2; //Set the DIO pin connection to the display


int NumStep = 0;  //Variable to interate

TM1637Display display(CLK, DIO);  //set up the 4-Digit Display.

void setup()
{
  display.setBrightness(0x0a);  //set the diplay to maximum brightness
}


void loop()
{
 
  {
    display.showNumberDec(1470); //Display the Variable value;
    
  }
}

4Digi LED Display

Library for the arduino IDE for the 7 segment display.

Credits

aim

aim

1 project • 0 followers
Robotics & Engineering teacher. Fan of LED's. Friend to robit kind.

Comments