www.mcThings.com mcSens Product Specification REVISION 0.2 MAY 06, 2020 ©2020 mc-Things Inc.
Contents 1. DEVICE OVERVIEW ................................................................................................................................ 3 2. PRODUCT FEATURES .......................................................................................................................... 5 2.1 mc-Air™ LPLAN™ .............................................................................................................................. 5 2.2 ARM Cortex-M4F Processor ............................
1. DEVICE OVERVIEW The mcSense is an affordable, ultra-low-power indoor/outdoor remote sensor that lets you wirelessly collect and deliver data to the cloud. This built to last, pocket-sized Internet of Things device is a fully pre-programmed (and programmable), scalable and manageable solution that lasts for up to 5 years on 2 x AA batteries. Featuring various onboard sensors the mcSens can monitor multiple variables, from anywhere, and deliver that information to the cloud.
www.mcThings.com mcAir mcSens ARM LED BUTTON HUMIDITY SENSOR GPIO 3 Axis ACCEL HI-Z INPUT HIGH ACCURACY TEMPERATURE SENSOR POWER CONTROL LIGHT SENSOR Figure 1-1: mcSens Block Diagram Table 1-1: Key Components Key Components Application Processor mc-Air Wireless LPLAN Operating System Humidity Sensor Accelerometer Temperature sensor Ambient Light Sensor 32-bit ARM Cortex M4F Ultra low power mc-Air wireless technology over 2.4GHz.
2. PRODUCT FEATURES 2.1 mc-Air™ LPLAN™ The mc-Air™ LPLAN™ (Low Power Local Area Network) is a new protocol specifically designed for the Internet of Things. Using a high performance 2.4GHz onboard PCB antenna with a gain of +3.3dB allows distances of up to 200m between the mc-Modules™ and mc-Gateway™ using very little power. 2.2 ARM Cortex-M4F Processor The ARM Cortex-M4F Processor runs the mc-OS™ operating system.
mcScript User Guide can be found here: https://www.mcthings.com/wp-content/uploads/files/mcScript/mcScript-User-Guide.pdf 2.4 mcCloud mcCloud is a cloud computing service that provides “Platform as a Service” (PaaS). The service includes features for authoring, modifying, compiling, refactoring, deploying and debugging applications. The platform manages the hardware and includes authentication, security, provisioning and large scale deployment so customers can manage millions of devices on the fly.
2.5 Humidity Sensor The sensor is a BME280 is a combined digital humidity, pressure and temperature sensor based on proven sensing principles. The humidity sensor communicates via 12C (address 0x77) Features include: 0% to 100% relative humidity 300 to 1100 hPa pressure The datasheet for this device can be found here: https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bme280-ds002.pdf Figure 3-1: Humidity Schematic 2.
Figure 3-1: Accelerometer Schematic Refer to the example project in mc-Studio for proper usage of the accelerometer. 2.7 Button There is one (1) button available for user input. The button is NO (Normally Open) and the processor enables an internal pullup so the button is an active low device as shown in Figure 3-6. Figure 3-6: Button Schematic Monitoring of this button is built into mc-Studio which is shown in Figure 3-7.
2.8 LED There is on active high LEDs available for visual indication, a red LED as shown in Figure 3-8. Figure 3-8: LEDs Schematic Control of the LEDs is built into mc-Studio which is shown in Figure 3-9. 1 2 3 4 Shared Event blinkLEDs() RaiseEvent Every 500 milliSeconds LedGreen = Not LedGreen //toggle green LED LedRed = Not LedRed //toggle red LED End Event Figure 3-9: LED mc-Script 2.9 GPIOs There are 9 General Purpose Input/Output Pins on the mcMod110.
2.9.1 Digital Inputs Any of the 9 GPIOs may be configured as digital inputs. There are five different input configurations as shown in Table 3-2.
2.9.3 Analog Inputs There are 6 pins that may be configured as analog inputs, 2 of which offer high impedance connections, as shown in Table 3-3. Table 3-3: Analog Pins Parameter ADC Pin ADC Voltage Range ©2020 mc-Things Inc. Value PIN4-PIN7 0V – VDD (3.
2.10 SPI Interface The SPI Master interface enables synchronous communication between the mcMod110 and peripheral devices. The parameters of the SPI interface are shown in Table 3-4.
2.11 UART Interface There UART interface can be set on any of the pins (PIN0-PIN8). The parameters of the UART interface are shown in Table 3-5. Table 3-5: UART Parameters Parameter RX Pin TX Pin Flow Control Supported Baud rates Value PIN0-PIN8 PIN0-PIN8 Not Supported 1200, 2400, 4800, 9600, 14400, 19200, 28800, 38400, 57600, 76800, 115200, 230400, 250000, 460800, 921600, 1000000 An example of UART communications is shown in Figure 3-15.
2.12 I2C Interface There is a dedicated I2C communications interface on pins SCL and SDA. This interface bus is shared with the accelerometer (Address 0x19) and temperature sensor (Address 0x48). There are 10kΩ pull-ups on included on the module. The parameters of the I2C interface are shown in Table 3-6.
Table 3-7: PWM Parameters Parameter PWM Pin Duty Cycle Frequency PWM Modules Channels per Module Value PIN0-PIN8 0-100% (resolution based on frequency) 3.8Hz to 5.333 MHz 3 4 (each channel on same module must be same frequency) An example using PWM is shown in Figure 3-17. 1 Define PinMode Pin0 As PwmOutput 3 4 5 6 7 8 Public Sub SetPwm() Dim pwm1kHz As Pwm pwm1kHz = Pwm.Create(1000) // create PWM with 1000µs period pwm1kHz.SetDutyCycle(Pin0, 200) // set PWM to 20% duty cycle on Pin0 pwm1kHz.
3. ELECTRICAL SPECIFICATIONS 3.1 Absolute Maximum Ratings Table 4-1: Absolute Maximum Ratings Absolute Maximum Ratings VDD Voltage -0.3V to +3.7V I/O Pin Voltage -0.3V to VDD Storage Temperature -40°C to +60°C NOTE: Exposure to the absolute maximum ratings for prolonged periods of time may affect long term reliability of the device. 3.2 Recommended Operating Conditions Table 4-2: Recommended Operating Conditions Recommended Operating Conditions Input Voltage +1.7V to +3.6V (+3.
4. Regulatory 4.1 FCC Notice Caution: Changes or modifications to this unit not expressly approved by the party responsible for compliance could void the user’s authority to operate the equipment. This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) this device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation.