Giter VIP home page Giter VIP logo

bfffs's Introduction

✨ BFFFS ✨

Hey! We are NCSU E101 012 FEDD Group 1: BFFFS!

We are:

  • Jack Lynch
  • Emerina Kelly
  • Anam Navied
  • Aaron Beaver
  • Blake Goodman

This is our repository, where we keep the sketch that runs our project as well as all of our STL files.

Our machine can be operated two ways: digitally (with an Arduino) or in analog (with potentiometers). Both share a 5V rechargeable power source. The three-fan stack responsible for bubble-blowing airflow is linked independently to the 5V supply and is thus beyond user control, beyond switching power on/off. Switching operation methods requires reconfiguring the circuitry a bit (we left the Arduino control circuits on the breadboard so it's just a matter of re-plugging a few jumpers).

Digital Operation

Digital operation involves an Arduino Uno taking input from a pushbutton (with a pulldown resistor) and driving the wheel motor with a 2N2222 NPN transistor (for handling the current draw) and a zener diode (for guarding against momentary voltage reversals).

The initializations are relatively simple:

 const int motorPin = 3;
 const int pullup = 2;
 const int LED = 13;
 const int UVleds = 4;
  pinMode(motorPin, OUTPUT);
  pinMode(pullup, INPUT_PULLUP);
  pinMode(LED, OUTPUT);
  pinMode(UVleds, OUTPUT);

and most of the circuit control happens within a single if-else block:

  int buttonVal = digitalRead(2);

  if (buttonVal == HIGH) {
    digitalWrite(LED, LOW);
    digitalWrite(UVleds, LOW);
    analogWrite(motorPin, 0);
  } else {
    digitalWrite(LED, HIGH);
    digitalWrite(UVleds, HIGH);
    analogWrite(motorPin, 255);
  }

Analog Operation

The circuit illustrating potentiometer control of the UV LED and the bubble wheel is shown below.

Analog

One potentiometer controls LED intensity, and the other controls wheel speed.

List of Materials

Forthcoming! So that our project may be reproduced.

bfffs's People

Contributors

lychrel avatar

Watchers

 avatar  avatar

bfffs's Issues

Update Circuit Files

Circuit files are incomplete / out of date. update!
Also, pinouts on Arduino circuit are 100% wrong, and circuit doesn't illustrate important (i.e. non-trivial) components like transistor/diode motor control.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.