I would like to create a project that is necessary for me as on the market what I want to create or does not exist or if there is a similar it costs a lot although it is (as regards the Hardware) simple and as regards the lighting very basic (without remote control or anything).
Premise: with Arduino a minimum I manage but with ESP8266 zero! So I really need your help to get some working code down.
In practice, at home I have a specific space in which the fireplaces they sell commercially would not fit. So I would like to make a water vapor electric fireplace.
The fireplace for the uninitiated works very simply: - a basin of water
- an ultrasonic nebulizer
- a fan which, turning slowly, forces the atomized steam to rise in a vertically narrow construct
- a powerful light beam directed towards the vapor in order to color it and give the effect of flame
They exist commercially but they have problems for me:
- the exact measure does not exist (if I built it I would build it to the size I want)
- it does not have precise colors (orange comes out yellow, blue comes out dark blue etc.) instead by programming with arduino I can adapt the color I want
- they cannot be controlled by voice (if I am sitting on the sofa I want to be able to say "Alexa set the blue fireplace) and Alexa put me the blue I chose or" Alexa set the Fireplace brightness to 70% and Fan to 10% ".
I apologize for the long premises but they are necessary to explain what I need.
START WITH THE PROJECT.
As you can see my purpose is:
- control the chimney therefore both LED and Fan through ALEXA
- use an IR module (VS1838) so that if the internet in the house does not work I could still change color with a remote control of those for RGB LEDs, etc.
In the sketch I have just put:
- the IR module
- the ESP8266 V2 (mod. Amica)
- a fan
- NPN transistors
- 3W RGB LED for the main colors of the flame (for example red / orange) (powering them at 12V I put 3 in series at a time)
- 3W RGB LED for the secondary colors of the flame (for example yellow).
So I would like that when I turn on the fireplace the fan would start by default at a set value and that when I press the IR remote control or following the "Alexa ..."
I have already created 2 sketches for Arduino: one for the fans and one for the RGB LEDs.
I can't in any way interface them with the ESP8266 libraries ..
Can any of you in your spare time be able to get me a working code? I can attach the 2 sketches right for the values even if I don't think you need that much .. I pay you a coffee at the end because I just don't know how to do it
ARDUINO SKETCH PWM FAN WITH IR REMOTE
https://filedn.com/lKbSuFWpbVx5MRrmQ9x0 ... E%20IR.ino
ARDUINO SKETCH RGB WITH IR REMOTE
https://filedn.com/lKbSuFWpbVx5MRrmQ9x0 ... E%20IR.ino
Thank you all in advance and for any doubts or questions please ask me.
Thank you