Difference between revisions of "MCookie-Hub"

From Microduino Wiki
Jump to: navigation, search
(Pin Description)
(Pin Description)
Line 55: Line 55:
 
*ST = Sensor / Trinket Connector
 
*ST = Sensor / Trinket Connector
  
Sensor interface rules: '''GND, VCC, signal 1 and signal 2 ''' or '''GND, VCC, signal 1 and NC(empty)'''.  
+
Therefore, when referencing the sensor / trinket in code. Use the '''first''' number on the labeled header.
Hub interface rules: '''GND, VCC, signal 1 and signal 2 '''.  
+
 
*Such as:
+
In order to use the second signal. An IO splitter is used to split the signals out into two seperate connectors. More can be read about the IO splitter: '''[[Sensor-IO_Split]]'''
**Photosensitive sensor interface rules: ''GND, VCC, signal 1 and NC(empty)''. Since it is analog sensor, you can detect(A0-A7) by analog port. Seen from the picture, the hub can be connected to the location of 10, 11 and 12, and the corresponding pins are A6, A2 and A0.  
+
 
**Since the temperature and humidity sensor uses IIC interface, we can connect it to "1" or "2".
+
Some modules use both the signals 1 & 2, but they are limited. Please refer to the specific sensor / trinket page for more detailed information on a specific one.
 +
 
 +
The IIC (I2C) uses both signals, but these headers are use strictly for IIC communication.
 +
====Example====
 +
*With a [[Sensor-Light-A1|light sensor]] that is plugged into the '''A2/A3''' header. Use '''A2''' to access the light sensor.  
 +
*With an [[Sensor-LED|Single Color LED]] that is plugged into the '''6/7''' header. Use '''6''' to control the LED.
 +
 
 +
Each sensor / trinket page has more specific details to which pins are use, but the general rule is use the first signal.
 +
 
 +
 
 
[[file:mCookie-sensorhub_rule.JPG|thumb|800px|center]]
 
[[file:mCookie-sensorhub_rule.JPG|thumb|800px|center]]
  

Revision as of 21:42, 29 March 2017

Language: English  • 中文
MCookie-Hub-rect.jpg

mCookie-Hub is designed for ease of the connection between Microduino Sensor Series and the core modules on the UPIN27 base board as well as further extended experiment.

The sensor / trinket connector are 4 pin, 1.25mm pitch JST connectors.






Features

  • Integrate twelve sensor interfaces;
  • Small size with sensor interface integrated on the Upin 27 base board;
  • All function pins are extended;
  • Prevent reverse sensor connection
  • Uses 4 pin, 1.25mm pitch JST headers

Specification

  • All mCookie function pins are connected to the base board of the Hub, including digital, analog, serial port and IIC interface.
  • Hub's interface pinout per header: GND, VCC, signal 1 and signal 2.
  • Two IIC interfaces.

Pin Description

Most sensors / trinkets use the first signal (signal 1) when connecting to the sensor hub.

PinOut A PinOut B PinOut C PinOutD
Hub Header GND VCC SIGNAL 1 SIGNAL 2
ST* Connector GND VCC INPUT / OUTPUT Not connected (usually)
  • ST = Sensor / Trinket Connector

Therefore, when referencing the sensor / trinket in code. Use the first number on the labeled header.

In order to use the second signal. An IO splitter is used to split the signals out into two seperate connectors. More can be read about the IO splitter: Sensor-IO_Split

Some modules use both the signals 1 & 2, but they are limited. Please refer to the specific sensor / trinket page for more detailed information on a specific one.

The IIC (I2C) uses both signals, but these headers are use strictly for IIC communication.

Example

  • With a light sensor that is plugged into the A2/A3 header. Use A2 to access the light sensor.
  • With an Single Color LED that is plugged into the 6/7 header. Use 6 to control the LED.

Each sensor / trinket page has more specific details to which pins are use, but the general rule is use the first signal.


MCookie-sensorhub rule.JPG

Document

Development

Project

Purchase

History

Pictures

MCookie-sensorhub -F.JPG
MCookie-sensorhub -b.JPG

Video