Tell us about yourself!

Complete Your Profile
  • ARMTRONIX WIFI SINGLE Dimmer Board V0.2

    Dear sir i have one of this board. i want to know how to connect with google home assistant in this board can you please help me with mqqt setting as it asks.mqtt broker ip/DNSMqtt Publish topicMqtt subscribe topicwhat to fill in this. i do have some key and user name from adafruit where to place which i dont know please help

    Can you please give an example i am not aware about that how to connect directly to google home actually i dont know what to fill in the required fields

    View Instructable »
  • 1502santosh commented on AndyTallack's instructable Bootload an ATmega3287 months ago
    Bootload an ATmega328

    can we use arduino nano to upload the boot loader to bare atmega 328. i have tried a lot but no success. i am guessing that my nano may be reason i have tried both PU & p-PU chips but no success. any help...?? i have used samr schematics

    View Instructable »
  • 1502santosh commented on Armtronix's instructable ARMTRONIX WIFI Dimmer Board V0.310 months ago
    ARMTRONIX WIFI Dimmer Board V0.3

    hi the bord keeps on changing ip Address when router get resets. any solution to this problem. i cant check serial monitor every time. help will be appreciated

    View Instructable »
  • 1502santosh commented on Armtronix's instructable ARMTRONIX Wifi 30Amps Board 11 months ago
    ARMTRONIX Wifi 30Amps Board

    Can you please help to get the software which is required to open and modify those files.

    Dear sir I don't have this board I do have Single Triac Dimmer Board to which I am experimenting. but i am not a programmer so not getting the things. I just thought to make a new app in MIT app inventor which is the simplest for me. but not able to do that also. I have just got on off from it. might you are very busy person, will you be so kind to make an episode on mit app inventor. I know it doesn't take much time for a genius. it will help me.

    View Instructable »
  • 1502santosh commented on Armtronix's instructable ARMTRONIX Wifi 30Amps Board 11 months ago
    ARMTRONIX Wifi 30Amps Board

    hi armtronix can we use mit app inventor to build new app for this board can you give the codes to insert in slider I have tried but not working. I am not getting how slider communicate with the board through wifi

    View Instructable »
  • 1502santosh commented on diy_bloke's instructable Arduino Controlled Light Dimmer11 months ago
    Arduino Controlled Light Dimmer

    hi sir its working now. I have defined the V12 as slider pin in blynk application. thank you very much for your esteem help..!!

    View Instructable »
  • 1502santosh commented on diy_bloke's instructable Arduino Controlled Light Dimmer11 months ago
    Arduino Controlled Light Dimmer

    dear sir when I joined both the pins (2 and 14) to 0-X the triac fires continuously. At slider low position it doesn't get off it keeps on till I disconnect the intrupt i.e pin 2 D4 of node mcu.

    View Instructable »
  • 1502santosh commented on diy_bloke's instructable Arduino Controlled Light Dimmer11 months ago
    Arduino Controlled Light Dimmer

    Many thanks sir.

    View Instructable »
  • 1502santosh commented on diy_bloke's instructable Arduino Controlled Light Dimmer1 year ago
    Arduino Controlled Light Dimmer

    Hi dear Jack I have copy and pasted the above code. I am just getting on and off form the circuit. I am using 4n 25 and moc 3021. I have made bridge from 4 x in 4007 with 30 k resistor 320 ohm in triac gate. 220ohm in Moc3021. I am giving output to moc 3021 from pin 0 i.e D3 of node mcu and zero cross to pin 14 i.e D5 of node MCU ground attached to ground and 5v connected to external power supply. the ground of external power supply is connected to the ground of node mcu. and in blynk app I have assigned pin 0 i.e D3 to slider. on sliding slider it gets on and off only any clue. what I am doing wrong. I have made connections as shown in picture. please help me

    View Instructable »
  • Multichannel Wireless Light Dimmer

    hi very nice tutorial. is it possible to do the same using blynk application and can we use triac in place of mosfet. I will be very thankful to you if you provide a example with blynk. I don't know coding and depend on genius like you help will be appreciated. I have a code from one of my friend. but I have tried a lot but it is not working. sliding the slider gets on and off only. I am using circuit as attached in file here is the code#define BLYNK_PRINT Serial#include <ESP8266WiFi.h>#include <BlynkSimpleEsp8266.h>char auth[] = "xxxxxxxxxxxxxxxxxxxxx";char ssid[] = "xxxxxxxxxxxxx";char pass[] = "xxxxxxxxxxxxxxxx";int dim = 0;float valeur=0;void setup() {Blynk.begin(auth, ssid, pass);Serial.begin(9600);attachInterrupt(digitalPinToInterrupt(2), ...

    see more »

    hi very nice tutorial. is it possible to do the same using blynk application and can we use triac in place of mosfet. I will be very thankful to you if you provide a example with blynk. I don't know coding and depend on genius like you help will be appreciated. I have a code from one of my friend. but I have tried a lot but it is not working. sliding the slider gets on and off only. I am using circuit as attached in file here is the code#define BLYNK_PRINT Serial#include <ESP8266WiFi.h>#include <BlynkSimpleEsp8266.h>char auth[] = "xxxxxxxxxxxxxxxxxxxxx";char ssid[] = "xxxxxxxxxxxxx";char pass[] = "xxxxxxxxxxxxxxxx";int dim = 0;float valeur=0;void setup() {Blynk.begin(auth, ssid, pass);Serial.begin(9600);attachInterrupt(digitalPinToInterrupt(2), light, CHANGE);//Interruption lors d'un passage de la tension alternative par 0 .pinMode(0, OUTPUT);pinMode(14, INPUT);}void light() {if (dim < 1) //dim a 0 la lampe est eteinte {digitalWrite(0,HIGH );}if (dim > 179) //dim a 180 la lampe est allumé a 100% { digitalWrite(0, LOW);}if (dim > 0 && dim < 180) //intensité variable de la lampe avec une resolution de 8 bits 0~179{delayMicroseconds(39*dim); // Off cycledigitalWrite(0, HIGH); // triac firingwhile(digitalRead(14)==0){}digitalWrite(0, LOW); // triac Off}}void loop() {Blynk.run(); }BLYNK_WRITE(V12) //Button Widget is writing to pin V12{dim=param.asInt(); }I have another code I got it in youtube is working fine but not with blynk it is MQTT#include <ESP8266WiFi.h>#include <WiFiClient.h>#include <ESP8266WebServer.h>#include <ESP8266mDNS.h>#include <Arduino.h>const char *ssid = "Armtronix";const char *password = "Armtr0nix_1234567890";ESP8266WebServer server ( 80 );volatile int i=0;volatile int dimming =0; volatile boolean zero_cross=0;int AC_LOAD = 13; // Output to Opto Triac pinint AC_LOAD_SSR = 14; // Output to SSR pinint AC_ZERO_CROSS = 12; // Output to Opto Triac pin int freqStep = 375;//75*5 as prescalar is 16 for 80MHZvoid handleRoot() { String s; s = "ARMTRONIX"; s += "<p><a href=\"/gpio\">Control GPIO</a><br />"; server.send ( 200, "text/html", s ); }void handleNotFound() { String message = "File Not Found\n\n"; message += "URI: "; message += server.uri(); message += "\nMethod: "; message += ( server.method() == HTTP_GET ) ? "GET" : "POST"; message += "\nArguments: "; message += server.args(); message += "\n"; for ( uint8_t i = 0; i < server.args(); i++ ) { message += " " + server.argName ( i ) + ": " + server.arg ( i ) + "\n"; } server.send ( 404, "text/plain", message ); }void setup ( void ) { pinMode(AC_LOAD_SSR, OUTPUT); pinMode(AC_ZERO_CROSS, INPUT); pinMode(AC_LOAD, OUTPUT); Serial.begin ( 115200 ); WiFi.begin ( ssid, password ); Serial.println ( "" ); //InitInterrupt(do_something); // Wait for connection while ( WiFi.status() != WL_CONNECTED ) { delay ( 500 ); Serial.print ( "." ); } Serial.println ( "" ); Serial.print ( "Connected to " ); Serial.println ( ssid ); Serial.print ( "IP address: " ); Serial.println ( WiFi.localIP() ); if ( MDNS.begin ( "esp8266" ) ) { Serial.println ( "MDNS responder started" ); } server.on ( "/", handleRoot ); server.on("/gpio", webHandleGpio); // server.on ( "/test.svg", drawGraph );// server.on ( "/inline", []() { // server.send ( 200, "text/plain", "this works as well" );// } ); server.onNotFound ( handleNotFound ); server.begin(); Serial.println ( "HTTP server started" );}void loop ( void ) { server.handleClient();}void InitInterrupt(timercallback handler,int Step ) { Step=dimming*Step; timer1_disable(); timer1_isr_init(); timer1_attachInterrupt(handler); timer1_enable(TIM_DIV16, TIM_EDGE, TIM_LOOP); timer1_write(Step);//max8388607//75*5 }void ICACHE_RAM_ATTR do_on_delay(){ //digitalWrite(BUILTIN_LED, !digitalRead(BUILTIN_LED)); if(zero_cross == true) { // if(i>=dimming) { digitalWrite(AC_LOAD, HIGH); // turn on light // i=0; // reset time step counter zero_cross = false; //reset zero cross detection delayMicroseconds(10); // triac On propogation delay digitalWrite(AC_LOAD, LOW); // triac Off Serial.println ( "zcd" ); // } // else {// // i++; // increment time step counter // digitalWrite(AC_LOAD, LOW); // triac Off // // } } timer1_disable(); }void zero_crosss_int() // function to be fired at the zero crossing to dim the light{ zero_cross = true; i=0; //InitInterrupt(do_something); digitalWrite(AC_LOAD, LOW); InitInterrupt(do_on_delay,freqStep); }void webHandleGpio(){ String s; // Set GPIO according to the request if (server.arg("state_sw")=="1" || server.arg("state_sw")=="0" ) { int state_sw = server.arg("state_sw").toInt(); detachInterrupt(AC_ZERO_CROSS); delay(7); Serial.print("Light switched via web request to "); Serial.println(state_sw); digitalWrite(AC_LOAD, state_sw); } else if (server.arg("state_led")=="1" || server.arg("state_led")=="0" ) { int state_led = server.arg("state_led").toInt(); digitalWrite(AC_LOAD_SSR, state_led); Serial.print("Light switched via web request to "); Serial.println(state_led); } // if (server.arg("state_dimmer") =="10" || server.arg("state_dimmer")=="20" || server.arg("state_dimmer")=="30" || server.arg("state_dimmer")=="40" || server.arg("state_dimmer")=="90" ) { else if (server.arg("state_dimmer") !="") { int state_dimmer = server.arg("state_dimmer").toInt(); //digitalWrite(BUILTIN_LED, state_led); // Serial.print("Light switched via web request to "); Serial.println(state_dimmer); dimming =127-state_dimmer; //delay(10); if(dimming>=120) { detachInterrupt(AC_ZERO_CROSS); delay(7); digitalWrite(AC_LOAD, LOW); //Serial.print("dim grater than 10 "); } else if(dimming<=10) { detachInterrupt(AC_ZERO_CROSS); delay(7); digitalWrite(AC_LOAD, HIGH); Serial.print("dim less than 10 "); } else { attachInterrupt(AC_ZERO_CROSS, zero_crosss_int, RISING); Serial.print("in zcd "); } } s = "TRIAC is now "; s += (digitalRead(AC_LOAD))?"ON":"OFF"; s += "<p>Change to <form action='gpio'><input type='radio' name='state_sw' value='1' "; s += (digitalRead(AC_LOAD))?"checked":""; s += ">TRIAC_ON<input type='radio' name='state_sw' value='0' "; s += (digitalRead(AC_LOAD))?"":"checked"; s += ">TRIAC_OFF <input type='submit' value='Submit'></form></p>"; s += "SSR is now "; s += (digitalRead(AC_LOAD_SSR))?"ON":"OFF"; s += "<p>Change to <form action='gpio'><input type='radio' name='state_led' value='1' "; s += (digitalRead(AC_LOAD_SSR))?"checked":""; s += ">SSR_ON <input type='radio' name='state_led' value='0' "; s += (digitalRead(AC_LOAD_SSR))?"":"checked"; s += ">SSR_OFF <input type='submit' value='Submit'></form></p>"; // s += "LED is now ";/// enable for onboard led// s += (digitalRead(BUILTIN_LED))?"ON":"OFF";// s += "<p>Change to <form action='gpio'><input type='radio' name='state_led' value='1' ";// s += (digitalRead(BUILTIN_LED))?"checked":"";// s += ">LED_ON <input type='radio' name='state_led' value='0' ";// s += (digitalRead(BUILTIN_LED))?"":"checked";// s += ">LED_OFF <input type='submit' value='Submit'></form></p>"; s += "<p>Change to <form name='state' action='gpio' method='get' autocomplete='on' ><input type='range' name='state_dimmer' id='dimInputId' min='0' max='90' step='10' value='0' oninput='showValue()'>" ; s += "<output name='dimOutputName' id='dimOutputId'>0</output></form></p>"; //s += "<input type='submit' value='Submit'></form></p>";//<span id='range'>0</span> s += "<script type='text/javascript'>"; s += "function showValue()";//newValue s += "{"; s += " ";//document.getElementById('range').innerHTML=newValue; s += " document.state.dimOutputId.value = document.state.dimInputId.value;"; s += " document.forms['state'].submit(); }";// document.forms['state'].submit(); s += "</script>";// s += "<p>Change to <form name='state' action='gpio' method='get' autocomplete='on' ><input type='range' name='state_dimmer' id='dimInputId' min='0' max='90' step='10' value='0' oninput='showValue()'>" ; // s += "<output name='dimOutputName' id='dimOutputId'>0</output></form></p>";// //s += "<input type='submit' value='Submit'></form></p>";//<span id='range'>0</span>// s += "<script type='text/javascript'>";// s += "function showValue()";//newValue// s += "{";// s += " ";//document.getElementById('range').innerHTML=newValue;// s += " document.state.dimOutputId.value = document.state.dimInputId.value;";// s += " document.forms['state'].submit(); }";// document.forms['state'].submit(); // s += "</script>"; server.send(200, "text/html", s);}

    View Instructable »
  • 1502santosh commented on diy_bloke's instructable Arduino Controlled Light Dimmer1 year ago
    Arduino Controlled Light Dimmer

    hi can I use BT136 in place of tic 206

    Thanks a lot for your help.. highly appreciated.

    View Instructable »
  • 1502santosh commented on diy_bloke's instructable Arduino Controlled Light Dimmer1 year ago
    Arduino Controlled Light Dimmer

    hi sir I have tried a lot with the node mcu but haven't achived any success can you please provide the code

    View Instructable »
  • 1502santosh commented on diy_bloke's instructable Arduino Controlled Light Dimmer1 year ago
    Arduino Controlled Light Dimmer

    hi jack thanks a lot for the code I am using it, but there are two # include, the file name is not there so I am puzzled which library to include.And at BLYNK_WRITE(V12) //Button Widget is writing to pin V12it is showing error exit status 1expected constructor, destructor, or type conversion before '(' token.in my country it is 220V/50HZ so do I need to change in microseconds.plz help ill be very thankful to you

    View Instructable »