

Screw the back-box in position (see picture on right). This board has eight onboard 12V relays that can switch up to 7A load. The BiWire Ultra output relay module is designed to provide a simple means of interfacing. Numato’s 8 Channel Bluetooth Relay Module provides exceptional value for money. Individual relay can be controlled by simple commands. This module is designed to plug into your design seamlessly.

#relay 8 on s = board.write('x80') time.sleep(2) #relays 1 and 2 on s = board.write('x03') time.sleep(2) #all relays off s = board.write('x00') time.sleep(2) board.close()except Exception as e: print ('Unable to get the BitMode of the device.') print (e) board.Request For Quote Wanna Customize? Drop Us A Line!Ĩ Channel Bluetooth Relay Module is great for controlling your devices over the Bluetooth link without any RF design knowledge. Connect the signal terminal IN4IN5 of 8-channel relay to digital port 3,2 of the SunFounder Arduino Mega2560 board, and connect an LED at the output terminal.Pay attention to that there are only two submodules of the 8-channel relay are used in this example, but you can use the 8 submodules freely. Please post how to 'tBitMode(0xFF,0x4)' via pyserial, so I can remove ftd2xx dependencyTested on: python3.4, Win 10Packages: pip install ftd2xxcode:import ftd2xximport sysimport osimport timeos.system('cls')dev = Nonetry: dev = ftd2xx.listDevices() if (None != dev): print ('FTD2xx device available.') else: print('No FTD2xx devices available, please check that its plugged in.')except: print ('No FTD2xx devices available, please check that its plugged in.') exit()try: board = ftd2xx.open(dev = 0 ) print ('Connection to FTD2xx successful!')except: print ('Something went wrong trying to open communication with the FTD2xx device.') exit()try: m = board.getBitMode() tBitMode(0xFF,0x4) board.resetDevice() m = board.getBitMode() #all relays off s = board.write('x00') time.sleep(2) #relay 1 on s = board.write('x01') time.sleep(2) #relay 2 on s = board.write('x02') time.sleep(2) #relay 3 on s = board.write('x04') time.sleep(2) #relay 4 on s = board.write('x08') time.sleep(2) #.
