Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mcThings

Pages: 1 [2] 3 4 5
16
New Version Releases / New version of mc-Studio available (v0.7.904)
« on: November 14, 2016, 03:48:00 pm »
We have just released a new version of mc-Studio (v0.7.904). You can download this new version and view the change logs on our website at the following:

www.mcthings.com/downloads/

Please update to the latest version of mc-Studio.

17
We have just released firmware updates for both the the mc-Gateway Application (V0.6-363) & Host (V0.7-417) files. You can find the new .bin file and change logs on our website at the following:

www.mcthings.com/downloads/

Please update to these latest versions.

18
We have just released a firmware update for the mc-110 (v0.7-372) & mc-120 (v0.7-411) modules which includes bug fixes. You can find the new .bin file and change logs on our website at the following:

www.mcthings.com/downloads/

Please update to this latest version.

19
Video Support / Wireless IoT Rain Sensor Demo
« on: October 26, 2016, 03:15:01 pm »
In this video Tom Edworthy goes through the implementation of a wireless IoT rain sensor system using the mc-Module 110 (also compatible with the mc-Module 120).  Near the end of this video demonstration Tom shows the system in action by sending response data through the MQTT IoT app for Android.

https://youtu.be/Uxry7aGb2V4

Links to both the rain sensor and MQTT Iot app below:

Rain Sensor:
http://ebay.to/2ewel62 (eBay)
http://bit.ly/2dJmu80 (Wish)
http://bit.ly/2f8dRVE (Deal Extreme)

MQTT IoT Phone App:
http://bit.ly/2eS6Fcs (Google Play)

Simple Code:
Code: [Select]
Define PinMode Pin0 As AnalogInput Alias RainLevel
Define PinMode Pin6 As DigitalOutput Alias enableRainLevel
Class RainSensor   
    Shared Event measureRainLevel2() RaiseEvent Every 30 Seconds
       
        enableRainLevel = True 'turn on voltage divider
        Thread.Sleep(40000) 'sleep 40ms for voltage to stabilize
        Dim voltage As Short = RainLevel
        Dim payload As ListOfByte = New ListOfByte
        Dim payString As String = ""
        If voltage > 1076 Then
            payString = "Dry"
        ElseIf voltage <= 1075 Then               
            payString = "Raining/Wet"
        Else
        End If
       
        enableRainLevel = False 'turn off voltage divider
        payload.Add(payString)
        Lplan.Publish("mcThings/RainLevel2", payload)
    End Event
    'the following will check the battery voltage and will alert if low via IFTTT
    Shared Event measureVoltage() RaiseEvent Every 12 Hours
       
        Dim BattVolt As Short = Device.BatteryVoltage
       
        If BattVolt < 2200 Then
            Lplan.IFTTT("YOURIFTTTKEYHERE", "RainSensor2Batt")
        Else
           
        End If
       
    End Event
End Class

Complex Code:
Code: [Select]
Define PinMode Pin0 As AnalogInput Alias RainLevel
Define PinMode Pin6 As DigitalOutput Alias enableRainLevel
Class RainSensor   
    Shared Event measureRainLevel() RaiseEvent Every 30 Seconds
       
        enableRainLevel = True 'turn on voltage divider
        Thread.Sleep(40000) 'sleep 40ms for voltage to stabilize
        Dim voltage As Short = RainLevel
        Dim payload As ListOfByte = New ListOfByte
        Dim payString As String = ""
        If voltage > 1076 Then
            payString = "Dry"
        ElseIf voltage <= 1075 And voltage >= 801 Then
            payString = "LightRain"             
        ElseIf voltage <= 800 And voltage >= 651 Then
            payString = "MediumRain"               
        ElseIf voltage < 650 Then
            payString = "HeavyRain"
        Else
        End If
       
        enableRainLevel = False 'turn off voltage divider
        payload.Add(payString)
        Lplan.Publish("mcThings/RainLevel", payload)
    End Event
    'the following will check the battery voltage and will alert if low via IFTTT
    Shared Event measureVoltage() RaiseEvent Every 12 Hours
       
        Dim BattVolt As Short = Device.BatteryVoltage
       
        If BattVolt < 2200 Then
            Lplan.IFTTT("YOURIFTTTKEYHERE", "RainSensorBatt")
        Else
           
        End If
       
    End Event
End Class

20
We have just released a firmware update for the mc-110 (v0.7-371) & mc-120 (v0.7-410) modules. This update includes both new features and bug fixes. You can find the new .bin file and change logs on our website at the following:


Please update to this latest version.

21
Announcements / Asset Tracking with the new mc-Demo205
« on: September 19, 2016, 04:30:31 pm »
In this video we show some of the versatility of the newly released mc-Demo205 from mc-Things!

Attaching the mc-Demo205 to livestock mc-Things will showcase the built in asset tracker. The device will then relay information via SIGFOX RCZ2 and RCZ4 regions back to the cloud!

The mc-Demo205 is the perfect device for all asset tracking and countless other use-cases. With its extreme flexibility and ability to connect with almost any other sensor or device this proof of concept and prototyping device has endless opportunities.

https://youtu.be/lf9ILWokMy4

22
Video Support / Explore the mc-Demo 205 in this video product brief.
« on: September 01, 2016, 05:01:48 pm »
Explore and better understand the mc-Demo 205 in this video product brief!

https://www.youtube.com/watch?v=l6gb7gYfPQY

23
mc-Things is proud to introduce the NEW mc-Demo205 device!

The mc-Demo205 is the world’s most powerful IoT device. It combines SIGFOX™, GNSS, and the new mc-Air™ Low Power LAN protocol into one device.

This device is SIGFOX™ ready to provide global cellular connectivity on the dedicated SIGFOX™ network, specifically designed for IoT. The multi-constellation GNSS receiver ensures the fastest and most accurate location acquisition with minimum power consumption.

Integration with mc-Studio™ ensures the fastest and most reliable IoT application development and deployment. Multiple sensors, interfaces, and I/O’s provide measurement and control capabilities to solve any IoT problem.

Features Include:
- Latest generation GNSS receiver
- Low-power Accelerometer
- High Accuracy Temperature sensor
- SPI, UART and I2C interfaces
- Breakout pins
- Expansion board for WIFI geolocation module (coming soon!)
- SIGFOX and mc-Air ready!

Learn more online: www.mcthings.com
https://youtu.be/3YPZ6r_g0ok

24
Announcements / Introducing the NEW mc-Demo205
« on: August 26, 2016, 05:23:02 pm »
mc-Things is proud to introduce the NEW mc-Demo205 device!

The mc-Demo205 is the world’s most powerful IoT device. It combines SIGFOX™, GNSS, and the new mc-Air™ Low Power LAN protocol into one device.

This device is SIGFOX™ ready to provide global cellular connectivity on the dedicated SIGFOX™ network, specifically designed for IoT. The multi-constellation GNSS receiver ensures the fastest and most accurate location acquisition with minimum power consumption.

Integration with mc-Studio™ ensures the fastest and most reliable IoT application development and deployment. Multiple sensors, interfaces, and I/O’s provide measurement and control capabilities to solve any IoT problem.

Features Include:
- Latest generation GNSS receiver
- Low-power Accelerometer
- High Accuracy Temperature sensor
- SPI, UART and I2C interfaces
- Breakout pins
- Expansion board for WIFI geolocation module (coming soon!)
- SIGFOX and mc-Air ready!

Learn more online: www.mcthings.com

https://youtu.be/3YPZ6r_g0ok

25
Video Support / Moisture Control Demo Video
« on: August 17, 2016, 02:05:02 pm »
Hey Guys! We have recently updated a new innovation video targeting moisture control!

Check it out here! 

https://youtu.be/ZIvtMaYGKtw

26
Video Support / Light Sensor Demo Project
« on: July 19, 2016, 11:23:42 am »
Light Sensor Demo Project
In this project we showcase the use-case of a light sensor that is soldered into a mc-module. We go through the soldering process and allow you to see the mc-studio code. You can find the full code posted below.

https://youtu.be/X92i4d88FVE

Code: [Select]
Define PinMode Pin0 As AnalogInput Alias lightVoltage

Define PinMode Pin6 As DigitalOutput Alias enableLightVoltage   

Class LightVideo         

Shared Event measureLight() RaiseEvent Every 50 milliSeconds                 

enableLightVoltage = True 'turn on voltage
divider         

Thread.Sleep(20000) 'sleep 20ms for
voltage to stabilize         

Dim voltage As Short = lightVoltage         

If voltage > 900 Then             

LedRed = True                     


Else             

LedRed = False                     

End
If                 

enableLightVoltage = False 'turn off voltage
divider     

End Event     

Shared Event sendMQTT() RaiseEvent Every 1 Minutes         

LedRed = True                 

Dim
payload As ListOfByte = New ListOfByte()       

Dim TempC As Float = TempSensor.GetTemp
       
Dim TempString As String = TempC.ToString()
               
payload.Add(TempString)
               
Lplan.Publish("mcThings/OutsideTemp", payload)                 

LedRed
= False     

End Event     

Shared Event measureVoltage() RaiseEvent Every 2 Hours                 


Dim
BattVolt
As Short = Device.BatteryVoltage                 

If BattVolt < 2200 Then             


Lplan.IFTTT("YOURUNIQUEIFTTTKEYHERE", "OutsideBatt")         

Else                     


End
If             

End Event

End Class

27
Video Support / The mc-Dev Board Introduction
« on: July 19, 2016, 11:18:10 am »
The mc-Dev Board Introduction
In this video we have Tom and Josh introducing the re-designed mc-Dev board. Josh will go over functions and values of this product. The guys will then showcase a use-case.
 
Follow below to gain the code for the use-case shown in the video.

The code will also be posted in our forum that can be accessed through our website.

Cheers
- The mc-Team

https://youtu.be/b6JoMtgul4M

Code: [Select]
Define PinMode Pin2 As AnalogInput Alias lightVoltage
Define PinMode Pin3 As DigitalOutput
Define PinMode Pin4 As DigitalOutput
Define PinMode Pin5 As DigitalOutput
Define PinMode Pin6 As DigitalOutput
Define PinMode Pin7 As DigitalOutput
Define PinMode Pin8 As DigitalOutput
Class ldrTest
Shared Event Boot()
Pin3 = False
Pin4 = False
Pin5 = False
Pin6 = False
Pin7 = False
Pin8 = False
LedRed = False
LedGreen = False
End Event
Shared Event measureLight() RaiseEvent Every 50 milliSeconds
Thread.Sleep(20000) 'sleep 20ms for voltage to stabilize
Dim voltage As Short = lightVoltage
If voltage > 3000 Then
Pin3 = True
Pin4 = True
Pin5 = True
Pin6 = True
Pin7 = True
Pin8 = True
ElseIf voltage <= 3000 And voltage >= 2500 Then
Pin3 = False
Pin4 = True
Pin5 = True
Pin6 = True
Pin7 = True
Pin8 = True
ElseIf voltage <= 2499 And voltage >= 2000 Then
Pin3 = False
Pin4 = False
Pin5 = True
Pin6 = True
Pin7 = True
Pin8 = True
ElseIf voltage <= 1999 And voltage >= 1500 Then
Pin3 = False
Pin4 = False
Pin5 = False
Pin6 = True
Pin7 = True
Pin8 = True
ElseIf voltage <= 1499 And voltage >= 1000 Then
Pin3 = False
Pin4 = False
Pin5 = False
Pin6 = False
Pin7 = True
Pin8 = True
ElseIf voltage < 999 And voltage >= 500 Then
Pin3 = False
Pin4 = False
Pin5 = False
Pin6 = False
Pin7 = False
Pin8 = True
ElseIf voltage < 500 Then
Pin3 = False
Pin4 = False
Pin5 = False
Pin6 = False
Pin7 = False
Pin8 = False
Else End If End Event 'Battery check Shared Event measureVoltage() RaiseEvent Every 2 Hours
Dim BattVolt As Short = Device.BatteryVoltage
If BattVolt < 2200 Then
Lplan.IFTTT("mjgu7QocyzTNDUbzgitzHxBYPFaXckJrJ2LbLq8XMMg", "GarageBatt")
Else
End If
End Event
End Class

28
Video Support / mc-Things MQTT Reed Switch Example
« on: July 19, 2016, 11:12:03 am »
mc-Things MQTT Reed Switch Example
In this video Tom Edworthy goes over the set up and implementation of MQTT in a Reed Switch example, with a door opening and closing.

https://youtu.be/WfkQmg5P-3k

Code: [Select]
Class ProductionRoom/YOURPROJECTNAMEHERE
Shared Event ReedSwitchChanged()

Dim payload As ListOfByte = New ListOfByte
Dim payString As String = ""

If ReedSwitch = True Then
LedRed = True
payString = "Open"
Else
LedRed = False
payString = "Closed"
End If
payload.Add(payString)
Lplan.Publish("mcThings/ProductionRoomDoor/YOURTOPICNAMEHERE", payload)
Thread.Sleep(10000)
Thread.ClearHardwareEvent()
Dim uptime As Integer = Device.Uptime()

End Event

Shared Event CheckVoltage() RaiseEvent Every 2 Days
Dim BattVolt As Short = Device.BatteryVoltage
If BattVolt < 2200 Then
Lplan.IFTTT("YOURIFTTTKETHERE", "ProductionRoomBattery/YOURTOPICHERE")
Else

End If

End Event

29
Video Support / Temperature Logging Project with mc-Things
« on: July 19, 2016, 11:07:12 am »
Temperature Logging Project with mc-Things

In This video we go through a Temperature Logging use-case.

Use the following code to create a script that will log the temperature from the location of the mc-Module and relay that information back through your IFTTT recipe:

Class TempSETUP
    Shared Event checktemp() RaiseEvent Every 30 Seconds
        Dim temp As Float = Temperature.GetTemp ()
        Dim tempstring As String = temp.ToString()
       
        Lplan.IFTTT("YOURUNIQUEIFTTTKEY", "TRIGGEREVENTNAME", tempstring, "", "")
       
       
       
    End Event
   
End Class

Keep in mind you need to setup your own IFTTT account, and enter your own unique IFTTT key into the above code. You will also need to remember to add the ‘Temperature’ library to your script to make sure the script understands the variables you are trying to measure. The video provides additional details and a walk-through.

https://youtu.be/YdihsxJvXLE

30
Video Support / mc-Module Battery Installation
« on: July 19, 2016, 11:05:58 am »
mc-Module Battery Installation
We have Tom Edworthy here to show you the proper method of battery installation for the mc-Module. If you are in need of purchasing standard CR2032 coin cell batteries, check out http://www.digikey.com

https://youtu.be/WOt92sbVSn8

Pages: 1 [2] 3 4 5