Hi, I recently started working with Arduino and I need a bit of help with circuit making.
I have an MQ3 alcohol sensor and need to connect it with a button, two LEDs, and two resistors.
It should work as follows.
If I press the button the sensor will start scanning. If it catches alcohol, the green LED lights up. If not, a red LED lights up. It should light until I press the button again.
Next, at least attempt to write your code and post what you have along with a basic schematic of your circuit, even simple hand drawn is fine. That is how it is done. Think of it as a self help forum.
I'm sorry, I'm programming for a month and this looked like an interesting project but I'm only trying to program, so I'm asking for help to build the circuit as I don't know much about electronics.
I would program it by myself, I only need help to build it first
Have you got a breadboard?
Or how will you connect things?
Do you have a 5v power supply? Mq stuff cannot be fed from arduino 5v pin. And i would not recommend feeding it from your computer usb.
Can you make bottom and top shot of mq3? This way we cannot read the text near the pins...
One pin should go to 5V, one pin to gnd and one pin to A0.
In your program you can read A0 and print to serial monitor. Later on you might add the leds and put them on/off depending on the value read on A0.
Is that orange thing an MQ135? No MQ3 ethenol sensor.
You can wire the LEDs to the resistors by twisting leads, then insert the right leads into the Arduino where needed. The MQ only needs VCC, GND and A0.
Sure, I'm free on Saturday, I think. Just bring it over and I'll put on a pot of coffee. You can use my soldering iron, I will even give you free soldering lessons. Don't forget to bring the plans, I have no idea what it is.