Difference between revisions of "LoRa AC Dimmer"

From MakerFabsWiki
Jump to: navigation, search
(Hardware test)
Line 33: Line 33:
 
*Use the oscilloscope to check the output of AC dimmer.<br>
 
*Use the oscilloscope to check the output of AC dimmer.<br>
 
1. When the MCU control the dimmer to turn the output by 0%, the oscilloscope show:<br>
 
1. When the MCU control the dimmer to turn the output by 0%, the oscilloscope show:<br>
[[File:LoRa_AC_dimmer 004.jpg|500px]]
+
[[File:LoRa_AC_dimmer 004.jpg|500px]]<br>
 
2. Turn the output by 20%, the oscilloscope show:<br>
 
2. Turn the output by 20%, the oscilloscope show:<br>
[[File:LoRa_AC_dimmer 005.jpg|500px]]
+
[[File:LoRa_AC_dimmer 005.jpg|500px]]<br>
 
3. Turn the output by 45%:<br>
 
3. Turn the output by 45%:<br>
[[File:LoRa_AC_dimmer 006.jpg|500px]]
+
[[File:LoRa_AC_dimmer 006.jpg|500px]]<br>
 
4. Turn the output by 83%:<br>
 
4. Turn the output by 83%:<br>
[[File:LoRa_AC_dimmer 007.jpg|500px]]
+
[[File:LoRa_AC_dimmer 007.jpg|500px]]<br>
*There is a onboard relay to turn the dimmer on or off absolutely.<br>  
+
*There is a onboard relay to turn the dimmer on or off absolutely.<br>
 +
[[File:LoRa_AC_dimmer 008.jpg|500px]]<br>
 +
 
 
==Using Demo==
 
==Using Demo==
 
Overview: Use the Maduino LoRa Radio board to control the light connected with the AC Dimmer remotely.<br>
 
Overview: Use the Maduino LoRa Radio board to control the light connected with the AC Dimmer remotely.<br>

Revision as of 02:30, 3 August 2021

About the product

Introduce

AC dimmer is designed to control the alternating current voltage, it is used to control the LED light, electronic heating element and the AC motor. LoRa AC Dimmer module is based on Atmel's Atmega328P to control the dimmer through the PWM signal the MCU generated. The board also features the LoRa module on board that provides a solution for controlling remotely.

This is a special module that Makerfabs had burned the firmware to it before shipping. After receiving the package, it can be controlled to turn on or off, or turn the output by 35% through the Specific command, and it does not require additional programming.

Model:LoRa AC Dimmer

LoRa AC dimmer 001.jpg

Features

  • ATMEL Atmega328P: High Performance, Low Power Atmel®AVR® Classic Microcontroller
  • Speed Grade: 20Mhz
  • Flash: 32KBytes
  • RAM: 2KBytes
  • EEPROM: 1Kbytes
  • Onboard LoRa module
  • Photocoupler, 400V peak off-state voltage
  • With integrated Phase detection and Zero Crossing Detection processing
  • 5V Relay for shutting off absolutely
  • Fuse with 250V and 1.5A


Interfaces

LoRa AC dimmer 002.jpg

Preparation before using

Note: Safety First.

  • Prepare another LoRa terminal for transmitting commands to control the AC Dimmer.

Hardware test

  • Use the oscilloscope to check the output of AC dimmer.

1. When the MCU control the dimmer to turn the output by 0%, the oscilloscope show:
LoRa AC dimmer 004.jpg
2. Turn the output by 20%, the oscilloscope show:
LoRa AC dimmer 005.jpg
3. Turn the output by 45%:
LoRa AC dimmer 006.jpg
4. Turn the output by 83%:
500px

  • There is a onboard relay to turn the dimmer on or off absolutely.

LoRa AC dimmer 008.jpg

Using Demo

Overview: Use the Maduino LoRa Radio board to control the light connected with the AC Dimmer remotely.
LoRa AC dimmer 003.jpg

  • Use the CP2104 tool to connect the board with the PC.
  • Program the AC dimmer board by Arduino.
1. You can get the demo code from Github.
2. Open the code with Arduino.
3. Select the development board (Arduino Pro Mini) and the port.
4. Install the library (RadioLib.h) for the LoRa module driver.
5. Remember to modify the frequency to your modules at the code.
6. Verify the code and upload it to the board.
  • Program the Maduino LoRa radio board to be the controller.
1. Get the code from here.
2. Open the code with Arduino.
3. Select the development board (Arduino Pro Mini) and the port.
4. Upload the code to the board.
  • Connect the light to the screw terminals of the output, plug the Live line and Null light to the input with cutting off the power. Please note that all operations must be on the power cutting off.
  • Power on the LoRa AC dimmer.
  • Power on the Maduino LoRa radio board with the Micro USB cable connecting the PC. Open the serial monitor of the Arduino IDE, and transmit the data to control the Dimmer.

F&Q

You can list your question here or contact support@makerfabs.com for technology support. Detailed descriptions of your question will be helped to solve your question.

Recources