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 - kbrooking

Pages: 1 ... 4 5 [6] 7
76
When testing the reed switch on the mc-mod120, I keep getting a pop window with the following error when I move the magnet away from the mod120.

            "Cannot change the connection to another device in Run or Stopped mode."

mc-studio seems to freeze at this point and when I click on the red button to stop the debugger I get this  error...

            "Stop debugging Failed. This popup window is from System.Windows.Forms.

I have to end mc-studio via task manager and restart mc-studio. Attached is a screen shot of the error with the code I'm running.

Any suggestions what I'm doing wrong?




77
mc-Module / Re: Battery Life
« on: November 26, 2016, 11:38:18 am »
In my experiment I’m not using beacons. I’m waking up the module every 60 seconds and checking the battery voltage, temp, reed switch and sending out the data via MQTT. Looks like it dies after about 3 days.
I can try using beacons but, even then based on your results it appears it only lasts a couple weeks rather than several months. Does anyone else have any suggestions?

78
mc-Dongle / Re: Erase Failed!!!
« on: November 26, 2016, 11:30:06 am »
I may have answered my own question. Please comment if you have experienced similar behavior.

So, after several failed attempts to erase the mc-script on multiple mc-120’s, I tried one last time. This last
attempt I thought maybe I have weak batteries so I placed the mc-120 antenna next to the dongle antenna as
close I could get. After doing this, I was successful in erasing the mc-script on both mc-120s on the first attempt.

So I guess the lesson learned here is if you are attempting to erase the mc-script from the mc module using the dongle
make sure you have a fresh battery and/or place the dongle and mc-module really close to each other.

Something else I want to point out. During each failed attempt, the mc-module would connect to the dongle every time with no problem even
at a distance. So, just keep in mind even if it connects, doesn’t necessary mean it’s in range to perform the erase process I guess.

Anyway, I would welcome others comments on this as well.

79
mc-Dongle / Erase Failed!!!
« on: November 25, 2016, 09:44:08 pm »
Anyone know why I keep getting this error window popping up with "Erase Failed!!!" message when trying to remove a script?

80
mc-Module / Battery Life
« on: November 25, 2016, 09:20:54 pm »
Does anyone know what the typical battery life you could expect from an mc120 with a script that is checking the temp, battery voltage and reed switch every 60 seconds and transmitting to MQTT server?

81
mc-Module / Re: Module 120 accelerometer communications
« on: November 10, 2016, 08:55:37 pm »
 ::) User error. I got the libraries swapped. Thanks Nick. Looks like both are working now.

82
mc-Module / Re: Module 120 accelerometer communications
« on: November 10, 2016, 02:49:48 pm »
in my post above, I have a screen shot. The pop-up window to the right is the actual error I get when running the code. I placed the break point on the statement where the error is occurring just for illustration purposes.

83
mc-Module / Re: Module 120 accelerometer communications
« on: November 10, 2016, 09:33:45 am »
Hello Nick,

Apologies, I should have been more specific.

Yes, the error I attached below is while using Josh's code as is and with his library along with the new mod120's that just arrived the other day and latest firmware from mcThings download page.

I wanted to make sure I could execute Josh's example before trying yours.

Any suggestions?

84
mc-Module / Re: Module 120 accelerometer communications
« on: November 09, 2016, 09:49:26 am »
When I run the example code for the LIS2DH12 that Josh provided I get the attached error.

85
mc-Demo205 / Re: mc-Demo 205 Sample Code
« on: November 04, 2016, 05:05:18 pm »
 Any chance of adding an accelerometer example script in the future?  ;D

86
mc-Demo205 / Re: mc-Demo 205 Sample Code
« on: November 04, 2016, 04:53:43 pm »
Great! :o Thanks.

87
mc-Demo205 / mc-Demo 205 Sample Code
« on: October 29, 2016, 10:29:11 pm »
Do you think it would be possible to add some sample code to the mc-script guide showing how to send data over the Sigfox network? And, code samples demonstrating any other features the 205 offers that may not be included on the 120 modules.  ;D

88
mc-Module / Re: Module 120 accelerometer communications
« on: October 15, 2016, 07:13:45 pm »
Looks like the drive and test script Josh provided loaded and executed (no errors) on my 120 but, not sure what the test script is doing. How can I test it?

89
mc-Module / Re: Module 120 accelerometer communications
« on: October 15, 2016, 06:17:38 pm »
Hello Nick, would you be able to provide an example using the accelerometer on the 120 once you have it figured out?

90
mc-Product General / Gateway Uid
« on: September 25, 2016, 01:54:03 pm »
Is there a function to get the gateway Uid like we do with device using Device.mcUID()?

Pages: 1 ... 4 5 [6] 7