This is an old revision of the document!


Multifunction Device STANESCU-FLOREA David-Ioan

Introduction

Short presentation of the project:

  • Measures the atmospheric temperature around the device, acts as a proximity detector(Sonar Ranger), can be used as a potentiometer and has both a stopwatch function and a 24h Clock function.
  • This device isn't focused on solely doing one thing - just as a multimeter - can have different uses in different scenarios ; and it's main advantage is the modulation - can be added or swapped any kind of function
  • As mentioned before, having a multifunctional device is an advantage in an uncertain situation - so, I wanted to create a device with multiple uses

General Description

Hardware Design

Modules & Pieces:

  1. Multifunction Shield
  2. Arduino Uno R3
  3. HC SR04 Sonar Module
  4. LM35 Temperature Sensor
  5. 3 Resistors
  6. 3 LEDs
  7. Colored Wires

Project Design (without the Multifunction shield *not found on Tinkercad)

Software Design

Firmware Description:

  • Arduino IDE
  • MultiFuncShield Library, Timer1, Wire
  • for each mode there will be a separate function which on button press, it will reset (if already in a mode) or change to the assigned mode (if in neutral mode)
  • Sources: Hackatonics ; implemented functions: startFunc(), temp(), potentiometer(), sonar(), stopwatch(), alarmClock(), displayTime(), clockISR() ;

Obtained Results

The project works as intended - with selectable modes, with multiple functions and modular:

  1. Button 1: Temperature Mode
  2. Button 2: Potentiometer Mode (it is also used as a bridge between the modes that must be Long-Pressed)
  3. Button 3: Sonar Mode (or Proximity Sensor/Parking Sensor Mode)
  4. Button 1 Long-Pressed: Stopwatch Mode
  5. Button 2 Long-Pressed: Alarm-Clock Mode
  • The main advantage is that it can host multiple uses and can add other uses to it.

Conclusions

This project was thought to be much like a multimeter - modular and with many uses.

Download

Journal

User's Manual:

  1. Connect the Arduino through the USB port using a computer or using the 5V special socket.

Please do research before using the special powering socket because you might connect an improper PSU and risk to damage irreparably the device and its components

  1. After the device has power, on the display will appear a message: “HI […] Lets Code” ; you will also see the Red LED turn on, then the Yellow LED
  2. When the device is ready to use, only the Green LED will be turned on and you will hear a beep (after a short delay, the Green LED will turn off)

Bibliography/Resources

pm/prj2022/apredescu/152.1653309864.txt.gz · Last modified: 2022/05/23 15:44 by david_ioan.stanescu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0