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.


Topics - mc-T2

Pages: [1] 2 3 4
1
Announcements / Introducing 'Tempy' by mcThings!!
« on: March 13, 2018, 12:35:37 pm »
Hello all,

We wanted to announce to you a new Indiegogo campaign that we just released today!

Tempy is a wireless temperature and humidity sensing system that monitors and reports live data directly to your phone, tablet or computer. Create custom text message and email alerts using the Tempy application notifying you of undesirable climate changes detected by your Tempy sensors. Avoid expensive temperature and humidity related damages such as frozen pipes and mold before they happen, while on vacation. Built for both indoor and outdoor use, Tempy is ready to report in any environment.

Check out the campaign here: https://www.indiegogo.com/projects/tempy-a-temperature-and-humidity-sensing-system-gadgets/reft/18087663/mcforum

We'd love to get your support on this product and look forward to any backing that our forum users can provide!

Additional info

Tempy is not only a great ready-to-go solution but it should also showcase how the mcThings platform can be used to create easy to implement IoT solutions! For any user out there that has an idea in mind for creating an IoT solution using our platform, Tempy is a perfect example of how the hardware can be developed and used to bring valuable data into a software/cloud application to visualize and make the data valuable.

2
Announcements / Hackaday coin cell contest!
« on: December 01, 2017, 01:49:51 pm »
Hello everyone,

Just wanted to let you know that Hackaday.io (https://hackaday.io/) is running a coin-cell challenge! There are multiple prizes and categories for showcasing what you can do with electronics and a coin-cell!

This is a perfect contest for the mcModule devices because, as you know, they are already powered by a coin cell battery!

Check out the link to the contest to see the details and how to submit a project: https://hackaday.io/contest/28283-coin-cell-challenge

Good luck and we hope to see some cool projects!

Thanks!
mcThings

3
Hi all!

We just released a new version of mcStudio and mcOS! We are now at version 0.9 so please, be sure to download all the new stuff and get your devices up to date!

There are a bunch of improvements in these new releases. Release notes for all mcOS firmware is available within the download folder. Check out the below release notes for mcStudio


mc-Studio v0.9

Solved problems
Improved connection experience
Files with only a LF ending are handled properly
New project folders are no longer created if the project name is invalid
Compiling multiple times is no longer necessary for complete complication
Aborting opening of a new project does not close the currently open project
Missing project files no longer cause a crash
A breakpoint past the end of a class definition in a file could cause all breakpoints to be rendered invalid
Exceptions no longer cause a crash

New functionality
Updated Gateway Configuration dialog with new features
Updated Log settings dialog with new features
Simple file printing capability

The full version of the release notes for mcStudio are available within the download folder

Thanks!

4
Hi all!

We just released a new version of mcStudio and mcOS! We are now at version 0.9 so please, be sure to download all the new stuff and get your devices up to date!

There are a bunch of improvements in these new releases. Release notes for all mcOS firmware is available within the download folder. Check out the below release notes for mcStudio


mc-Studio v0.9

Solved problems
Improved connection experience
Files with only a LF ending are handled properly
New project folders are no longer created if the project name is invalid
Compiling multiple times is no longer necessary for complete complication
Aborting opening of a new project does not close the currently open project
Missing project files no longer cause a crash
A breakpoint past the end of a class definition in a file could cause all breakpoints to be rendered invalid
Exceptions no longer cause a crash

New functionality
Updated Gateway Configuration dialog with new features
Updated Log settings dialog with new features
Simple file printing capability

The full version of the release notes for mcStudio are available within the download folder

Thanks!

5
mc-Innovations / mcPlug Hackster Project!
« on: April 07, 2017, 09:40:16 am »
Hi Everyone!
For those that are just receiving your plugs, check out a new Hackster.io project that we just posted!
Using an mcModule120, we checked the temperature and if it was too hot, we then used the mcPlug to activate a fan.  If the temperature falls below a certain threshold, we then relay that information to the plug to turn off the fan!

Check it our here: https://www.hackster.io/mc-Things/using-the-mcplug-for-iot-applications-8c2183

Within the project you'll find code and information on using the mcPlug. Check it out and let us know if you have any questions and of course, we want to see your project using the mcPlug too!

If you find the time to join Hackster.io, please join the mcThings hub as a member (this helps us get our exposure up!). AND, please post your own projects in the mcThings hub!

6
mc-Plug / mcPlug Hackster project!
« on: April 07, 2017, 09:39:25 am »
Hi Everyone!
For those that are just receiving your plugs, check out a new Hackster.io project that we just posted!
Using an mcModule120, we checked the temperature and if it was too hot, we then used the mcPlug to activate a fan.  If the temperature falls below a certain threshold, we then relay that information to the plug to turn off the fan!

Check it our here: https://www.hackster.io/mc-Things/using-the-mcplug-for-iot-applications-8c2183

Within the project you'll find code and information on using the mcPlug. Check it out and let us know if you have any questions and of course, we want to see your project using the mcPlug too!

If you find the time to join Hackster.io, please join the mcThings hub as a member (this helps us get our exposure up!). AND, please post your own projects in the mcThings hub!


7
Announcements / NEW WEBSITE!
« on: April 03, 2017, 10:51:29 am »
Hi Everyone!
We launched our new website last Friday and we invite you all to go and check it out! As we are growing, we also needed to bring our website to the next level and I think you'l find that the it is much cleaner and more informative than the previous version.

We've also laid out the information in a much more organized fashion. Now, instead of going to one large download page to find the newest mcOS firmware for your devices, you can find it on each individual product page along with the pertinent documentation and links.

I invite you to check it out and please feel free to provide any feedback/comments/etc!
Thanks

8
mc-Innovations / Ultra-Long Life, Smart Recycling bin using mcThings!
« on: March 27, 2017, 12:47:04 pm »
Hi everyone!

We posted a new project on Hackster that you might be interested in checking out! We used the mcMod120's and an mcDemo205 to showcase how you can create a smart recycling/garbage/container/etc that can check the 'fullness' levels and then send that information to the cloud!

Check it out: https://www.hackster.io/mc-Things/ultra-long-life-smart-iot-recycling-bin-1e70ce

And please join Hackster.io and become a member of our hub! This way you can keep up to date on the new projects that we will be posting as well as check out all the other cool projects that are on Hackster.io!
See you there!

9
Announcements / mcThings is now on Hackster.io!
« on: February 28, 2017, 02:36:22 pm »
Hi Everyone!

Just wanted to announce that mcThings is now a part of the Hackster.io (www.hackster.io) community!!

Hackster.io is a large community of engineers and DIY electronic folks and we are excited to be a part of their community! We invite you to sign up and check out our page on Hackster (If you can, please join our hub as a member on their website to help us grow!)

We just posted a our first project, the wireless IoT soil moisture sensor using an mcModule!
You can check out the project here:
https://goo.gl/40b60V

We look forward to seeing your contributions to the mcThings hub on Hackster.io!

10
New Version Releases / New firmware for mc-Mod110 today!
« on: February 28, 2017, 11:00:59 am »
Hello,
We just released new firmware for the mcMod110. This is a quick release that will solve the issue that could cause the module to 'brick' if you accidentally press the 'Erase data store' when updating the mcMod110 using the mcOTA application.

Please ensure that your mcMod110's are up to date with the latest firmware

Let us know if you have any questions
Thanks!

11
Hello everyone,
It has come to our attention that there is a potential issue when using the mcOTA application to update mcModules. There is a new feature in mcOTA that allows you to Erase the mcScript on the modules as well as erase the Data Store.

Erasing the data store on the mcModules appears to cause issues and may 'brick' your modules. We are working hard to fix this asap and will let you know as soon as we do. In the meantime,

DO NOT HIT THE 'ERASE DATA STORE' BUTTON WHEN UPDATING YOUR mcMODULES! - at least until the issue is resolved.

Using the 'Erase mcScript' button does work and will not negatively affect your modules, it will do as intended.

The 'Erase Data Store' function is meant for mcGateways so that you can erase the module registry to the gateway if you wish. It is not meant for mcModules.

Again, we are working hard on resolving this asap and we appreciate your patience.

Please let us know if you have any questions on this

Thanks!

12
Hello everyone,
It has come to our attention that there is a potential issue when using the mcOTA application to update mcModules. There is a new feature in mcOTA that allows you to Erase the mcScript on the modules as well as erase the Data Store.

Erasing the data store on the mcModules appears to cause issues and may 'brick' your modules. We are working hard to fix this asap and will let you know as soon as we do. In the meantime,

DO NOT HIT THE 'ERASE DATA STORE' BUTTON WHEN UPDATING YOUR mcMODULES! - at least until the issue is resolved.

Using the 'Erase mcScript' button does work and will not negatively affect your modules, it will do as intended.

The 'Erase Data Store' function is meant for mcGateways so that you can erase the module registry to the gateway if you wish. It is not meant for mcModules.

Again, we are working hard on resolving this asap and we appreciate your patience.

Please let us know if you have any questions on this

Thanks!

13
Hello everyone,
It has come to our attention that there is a potential issue when using the mcOTA application to update mcModules. There is a new feature in mcOTA that allows you to Erase the mcScript on the modules as well as erase the Data Store.

Erasing the data store on the mcModules appears to cause issues and may 'brick' your modules. We are working hard to fix this asap and will let you know as soon as we do. In the meantime,

DO NOT HIT THE 'ERASE DATA STORE' BUTTON WHEN UPDATING YOUR mcMODULES! - at least until the issue is resolved.

Using the 'Erase mcScript' button does work and will not negatively affect your modules, it will do as intended.

The 'Erase Data Store' function is meant for mcGateways so that you can erase the module registry to the gateway if you wish. It is not meant for mcModules.

Again, we are working hard on resolving this asap and we appreciate your patience.

Please let us know if you have any questions on this

Thanks!

14
Announcements / Announcing mcStudio Version 0.9!
« on: February 24, 2017, 12:38:56 pm »
We are working hard to finish version 0.9 of the mcScript compiler and Virtual Machine. The plan in to release version 0.9 of the compiler at the end of next month. Version 0.9 should be feature complete and we have added a document that describes the differences between 0.8 and 0.9. Later this year if version 0.9 matures we will bring out the first non-beta release.
Important improvements are support of Double and Long, Properties, Method overriding, Inheritance based polymorphism, Formatting, improved multi threading, Stopwatch class, faster compilations end more. Its all in the attached PDF.

Nice bed-time and week-end reading and please let us know if we miss any functionality that you think is important. Don't forget that this only related to the compiler and VM. Don't comment here on mcStudio or mcCloud because they are completely separated from the compiler and VM.
Please let us know if you have any questions or comments on the attached PDF ahead of us releasing the newest version of mcStudio!

15
Video Support / Using mcThings and Losant to visualize data!
« on: January 16, 2017, 03:17:16 pm »
Hello everyone!
We just posted a new video that showcases how to display information from your mcThings platform into the Losant IoT application! Using Losant, you can create some fantastic dashboards to visualize the data from your mcModules (such as number gauges and dials, multiple types of graphs, etc) and also the ability to setup workflows to be alerted on critical information. You can use your mcModules as well as SIGFOX devices (Use the mcDemo205 and Losant to plot locations onto a map on your dashboard!)
Losant is perfect for individuals, businesses and IoT integrator's who want to capture data for viewing, analysis, etc. Check them out here: www.losant.com

There is a great walk-through on how to setup your modules and your Losant account and bring data into the application. We recommend checking out this walk-through to help you out.

mcModule & Losant walkthrough:  https://www.losant.com/blog/getting-started-with-mc-things-and-losant

SIGFOX (mcDemo205) and Losant walkthrough: https://www.losant.com/blog/collect-monitor-visualize-sigfox-data

In the video, we also walk-through setting up modules and pushing the information into a Losant Dashboard! Below the video, please see examples of the codes we used for some of the widgets that you see on the live dashboard.

Here is a link to the live dashboard!! https://goo.gl/xLRzPB


https://youtu.be/PVyjyIwcuUc



Code for temperature and battery voltage:

Code: [Select]
Class LosantTempBattery
    Shared Event Boot()
        Lplan.SetBeaconTime(120)
    End Event
   
    // Device ID of Peripheral in Losant
    Const LosantDeviceId As String = "YourLosantDeviceIDHERE"
    // MQTT topic in Losant
    Const LosantTopic As String = "losant/" + LosantDeviceId + "/state"
   
    Shared Event CheckTemp() RaiseEvent Every 59 Seconds
        Dim temp As Float = TempSensor.GetTemp() // Get Temp from sensor
        Dim tempstring As String = temp.ToString()
       
        // Create temp JSON object - { "temperature" : "23.06" }
        Dim tempJson As Json = New Json
        tempJson.Add("Temperature", tempstring)
       
        // Create Losant preferred JSON object - { "data" : {"temperature" : "23.06"}}
        Dim losantPayload As Json = New Json
        losantPayload.Add("data", tempJson)
       
        // Publish to Losant MQTT
        Lplan.Publish(LosantTopic, losantPayload.ToListOfByte)
    End Event
   
    Shared Event CheckVoltage() RaiseEvent Every 5 Minutes
        Dim BattVolt As Integer = Device.BatteryVoltage// Get battery voltage
       
        // Create temp JSON object - { "batteryVoltage" : "2816" }
        Dim batteryJson As Json = New Json
        batteryJson.Add("BatteryVoltage", BattVolt)
       
        // Create Losant preferred JSON object - { "data" : {"batteryVoltage" : "2816"}}
        Dim losantPayload As Json = New Json
        losantPayload.Add("data", batteryJson)
       
        // Publish to Losant MQTT
        Lplan.Publish(LosantTopic, losantPayload.ToListOfByte)
       
    End Event
End Class


Code for Door Open/Closed status and door count

Code: [Select]
Class LosantXTRA
   
   
    // Device ID of Peripheral in Losant
    Const LosantDeivceId As String = "YourLosantDeviceIDHERE"
    // MQTT topic in Losant
    Const LosantTopic As String = "losant/" + LosantDeivceId + "/state"
   
    Shared _doorState As String
    Shared _doorcount As Integer
   
    Shared Event Boot()
        _doorState = "Open"
        _doorcount = 0
    End Event
   
    Shared Event ReedSwitchChanged()
        'debounce interrupt
        Thread.Sleep(100000)
        Thread.ClearHardwareEvent()
        LedRed = True
        If ReedSwitch = True Then
            _doorState = "Open"   
            _doorcount = _doorcount + 1
        Else
            _doorState = "Closed"
        End If
        sendMQTTData()
        LedRed = False
    End Event
   
    Shared Event CheckSensors() RaiseEvent Every 60 Seconds
        sendMQTTData()
    End Event
   
    Private Sub sendMQTTData()
        Dim tempTMP102string As String = TempSensor.GetTemp().ToString()
        Dim battShort As Short = Device.BatteryVoltage()
        Dim battFloat As Float = battShort / 1000
        Dim battString As String = battFloat.ToString()
       
       
        // Create data JSON object
        Dim dataJson As Json = New Json
        dataJson.Add("battery", battString)
        dataJson.Add("temperature", tempTMP102string)
        dataJson.Add("doorState", _doorState)
        dataJson.Add("doorCount", _doorcount)
       
       
        // Create Losant preferred JSON object
        Dim losantPayload As Json = New Json
        losantPayload.Add("data", dataJson)
       
        // Publish to Losant MQTT
        Lplan.Publish(LosantTopic, losantPayload.ToListOfByte)
       
    End Sub
   
End Class

Code for Moisture Sensor into Losant -Note - This code is not optimized (Events could be grouped together into one payload as is done in the code above for the door/open closed state and count)

Code: [Select]
Define PinMode Pin0 As AnalogInput Alias MoistureLevel
Define PinMode Pin6 As DigitalOutput Alias enableMoistureLevel

Class LosantMoisture
   
   
    Shared Event Boot()
        Lplan.SetBeaconTime(175)
    End Event
   
    // Device ID of Peripheral in Losant
    Const LosantDeivceId As String = "58730cd41b29cb0100c8b870"
    // MQTT topic in Losant
    Const LosantTopic As String = "losant/" + LosantDeivceId + "/state"
   
    Shared Event measureMoisture() RaiseEvent Every 60 Seconds
       
        enableMoistureLevel = True 'turn on voltage divider
        Thread.Sleep(40000) 'sleep 40ms for voltage to stabilize
        Dim voltage As Short = MoistureLevel
        Dim payload As ListOfByte = New ListOfByte
        Dim payString As String = ""
        If voltage > 1500 Then
            payString = "Dry - I NEED WATER!!"
        ElseIf voltage <= 1499 And voltage >= 800 Then
            payString = "Getting Low"             
        ElseIf voltage <= 799 And voltage >= 1 Then
            payString = "Watered!"               
           
        Else
        End If
        enableMoistureLevel = False 'turn off voltage divider
       
        // Create temp JSON object - { "MoistureLevel" : "Moisture Message" }
        Dim moistureJson As Json = New Json
        moistureJson.Add("Moisture", payString)
       
        // Create Losant preferred JSON object - { "data" : {"MoistureLevel" : "Moisture Message"}}
        Dim losantPayload As Json = New Json
        losantPayload.Add("data", moistureJson)
       
        // Publish to Losant MQTT
        Lplan.Publish(LosantTopic, losantPayload.ToListOfByte)
    End Event
    Shared Event CheckTemp() RaiseEvent Every 60 Seconds
        Dim temp As Float = TempSensor.GetTemp() // Get Temp from sensor
        Dim tempstring As String = temp.ToString()
       
        // Create temp JSON object - { "temperature" : "23.06" }
        Dim tempJson As Json = New Json
        tempJson.Add("Temperature", tempstring)
       
        // Create Losant preferred JSON object - { "data" : {"temperature" : "23.06"}}
        Dim losantPayload As Json = New Json
        losantPayload.Add("data", tempJson)
       
        // Publish to Losant MQTT
        Lplan.Publish(LosantTopic, losantPayload.ToListOfByte)
    End Event
   
    Shared Event CheckVoltage() RaiseEvent Every 5 Minutes
        Dim BattVolt As Integer = Device.BatteryVoltage// Get battery voltage
       
        // Create temp JSON object - { "batteryVoltage" : "2816" }
        Dim batteryJson As Json = New Json
        batteryJson.Add("BatteryVoltage", BattVolt)
       
        // Create Losant preferred JSON object - { "data" : {"batteryVoltage" : "2816"}}
        Dim losantPayload As Json = New Json
        losantPayload.Add("data", batteryJson)
       
        // Publish to Losant MQTT
        Lplan.Publish(LosantTopic, losantPayload.ToListOfByte)
       
    End Event
   
   
End Class

Here is a link to the live dashboard!! https://goo.gl/xLRzPB

Pages: [1] 2 3 4