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.

c2rosa's Content

There have been 15 items by c2rosa (Search limited from 24-April 23)


By content type

See this member's

Sort by                Order  

#59330 Problem driving DC Motor with HBridge

Posted by c2rosa on 21 July 2014 - 02:31 PM in Netduino Plus 2 (and Netduino Plus 1)

By the way, when I hooked the 9V battery to the leads backwards, I noticed that the battery heated up.....Is this normal?  Was I inadvertently charging the 9V battery off of whatever 5V current was flowing to the DF Robot shield (L298P) from the Netduino (ultimately from the computer)?




#59320 Problem driving DC Motor with HBridge

Posted by c2rosa on 20 July 2014 - 10:51 PM in Netduino Plus 2 (and Netduino Plus 1)

I did manage to get a 9V battery hooked into the PWRIN lead on the L298P device (after hooking backwards the first time....).  Once I got this configured correctly, the motor does run now.  Thanks!




#59319 Problem driving DC Motor with HBridge

Posted by c2rosa on 20 July 2014 - 10:27 PM in Netduino Plus 2 (and Netduino Plus 1)

How does one hook an external power source to the L298P DF Robot shield?




#58877 Need Help with DFRduino motor Shield

Posted by c2rosa on 24 June 2014 - 03:10 PM in Netduino 2 (and Netduino 1)

Regarding: "If you download the samples, and open DFRobot Motorshield.sln, you'll also see a sample code."...

 

OK...I'll try this.




#58874 Need Help with DFRduino motor Shield

Posted by c2rosa on 24 June 2014 - 12:17 PM in Netduino 2 (and Netduino 1)

I did install the software found at:

http://netmftoolbox....ses/view/123723

This is:

.NET Micro Framework Toolbox v0.3

From within MS Visual Studio, I input the C# code found at:

http://netmftoolbox.... L298N and L293

 

I finally got the HBridge to be recognized after I included Toolbox.NETMF.Hardware.HBridge.

 

I have tried to include:

Toolbox.NETMF.Hardware.Netduino

(in order to get the IDE to recognize Netduino.PWM(...)), but, so far, to no avail.

 

 

Is the link you have above:

http://netmftoolbox....rdware.IPWMPort

 

accessible to me once I install the software found at:

http://netmftoolbox....ses/view/123723

 

Or do I have to go someplace else?

 

Thanks, Charlie




#58872 Need Help with DFRduino motor Shield

Posted by c2rosa on 24 June 2014 - 01:03 AM in Netduino 2 (and Netduino 1)

I am trying to use the HBridge class.

In particular, Toolbox.NETMF.Hardware.HBridge

The first and third arguments for this are:

Toolbox.NETMF.Hardware.IPWMPort

This is described at:

http://netmftoolbox....rdware.IPWMPort

 

I can't seem to get MS Visual Studio C# 2010 to recognize this.

How do you do this?

Thanks, Charlie




#58859 Help with a Servo code

Posted by c2rosa on 23 June 2014 - 12:08 AM in Netduino 2 (and Netduino 1)

Forget the last question.....I got the dll ("SecretLabs.NETMF.Hardware.PWM.dll") figured out....and the servo code is working great now.

Thanks!




#58858 Help with a Servo code

Posted by c2rosa on 22 June 2014 - 11:38 PM in Netduino 2 (and Netduino 1)

Chris,

Where do I go to find and install "SecretLabs.NETMF.Hardware.PWM.dll"....

 

Once this is installed, will Microsoft Visual Studio C# 2010 Express be able to find it?




#58552 Anyone have a good PWM example for Netduino Plus 2?

Posted by c2rosa on 04 June 2014 - 05:12 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi Wicky,

If you're using a Netduino or Netduino Plus 1, you can actually pull in the SecretLabs.NETMF.Hardware.PWM.dll class and use the existing code.

And to answer your specific question, here is what the new SetPulse function does internally:

       public void SetPulse(UInt32 period, UInt32 duration)
        {
            _pwm.Period = period;
            _pwm.Duration = duration;
        }
Basically it just sets the PWM period and duration using the two values you pass in. You should be able to break out your existing code to two lines...and it should work well for you.

Chris

 

Chris,

And when you update the fields Period and Duration as you've shown in the code snippet above, the change happens immediately and automatically?  You don't have to do anything to get the changes to "take"?




#58470 Compatible Shields and Accessories

Posted by c2rosa on 29 May 2014 - 12:35 PM in Netduino 2 (and Netduino 1)

Do these shields work with the Netduino 2 as well?

If so, where do I go to download libraries (*.dll files or the C# source code) to drive these shields?

Finally, do I need a particular firmware in my Netduino 2 or a particular version of the SDK for these to work?

 

I'm particularly interested in a motor shield, if possible, but some of the others look cool too.




#58439 Netduino with Adafruit Motor Shield

Posted by c2rosa on 27 May 2014 - 07:11 PM in Netduino 2 (and Netduino 1)

Are the libraries typically delivered as source code?  Or is it sometimes the case that the libraries are delivered in the form of DLLs that we integrate into C# programs?




#58435 Netduino with Adafruit Motor Shield

Posted by c2rosa on 27 May 2014 - 04:24 PM in Netduino 2 (and Netduino 1)

I just purchased a Netduino 2 and so I installed:

.NET Micro Framework SDK v4.2   3

Netduino SDK v4.2.2.0 (32-bit) or
Netduino SDK v4.2.2.0 (64-bit)

 

 

I'm thinking about purchasing a Netduino 1 plus as well, and, to use this, I would need to install:

 
.NET Micro Framework SDK v4.1   3 Netduino SDK v4.1.0 (32-bit) or
Netduino SDK v4.1.0 (64-bit)

 

 

Is there any danger to having both the v4.2 and v4.1 SDKs installed.  For example, would these two SDKs collide around some of their basic functionality?




#58433 Basic robot help

Posted by c2rosa on 27 May 2014 - 03:06 PM in General Discussion

I went to:

https://www.adafruit.com/products/81

 

and see that the adafruit motor shield referenced above has been discontinued.

What are you recommending now for motor shields?  Is the upgrade that they now have a workable solution?

What libraries will I need to use the combination of Netduino and this motor shield?




#58425 Help with a Servo code

Posted by c2rosa on 27 May 2014 - 01:38 PM in Netduino 2 (and Netduino 1)

Regarding:

"Here is the servo tutorial that also explains what is happening. Once you finish that one I would suggest you post some of your questions here and we'll try to answer and explain them as best as possible. Also don't forget to check the datasheets on theservo you have. Each servo may be configured differently and to have it operating smoothly you may need to alter your code slightly. "

 

The servo tutorial you reference above is great for Netduino.

Unfortunately, for the Netduino 2, they seem to have taken away the:

servo.SetPulse(20000, pos);

method of:

PWM servo = new PWM(Pins.GPIO_PIN_D9);

In addition, the constructor for the PWM object has changed as well.

 

Do you know whether there are examples/tutorials that help those of us using Netduino 2?

 

Thanks for any insights.




#58392 Ultrasonic sensor code.

Posted by c2rosa on 25 May 2014 - 11:43 PM in Netduino 2 (and Netduino 1)

Thanks.....This worked well for me too.





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.