Driving High voltage loads with optoisolated 220VAC/16A switch by Arduino and OLinuXino

eduArdu is educational low cost Arduino board, it has plenty of resources like: LED 8×8 display, Joystick, Buzzer, Microphone, temperature sensor, Ultrasound distance meter, PIR sensor, IR emitter and receiver, Capacitive buttons, RGB LED, Lipo charger for stand alone work.

Here we will show you how you can drive high voltage loads like lamps, heaters etc with PWR-SWITCH connected to eduArdu.

Plug PWR-SWITCH in mains and the object you want to control plug in PWR-SWITCH receptacle.

Then connect “-” termianl of PWR-SWITCH input to eduArdu UEXT.pin2 and “+” terminal of PWR-SWITCH input to eduArdu UEXT.pin4.

In Arduino IDE make this program:

void setup() {
   pinMode(0, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
   digitalWrite(0, HIGH); // turn the PWR-SWITCH on
   delay(5000); // wait for a 5 seconds
   digitalWrite(0, LOW); // turn the PWR-SWITCH on
   delay(5000); // wait for a 5 seconds
}

The Lamp will start to blink 5 seconds on and 5 seconds off.

You can drive high voltage loads with A20-OLinuXino-LIME2 + LIME2-SHIELD:

In this setup connect “-” termianl of PWR-SWITCH input to LIME2-SHIELD GPIO.pin9 and “+” terminal of PWR-SWITCH input to LIME2-SHIELD GPIO.pin7 (GPIO271 in Linux) and you can use this code to switch on and off PWR-SWITCH:

echo 271 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio271/direction

echo 1 > /sys/class/gpio/gpio271/value

echo 0 > /sys/class/gpio/gpio271/value

or you can use Python and pyA20LIME2:

!/usr/bin/env python
from pyA20Lime2.gpio import gpio
from pyA20Lime2.gpio import port
from pyA20Lime2.gpio import connector
gpio.init() #Initialize module. Always called first
gpio.setcfg(port.PI15, gpio.OUTPUT)

gpio.output(port.PI15, gpio.HIGH)
gpio.output(port.PI15, gpio.LOW)

Seven new version of ESP32 modules are add to our web shop

esp32-wroom-32-01-2

We add to our web shop seven new ESP32 modules:

ESP32-WROOM-32D-4MB – this is equal to used by us ESP32-WROOM-32, it uses D0WD instead of D0WDQ6 which is with smaller size and Espressif recommend it for new designs.

ESP32-WROOM-32D-16MB  has 16MB of Flash

ESP32-WROOM-32D-4MBHT is High temperature +105C module for demanding applications.

ESP32-WROOM-32U-4MB is with U.FL connector for external antenna

ESP32-WROOM-32U-16MB has 16MB of Flash

ESP32-WROOM-32U-4MBHT is High temperature +105C module for demanding applications.

ESP32-WROVER-4MB has 4MB Flash and 8MB of PSRAM.

The high temperature modules are still not in stock as Espressif manufacture these now, but all others are in stock.

It’s a pleasant surprise to see our AM3352-SOM in High-End Audio product at M.O.C. Messegelände München

audio

audio2

audio3.jpg

It was noticed by our friend and Audiophile Boris Ribov from Technical University in Plovdiv, who went to visit M.O.C. Messegelände München.

Our guess is AM3352-SOM is used as communication board there handling USB, Ethernet etc communication.