ARMTRONIX WIFI SINGLE Dimmer Board V0.2

6,666

35

41

Armtronix Wifi dimmer is a IOT board it is designed for home automation.The features of the board are:

  1. Wireless control
  2. Small form factor
  3. On board AC to DC power supp1y 230VAC to 5V DC.
  4. DC virtual switch

The size of the board is 61.50mmX32mm, as its shown in diagram1 ,has a capacity to drive 1 Amps load. The board has the Wifi module and microcontroller(atmega328) which is used to control the triac through HTTP or MQTT. The board has DC virtual switch which can be used to control on and off.

The board also has Power module AC to DC of 100-240VAC to 5V up to 0.6A, triac BT136 and Terminal connector. There is Zero cross detection is also available.There is one triac used both for dimming and for switching.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Header Details

The diagram2 gives the details of the headers and terminal blocks

To board 230VAC is applied to the input terminal block and load is applied to the output terminal block.

On the board J3 header is used for the dc virtual switch the header details can be referred form the diagram4.First pin is vcc3.3v, second pin is atmega pin pco for arduino programming we need to use A0 and third pin is ground .For dc virtual switch we are using only second pin i.e A0 and third pin i.e ground , this is mentioned in the diagram3 for connection of virtual switch.

Step 2: Programming Details

J1 Header is used to upload the firmware to ESP or atmega through the FTDI Module, details of headers can be found in the diagram4. After making connection, connect to the USB port to computer and intial we need to install the driver to detect it detect the com port , in this way user can upload the firmware.

To upload the new firmware to esp using FTDI make the following connection

  1. Connect the RX of FTDI to TXDE pin of J1
  2. Connect the TX of FTDI to RXDE pin of J1
  3. Connect the RTS of FTDI to RTSE pin of J1
  4. Connect the DTR of FTDI to DTRE pin of J1
  5. Connect the Vcc5V of FTDI to VCC5v pin of J1
  6. Connect the GND of FTDI to GND pin of J1

Similarly to upload the firmware to the atmega make the following connection

  1. Connect the RX of FTDI to TXDA pin of J1
  2. Connect the TX of FTDI to RXDA pin of J1
  3. Connect the DTR of FTDI to DTRApin of J1
  4. Connect the Vcc5V of FTDI to VCC5v pin of J1
  5. Connect the GND of FTDI to GND pin of J1

After programming both ESP and Atmega we have to establish connection between ESP and Atmega by shorting pins 3-4 of J1 header and 5-6 of J1 header using jumpers setting.

Step 3: Wiring

The wiring diagram is shown in the diagram3 to input terminal block 230VAC Phase(P) and Neutral(N) is given .The output can be used as dimmer to the dimmable light to control the intensity of light and also to control the speed of fan . The output also be controlled via DC virtual switch as shown in the diagram3 GPIO A0 second pin of J3 header of atmega is used for virtual switch and J3 header third pin Ground is also used to connect virtual switch.

For configuration refer this configuration link

Be the First to Share

    Recommendations

    • CNC Contest

      CNC Contest
    • Make it Move

      Make it Move
    • Teacher Contest

      Teacher Contest

    41 Discussions

    0
    None
    nannileo

    Question 4 months ago on Introduction

    Hello I have a problem with version 0.3 of the dimmer board, do I need to set the switch j3 pin as a button function? It's possible ? Holding the button down I raise or lower the intensity of the light.
    Thanks Leonardo

    4 answers
    0
    None
    nannileonannileo

    Reply 4 months ago

    Flashing the tasmota and atmel firmware now how do I turn the switch j3 from a push button switch.
    thank you

    0
    None
    Armtronixnannileo

    Reply 4 months ago

    can you plz email us . There are two types of 0.3 version (one with atmega and the other without ).Tasmota is only for the version with microcontroller . plz email us on sales@armtronix.in . Some one from our team will be able to guide you

    0
    None
    1502santosh

    6 months ago

    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/DNS
    Mqtt Publish topic
    Mqtt subscribe topic

    what to fill in this. i do have some key and user name from adafruit where to place which i dont know please help

    3 replies
    0
    None
    Armtronix1502santosh

    Reply 6 months ago

    you cant directly connect it with google home . You need openhab to do that . For mqtt you need a broker

    0
    None
    1502santoshArmtronix

    Reply 6 months ago

    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

    0
    None
    BenD177

    Question 7 months ago

    Hi I've just purchased one of these and the layout is slightly different, not a problem overall, but the programming pins are now only a 4x2 and not 5x2 as the diagram above. Do you have an up to date reference chart for the pins please! Thanks

    7 answers
    0
    None
    BenD177BenD177

    Reply 7 months ago

    so pin configuration found, but the thing I can't work out is how to put this into flashing mode. I've tried ever combination of holding the button and power, as well as J1 jumper on and off. Every time, the little blue led just keeps intermittently flashing at me and the warning: espcomm_sync failed error means that something is wrong. I've got a UART with DTR and CTS (not RTA) but from my reading I think it's the same thing. Any help would be appreciated.

    0
    None
    ArmtronixBenD177

    Reply 7 months ago

    It has the auto reset function circuit . So u don't need to press any button.
    From the above comment u have the wrong USB to uart converter , meaning u need DTR , RTS not CTS . RTS is not equal to CTS . Also the board comes pre loaded so u can first test the board than change the code .

    0
    None
    BenD177Armtronix

    Reply 6 months ago

    Thanks for setting me right on that. I got a new UART with RTS and DTS and connected everything up as per the instructions, but I still get the same errors:
    warning: espcomm_sync failed
    error: espcomm_open failed
    error: espcomm_upload_mem failed
    *** [upload] Error 2

    I'm using PlatformIO not Arduino IDE but I've successfully flashed a different ESP module using this set up so I'm fairly sure it's not code or my hardware related. Any tips?

    Also, I can see the ESP working through the monitor screen, so I know there isn't anything wrong with the board or the coms link - but perhaps I'm not doing the RTS DTS connection right?

    0
    None
    ArmtronixBenD177

    Reply 6 months ago

    Chk what type of a board you are picking from the board manager , board should be nodemcu 0.9 or nodemcu 1.0 .

    0
    None
    BenD177Armtronix

    Reply 6 months ago

    yes, it's the node MCU 0.9

    I even see the ESP blue light flash a couple of times when the upload tries to start.

    0
    None
    ArmtronixBenD177

    Reply 6 months ago

    Unless there is some wrong connection or on connecting CTS last time some transistor has gone bad it should upload without any issue . The other way is to use generic esp as the board . Short gpio0 to ground reset/ power on the board while doing it should help you in uploading. You plz share some photos of it via watsapp . You can get our watsapp number from the website armtronix.in

    0
    None
    VucomirI1Armtronix

    Reply 8 months ago

    Hi IOUNESSD,

    can you post the steps to flash Tasmota on the board, do you need to flash the Atmega also or just ESP?

    Thanks.
    Br,
    Vuko