7 votes
Accepted

Fan regulator control from Arduino

To control AC power for inductive load (motor) a Triac is used. The concept is called phase cutting. It works for a resistive load (heater) too. This module is designed for phase cutting. It contains ...
Juraj's user avatar
  • 18.1k
6 votes

How to perform multitask using arduino such as update data as well as check condition?

You need to think about this with a real-world analogue. I like to use boiling an egg... There are three ways you can boil an egg: Blocking operation Put the egg in the boiling water Stand there ...
Majenko's user avatar
  • 105k
5 votes

MQTT over serial

As the author of the serial2mqtt gateway. Maybe it's time to have a new look. I've included the binaries for different platforms in the build : https://github.com/vortex314/serial2mqtt/tree/master/...
Lieven's user avatar
  • 51
5 votes
Accepted

How to use Multipile millis()

If I understand correctly, you wrote an example code that switches an LED between two states (on and off), and you are stuck because the actual problem you want to solve is more complex than that. And ...
Edgar Bonet's user avatar
  • 43.1k
4 votes
Accepted

What are the best GPIO pins to use for my project?

NodeMCU and "Wemos D1 R2 and Mini" esp8266 (esp-12) pins and io overview Serial RX io3 RX0 TX io1 TX0 boot config pins with pullup or pulldown on board D3 io0 PULLUP (LOW for boot to flashing ...
Juraj's user avatar
  • 18.1k
3 votes
Accepted

Controlling amplifier using remote control jack

According to this thread on remotecentral the signal on the RCA connector is just the inverted signal that the IR-LED receives. So if you load an RC5 library and invert the output (0=1 and 1=0), you ...
beamzer's user avatar
  • 46
3 votes
Accepted

Endurance of Arduino UNO during 24/7 operations and mild power fluctuations

Is the Arduino Uno capable of surviving the extended service expectancy and execute the program correctly? Yes, it is. Though your program and wiring needs to be stable and correct. What is the ...
chrisl's user avatar
  • 16.3k
2 votes
Accepted

Water measuring

I have an electronic water flow meter which uses a turbine wheel inside the pipe. Ostensibly there is a magnet on one or two or all four of the blades, which is read by a hall-effect sensor inside the ...
fred_dot_u's user avatar
2 votes

How to check if all pins are connected on my board to make sure Arduino sends the correct pattern number on my tool

As mentioned in a comment, your code has some fundamental flaws. Do not call loop() from within loop()! Aside from the code errors, your question has a legitimate element. Testing the tri-state ...
CharlieHanson's user avatar
2 votes
Accepted

code for automatic door

KennetRunner already explained what is wrong with your code. Here I will try to give advice on the proper way to implement the automatic door. First thing is to get rid of delay(). While your program ...
Edgar Bonet's user avatar
  • 43.1k
2 votes

How do I turn lights on & off manually along with home automation?

You would need to create something like in the picture, one switch will be the relay.
Hurricane Harry's user avatar
2 votes

What isthe best programming language for embedded systems?

Before your question gets closed: There is no such thing as "the best" Assembly Assembly can be a very powerful language. But at the cost of some: Assembly is different per machine. https://cs....
aaa's user avatar
  • 2,695
2 votes

What is the worst time case for Arduino Mega?

Yes. (For better guidance than that, we'd need to know more.)
Dave X's user avatar
  • 2,332
2 votes
Accepted

(Advice) Home Automation Project (Domotic mobile home)

The Arduino is not built or powerful enough to handle things like cameras and high-speed 4g connections for remote administration. I would suggest using something like a Raspberry PI 3 as it would be ...
Vosem Media's user avatar
2 votes

GSM module not working after power off

The GSM takes time to start up. Your program needs to be far more complex than the simple "Throw commands at it and hope" method you are using. First you need to query the modem repeatedly until it ...
Majenko's user avatar
  • 105k
2 votes

How to use Multipile millis()

For your current issue (turning LEDs on and off after 1s / 2s, much of your code can be simplified: int ledPin = 2; // Number of the LED pin int ledState = LOW; // ledState used to set the LED ...
towe's user avatar
  • 865
1 vote

Relay board not working with nodemcu

From the description and comments it looks like the problem is HW related. I recommend you to do a relay module test (wthout NodeMCU): Try to switch the relays on/off just by connecting the power ...
JSC's user avatar
  • 116
1 vote

Fan regulator control from Arduino

There is also the issue of isolation here, to keep the controller side from being connected to the mains for reasons of noise and safety. The previous posters' comments about doing this with triacs ...
HughV's user avatar
  • 11
1 vote
Accepted

MQTT over serial

Finally I have found the solution! Using mysensors (mysensors.org) I can use the Arduino Mega as a node and a serial gateway. So Home Assistant can control it directly.
pvoj's user avatar
  • 193
1 vote

How to protect link/url form ESP-12E for controlling LED

You need to take a look at the HttpBasicAuth example that comes with the ESP8266's ESP8266WebServer library that you are using. It is simple enough. Here it is pasted in for reference: #include <...
Majenko's user avatar
  • 105k
1 vote

Fan regulator control from Arduino

Finally i found it as a product available here with the thyristor circuit and electrical-contactless servo (PWM or ANALOG input) motor ( to drive the input) will helps to drive the output from 0 to ...
Sivamani V's user avatar
1 vote

Fan regulator control from Arduino

Its not exactly what you are looking for but it will help Arduino-controlled-light-dimmer-The-circuit. Here is the sample project in which TRIAC is used with arduino for controlling the flow of ...
Vaibhav's user avatar
  • 546
1 vote
Accepted

RFID Door Lock Coding Errors

I had seen many errors in your code. Some of them are as follows MFRC522.initial(); replace it with rfid.initial(); Libraries such as liquidcrystal, servo are default libraries in arduino so if you ...
Vaibhav's user avatar
  • 546
1 vote

Can I connect to a DALI network as a master node using an Arduino?

I have made a simple DALI controller with Arduino Nano. Maybe it will be useful for you. Look here: Simple DALI Controller
Timur's user avatar
  • 11
1 vote

A/C doesn't detect IR codes sent from Arduino

Hi i have done the same thing. I was using this to get the AC codes for the GREE AC. I find it with two weeks struggle and a forum called AnalysIR. If you find any issue in this code below or method ...
Ourang-Zeb Khan's user avatar
1 vote

Unclear GET request mixed values

When you send a GET request in HTTP you get a HTTP response back, not just the contents of the file you requested. For instance, your request may result in a response of: HTTP/1.1 200 OK Date: Thu, ...
Majenko's user avatar
  • 105k
1 vote

ESP8266: Client Server Based Home Automation System

I agree with most of 'Look Alterno's comment. So here it is explained in more detail. Each ESP runs a web server. Each ESP will handle GET /root/status POST /root/change?device=x,state=y When a ...
Code Gorilla's user avatar
  • 5,637
1 vote

Make arduino board controler for watering system with power bank

You should be able to solve it with two diodes, preferably Schotty diodes, they have a low forward drop voltage.
MatsK's user avatar
  • 1,356
1 vote

Make arduino board controler for watering system with power bank

Is it possible? Yes. Is it easy? Maybe. A relay shield or similar would allow you to break the power connection from the solar panel to the power bank input, wait 5 seconds and then connect the power ...
Andrew's user avatar
  • 1,050
1 vote

Arduino and big servo

In the Arduino world, a servo motor is a RC servo motor. It runs at 5V or 6V and most of them can rotate 180°. In an industrial environment or with the central heating in a house, the valves are ...
Jot's user avatar
  • 3,246

Only top scored, non community-wiki answers of a minimum length are eligible