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

Pages: [1]
1
mc-Module / Re: mcModule as doorbell
« 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

2
mc-Module / Re: mcModule as doorbell
« 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!

3
mc-Things General Discussion / Re: Question about Kickstarter versions
« on: August 03, 2018, 02:19:31 am »
For anybody else in a similar situation, let me answer my own questions.
  • is a mc-router and a mc-gateway the same thing - YES
  • does the current IDE still work with those version - YES
  • can the firmware be updated on them - YES
  • 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.
  • is the Kickstarter mc-module the same as the 100 - YES
  • am I wasting my time - probably, but why would I make a value judgement
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.

4
mc-Module / mcModule as doorbell
« on: August 03, 2018, 02:08:31 am »
I'm looking to hook up a mcModule as a doorbell sending MQTT messages. I haven't been able to find any existing examples, and I'm no electrical engineer! Is it enough to connect pin 7 and GND to a push-button and define it as AnalogInputPullDown? I'm guessing not. Or do I need to connect VDD to push-button to pull-down resistor to GND and then connect pin 7 between switch and resistor?

And then is there an event to hook into that will fire when the push-button is pressed? Or do I have to poll pin 7 (which would drain the battery too fast)?

Any help would be appreciated.

5
MQTT / Re: Not seeing any MQTT messages
« on: June 17, 2018, 08:02:02 am »
Solved it!

I'm guessing the USB stick I used to update the Application Processor (mcGw110.bin) was reporting over 100mA required and so the update was not working. I noticed mcOTA was reporting version 6.* rather than 9.*. I had updated the Host Processor, so perhaps the two versions were not compatible. Anyway, when I redid everything with a different USB stick, lo and behold, MQTT messages being sent and received.

6
MQTT / Not seeing any MQTT messages
« on: June 17, 2018, 02:31:01 am »
I'm trying this for the first time and not having much luck. I have Mosquitto installed in a Docker container running under Ubuntu. On my laptop I can run MQTT.fx and successfully publish and subscribe. I also have Home Assistant connected, and it can respond to the messages published from MQTT.fx too.

I have the following code running on a mcModule110:

Code: [Select]
Class TestHeartbeat
    Shared Event SendMessage() RaiseEvent Every 15 Seconds
        Dim payload As ListOfByte = New ListOfByte()
        payload.Add("testing")
        Lplan.Publish("heartbeat", payload)
        LedGreen = Not LedGreen
    End Event
End Class

And I have the mcGate110 config set to my Mosquitto server (192.168.0.39:1883). The green LED goes on and off every 15 seconds, but no messages arrive at either MQTT.fx or Home Assistant. And MQTT.fx can scan for topics, but nothing shows up. Any help would be much appreciated.

7
mc-Things General Discussion / Question about Kickstarter versions
« on: June 11, 2018, 10:02:50 pm »
I backed a mc-router and 3 mc-modules on kickstarter back in the day. For various reasons they remained unused. Until now. Before I start, does anybody know what issues I will face in trying to use these? Like: is a mc-router and a mc-gateway the same thing; does the current IDE still work with those versions; can the firmware be updated on them; were there battery issues with the 1st gen; is the Kickstarter mc-module the same as the 100; am I wasting my time; etc.

Pages: [1]