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.

DaveFer

Member Since 18 Dec 2013
Offline Last Active Dec 27 2014 04:13 AM
-----

Topics I've Started

Creating a COM port for serial communication with Netduino GO!

26 December 2014 - 04:59 AM

Hi all -

 

I apologize in advance if this question is mis-categorized or redundent.

 

HOW can I add a COM port to Windows 7 / Windows 8 to do serial communication with my Netduino Go!?

 

I have implemented serial communications on my Netduino GO! and it seems to be working. (COM1, 2400, 8N1)

 

On the host machine I am trying to use Putty.exe to receive and send serial text to the Netduino. (I have used Putty.exe for hundreds of hours at work so I know how to configure it.)

 

When I try to open COM1 in Putty, it tells me that if unable to connect to COM1. In short, there are no COM ports available to connect to. Changing the COM port specification in Netduino doesn't help ... other selections produce a runtime exception. Those that don't are not found on my computer.

 

On my host laptop, there are no COM ports visible in Device Manager. (Yes, I've enabled Show Hidden Devices.)

 

I have used Putty on both my laptops to communication with other microprocessors ... I'm surprised I'm having this problem with Netduino.

 

Can someone tell me how to config / enable / add a COM port to my laptop to facilitate serial communications with my Netduino Go!?

 

Thank you!

 

    - Dave Ferreira


Trouble making motor driver board work ...

11 September 2014 - 04:16 AM

Hi all -

 

(Wow ... just as a warning for everyone here:  COPY YOUR WORK before posting in this forum. I just spent about 1/2 researching and writing a post, only to have it be sacrificed to the database gods on posting.)

 

I'm not sure where else to post this item. Any help would be greatly appreciated.

 

I am trying to use this motor driver board:

https://www.bananaro...r-Driver-Module

 

I've attached a picture of the page with documentation on it if that's easier for you.

I have a 9V battery across the motor driver VCC and GND.

 

I have verified that I have PWM running at 100% duty cycle on ShieldBase port 6. I have connected this to IA on the motor driver board. I have tried leaving IB disconnected. Tried connecting IB to Shieldbase GND. Tried connecting IB to an unused Shieldbase digital port. Tried IB to a Shieldbase unused analog port.

EXPECTED RESULT:  Motor goes ACTUAL RESULT:  Nothing

I have tried everything I could think of with no luck. The only think I was successful at was to connect IA directly to the batter GND. RESULT:  The motor whined for a second and then the smoke when out of Channel B of my motor driver board.

Any suggestions would be greatly appreciated.

 

Thank you.

 

   - DaveFer

 

Attached File  motor driver.png   147.61KB   2 downloads


Maximum port frequency ...

27 August 2014 - 08:52 PM

Hi all. I apologize in advance if this topic has already been exhausted. I DID search prior to posting but I'm pressed for time.

 

What is the maximum frequency at which I can toggle a port on the Shield Base?

 

Please note:  This isn't a PWM quesiton. I'm not asking the minimum period or duty cycle or anything related to PWM.

 

The question is simply looking for the highest frequency that a port can be toggled steadily (turned on and off / high and low). 500 KHz? 100 MHz? 2GHz?

 

Thank you. Again, sorry if this has already been discussed and exhausted.

 

- Dave Ferreira


Preferred source / brand / gauge of wire to work with?

19 January 2014 - 04:23 PM

Hi all -

 

I wonder if anyone has any suggestions for brand / gauge of wire to use in the arena of these small scale electronics projects.

 

I've bought wire at Radio Shack and online of different gauges and I'm often disappointed in how it behaves.

 

The wire that I buy 18-20 gauge, both multi strand and single strand often fights me and doesn't want to cooperate. Neither had is been very economical (I'm usually buying urgently -- my fault).

 

So I want to stock up on several different colors of a really friendly wire for use in 3VDC - 9VDC projects. (200mA - 2.0A)

 

I'm looking for wire that is insulated, yet supple (doesn't have a mind of its own or hold a grudge). Sources appreciated.

 

THANKS!  :)


PWM using Netduino Go and Shield Base ...

02 January 2014 - 04:04 PM

Hey all -

 

Last night I connected my LC Tech dual motor driver board to my Netduino Go w/ Shield Base.

 

I first connected it to an analog port and use .WriteRaw(int) to make 1 motor go. It worked.

 

But then I had trouble modulating the speed ... it seemed to only have 1 speed. (I should go back and verify that I had the right wire in the right port and wasn't trying to modulate the forward/reverse connection. :( )

 

So I switched it to a Digital Port and tried to use PWM -- no results. Nothing happened. The motor never budged.

 

Here's ONE of the code snips I used. I also used another style which I did myself without looking at a sample. Sorry I don't have that very intuitive code handy now.

 

var pwm0 = new PWM(sBase.PWMChannels.PWM_PIN_D9, 60, 50.0, false);

...

pwm0.Start();

...

if (On == true) pwm0.DutyCycle = 70.0;
else pwm0.DutyCycle = 10.0;
 
Anyone see any obvious deal breakers in my code here? Any sample motor driving code here? I'd like to see both Analog and Digital (PWM) examples of motor driving code.
 
THANK YOU!
 
- Dave F.

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.