Sparekleiot Smart Plug for Apple Homekit

Specification:
Input: 110-250V, 50/60Hz
Output: 110-250V, 50/60Hz, 10A maximum load
Max power:2000W
Button: On/Off Button, press and hold for 5 seconds to initiate factory reset process(LED blink fast)
Wi-Fi Required: WiFi 802.11 b/g/n 2.4G (2.4G ONLY)
Compatible with:Apple Homekit
APP: Home
Voice control: Siri
Works with:iPhone/iPad

Please connect your iPhone/iPad with 2.4G WiFi network, open iPhone/iPad Bluetooth


After power it, long press the button of smart plug over 5S until you see the indicator light blink fast

Open Home APP, click icon “+” to Add or Scan Accessory, scan the QR code of the plug


It will take a few seconds to add the switch:

Once added successfully, it will show below page:

You can choose the switch location and rename the switch



At last you can add it to home

You can control it by hand in APP or by Siri

Automation:
You can add HomePod、HomePod mini、Apple TV、or iPad as the center of your home. Control Homekit-enabled accessories remotely, grant access to the people you trust, and automate accessories to do what you want, when you want.
How to set up a home hub?
https://support.apple.com/en-us/HT207057

FAQ
Q: How to reset the plug to the default factory mode?
A: Long press the button of the smart plug over 5s and the indicator light will blink fast.

Q: Does this plug have Homekit Certification?
A: Yes, it has

Q: Does it work with 5G Router?
A: This Homekit Smart Plug does not support 5G router, it only support 2.4G router. If your router is dual frequency, please set different passwords for 2.4G signal and 5G signal or turn off 5G signal. Please remember do not open the function of dual-frequency combination.

Q: It said: Unable to add Accessory Connect to a 2.4GHz WLAN network and try again. How to solve this problem?
A: Please connect your phone with 2.4GHz WiFi network.

AI-THINKER ESP32-CAM Video Streaming

What you need:
1 X ESP32-CAM
1 X FTDI Module
1 X 5P Female to Female Dupont Cable
Connection:


In your Arduino IDE, go to File > Examples > ESP32 > Camera and open the CameraWebServer example.

The following code should load.

Before uploading the code, you need to insert your network credentials in the following variables:

Make sure you select the right camera module. In this case, we’re using the AI-THINKER Model.
So, comment all the other models and uncomment this one:

Go to Tools > Board and select AI-Thinker ESP32-CAM.
Go to Tools > Port and select the COM port the ESP32 is connected to.
Then, click the upload button to upload the code.
When it always show connecting………..,
1) please make sure GPIO 0 and GND are connected
2) press the ESP32-CAM on-board RST button
After uploading the code, disconnect GPIO 0 from GND.

Open the Serial Monitor at a baud rate of 115200. Press the ESP32-CAM on-board Reset button.
The ESP32 IP address should be printed in the Serial Monitor.

The IP address I got is http://192.168.0.186, copy it and paste it to browser, then you can see below page, also you will see the print information of Arduino serial monitor window:

 

 

 

DIYmall Laser Transmitter Receiver Module Buzzer with Arduino

What you need:
1PCS Arduino UNO
1PCS  Laser Transmitter Sensor
1PCS  Laser Receiver  Sensor
1PCS Buzzer
A Few PCS Female to Male Dupont Cable

Connection:
Laser Transmitter Sensor                Arduino UNO
S                                                                       D12
+                                                                       5V
–                                                                        GND

Laser Receiver  Sensor                Arduino UNO
S                                                                       D2
+                                                                       5V
–                                                                        GND

Buzzer                                                   Arduino UNO
–                                                                     GND
+                                                                      D8

Code:

int Active = 8;
int LaserSensor = 2;
int SensorReading = HIGH;
int Laser = 12;

void setup() {
pinMode(Active, OUTPUT);
pinMode(Laser, OUTPUT);
pinMode(LaserSensor, INPUT);

}
void loop() {
digitalWrite(Laser, HIGH);
delay(50);
SensorReading = digitalRead(LaserSensor);
if(SensorReading == (HIGH)

{
digitalWrite(Active, HIGH);
}
else
{
digitalWrite(Active, LOW);
}
}

Result:  
When there is an obstacle, the buzzer will turn on
When there is no obstacle, the buzzer will turn off

Where to buy:
Amazon Link:
https://www.amazon.com/dp/B07FQ6696X

https://www.amazon.com/dp/B07H95679S

Website Link:

Alibaba Link:

Aliexpress Link:

eBay Link:

 

Any question please email sales@diymalls.com

USBASP

Driver link: https://zadig.akeo.ie/

Video link: https://youtu.be/54cAKaolOQY

Connection like below, then connect it to the PC USB interface:
You can use 2.54mm Pitch Jumper Cap or DuPont Cable

Install driver: Driver name is Zadig
Options-choose List All Devices

Choose USBasp,  Driver libsubK(v3.0.7.0) , you need click the drop-down menu to choose the correct driver

 

After install the driver successfully,  you can open device manger and see the device as below:

 

Open AVRDUDESS and setting as below:
Programmer: Uptanium USBASP
Port: usb
MCU: ATmega8
Flash: choose hex you want to use
Click Detect, then click Go
Please pay attention about the print information in the window

 

It will show writing …   Reading…, once done it will show avrdude.exe done.  You can check the details as below:

Any question please contact via sales@diymalls.com
Website: www.diymalls.com

How to Flash STM32F103CBT6

Connection: LORAM3 and ST-link
GND -GND
3V3-3V3
DIO-DIO
CLK-CLK

Open software STM32 ST-LINK Utility, click target-connect

Then click target-program

Then choose flash file and click start