Arduino Gift box - Hall effect sensor

Hello everybody,

I wanted to build this gift box for my girlfriend: Arduino Project Hub

I set up all wires and wanted to upload the code.

Arduino IDE could not compile it.

See here: https://www.screencast.com/t/KyWBkf3Nr

Whats the mistake?
I don't understand this because on the instruction there is nothing more mentioned.

Whats the mistake?

The mistake is that you failed to post your code HERE as text and you failed to post the errors HERE as text.

"No such file" should be a big hint. There is a file that is missing or is in the wrong location.

Did you download all required libraries and install them correctly?

By the way, most experts here will not visit another web site and will not work from a picture of an error message. In the future, please follow these instructions to post code and/or error messages:

  1. Use CTRL-T in the Arduino IDE to autoformat your complete code.
  2. Paste the complete autoformatted code between code tags (the </> button)
    so that we can easily see and deal with your code.
  3. Paste the complete error message between code tags (the </> button)
    so that we can easily see and deal with your messages.
  4. If you already posted without code tags, you may add the code tags by
    editing your post. Do not change your existing posts in any other way.
    You may make additional posts as needed.
  5. Please provide links to any libraries that are used
    (look for statements in your code that look like #include ). Many libraries
    are named the same but have different contents.

Before posting again, you should read the three locked topics at the top of the Programming Questions forum, and any links to which these posts point.

If your project involves wiring, please provide a schematic and/or a wiring diagram and/or a clear photograph of the wiring.

Good Luck!

Thank you for your hints. I am a newbie here so I say sorry for my formal mistake.

Here is the code.

#include "Arduino.h"
#include "HallA1302.h"
#include "AnalogReader.h"
#include "Adafruit_GFX.h"
#include "Adafruit_PCD8544.h"
#include "TimerFreeTone.h"
#include "Speaker.h"


#define HALLA_PIN_VOUT  A3
#define NOKIALCD_PIN_DC 4
#define NOKIALCD_PIN_CS 2
#define NOKIALCD_PIN_RST  3
#define PIEZOSPEAKER_PIN_SIG  5

//define Nokia LCD contrast and dimentions(in pixels)
#define LCD_CONTRAST 70
#define LCD_SIZE_COL 84
#define LCD_SIZE_ROW 48

unsigned int piezoSpeakerHoorayLength          = 6;                                                      // amount of notes in melody
unsigned int piezoSpeakerHoorayMelody[]        = {NOTE_C4, NOTE_E4, NOTE_G4, NOTE_C5, NOTE_G4, NOTE_C5}; // list of notes. List length must match HoorayLength!
unsigned int piezoSpeakerHoorayNoteDurations[] = {8      , 8      , 8      , 4      , 8      , 4      }; // note durations; 4 = quarter note, 8 = eighth note, etc. List length must match HoorayLength!

HallA1302 hallA(HALLA_PIN_VOUT);
Adafruit_PCD8544 nokiaLcd(NOKIALCD_PIN_DC, NOKIALCD_PIN_CS, NOKIALCD_PIN_RST);
Speaker piezoSpeaker(PIEZOSPEAKER_PIN_SIG);




/* This code sets up the essentials for your circuit to work. It runs first every time your circuit is powered with electricity. */
void setup() {
// Setup Serial which is useful for debugging
// Use the Serial Monitor to view printed messages
Serial.begin(9600);
Serial.println("start");

//Calibrate sensor
//hallA.calibrate();
//Initialize Nokia instance
nokiaLcd.begin(LCD_SIZE_COL, LCD_SIZE_ROW);
nokiaLcd.setContrast(LCD_CONTRAST); //Adjust display contrast
}

/* This code is the main logic of your circuit. It defines the interaction between the components you selected. After setup, it runs over and over again, in an eternal loop. */
void loop() {
//Get Measurment from hall sensor. Depending on the magnet pole polarity the sensor will return positive or negative values.
int hallAVal = hallA.read();
Serial.println(hallAVal);

//Check if the box was opened
if (abs(hallAVal - 512) < 50)
{
 delay(500);//wait 0.5 sec
 nokiaLcd.clearDisplay();             //Erase & clear display buffer
 nokiaLcd.setRotation(2);
 nokiaLcd.setTextColor(BLACK);        //Set text color to black, background is white by default
 nokiaLcd.setTextSize(2);             //set text size
 nokiaLcd.setTextSize(1);             //set text size
 nokiaLcd.print("  Surprise !");
 nokiaLcd.setTextSize(2);             //set text size
 nokiaLcd.drawCircle(37, 15, 3, BLACK);
 nokiaLcd.drawCircle(41, 15, 3, BLACK);
 nokiaLcd.drawRect(25, 22, 30, 20, BLACK);
 nokiaLcd.drawRect(22, 18, 36, 5, BLACK);
 nokiaLcd.drawRect(37, 22, 5, 20, BLACK);
 nokiaLcd.display();                  //display on screen
 // The Speaker will play the Hooray tune
 piezoSpeaker.playMelody(piezoSpeakerHoorayLength, piezoSpeakerHoorayMelody, piezoSpeakerHoorayNoteDurations);
 delay(10000); //wait 10sec
}

}

Error:

Arduino: 1.6.12 (Windows 10), Board: "Arduino/Genuino Uno"

D:\Aktuell\Arduino Projekte\Gift_box\Gift_box.ino:2:23: fatal error: HallA1302.h: No such file or directory

#include "HallA1302.h"

                     ^

compilation terminated.

exit status 1
Fehler beim Kompilieren für das Board Arduino/Genuino Uno.

fatal error: HallA1302.h: No such file or directory

You don't really need help understanding this error message, do you?

Sorry for wasting your time.
It was my mistake there was another file that is needed but it was hidden in the step by step instruction on hackster.io.

I feel a little bit silly that I asked a question that was so obvious.