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 - mc-Josh

Pages: [1] 2
mc-Module / Re: Light Sensor Demo
« on: January 03, 2018, 02:13:13 pm »
Post the code and we can take a look. What is the state of the battery? Is it a fresh battery or has it been in use for some time?

mc-Module / Re: NTC Thermistor Demo
« on: December 13, 2017, 09:51:14 am »
That is great, what was the root of the problem?



mc-Module / Re: NTC Thermistor Demo
« on: December 12, 2017, 02:05:10 pm »

You don't need the AnalogInputPullUp if you are providing the pullup yourself. The CWF1B104F3950 thermistor does not need an external pullup since it uses the 100k pullup on the mod120. The USP10972 uses the 10k pullup that you added to the circuit.


mc-Module / Re: NTC Thermistor Demo
« on: December 11, 2017, 04:14:09 pm »

It looks like you have the correct connections but that they may be intermittent since they are not soldered. Can you solder the connections to the thermistor and the resistor? Also, can you measure the voltage being provided to the resistor divider and the voltage at the sensor and ensure that the corresponding voltage is correct for the temperature? We have made quite a few of these and haven't had any issues.



mc-Module / Re: NTC Thermistor Demo
« on: December 11, 2017, 02:50:54 pm »

What are USP10972_VOLTAGE and USP10972_DIVIDER_ENABLE defined as?  USP10972_DIVIDER_ENABLE is the pin that turns on the voltage to the voltage divider and USP10972_VOLTAGE is the voltage read from the divider. This voltage is then used to calculate the resistance of the thermistor which corresponds to a temperature. Can you show us how you have connected the 10k resistor and thermistor to the mod120?



You just create the schematic symbol and footprint using the tool.

The module footprint and pin assignments are in the mcMod120 Product Specification which can be downloaded here:

mc-Demo205 / Re: McDemo205 3.3V test pin (15 and 17)
« on: May 02, 2017, 02:58:22 pm »
If you are asking how much current the 3.3V rail can supply, it would be around 100mA. Please keep in mind that powering a peripheral device from these pins will have a dramatic effect on battery life, depending on the active and quiescent current of the attached peripheral.

mc-Demo205 / Re: McDemo205 3.3V test pin (15 and 17)
« on: May 02, 2017, 02:27:02 pm »
I am not sure I understand your question. What do you mean "How is this pin supported?"? The mcDemo205 Specification describes the pins on the test connector. Can you please provide more detail on this?

mc-Module / Re: Max Sensor Power Consumption
« on: February 22, 2017, 09:58:21 am »
The mcModule120 uses a different microcontroller which current allows up to 4mA per pin but the microcontroller does have a high drive capability which allows up to 15mA per pin. We are looking at adding a new Pinmode in a future version which will allow the pin to be set to this higher drive mode. Is this something that you are immediately interested in?

mc-Module / Re: Max Sensor Power Consumption
« on: February 21, 2017, 04:31:57 pm »
You may be able to use 3 pins in parallel, the maximum recommended draw for the microcontroller is 5mA per pin to a total of 15mA for the entire device.

mc-Module / Re: Max Sensor Power Consumption
« on: February 21, 2017, 11:46:07 am »
The maximum power that can be drawn from an I/O pin is 5mA for the mcMod110.

mc-Studio / Re: Maths library or functions ??
« on: February 17, 2017, 10:21:03 am »
There are math functions in mcScript, they are part of the Float object which is documented in the mcScript User Guide (section 5.2.6 and 16.6).

See sample code below:

Code: [Select]
Dim someFloat As Float = 81
Dim someFloat2 As Float = 90
Dim sqrtOfFloat As Float = someFloat.Sqrt
Dim sinOfFloat As Float = someFloat2.Sin
Dim cosOfFloat As Float = someFloat2.Cos

Note: Sin and Cos are in Radians.

mc-Studio / Re: ToInteger does not work for Strings
« on: February 16, 2017, 06:49:08 pm »
You need to use:

Integer.TryConvert(someString, someInt)

This will convert the string and pass it to the integer. If it fails to convert it returns false.

mc-Module / Re: Anyone know how ExtractShort() works?
« on: February 01, 2017, 05:04:27 pm »

We have confirmed that the ExtractShort() method does not return the correct result. We will have this problem fixed in the next release. Thank you for pointing this out!


Pages: [1] 2