Hi, I need help with building circuit

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.

Welcome
What part are you having a problem with

I suggest you give this a read..

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.

Ron

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

I really don't know how to build the circuit. I would program it by myself.

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.

(post deleted by author)

Sadly, I don't have a board.And I would power it trough ,(I don't know how to say in english) suply. And I have to connect it by Soldering.

You really should get one. It will make reusing the components much easier.  And get some jumper wires to connect everything.

https://www.amazon.com/DaFuRui-Breadboard-400-Point-Multiple-Preformed/dp/B07KGQHJW8/ref=sr_1_1_sspa?keywords=breadboard+jumper&qid=1674773821&sr=8-1-spons&psc=1&spLa=ZW5jcnlwdGVkUXVhbGlmaWVyPUEyNk9QNjBNWTVYQ08mZW5jcnlwdGVkSWQ9QTAxMDE0NDYzTk9SWlMzQU83OUVMJmVuY3J5cHRlZEFkSWQ9QTA4OTgyOTgyUU9MWEdSVjlYMFU3JndpZGdldE5hbWU9c3BfYXRmJmFjdGlvbj1jbGlja1JlZGlyZWN0JmRvTm90TG9nQ

I won't have budget on it for while.
Is it possible for someone to help me to buitl this circuit ?

Really, you should get a breadboard. All you need to do is insert wires into the proper holes.

There are lots of tutorials on line, which you can find with the search phrase "arduino mq sensor tutorial".

And I have to connect it by Soldering.

Why? Do you have solder, and a solder pencil?

You can try a simulator like this: https://wokwi.com. No money required, just time. And patience. And ...

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.

4 Likes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.