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.

Bendage

Member Since 17 Nov 2011
Offline Last Active Sep 20 2016 11:31 PM
-----

Topics I've Started

Plus 2 Pins compatiability different or defective board?

27 December 2012 - 08:22 PM

Kind of feeling like a newb here. Just hooked up my Plus 2 today.

 

Running MF 4.2 (QFE2), SDK 4.2.1, and board shows 4.2.1.2 under MFDeploy.

 

Simple On board LED blink test shows no blinking light. First thought was it was burnt out. But it lights up on reset. So i used a diff pin... D5 D6 D7... no blink. Scratching my head here, checked the code against a Plus board... no probs. Hooked up a multimeter to tested pins and no juice.

 

Tested the 3.3v pin and that shows juice.

 

So before I deduct that I have a defective board, one question...

 

The project setup and (standard) pin assignment is a straight shot from a regular plus project right? I mean the app gets deployed... so what gives?

 

Rocket Science code below...

using System;using System.Net;using System.Net.Sockets;using System.Threading;using Microsoft.SPOT;using Microsoft.SPOT.Hardware;using SecretLabs.NETMF.Hardware;using SecretLabs.NETMF.Hardware.NetduinoPlus;namespace NetduinoPlusApplication1{    public class Program    {        public static void Main()        {            // write your code here            OutputPort led = new OutputPort(Pins.GPIO_PIN_D5, true);            while (true)            {                led.Write(true);                Thread.Sleep(1000);                led.Write(false);                Thread.Sleep(1000);            }        }    }}

 


Netduino Plus Release vs Debug Issue

12 October 2012 - 08:50 PM

Hey everyone,

Probably something I'm overlooking in the 4.2 framework.

trying to compile a binary for release and extract the Hex with MFDeploy. Compiles fine in Debug.

But after switching to release I get this message..

The type or namespace name 'NetduinoPlus' does not exist in the namespace 'SecretLabs.NETMF.Hardware' (are you missing an assembly reference?)

Um.... nope. Looking right at the reference that compiled just fine in debug mode.

What am I missing?

Posted Image

Netduino Console

29 September 2012 - 01:48 AM

After a year of development on my free time I'd like to present Netduino Console.

A dynamic plugin interface with a built in messaging layer for you to create control plugins that send and receive events to and from the Netduino Controller.

You can find the source code at https://netduinoconsole.codeplex.com

Linked is a quick demonstration of some of the capabilities of what the Netduino Console can do.

Feedback and questions are welcome.

Enjoy!

http://www.youtube.com/watch?v=nxBPoAudAKA&feature=channel&list=UL

Posted Image

Getting started with Nwazet Display

20 September 2012 - 07:44 PM

Whats up everyone,

Finally dusted off my Go. Bought everything months ago but have been so busy with an N+ project its all been sitting in my drawer.

First off, I'd like to say that I am very impressed with the Go and modules being created. Fabien, your nutshell app is genius. Still some bugs in it when trying to change colors of shapes but I can improvise.

I have an issue and a suggestion... issue first.

Downloaded the latest drivers from here ... https://bitbucket.or...f220d46/Library

Created a Go project.

Added Nwazet.Go.SDT028ATFTLCDTS to refs

Made a simple screen canvas via nutshell here...

using System;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;
using SecretLabs.NETMF.Hardware;
using SecretLabs.NETMF.Hardware.NetduinoGo;
using Nwazet.Go.Display;
using Nwazet.Go.Imaging;
using Nwazet.Go.Fonts;

namespace DisplayTesting
{
    public class Program
    {
        public static void Main()
        {
            // write your code here

            var canvas = new VirtualCanvas(null, null);
            canvas.Initialize(GoSockets.Socket5);
            canvas.SetOrientation(Orientation.Landscape);
            canvas.DrawRectangleRounded(
                11, 33,
                303, 222,
                ColorHelpers.GetRGB24toRGB565(0, 0, 0),
                5,
                RoundedCornerStyle.All);
            canvas.DrawButton(
                245, 190,
                50, 20,
                DejaVuSans9.ID, 12,
                ColorHelpers.GetRGB24toRGB565(233, 114, 114),
                ColorHelpers.GetRGB24toRGB565(255, 255, 255),
                ColorHelpers.GetRGB24toRGB565(0, 0, 0),
                "Button",
                RoundedCornerStyle.None);
            canvas.DrawArrow(
                263, 114, 33,
                DrawingDirection.Right,
                ColorHelpers.GetRGB24toRGB565(172, 220, 102));

            canvas.Execute();

            Thread.Sleep(Timeout.Infinite);

        }

    }
}



When compiling I am receiving the following errors...

Could not copy the file "C:\Users\bbender\Dropbox\Netduino\Development\Netduino Go\DisplayTesting\DisplayTesting\bin\Debug\LE\Nwazet.Go.Core.pe" because it was not found.

Could not copy the file "C:\Users\bbender\Dropbox\Netduino\Development\Netduino Go\DisplayTesting\DisplayTesting\bin\Debug\LE\Nwazet.Go.SDT028ATFTLCDTS.pe" because it was not found.

I tried referencing the Nwazet.Go.SDT028ATFTLCDTS.dll in two areas of Fabien's BitBucket release...

..\fabienroyer-nwazet.go-b24909aff18e\Library\Nwazet.Go.SDT028ATFTLCDTS\Nwazet.Go.SDT028ATFTLCDTS\bin\Debug
..\fabienroyer-nwazet.go-b24909aff18e\Binaries

No Go! for either reference (pun intended)

Please advise.

Here is also my suggestion...

I looked at the Nwazet product page, this forum (maybe not well enough) and the wiki pages... I really don't see any step by step of exactly what to download and what to reference to get this display fired up. I assumed copy/paste of Nutshell code into my startup program.cs and referencing above mentioned dll but I did not read that it is the correct place or to do that at all. I did load the NwazetDisplayModule.sln provided but it's absolute Go Newb overkill, especially since the SD module has not even been released yet and I don't have a breakout SD.

Is there an instruction page a little less to the extent of taking this display to the max... possibly a more step by step? I realize we are all somewhat engineers or professional tinkerers but until I master the Go! like the plus, I and probably many others would like a dumbed down step by step of hooking the display up to the go, referencing minimum required dlls, and running with code from the nutshell. Maybe even a simple button click event example.

Anything like that as of yet?

BTW... I did read this post... http://forums.netdui...h__1#entry30497

Didn't help. From what I 'think' I know about .pe files being included when ref'ing dlls... my impression is the GAC loads them into your bin. I could be wrong. Perhaps an SDK setup for your drivers with an actual version to go by so we know if we have the latest Fabien?

Electronic Speed Control question

18 September 2012 - 02:48 AM

Hi, My background is code and not electronics but this is probably a simple question for most of you... I am controlling a DC motor via PWM and a force sensor via Analog input. I map the 0 - 1023 values of the force sensor to a duty cycle of 0 - 100 for the PWM pin. It works fine. Using a multimeter I can see 0 - 3.3v coming out of the PWM as I squeeze the sensor but the motor doesn't move. If I hook the motor directly to a variable power supply it runs just fine on 3.3v. Is there not enough current drawing from the PWM pin or what? If I juice the motor from a different power source how can I make the voltage vary? I'm assuming I need to use an ESC. So if I power the motor via 9v and only want 3.3v do I just set the PWM duty cycle to around 33 for max voltage? If an ESC is what I need are there any recommendations?

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.