Recent Posts

Pages: [1] 2 3 ... 10
1
mc-Gateway / mcGateway not found in mcStudio
« Last post by SIIWells on April 10, 2019, 09:17:24 am »
Hello,

I am having trouble getting the mcGateway seen by the mcStudio IDE.  It can be found with the mcDongle and mcOTA updater and I can even ping the device with a successful return but the mcStudio just fails to see the mcGateway.  I only have even used beaconing but even that comes up empty.

I should note that I currently have it plugged into the network via CAT6 ethernet cable.

My specs are; mcGateway110
VM firmware version: 0v0.9r615
bootloader version: 1v1.0r0

mcStudio v0.9.534.0

mcOTA Updater v1.2.13

I see 3 lights, always on red, always on orange, steady blinking green.  When I updated the firmware, I made sure the USB had a max power consumption of 100mA, the green LED quickly blinked while the device reset (the User SW was held down during this) it blinked 3 times then was steady for a few moments before the returning to the steady blinking.

Thank you for your help.
2
mc-Module / Downgrading mcModule from v1.11.14 to v1.8.3 Fails
« Last post by aidanBailey on February 20, 2019, 06:30:50 pm »
I have been working with a couple mcModule120s and I've been having some troubles with them. I recently updated the firmware of the modules to 1.11.14 in attempt to solve some issues I've been experiencing with them. That proved to be a dead-end, so now I'm trying to re-install version 1.8.3 on the modules. Unfortunately, when I try to install version 1.8.3 on the devices, the download is successful but once it reaches 100% the install fails (status is marked as "Failed" on mcCloud). Can anyone provide some guidance on why this is happening and how I can solve the problem?

Thanks.
3
mc-Module / Re: mcModule no longer connecting
« Last post by michaelblight on February 16, 2019, 03:02:42 am »
I fixed it by also using mcOTA to erase mcScript and the data store. Then I could connect and reload the script onto it.
4
mc-Module / mcModule no longer connecting
« Last post by michaelblight on February 15, 2019, 11:31:02 pm »
I'm trying to update the code on my 3 mcModules (legacy versions). It worked successfully for two, but I can't connect to the 3rd. I have tried shutting down mcStudio and power-cycling the mcGateway. I also successfully reloaded the firmware onto the mcModule using mcOTA just in case. When I connect to the Gateway using the "Device Maintenace and Connection" screen, it shows up as beaconing. Then, as with the other mcModules, I take the battery out, click Connect and re-insert the battery. However it never connects.

This mcModule is blinking green then red every few seconds, whereas the others do not. My code would not be causing this, although my code is still running on the mcModule, as every 30 minutes it's sending MQTT messages.

Any thoughts on what to do?
5
mc-Module / Re: mcModule as doorbell
« Last post by michaelblight on September 01, 2018, 08:07:38 am »
Thanks! Can't wait to try it out. Much better than those suckers with their voltage hungry Arduinos
6
mc-Module / Re: mcModule as doorbell
« Last post by mc-T2 on August 27, 2018, 09:51:05 am »
@michaelblight - you are correct, i think i put in the wrong code for you. There is a button on the mcMod's that you can use - it is predefined within the langage script (as button) and can be used. However, this button will be quite touch for someone to press as a doorbell. Here is code that is better suited to what you want to do (With a button soldered to pin0 and GND):

Code: [Select]
Define PinMode Pin0 As DigitalInputPullupWeak
Class mcSwitch
   
   
   
    //The following will send an IFTTT message when the button is pressed & will light the LED when pressed
    Shared Event Pin0FallingEdge()     
        Thread.Sleep(50000)
        'This timing may need To be modified but essentially this Is a debounce.After the device detects a change it waits 50 ms To check again To confirm that the button was actually pushed * *
        Thread.ClearHardwareEvent()
        If Pin0 = False Then
            Lplan.IFTTT("YOURIFTTTKEYHERE", "BUTTON")
            LedGreen = True // turn off LED
            Thread.Sleep(100000)
            LedGreen = False
            Thread.Sleep(30000000)
            'This can also be modified.After the above program runs, the module will Not be able To run it again For 120 Seconds / 2 Minutes (the timing Is In microSeconds).If you want, you can change this To 6000000 which will give you 60 Seconds before the button can be pressed again.
        End If
    End Event
End Class
   
End Class

Hope that helps
7
mc-Module / Re: mcModule as doorbell
« Last post by michaelblight on August 26, 2018, 02:57:39 am »
Thanks @mc-T2 for the update - I will try it soon. I'm a bit confused though. You said you soldered a push button between Pin 0 and GND, but the code is responding to the ButtonPressed event. Or am I reading it wrong - have you soldered the button in parallel with the existing button on the mcModule? Is there an event that will fire on a change to Pin 0? I have soldered breadboard cables to these pins in anticipation, which was challenging with old eyes. I don't like my chances of soldering to the button on the PCB!
8
mc-Dev Board / Re: [SOLVED] UART console example not working on mcMod120
« Last post by PeggyLeon on August 20, 2018, 01:13:55 pm »
Hi...i am a new user here. I think you shoudn't face this problem. The mcSense420 combines multiple onboard sensors and the long-range mcAir low-power LAN protocol into an affordable, long-lasting, and compact IoT remote sensing device.
9
mc-Things General Discussion / Re: Question about Kickstarter versions
« Last post by mc-T2 on August 14, 2018, 11:09:46 am »
Hey michaelblight,

sorry for the delay and good job on answering your own questions  :) just to expand on your answers:

is a mc-router and a mc-gateway the same thing - YES - correct. It was originally called an mc-Router but has now changed to mcGateway to better reflect what the hardware does. We are close to releasing mcCloud to the public (within the next month or 2) and at that time, anyone wishing to use the new system will need to upgrade to new hardware as the older hardware does not have the capabilities to work on the new version. More info on mcCloud here: https://www.mcthings.com/getting-started-mccloud/

does the current IDE still work with those version - YES - Yes, for the legacy version of devices. We will continue to provide the firmware and software (mcStudio) for the older version on our website for some time but we will not be supporting this in the future as we are focusing on the new version of mcThings which includes the new mcCloud

can the firmware be updated on them - YES - Yes, with the legacy version of the firmware (mcOS). Again, we will not be supporting any fixes or updates on the legacy version of the system.

were there battery issues with the 1st gen - I haven't found any problems yet. They started out at 2.9 volts about 7 weeks ago, and they're now are 2.8 volts. I'm sending temperature, battery and status readings every 30 minutes. - correct, there were some battery issues but those were fixed, mostly in mcOS. You should be getting some serious life out of your batteries from the devices

is the Kickstarter mc-module the same as the 100 - YES - Correct. It was actually called the mcMod110 which has subsequently been replaced with the new mcMod120 which will be required for using the new system with mcCloud. NOTE - a new mcGateway120 will also be required to use the new system.

am I wasting my time - probably, but why would I make a value judgement - We, of course, dont think it is a waste of time!  :)

However, the mcModule110s are no longer available and the newer mcModule120s are not compatible with the old gateway. So if I want more I basically have to start from scratch. Bummer. - This is correct and for good reason. The new system makes it much easier to work with multiple devices (you can manage all your devices from the cloud!) and ensures that there is high-security for solutions being created. We have already deployed new mcCloud devices into multiple projects for some very large clients and now we are vamping up the system for public use as soon as we can.

Hope that helps.
Take care

10
mc-Module / Re: mcModule as doorbell
« Last post by mc-T2 on August 14, 2018, 10:43:08 am »
Hey michaelblight,

yes, I havent seen anyone post this project yet, however, we have done this ourselves and i know of some users who have done a button onto a mcModule. The mcModule includes a small button/switch already but if you wished, you could connect a push button and use it for a doorbell (or other purposes).

Since you are working on the older version (legacy) of the mcThings platform, you will need to work with some older code. NOTE - We are moving towards the public release of mcCloud in the next month or two so keep an eye out as the new version of mcCloud is very versatile and makes it much easier to work with multiple devices! Older equipment will not work on the new system but we are going to be offering our users discounted hardware for those who want to move to the new system. It should also be noted that we are no longer supporting the legacy system (no new firmware, big fixes, etc) as we are focusing on the new version.

Button code: The below is a code we used to send information to the IFTTT service but you can modify it to send the info to elsewhere if you wish. A standard pushbutton was soldered to PIN 0 and GRD from the button and then the device was loaded with the below code:


Code: [Select]
Class ButtonExample
   
    //The following will send an IFTTT message when the button is pressed & will light the LED when pressed
    Shared Event ButtonPressed()
        Thread.Sleep(50000)
        Thread.ClearHardwareEvent()
        'If Pin0 = False Then
        If Button0 = False Then
            Lplan.IFTTT("YOURIFTTTWEBHOOKKEYHERE", "BUTTON", "pressed")
            LedGreen = True // turn off LED
            Thread.Sleep(100000)
            LedGreen = False
            Thread.Sleep(120000000)
        End If       
    End Event   
End Class

From there, we setup an IFTTT applet which would send a notification/email/text when the button is pressed. Note, there can sometimes be some lag as you are working with a third-party service.. sometimes it is lightening fast and other times it can take up to a minute. You will also need to test and ensure that your mcGateway is in range of the device.
Hope that helps, good luck and when the new version of mcCloud is out, we will be pushing out the same above example for a button so you can do this on the new system.
Thanks
Pages: [1] 2 3 ... 10