Nutz95'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.

Nutz95's Content

There have been 10 items by Nutz95 (Search limited from 20-May 23)


By content type

See this member's

Sort by                Order  

#54574 read file from SD

Posted by Nutz95 on 09 December 2013 - 07:42 PM in Netduino 2 (and Netduino 1)

Thank you 'ill give it a look.

So you are saying the StreamReader is buggy but the FileStream is working?




#54522 read file from SD

Posted by Nutz95 on 06 December 2013 - 08:28 PM in Netduino 2 (and Netduino 1)

Do you know if your network interface is configured in DHCP or with static IP once reflashed?




#54520 read file from SD

Posted by Nutz95 on 06 December 2013 - 07:10 PM in Netduino 2 (and Netduino 1)

@Duefectu

It depends, i have 1 project that is using ethernet, and another one that is not.

 

Did you do something special to disable the ethernet part?

i'll give it some tries when i get back my board.




#54518 read file from SD

Posted by Nutz95 on 06 December 2013 - 06:36 PM in Netduino 2 (and Netduino 1)

So i guess you have the exact same issue as mine.




#51460 read file from SD

Posted by Nutz95 on 15 July 2013 - 06:40 PM in Netduino 2 (and Netduino 1)

I also have tried to read a file line by line, i've got the excat same exception.

I have this exception once i hit position 2048. (my file is more than 5000 characters)

Is ther any limitation to 2048 chars per file?




#51232 Netduino plus 2 driving Servo (Futuba S3003)

Posted by Nutz95 on 08 July 2013 - 08:09 PM in Project Showcase

On my board (NP2) Cpu.PWMChannel.PWM_0 corresponds to Digital pin  5.

 

I just saw on the datasheet that Digital Pin 3 can also be used as PWM, in that case it's strange that Pin 3 was not assigned  Cpu.PWMChannel.PWM_0.

 

Anyway you can use Pin 3, 5, 6, 9, 10 and 11as PWM output.

 

PWMChannel.PWM_0 seems to corresponds to pin 5, so i guess Cpu.PWMChannel.PWM_1 is linked to Pin6 etc...




#51157 Netduino plus 2 driving Servo (Futuba S3003)

Posted by Nutz95 on 06 July 2013 - 08:19 PM in Project Showcase

After some research and tinkering with my Futuba S3003 servo motor and my Netduino Plus 2, i made a small class that can move the servo based on Degree.

 

With it you are able to move your servo from 0 up to 180°.

The constructor parameters provides:

-Output PWM channel

-PWM frequency

-Min PWM signal duration (for 0°) => 600 us

-Max PWM signal duration (for 180°) => 2400 us

-Max Rotation value i degree => 180°

 

You can tweak a little bit to move your servo a little bit more (min signal duration can go down to 400us) and your servor can rotate a little bit more than 180°

 

(see attached file)

 

How to use:

FutubaS3003 _rangeServo  = new FutubaS3003(Cpu.PWMChannel.PWM_0,50, 600, 2400, 180);_rangeServo.Start();_rangeServo.MoveToDegree(0);_rangeServo.MoveToDegree(180);_rangeServo.MoveToDegree(0);_rangeServo.Stop();_rangeServo.Dispose();

Note: The class has no sanity check on wrong values provided to MoveToDegree() function.

-The class will only be working with a Netduino Plus 2 board.

 

You will need to include the following references to your project:

Microsoft.SPOT.Hardware;

Microsoft.SPOT.Hardware.PWM;

Microsoft.SPOT.Native;

Microsoft.SPOT.Net;
SecretLabs.NETMF.Hardware.Netduino;

SecretLabs.NETMF.Hardwar.NetduinoPlus;

System;Attached File  FutubaS3003.cs   4.49KB   74 downloads




#50298 Power and USB Question

Posted by Nutz95 on 05 June 2013 - 11:33 AM in Netduino 2 (and Netduino 1)

In that case i just hope Netduino Plus V1 will still be in production and available somehow in the near future.




#49337 Power and USB Question

Posted by Nutz95 on 10 May 2013 - 03:29 PM in Netduino 2 (and Netduino 1)

Hello, i notices in the Netduino Plus 2 specs that the input voltage is now down to 7.5 - 9.0 VDC

.

I also checked the voltage regulator is a  MC33269DT-5.0G which can handle up to 20v as you mentioned earlier.

So i would like to know if the page http://netduino.com/...plus2/specs.htm is up to date ?

 

why is there a difference between the netduino plus and netduino plus 2 input voltage? is it on purpose?

Can i still plug a 12v power supply on the netduino plus 2?




#46270 Lost my MAC Address

Posted by Nutz95 on 26 February 2013 - 07:15 PM in Netduino Plus 2 (and Netduino Plus 1)

Hello,

On my side i'm using Netduino + V1, with firmware 4.2.0.1 update 1, and on my application i use 3 nd+ connected togather through ethernet.

 

board 1 acts as a data acquisition board.

board  2 acts as a display board

board 3 acts as a control board (buttons are attached to it).

 

Board 2 connects to Board 1.

And board 3 connects to Board 2.

 

On boot i use some delay in order to make sure the other boards are running.

 

SOmetimes it happens that my connect() call is hanging.

To avoid that i'm using some software watchdog to i need to reset programatically.

After the timeout period happens i do a

 

 PowerState.RebootDevice(true);

 

With this my boards restarts and i can attempt to connect again.

Most of the time i don't need a restart but in some case i need it to avoid connection hang.

 

After a few restart i noticed that my module physical address of my board 3 is lost. ( when i check back i have the default mac address : 00-00-00-00-00-01)

 

Even if i reset the proper mac address after some time the board lost it.

 

 

What is does on my board 2, is that it kills my network comunication with board 3 and 1.

 

As my 3 boards are working togather if board 2 got it's network interface killed i need to reboot the 3 boards.

Even after the reboot as my board 3 has lost it's mac address the system stops working as soon as my board 3 starts to connect to my board 2 again.

 

 

Is it normal that the boards is loosing it's MAC address?

What can i do to avoid this stuff?

 

 

Can i setup programatically my board mac address at each start like this:

byte[] m_MacAdd = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 };

networkInterface.PhysicalAddress = m_MacAdd;

 

some advice would be apriciated.

Thanks





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.