Evaluating bids

Arduino Interface Analisador Gases Álcool

Published on the August 27, 2017 in IT & Programming

About this project

Open

Preciso de um protótipo Arduíno usando instruções de um exemplo coletado na internet a qual segue abaixo.

De acordo com o nível detectado, acender 1 LED.
Piscar 1 LED enquanto o sensor não for acionado.
Mostrar percentual numa pequena tela LCD com backlight ou de dígitos.
Alimentado por pilha aaa, aa ou 9v se possível

preciso do hardware todo fixado num acrílico ou madeira balsa, qualquer superfície.

Orçar separadamente hardware e desenvolvimento.

1 peça para protótipo, nunca passará de protótipo.


Const int analogPin = 0; // o pino em que o potenciômetro está ligado
Const int ledCount = 10; // o número de LEDs no gráfico de barras

Int ledPins [] = {
  11,10,9,8,7,6,5,4,3,2 // Aqui temos o número de LEDs a usar no BarGraph
  }; 


Void setup () {

  Para (int thisLed = 0; thisLed <ledCount; thisLed ++) {
    PinMode (ledPins [thisLed], OUTPUT);
  }
}

Loop vazio () {
  // Este é o código para acender LEDs
  Int sensorReading = analogRead (analogPin);

  Int ledLevel = map (sensorReading, 500, 1023, 0, ledCount);


  Para (int thisLed = 0; thisLed <ledCount; thisLed ++) {

    Se (thisLed <ledLevel) {
      DigitalWrite (ledPins [thisLed], HIGH);
    }

    outro {
      DigitalWrite (ledPins [thisLed], LOW);
    }
  }
}

Category IT & Programming
Subcategory Other
Project size Medium
Is this a project or a position? Project
I currently have I have specifications
Required availability As needed
Experience in this type of projects Yes (I have managed this kind of project before)

Delivery term: September 11, 2017

Skills needed

Other projects posted by P. M.