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.

cce1911's Content

There have been 59 items by cce1911 (Search limited from 25-June 23)


By content type

See this member's


Sort by                Order  

#51239 NeonMika.Webserver

Posted by cce1911 on 09 July 2013 - 02:06 AM in Project Showcase

Am I missing something? I downloaded the N+2 Version (10.12.12) and have it running,  but I can't create the "network name". Its not a parameter in

Server WebServer = new Server(PinManagement.OnboardLED, 80, false, "192.168.1.25", "255.255.255.0", "192.168.1.1");

 

[font="arial, helvetica, sans-serif;"]Does the N+2 version have this?[/font]




#56903 Netduino Plus 2 Firmware v4.3.1

Posted by cce1911 on 19 March 2014 - 04:18 AM in Netduino Plus 2 (and Netduino Plus 1)

I've upgraded to vs2012, .netmf 4.3 and flashed the firmware successfully. I've upgraded my projects and their references to the 4.3 dlls, but when I go to deploy my programs the I'm getting errors with the .net microframework toolbox. I downloaded the 4.3 DLLs but I'm getting the following.

 

Link failure: some assembly references cannot be resolved!!
 
Assembly: Toolbox.NETMF.Hardware.Ic74HC595 (4.3.0.0) needs assembly 'mscorlib' (4.3.0.0)
 
 
My mscorlib is version 4.3.1.0.



#57931 Netduino Plus 2 Firmware v4.3.1

Posted by cce1911 on 04 May 2014 - 11:38 AM in Netduino Plus 2 (and Netduino Plus 1)

It took me too many hours to figure out that you can't boot up both devices at the same time. You have to boot theEdimax 60 seconds before powering up the N+2.



#56910 Netduino Plus 2 Firmware v4.3.1

Posted by cce1911 on 19 March 2014 - 12:58 PM in Netduino Plus 2 (and Netduino Plus 1)

Thanks for the quick reply Chris. Do I also need to change the AssemblyVersion in AssemblyInfo.cs?




#56908 Netduino Plus 2 Firmware v4.3.1

Posted by cce1911 on 19 March 2014 - 12:34 PM in Netduino Plus 2 (and Netduino Plus 1)

I have downloaded the source, but I'm not real sure how to upgrade it to 4.3.1. Do I have to change the target framework on all 40 projects? Do I have to manually edit the AssemblyInfo files and change AssemblyVersion("4.3.1.0")?




#56979 Netduino Plus 2 Firmware v4.3.1

Posted by cce1911 on 21 March 2014 - 09:20 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi cce1911,
 

In each project, go to project properties (right-click on the project name, select the "properties" menu option).

Then change the "Target Framework" from NETMF 4.3 to NETMF 4.2. It will probably close the window for you when you do this, to save the changes.

Then change the target framework back to NETMF 4.3.

Repeat the above for each project. If there are forty, it may take you 15 minutes. Tedious and no fun, but it should change everything from 'pre-production 4.3' to 'production 4.3.1' for you.

Now

 

Chris,

I just wanted to let you know that I was able to resolve my problem by compiling the toolbox with the 4.3.1 code.

-Capel




#51282 Dive Computer and Rebreather Controller Based on a Netduino Mini

Posted by cce1911 on 10 July 2013 - 02:39 AM in Project Showcase

Wow, that's a heck of an undertaking! So what's the motivation? Are you implementing features not found on the Shearwater or Hammerhead units? (BTW, I'm not a CCR diver but I was tech diving long before the term was ever coined.)




#51284 Dive Computer and Rebreather Controller Based on a Netduino Mini

Posted by cce1911 on 10 July 2013 - 03:21 AM in Project Showcase

What do you use for a HUD?

 

It looks like you have certainly found a creative outlet :) I look forward to following your progress...




#51277 Dive Computer and Rebreather Controller Based on a Netduino Mini

Posted by cce1911 on 10 July 2013 - 01:16 AM in Project Showcase

I saw you using gradient factors in the video. What deco algorithm are you using and did you code that yourself?




#57813 How do I connect Netduino+ to a pc wireless?

Posted by cce1911 on 28 April 2014 - 09:07 PM in Netduino Plus 2 (and Netduino Plus 1)

Could I use a male to male USB cable to power the Edimax BR-6258n NANO via the N+2 if I have a battery providing power to the N+2?




#57920 How do I connect Netduino+ to a pc wireless?

Posted by cce1911 on 03 May 2014 - 06:37 PM in Netduino Plus 2 (and Netduino Plus 1)

I got the Edimax 6258n and installed but I'm having some issues.

 

Here is my configuration:

  • Belkin N300 Wireless Router
  • No WAN connectivity
  • DHCP turned off
  • Static IP of 192.168.1.1
  • Netduino +2
  • Setup with static IP of 192.168.1.100
  • Laptop PC
  • connected to Belkin N300 wifi
  • Static IP of 192.168.1.29

 

My PC application uses a socket connection to talk to the Netduino on port 9999 and 9998. This works fine in a hard wired environment.  In this environment, I can ping the IP addresses of all the devices, but when I go to establish a socket connection I get an error saying "No connection can be made because the target machine actively refused it."

 

I tried configuring the Port Forwarding feature of the Edimax, but that did not seem to work either.

 

Does anyone have an idea on how to get the Edimax to allow tcp/ip traffic on designated ports?




#57942 How do I connect Netduino+ to a pc wireless?

Posted by cce1911 on 05 May 2014 - 01:23 AM in Netduino Plus 2 (and Netduino Plus 1)

I got everything working. I just needed to boot the Edimax and wait 60 seconds before powering up the N+2. When powering them up at the same time, the N+2 did not see the Edimax, but if I waited a minute, everything worked as advertised.

 

Baxter, yes I have it setup the way you described and port forwarding was not my issue. 




#57820 How do I connect Netduino+ to a pc wireless?

Posted by cce1911 on 29 April 2014 - 02:03 AM in Netduino Plus 2 (and Netduino Plus 1)

Baxter,

If I could use the USB port, it would make things easier. So I will now go down the path you suggest.

-Capel




#51238 NeonMika.NetduinoControl & NeonMika.Webserver.ClientLibrary

Posted by cce1911 on 09 July 2013 - 01:57 AM in Project Showcase

What version of Visual Studio is this built in? I get an error saying the project is incompatible with VS2010.




#49477 Issues with buttons and LCD

Posted by cce1911 on 16 May 2013 - 02:26 AM in Netduino 2 (and Netduino 1)

Hanzibal,

First let me say thank you for your assistance. I've been working with your code and I can't seem to get it to work. My breadboard is wired as shown in the attached image. I'm not sure if I have the pins assigned wrong or your code need to be tweaked for the N+2. Here is my code using your sample:

using System;using System.IO;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.Netduino;using Hd44780Test;namespace FirstPlus    {    public class Program        {        public static void Main()            {            // create the LCD driver class (d4, d5, d6, d7, E, RS)            var lcd = new Hd44780(Pins.GPIO_PIN_D4, Pins.GPIO_PIN_D5, Pins.GPIO_PIN_D6, Pins.GPIO_PIN_D7, Pins.GPIO_PIN_D9, Pins.GPIO_PIN_D8);            lcd.Write("- Hd44780 Demo -");            bool onoff;            for (int i = 0; true; i++)                {                onoff = (i & 1) == 0;                lcd.ChangePosition(1, 0);                lcd.Write((i & 0xff).ToString("X2") + " LED is " + (onoff ? "ON " : "OFF"));                //led.Write(onoff);                Thread.Sleep(250);                }            }        }    }

Attached Thumbnails

  • wiring_diagram2.png



#49464 Issues with buttons and LCD

Posted by cce1911 on 15 May 2013 - 01:17 PM in Netduino 2 (and Netduino 1)

I agree, it's hardly a h/w error "anymore". Using a shiftregister would probably help but you need to change your wiring to use SPI with the shift register and probably have to use a different library (e.g. Mario's) too. Before trying that, I could post you some code to try when I'm home after work today. That code would be more or less a drop in replacement.

 

Any suggestions you have would be appreciated.




#49493 Issues with buttons and LCD

Posted by cce1911 on 16 May 2013 - 01:55 PM in Netduino 2 (and Netduino 1)

Hanz,

Yes, I will stand up a new board with just the LCD on it and see if my wiring is the issue. It is a rather complex breadboard. I will also take a picture of the setup and what I'm seeing on the LCD. I won't be able to do this until this evening after work.




#49527 Issues with buttons and LCD

Posted by cce1911 on 18 May 2013 - 04:24 AM in Netduino 2 (and Netduino 1)

Hanzibal,

Tweaking the delay to 2ms did the trick. I also removed the pull-downs. Thanks for all your help.




#49455 Issues with buttons and LCD

Posted by cce1911 on 15 May 2013 - 03:22 AM in Netduino 2 (and Netduino 1)

Hanz,

Well I'm still getting intermittent behavior with the second line of the display. I grounded D0-D4 with a 100k resistor as you suggested and that did not resolve the problem. I purchased another 16x2 LCD from Adafruit and that did not solve the problem. I've even ported my code to a N+2 and I'm still seeing the issue of sometimes being able to see line 2 but most of the time I can't. If I unplug the USB cable to reboot, hold my jaw just right and I'm not wearing any socks, the 2nd line will sometimes work. All joking aside, I'm convinced its not a hardware problem.

 

You mentioned that it could be an issue with clocking. I assume this would be in the MicroLiquidCrystal library correct? Would a shift register and Mario's library solve the problem?




#49507 Issues with buttons and LCD

Posted by cce1911 on 17 May 2013 - 01:04 PM in Netduino 2 (and Netduino 1)

I'll remove the pull-downs on d0-d3, but do you think that is causing this problem?




#49502 Issues with buttons and LCD

Posted by cce1911 on 17 May 2013 - 01:58 AM in Netduino 2 (and Netduino 1)

Here is the picture. I'll set the other board up this weekend.

Attached Thumbnails

  • breadboard.jpg



#49106 How to Write/Read to Built-in Flash/EEPROM on the BARE Netduino?

Posted by cce1911 on 06 May 2013 - 04:51 PM in Visual Studio

It's a feature on our wish list, something that we baked into the hardware design. Right now we're focused on ensuring that all Netduino Plus 2 features work really well for our community and that projects upgrade seamlessly.

After the holidays we'll start attacking new software features. If this one gets the most votes, it gets in the first batch Posted Image

Chris

 

Did this make the list?




#49963 3x4 Matrix Keypad bounce problem

Posted by cce1911 on 25 May 2013 - 06:19 PM in Netduino 2 (and Netduino 1)

I'm using this keypad: http://www.adafruit.com/product/419

with the Toolbox.NETMF.Hardware.MatrixKeyPad driver and I'm getting a lot of bounce. It appears that the "time" parameter of the event handler is not working correctly. For example, in the code below, ButtonLastPushed is initially 0 and the first time the button is pushed "time" is zero also. Has anyone else run into this problem and found a fix?

/// Triggered when a key is pressedstatic void kb_OnKeyDown(uint KeyCode, uint Unused, DateTime time) {   if (ButtonLastPushed.AddMilliseconds(intBounceWait) > time) return; // prevent bounce   ButtonLastPushed = time;   Debug.Print("Key pressed: " + KeyLookup((int)KeyCode).ToString()); }



#49967 3x4 Matrix Keypad bounce problem

Posted by cce1911 on 25 May 2013 - 08:53 PM in Netduino 2 (and Netduino 1)

To start with I'm using the N+2. Sorry about posting in the wrong forum if this has anything to do with it.

 

The value of the "time" parameter is always 00:00:00 as if there were no clock at all on board. I don't expect the board to have the current time, just the time relative to startup. I can work around my problem with the code below, but I expected the Toolbox.NETMF.Hardware.MatrixKeyPad code to work and was wondering if anyone else had seen this problem.

static void kb_OnKeyDown(uint KeyCode, uint Unused, DateTime time){   KeyDown(KeyLookup((int)KeyCode), DateTime.Now);}// Process the keypad inputstatic void KeyDown(int KeyVal, DateTime dtTime)  {  if (ButtonLastPushed.AddMilliseconds(intBounceWait) > dtTime) return; // prevent bounce  ButtonLastPushed = dtTime;...



#49970 3x4 Matrix Keypad bounce problem

Posted by cce1911 on 25 May 2013 - 09:45 PM in Netduino 2 (and Netduino 1)

I'll have to retract that last post. It does not work either. Looks like there is something wrong with the clock...





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.