miltonkbenjamin's Content - Netduino Forums
   
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.

miltonkbenjamin's Content

There have been 21 items by miltonkbenjamin (Search limited from 25-April 23)


By content type

See this member's

Sort by                Order  

#56826 Netduino Drivers for Grove - Temp&Humi Sensor SEN11301P

Posted by miltonkbenjamin on 15 March 2014 - 09:31 PM in General Discussion

All,

 

Has anyone ported the Arduino Software for the Grove Temperature and humidity sensor SEN11301P to the Netduino ?

 

The code for the Arduino can be found at:

 

https://github.com/S...perature_Sensor

 

BTW,  I am also looking for inexpensive sensors to interface with the Netduino for (possibly thousands)

1) CO2

2) Volatile Organic Compounds (VOCs)

3) Wind speed

4) Wind direction

5) GPS

6) Electric, gas, steam, and water meter sensors

7) Alternating and Direct Current

8) Alternating and direct Voltage

9) Power Factor\

10) Stack temperature and %CO2

11) Pump pressure 0->25 PSI

12) Fan Pressure 0->20 inches water column

 

Thanks,

 

Milt




#56760 error: MMP0000: CLR_E_ENTRY_NOT_FOUND

Posted by miltonkbenjamin on 11 March 2014 - 11:35 PM in General Discussion

****** Error: CLR_E_ENTRY_NOT_FOUND

 

To fix the problem, start with a new clean project, add the code and references to the project.

 

Once all the needed references are added, this link error goes away and everything then works.

 

Thanks,

 

Milt




#56254 error: MMP0000: CLR_E_ENTRY_NOT_FOUND

Posted by miltonkbenjamin on 21 February 2014 - 08:28 PM in General Discussion

Hi Chris

 

How can I tell what version of .NET Micro Framework  the .NETMF library was built for?

 

This is the toolbox I downloaded. from

https://netmftoolbox...ases/view/99595

.NET Micro Framework Toolbox v0.1

Looks like these libraries consists of a number of interdependent projects.  My problem is I dont yet

see the structure of the process and reverse engineering is not a very efficient way of going at it.

I can input the Toolkit.NETMF.Hardware.Tools project into VisualC# and build it there using 4.2.  However

other libraries are prerequisites.  Is there a systematic way to do this?

Thanks,

Milt




#56171 error: MMP0000: CLR_E_ENTRY_NOT_FOUND

Posted by miltonkbenjamin on 18 February 2014 - 03:14 PM in General Discussion

MMP : error MMP0000: CLR_E_ENTRY_NOT_FOUND

Occurs during build.

 

Member of .NET Framework 4
  C:Program Files (x86)Reference AssembliesMicrosoftFramework.NETFrameworkv4.0System.Workflow.Runtime.dll
 

Source:

using System;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;
using SecretLabs.NETMF.Hardware;
using SecretLabs.NETMF.Hardware.Netduino;
using Toolbox.NETMF.Hardware;
using Toolbox.NETMF.NET;
using Toolbox.NETMF;

namespace NetdunoGPS
{
  public class Program
  {
  public static NmeaGps Gps = new NmeaGps();
  public static OutputPort Led = new OutputPort(Pins.ONBOARD_LED, false);
  // ********************************* **************************************
  public static void Main()
  {
  // Binds all events to the GPS device
  Gps.GotFix += new NativeEventHandler(Gps_GotFix);
  Gps.LostFix += new NativeEventHandler(Gps_LostFix);
  Gps.PositionChanged += new NativeEventHandler(Gps_PositionChanged);
  // Starts the GPS device
  Debug.Print("Trying to get a fix...");
  Gps.Start();
  // Nice blinking LED effect when we have a fix
  while (true)
  {
  Led.Write(Gps.Fix);
  Thread.Sleep(450);
  Led.Write(!Gps.Fix);
  Thread.Sleep(50);
  }
  }
  // ***********************************************************************
  static void Gps_PositionChanged(uint Unused, uint FixType, DateTime GPSTime)
  {
  string Outp = "";
  Outp += "3D-Fix: " + Gps.Fix3D.ToString();
  Outp += ", Sattellites: " + Gps.Satellites.ToString();
  Outp += ", Time: " + Gps.GPSTime.ToString();
  Outp += ", Latitude: " + Gps.SLatitude;
  Outp += ", Longitude: " + Gps.SLongitude;
  Outp += ", Altitude: " + Gps.SAltitude;
  Outp += ", Knots: " + Gps.Knots.ToString() + " (" + Gps.Kmh.ToString() + " km/h)";
  Debug.Print(Outp);
  // If you want to translate this to a Bing Maps URL, try this:
  Debug.Print("http://www.bing.com/maps/?q=" + Tools.RawUrlEncode(Gps.Latitude.ToString() + " " + Gps.Longitude.ToString()));
  }
  // ***********************************************************************
  static void Gps_GotFix(uint Unused, uint FixType, DateTime GPSTime)
  {
  Debug.Print("We got a fix, yay!!");
  }
  // ***********************************************************************
  static void Gps_LostFix(uint Unused, uint FixType, DateTime GPSTime)
  {
  Debug.Print("We lost our GPS fix :(");
  }
  // ***********************************************************************
  }
}
 

Any Ideas?

 

Thanks,

 

Milt




#56136 Running Sqlite3 on Netduino2+

Posted by miltonkbenjamin on 17 February 2014 - 03:37 AM in Project Showcase

I found a c# version of SQLITE3 complete with a visual studio 2010 project file.  I downloaded the package and imported the project file into Visual studio 2010.  I referenced the SQLITE3 project from another C# project that runs on the Netduino.  I can now call SQLITE functions

form the netduino c# code

 

How do I tell VS2010 to convert the referenced SQLITE3 project to byte code for the Netduino+2 so it too can run on the netduino?

 

Thanks,

 

Milt




#56135 Running Sqlite3 on Netduino2+

Posted by miltonkbenjamin on 17 February 2014 - 01:40 AM in Project Showcase

Does anyone know how to run sqlite3 on the Netduion2+?

 

Thanks,

 

Milt




#54914 Netduino as a Prototyping Platform.

Posted by miltonkbenjamin on 26 December 2013 - 08:47 PM in General Discussion

Hi Chris,

 

We may very well be talking about millions.

 

Thanks,

 

Milt




#54878 Installing Toolsets

Posted by miltonkbenjamin on 24 December 2013 - 11:42 PM in General Discussion

Ok,

 

I got the NmeaGps  name space defined bu including:

 

using Toolbox.NETMF.Hardware;

 

Now "Tools" is not defined in

 

  "Debug.Print("http://www.bing.com/maps/?q=" + Tools.RawUrlEncode(Gps.Latitude.ToString() + " " + Gps.Longitude.ToString()));"

 

Where do I find "Tools" ?

 

Thanks

 

Milt  




#54864 Netduino as a Prototyping Platform.

Posted by miltonkbenjamin on 24 December 2013 - 06:37 AM in General Discussion

All,

 

Netduino is an excellent prototyping platform.  However, doing any thing useful may require 4 or 5 shields.

 

Has anyone taken a completed design to a  solid state foundry and had it shrunk to a single chip?

 

If so, how much should I expect this step to cost for 5-6 shields for 1,000 -> 10,000 copies?  Any recommended

 

foundries?

 

Thanks,

 

Milt




#54859 Installing Toolsets

Posted by miltonkbenjamin on 24 December 2013 - 01:23 AM in General Discussion

All,

 

After unpacking one tool box, i get in c:programfiles (x86)netfmToobox.com    :

 

/.NET Micro Framework Toolbox/Assemblies/v4.1/be/Toolbox.NETMF.Hardware.NmeaGps.dll ./.NET Micro Framework Toolbox/Assemblies/v4.1/be/Toolbox.NETMF.Hardware.NmeaGps.pdb ./.NET Micro Framework Toolbox/Assemblies/v4.1/be/Toolbox.NETMF.Hardware.NmeaGps.pdbx ./.NET Micro Framework Toolbox/Assemblies/v4.1/be/Toolbox.NETMF.Hardware.NmeaGps.pe ./.NET Micro Framework Toolbox/Assemblies/v4.1/le/Toolbox.NETMF.Hardware.NmeaGps.dll ./.NET Micro Framework Toolbox/Assemblies/v4.1/le/Toolbox.NETMF.Hardware.NmeaGps.pdb ./.NET Micro Framework Toolbox/Assemblies/v4.1/le/Toolbox.NETMF.Hardware.NmeaGps.pdbx ./.NET Micro Framework Toolbox/Assemblies/v4.1/le/Toolbox.NETMF.Hardware.NmeaGps.pe ./.NET Micro Framework Toolbox/Assemblies/v4.1/Toolbox.NETMF.Hardware.NmeaGps.dll ./.NET Micro Framework Toolbox/Assemblies/v4.1/Toolbox.NETMF.Hardware.NmeaGps.pdb ./.NET Micro Framework Toolbox/Assemblies/v4.2/be/Toolbox.NETMF.Hardware.NmeaGps.dll ./.NET Micro Framework Toolbox/Assemblies/v4.2/be/Toolbox.NETMF.Hardware.NmeaGps.pdb ./.NET Micro Framework Toolbox/Assemblies/v4.2/be/Toolbox.NETMF.Hardware.NmeaGps.pdbx ./.NET Micro Framework Toolbox/Assemblies/v4.2/be/Toolbox.NETMF.Hardware.NmeaGps.pe ./.NET Micro Framework Toolbox/Assemblies/v4.2/le/Toolbox.NETMF.Hardware.NmeaGps.dll ./.NET Micro Framework Toolbox/Assemblies/v4.2/le/Toolbox.NETMF.Hardware.NmeaGps.pdb ./.NET Micro Framework Toolbox/Assemblies/v4.2/le/Toolbox.NETMF.Hardware.NmeaGps.pdbx ./.NET Micro Framework Toolbox/Assemblies/v4.2/le/Toolbox.NETMF.Hardware.NmeaGps.pe ./.NET Micro Framework Toolbox/Assemblies/v4.2/Toolbox.NETMF.Hardware.NmeaGps.dll ./.NET Micro Framework Toolbox/Assemblies/v4.2/Toolbox.NETMF.Hardware.NmeaGps.pdb

 

How would I import these tools into the Microsoft Visual C# toolbox menu?  What is the

difference between  le and  lb?  What does pe, pdbx and pdb mean?

 

Thanks,

 

Milt




#54850 Adafruit Netduino GPS shield

Posted by miltonkbenjamin on 23 December 2013 - 09:41 PM in General Discussion

Bryn,

 

I copied the code into a MicroFramework  Microsoft C# 2010 project, see below, and it complained that namespace NmeaGps was not found.

Any Ideas?

 

Thanks,

Milt

 

"using System; using System.Threading; using Microsoft.SPOT; using Microsoft.SPOT.Hardware; using SecretLabs.NETMF.Hardware; using SecretLabs.NETMF.Hardware.Netduino; namespace NetduinoApplication1 {   public class Program {   public static NmeaGps Gps = new NmeaGps();   public static OutputPort Led = new OutputPort(Pins.ONBOARD_LED, false);   // ***********************************************************************   public static void Main() {   // Binds all events to the GPS device   Gps.GotFix += new NativeEventHandler(Gps_GotFix);   Gps.LostFix += new NativeEventHandler(Gps_LostFix);   Gps.PositionChanged += new NativeEventHandler(Gps_PositionChanged);   // Starts the GPS device   Debug.Print("Trying to get a fix...");   Gps.Start();   // Nice blinking LED effect when we have a fix   while (true) {   Led.Write(Gps.Fix);   Thread.Sleep(450);   Led.Write(!Gps.Fix);   Thread.Sleep(50);   }   }   // ***********************************************************************   static void Gps_PositionChanged(uint Unused, uint FixType, DateTime GPSTime)   {   string Outp = "";   Outp += "3D-Fix: " + Gps.Fix3D.ToString();   Outp += ", Sattellites: " + Gps.Satellites.ToString();   Outp += ", Time: " + Gps.GPSTime.ToString();   Outp += ", Latitude: " + Gps.SLatitude;   Outp += ", Longitude: " + Gps.SLongitude;   Outp += ", Altitude: " + Gps.SAltitude;   Outp += ", Knots: " + Gps.Knots.ToString() + " (" + Gps.Kmh.ToString() + " km/h)";   Debug.Print(Outp);   // If you want to translate this to a Bing Maps URL, try this:   Debug.Print("http://www.bing.com/maps/?q=" + Tools.RawUrlEncode(Gps.Latitude.ToString() + " " + Gps.Longitude.ToString()));   }   // ***********************************************************************   static void Gps_GotFix(uint Unused, uint FixType, DateTime GPSTime) {   Debug.Print("We got a fix, yay!!");   }   // ***********************************************************************   static void Gps_LostFix(uint Unused, uint FixType, DateTime GPSTime) {   Debug.Print("We lost our GPS fix :(");   }   // ***********************************************************************   } } "




#54834 Running code loaded into an Micro SD card on a Netduino

Posted by miltonkbenjamin on 23 December 2013 - 12:58 PM in General Discussion

All,

 

When we copy an executable to a MicroSd Card, how do we tell the Netduino to run that code, except by just

 

plugging it into the SD port on the Netduino?

 

Thanks,

 

Milt




#54833 C# cross compiler for STM32F2

Posted by miltonkbenjamin on 23 December 2013 - 12:55 PM in General Discussion

All,

 

There are many manufacturers of micro controllers and also likely many instruction sets.

 

How does one tell Visual C# which micro controller it should produce object code for? 

 

Is there some standard ?

 

I am using a Netduino 2Plus which has STM32F2 CPU?

 

Thanks,

 

Milt




#54819 sqlLite/Webserver for the Netduino2 Plus

Posted by miltonkbenjamin on 22 December 2013 - 05:09 PM in General Discussion

1)  Is the processor on the Netduino2 plus a STM32F4?

2) Is there a webserver that runs on the Netduino2 plus?

3) is there a light sql server that runs also?

4) Is there an API for the firmware that matches the firmware and the components of the device that

  each class member function accesses?

5) Is there firmware/software that can extract the GPS lat,lon, z from the GPS Shield.

6) How would one set a fixed IP address on the ethernet port on the Netduino?  This can the be used

to access the web server home page.

7) how would one write the GPS data to the home page so it would be accessible to PHP, python or Javascript.

 

Thanks,

 

Milt




#54801 Adafruit Netduino GPS shield

Posted by miltonkbenjamin on 20 December 2013 - 04:23 PM in General Discussion

All,

 

Where can I get the C# class for accessing the GPS data (lat, lon, elev?) from an Adafruit Netduino GPS shield?

 

Thanks,

 

Milt




#54799 Netduino Connections

Posted by miltonkbenjamin on 20 December 2013 - 04:02 PM in General Discussion

If one wants to connect the Netduino to a computer via an output port of a router does one need to use a straight through or crossover ethernet cable?  Power will be supplied via a USB cable.

 

What should I expect to see in windows explorer when a successful connection is made? There is a 2 GB memory card plugged into the side of the Netduino.  Should I see another drive (say K:)?

 

Thanks,

 

Milt




#54792 Cant open project

Posted by miltonkbenjamin on 20 December 2013 - 12:45 AM in General Discussion

Running now!

 

Thanks Chris.

 

Milt




#54791 Cant open project

Posted by miltonkbenjamin on 19 December 2013 - 11:52 PM in General Discussion

1) I installed a 2 GB kingston memory card in the side of the Netduino so there is RW memory now.  Getting a short Ethernet cable.

2) On first try I installde Visual C# 2013 plus the rest of the software.  When I couldn't get thingss working, I uninstalled everything, but not without errors.  Finally, after a few reboots, all installed software disappeared from the Programs and Applications Uninstall window.

I then reinstalled everyting following the instructions religiously (not without a few errors).

I now have

1) Microsoft c# Visual Studio 2103

2) Micro Framework 4.1

3) Netduinosdk.

I repaired each package a few times uninstalling does hot always go smoothly

Any Ideas?

Thanks,

Milt




#54789 Cant open project

Posted by miltonkbenjamin on 19 December 2013 - 10:27 PM in General Discussion

1:  If I use USB  to connect my netduino to the computer do I also need the power cord and transformer?

 

2: When I Open a proiject get a New Project popup with

 Visual C#

  Micro Framework

 

If I pick Micro Framework from the list on the left and pich Neduino  Application from the list on the right and click OK

This is when I get the message.  Any Ideas

 

3) If I connect the Netduino to my computer via USB should I be able to see the file system there or Do I also need

the Ethernet cable connected to a router to see the filesystem?

 

Thanks,

 

Milt




#54787 Cant open project

Posted by miltonkbenjamin on 19 December 2013 - 10:08 PM in General Discussion

I followed the instructions and when I tried to create a new project, I received the following
message
"The project file
‘C:UsersMilt3AppDataLocalTempoupvwbv.eketempNetduinoPlusApplication1.csproj cannot be opened."
 
The project type is not supported by this installation.
 
Any Ideas?
 
Thanks,
 
Milton K Benjamin
Barkley Group
856-354-7692



#54770 Development Software Configuration

Posted by miltonkbenjamin on 19 December 2013 - 03:24 AM in Netduino 2 (and Netduino 1)

There are 3 steps to install the development environment.

 

1) download Microsoft visual C# 2010

2) Install Microsoft .net framework

3) Install Netduino SDK V4.1

 

I used the links on the website and got

1) Microsoft Visuall C# 2013

2) Microsoft .net framework

3) Netduino STK 4.2

 

Nothing worked.

 

I uninstalled everything and started fresh from the links on the Netduino website.

I got

1) Microsoft Visual C# 2010

2) MicroFrameworkSDK_NETMF42_QFE2.msi

3)  netduinosdk_64bit_NETMF42.exe

 

Still I cant create a project in visual C# for the netduino 2  plus in 8 hours.

 

Any Ideas?

 

Thanks,

 

Milt





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.