Sale!

I/O Hub 1 to 6 Expansion Board Grove I/O Interface for Blockly Development IoT MEGA328 Module

Original price was: $88,01.Current price is: $36,88.

2000 in stock

SKU: 1526358BANG Category:

Description

Description: PbHUB, is a expander for singel-bus GROVE PORTB(Black port on M5GO Base). 1-to-6. PortB can be used as GPIO and analog in two data lines connected to GPIO36 and GPIO26 on ESP32. Same as PaHUB, it provides a solution for mutiple device control by PORTB. With PbHUB each of the IO can be configurated to input, output and analog in as you like. Unfortunatly this Unit is unnested. It is build with a MEGA328, with a simple driver firmware inside. Notice: 1: Please pay attention to the channel order while programing 2: Not all M5Units with PortB(Black) is able to extended by PbHUB. PbHUB can only apply to basic single-bus communication like digital read and write, analog read and write, which is implemented by I2C protocol(MEGA328 inside).The mechanism of PbHUB as an extension of PortB which inplement the single-bus data transfer, is using the resource on Mega328 include GPIO, AD, DA ports, to inplement the functionality of digital read and write , analog read and write. So there must be exceptions in which case a PbHUB is not a option. For example, PortB M5Unit like WEIGH (HX711 inside), whose communication protocol is applied more than just anglog read, instead with a timing order. In that case PbHUB can’t be helpful dirving those device or sensor.  Product Features:

  • Single-Bus GROVE PORTB Expander
  • Two Leigo-compatible holes
  • 1-To-6

Package Included:

  • 1x PbHUB Unit
  • 1x Grove Cable

 Code: Driver firmware - PbHUBTest code - PbHUBprotovol type - I2Caddress - 0x61Set oneLED Color* : LED address(2bytes) + RGB value(3bytes)Set moreLED Color* : LED start address(2bytes) + LED end address(2bytes) + RGB value(3bytes)tateIO0 Digital WriteIO1 Digital WriteIO0 Analog WriteIO1 Analog WriteIO0 Digital ReadIO1 Digital ReadIO0 Analog ReadreserveSet Neopixle NumSet oneLED Color*Set moreLED Color*Set Brightnessr/wwwwwrrrrwwwwdata length (Byte)1111112/2571ch0 cmd404142434445464748494A4Bch1 cmd505152535455565758595A5Bch2 cmd606162636465466768696A6Bch3 cmd707172737475767778797A7Bch4 cmd808182838485868788898A8Bch5 cmdA0A1A2A3A4A5A6A7A8A9AAABRelated Link: