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] 2 3 ... 7
Here are some recent updatesÖ

As I mention above, after upgrading the mcGW to the new Host & application firmware I lost wi-fi connectivity on the mcGW and was forced to use the Ethernet cable. Since then all the sensors have been reporting at their expected intervals without any lockups.
Maybe NorGer can confirm this if he can disconnect the wi-fi connection and  use Ethernet connection instead and see if issue is resolved as well?

A few more details that maybe worth mentioning. In the past I would get up the morning after leaving the sensors on all night and 100% of the time there would be at least two sensors that stopped reporting over MQTT. However, the beacons seemed to keep reporting. Because only two of the four sensors would stop reporting, I suspected maybe a bug in my script code so I would open mcStudio, connect to the mcGW, connect to the module and run the debugger only to find the code working properly. I would then also begin to see the MQTT messages to start reporting again.

Maybe there is some issue with wi-fi connection and MQTT locking up and when I connect to the gateway via mcStudio; somehow that clears it up. Just thinking out loud. Any suggestions?

This platform is very frustrating.

I upgraded to GW Version 0.9-958 and LP Lan Version 0.0.615. Now mcStudio can only see the GW when the ethernet cable is connected. The GW does not show up when in wi-fi mode.

Wi-fi settings are the same in GW config as before the upgrade.

My configuration is:

- mcGateway110
                  * GwVersion: 0.6-367
                  * LpLanVersion: 08-420
- mosquitto: local server
- mcGateway connection to local network: wifi

I notice a couple times a day my sensors stop sending MQTT messages and I have to reboot the mcGW to get them to start reporting again. Has anyone else seen this issue?

mc-Module / Light Sensor Demo
« on: January 03, 2018, 12:56:40 pm »
While following the light sensor demo, I keep getting a lot of false readings. For example, I place the mcModule120 in a closed drawer in complete darkness. It works fine for a few hours then every 30 minutes of so I get messages that the light sensor was triggered even through the drawer was never exposed to light. I noticed the same behavior on the reed switch. Any suggestions as to why? Any suggestions on how to resolve this?

Yes, but how would I be able to get that into a PCB Design & Schematic Software such as Egale CAD.

I just started using this type of software so, I'm not aware of all the features they offer. Do these software packages usually have a built-in function to create your own components? Is that how I would go about it? Create the mc120 module manually and then choose it from the list of components to be placed on the board. Everything I have done so far has been using existing component libraries.

mc-Things General Discussion / Integrating mcModules into schematic designs
« on: November 15, 2017, 09:52:32 am »
Iím looking into doing my own design for my sensors and have a question Iím hoping your engineers can get me started.

When Iím using a software tool like Eagle cad to design my sensor schematic, how do I go about integrating the mcModule into the schematic so that it shows up in the gerber files and is included in the BOM.

For example, there are library files on the internet that allow you to import the Arduino MCU into Eagle CAD and then you are able to select that component and drop it into your schematic, which is then included in the BOM and board layout.

Is there a way to do the same for the mcModules?

I have found manufacturers on the internet that will build your prototype design if you submit the gerber files but, Iím just wondering how do I get the mcModule included into those files.

MQTT / Re: Sending Beacon Data Over MQTT
« on: October 18, 2017, 09:58:11 am »
Oh yeah. Let me check. I'm using  Nick's libraries maybe he created that class.

MQTT / Re: Sending Beacon Data Over MQTT
« on: October 18, 2017, 09:21:38 am »
Hmmm. Not sure where I got that. Wonder why it doesn't give an error.

For instance, I use this line of code and builds without any errors:

MQTT.BeaconPublish(dataType.TEMPERATURE, TempF, BattVolt)

MQTT / Re: Sending Beacon Data Over MQTT
« on: October 17, 2017, 09:52:32 am »
So what is the difference between MQTT.BeaconPublish and SendBeacon commands?

MQTT / Re: Sending Beacon Data Over MQTT
« on: October 16, 2017, 02:46:19 pm »
So if I have a MQTT server defined in the GW configuration, every time I issue a "SendBecaon" command the mcGateway will relay this to the MQTT server?

MQTT / Re: Sending Beacon Data Over MQTT
« on: October 16, 2017, 09:46:06 am »
I guess what I'm really asking here is what is the difference in power consumption wise between sending a regular beacon and sending a beacon over MQTT if any?

MQTT / Sending Beacon Data Over MQTT
« on: October 15, 2017, 12:11:00 pm »
Is it possible to use beacons to send temperature and battery level data every 10 seconds over MQTT and still maintain 2 years battery life? If so, do you have any sample code that shows how to do this?

mc-Studio / mcStudio Error after Microsoft forced updates.
« on: July 19, 2017, 10:16:20 am »
Microsoft forced a windows update last night on my computer and now I get the attached error when trying to run mcStudio. I removed mcStudio and re-installed and was able to get mcStudio to start but, then when I open a new project the error came back. Any suggestions on how to resolve?

mc-Demo205 / Re: Unable to Connect to the mc-Demo205
« on: June 09, 2017, 10:42:50 am »
Iím connecting via USB.

The problem seem to be intermittent as I have been able to successfully connect since yesterday. However, it appears that once I get the connection error it will remain for a day or so. Not sure what, if anything I am doing to cause it and then what I may be doing to clear it.

Maybe itís in the code? Can you have multiple ďRaiseEventĒ in one script? Could this cause a situation that may cause the MCU to hang?

Pages: [1] 2 3 ... 7