- Netduino Forums
- → DrJaymz's Content
DrJaymz's Content
There have been 42 items by DrJaymz (Search limited from 06-June 23)
#37932 PWM resolution
Posted by DrJaymz on 24 October 2012 - 09:06 PM in Netduino Plus 2 (and Netduino Plus 1)
#37796 PWM resolution
Posted by DrJaymz on 22 October 2012 - 07:37 PM in Netduino Plus 2 (and Netduino Plus 1)
#37397 PWM resolution
Posted by DrJaymz on 18 October 2012 - 09:03 PM in Netduino Plus 2 (and Netduino Plus 1)
Does anyone know what the PWM resolution is when using 4.2? (Latest)?
I am using PWM at 10Khz and the minimum duty ratio I can get is 0.01. Which suggests that the PWM resolution is 100.
The ARM has a resolution of 16bit which is a good deal higher than the 7 bits I seem to be getting. This means when controlling LED brightness it goes from off to about 20% perceived brightness in one jump which is a bit rubbish really.
I'm using Microsoft.Spot.Hardware.PWM, am I doing something stupid? Would I get a better result by setting the period and the duration of the pulse?
I would have though this had already been posted but I couldn't find anything.
Really no-one know?
#37396 Converting Single to String with 2 decimals
Posted by DrJaymz on 18 October 2012 - 09:02 PM in Visual Basic Support
Yes Thats the solution, thank you Dr Jaymz.
Yay.... I am so used to using String.Format that I really miss it, but obviously handling strings on a puny system like this is always going to be slow or memory intensive. I'm glad that F2 works for you and I don't know why I can't find it documented anywhere.
#37343 Converting Single to String with 2 decimals
Posted by DrJaymz on 17 October 2012 - 09:06 PM in Visual Basic Support
Try ToString("#.##")
ToString("F2")
??
#37342 PWM resolution
Posted by DrJaymz on 17 October 2012 - 08:53 PM in Netduino Plus 2 (and Netduino Plus 1)
#37207 4.2 Confusion
Posted by DrJaymz on 15 October 2012 - 07:43 AM in Netduino Plus 2 (and Netduino Plus 1)
#37181 4.2 Confusion
Posted by DrJaymz on 14 October 2012 - 08:07 PM in Netduino Plus 2 (and Netduino Plus 1)
Yes, understand, but it will not let me. I'm running XP 32 bit.
I clicked uninstall driver
Then let it install it again.
then just now it worked.
#37180 4.2 Confusion
Posted by DrJaymz on 14 October 2012 - 07:57 PM in Netduino Plus 2 (and Netduino Plus 1)
Hi DrJaymz,
Be sure that you're selecting the MFUSB_Netduino.inf file, not MFUSB.ini.
We're basically overriding the Windows driver system by forcing it to use MFUSB instead of WinUSB. Unless we select "no, let me choose" at every step it will try to use the driver specified for the VID/PID in the registry.
Chris
Yes, understand, but it will not let me. I'm running XP 32 bit.
#37175 4.2 Confusion
Posted by DrJaymz on 14 October 2012 - 07:19 PM in Netduino Plus 2 (and Netduino Plus 1)
Switching to serial and then back again makes no difference.
I cannot install the MFUSB.ini because windows says:
The specified location does not contain information about your hardware.
With only OK as an option.
So I guess were stuffed then.
The only thing I thought about was the bootloader being at fault.
#37173 4.2 Confusion
Posted by DrJaymz on 14 October 2012 - 07:10 PM in Netduino Plus 2 (and Netduino Plus 1)
OK, trying now, BRB
Switching to serial and then back again makes no difference.
I cannot install the MFUSB.ini because windows says:
The specified location does not contain information about your hardware.
With only OK as an option.
So I guess were stuffed then.
The only thing I thought about was the bootloader being at fault.
#37171 4.2 Confusion
Posted by DrJaymz on 14 October 2012 - 07:02 PM in Netduino Plus 2 (and Netduino Plus 1)
Hi DrJaymz,
Can you please try two things really quickly?
1. Open up your project properties and go to the ".NET Micro Framework" tab. Change transport from USB to Serial. Then change it back to USB. Try to run your app again.
2. If that doesn't work, please try switching back to the MFUSB drivers.
If all that fails, there are two final options:
1. If you're running Visual Studio 2012 (or would like to try Visual Studio Express for Windows Desktop), upgrade to the .NET MF 4.3 beta SDK. It has dramatically better diagnostics when deploying and it supports .NET MF 4.2 boards as usual.
2. Reflash your Netduino with the production 4.1 firmware. That's really a last resort, but if Visual Studio is failing to connect...it may b a bug which needs to be fixed in the NETMF 4.3 SDK.
Chris
P.S. If you're running inside a virtual machine, the standard WinUSB drivers may not be set up to handle that. Switching to the MFUSB drivers may be a solution there.
#37168 4.2 Confusion
Posted by DrJaymz on 14 October 2012 - 06:46 PM in Netduino Plus 2 (and Netduino Plus 1)
Hi DrJaymz,
1. Install the .NET MF 4.2 QFE2 SDK
2. Install the Netduino 4.2 SDK (latest version)
3. Upgrade your board to the latest Netduino firmware
Please let me know how it works for you,
Chris
Done.
It will not deploy now. Whatever I try to do.
Incrementally deploying assemblies to device
Deploying assemblies for a total size of 1456 bytes
Assemblies successfully deployed to device.
You'd think its deployed then? No. The error comes up:
Error 1 Device not found or cannot be opened - USB:Netduino
Using MFDeploy I can get
HalSystemInfo.halVersion: 4.2.0.0
HalSystemInfo.halVendorInfo: Netduino Plus (v4.2.0.1) by Secret Labs LLC
HalSystemInfo.oemCode: 34
HalSystemInfo.modelCode: 177
HalSystemInfo.skuCode: 4097
HalSystemInfo.moduleSerialNumber: 00000000000000000000000000000000
HalSystemInfo.systemSerialNumber: 0000000000000000
ClrInfo.clrVersion: 4.2.0.0
ClrInfo.clrVendorInfo: Netduino Plus (v4.2.0.1) by Secret Labs LLC
ClrInfo.targetFrameworkVersion: 4.2.0.0
SolutionReleaseInfo.solutionVersion: 4.2.0.0
SolutionReleaseInfo.solutionVendorInfo: Netduino Plus (v4.2.0.1) by Secret Labs LLC
SoftwareVersion.BuildDate: Sep 19 2012
SoftwareVersion.CompilerVersion: 410894
FloatingPoint: True
SourceLevelDebugging: True
ThreadCreateEx: True
LCD.Width: 0
LCD.Height: 0
LCD.BitsPerPixel: 0
AppDomains: True
ExceptionFilters: True
IncrementalDeployment: True
SoftReboot: True
Profiling: False
ProfilingAllocations: False
ProfilingCalls: False
IsUnknown: False
So presumably the device is working. The output is set to deploy to netduino over USB.
So surprised it still can't really be used seriously.
#37157 4.2 Confusion
Posted by DrJaymz on 14 October 2012 - 11:03 AM in Netduino Plus 2 (and Netduino Plus 1)
#31806 Detect if Ethernet Cable is Connected
Posted by DrJaymz on 10 July 2012 - 09:05 AM in Netduino Plus 2 (and Netduino Plus 1)
#26055 Wonky Uart
Posted by DrJaymz on 28 March 2012 - 07:14 PM in Netduino Plus 2 (and Netduino Plus 1)
Hey there,
Do you think you can find a similar working Baud rates, etc for the same chip but with GFX?
I cannot make it work for some reason, don't know why.
I don't know anything about the GFX implementation, but I do know that its sensitivity is down to the limitation of the chip they are using.
The way I set the new baudrate seems to do the trick and it doesn't seem too sensitive to the actual baudrate.
#25747 Read the book what now?
Posted by DrJaymz on 19 March 2012 - 09:43 PM in General Discussion
#25746 Building a CPLD-based shield.
Posted by DrJaymz on 19 March 2012 - 09:39 PM in General Discussion
#25745 Deployment problem
Posted by DrJaymz on 19 March 2012 - 09:32 PM in General Discussion
As mysteriously as it stopped working, it started again. So, please ignore.
Yeah, it does that. A lot.
#25744 How to determine how busy my netduino is?
Posted by DrJaymz on 19 March 2012 - 09:30 PM in General Discussion
#25743 How to burn my program inside neduino?
Posted by DrJaymz on 19 March 2012 - 09:21 PM in General Discussion
#25653 Netduino Firmware v4.2.0 RC4 (Netduino + Netduino Plus)
Posted by DrJaymz on 17 March 2012 - 05:27 PM in Beta Firmware and Drivers
Hi DrJaymz,
Are you using the NETMF 4.2 beta drivers on your computer (the unsigned ones)?
Chris
Indeed I am, it doesn't say netduino - its something reference board.
I've ruled out current consumption and tight timing loops on the netduino itself.
#25638 Netduino Firmware v4.2.0 RC4 (Netduino + Netduino Plus)
Posted by DrJaymz on 16 March 2012 - 08:36 PM in Beta Firmware and Drivers
#25516 How much current can you draw from the 5v pin?
Posted by DrJaymz on 14 March 2012 - 07:20 PM in Netduino Plus 2 (and Netduino Plus 1)
Yes, pretty sure that could be a power issue.
I would not be comfortable with a constant 800mA draw, even if its not shutting down, I don't like my board to be getting so warm. This could cause the board to get quite warm. I like to power via 5V rail with either a PC power supply, or a similar stand alone supply, and only use the on-board regulator for small projects.
It'll be fine, you worry too much, what could possibly go wrong....... (don't know why they worry at work when I say that)
#25473 How much current can you draw from the 5v pin?
Posted by DrJaymz on 13 March 2012 - 08:24 PM in Netduino Plus 2 (and Netduino Plus 1)
Hi DrJaymz,
Does this help?
http://forums.netdui...-5v-header-pin/
Well it states that the 5v regulator on board is good to 800mA we know that the controller uses about 250 so that leaves 550mA to stay in the current spec. So as long as the on board reg doesn't overheat we're good. The reg will shutdown in the event it gets too hot so it should be fine. perhaps my issues could be insufficient supply decoupling.
- Netduino Forums
- → DrJaymz's Content
- Privacy Policy