Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

tree frog

Member Since 02 Jul 2012
Offline Last Active Jul 11 2012 08:52 PM
-----

Posts I've Made

In Topic: netduino classic reset problems

11 July 2012 - 08:08 PM

Regarding Visual c# I get this while trying to deploy to the device via USB. 'device not initialized resetting'. Plugging and unplugging the usb cable has various results, sometimes it finds the device sometimes not.

In Topic: netduino classic reset problems

11 July 2012 - 06:16 PM

Hello, So you are saying that to get the netduino to work i have to modify a library.. There must be folks out there that are using LCD's without problems that do not have to modify libries to get it to work correctly. That does not answer the problems i get with windows, not being able to find the device from time to time, as it fails there also. Perhaps i need to send it back for a replacment. What libs are others using for LCD driving...

In Topic: netduino classic reset problems

11 July 2012 - 01:51 AM

Hello ok here is the code, i have taken out a few remarks etc to make smaller. Its a trivial program and not finished but, this is basically the code i am writing. using System.Threading; using Microsoft.SPOT.Hardware; using SecretLabs.NETMF.Hardware.Netduino; using MicroLiquidCrystal; namespace System_Timer { public class Program { public static void Main() { var lcdProvider = new GpioLcdTransferProvider( Pins.GPIO_PIN_D12, Pins.GPIO_PIN_D11, Pins.GPIO_PIN_D5, Pins.GPIO_PIN_D4, Pins.GPIO_PIN_D3, Pins.GPIO_PIN_D2 ); // create the LCD interface var lcd = new Lcd(lcdProvider); lcd.Begin(16, 2); // Set display to 16x2 lcd.Clear(); // Clear display // set the cursor to column 0 lcd.SetCursorPosition(0, 0); // set to top left chr of lcd lcd.Write("System Clock"); // set cursor to column 1 lcd.SetCursorPosition(0, 1); // clear strings string Seconds = ""; string Minutes = ""; string Hours = ""; while (true) { lcd.SetCursorPosition(0, 1); Seconds = Utility.GetMachineTime().Seconds.ToString(); Minutes = Utility.GetMachineTime().Minutes.ToString(); Hours = Utility.GetMachineTime().Hours.ToString(); lcd.Write(Hours+":"+Minutes+":"+Seconds); Thread.Sleep(1000); } } } } Basically as you can see it displays the system timer on the LCD. Yeah i know its not finished yet... The program is loaded onto the netduino. Its powered from a separate power supply. When you press reset, several things can happen. 1 :- It starts up ok and runs ok, displaying the system timer counting up. 2 :- It attempts to start up, but leaves the LCD with the top line full of blocks, and does nothing more. 3:- It attempts to start up but leaves the LCD with the top line full of various chrs, always the same ones. When connected to PC and c# it can do the same thing. Often with C# complaining that it cannot find the netduino device. I have checked all the connections and they all look 100%. I cannot make this happen by wiggling any leads. I would love to get this sorted out it is very frustrating...

In Topic: netduino classic reset problems

10 July 2012 - 11:42 PM

The supply is rated at 500 ma, i only have an LCD apart from the netdurino. so it should not be a problem, and besides that it does it on the pc also.

In Topic: netduino classic reset problems

10 July 2012 - 11:40 PM

No it does the same thing off a 5v supply totally separated from the pc....

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.