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.

sfugarino

Member Since 13 Feb 2014
Offline Last Active Apr 24 2014 03:07 PM
-----

Topics I've Started

FTDI Basic Breakout - 5V

19 March 2014 - 12:13 AM

I bought a FTDI Basic Breakout from Sparkfun and wanted to hook it up to a COM port on my Netduino.I got a little confused about whether to use the FTDI CDM or VCP drivers. I have another device that uses the CDM drivers. Think I went about it wrong and ended up with CDM and VCP drivers. Anyway the other device still works and the FTDI Breakout works except for a minor issue.

I have the breakout attached to my Netduino by connecting Pin 0 to TX on the breakout, Pin 1 to RX on the breakout and ground to CTS(pull down). I did not connect the GRND and VIN pins on the breakout. I got scared I might damage the Netduino. Don't know why, I just hesitated. Hooked the usb cable to my PC, fired up Putty and it worked. That is with one problem described below. Should I connect VIN and GRND?

When I plug the breakout into Windows, Windows 7 installs USB Serial, COM Port, and Microsoft Serial BallPoint drivers. The BallPoint driver makes my mouse jusp whenever data is sent to the PC. The work around is to disable the BallPoint device in Device manager.

The main thing I want to find out is whether I should attach VIN and GRND. But, why in the world is that dang Mouse driver getting installed?

Dependency Injection

15 March 2014 - 05:53 PM

Is there anything like Unity that can be used with MF for dependency injection? Also, how does one upload a config file or for that matter any external resource? Do you just add the resource to your project file?

Timer Interrupts

15 March 2014 - 04:42 AM

I was looking at some Arduino code that uses timer interrupts and was wondering if there was an equivalent using the MF. There are something like 8 timers on the STM32F205RF. The Arduinoo code looks like this:

void init_interrupts(void)
{
/* First disable the timer overflow interrupt while we're configuring */
TIMSK1 &= ~(1<<TOIE1);

/* Configure timer2 in normal mode (pure counting, no PWM etc.) */
TCCR1A &= ~((1<<WGM11) | (1<<WGM10));
TCCR1B &= ~((1<<WGM13) | (1<<WGM12));


/* Disable Compare Match A interrupt enable (only want overflow) */
TIMSK1 &= ~(1<<OCIE1A);

// Prescalar = 8. Time between interrupts ~=32ms;
TCCR1B &= ~(1<<CS12); // Clear bit
TCCR1B |= (1<<CS11); // Set bit
TCCR1B &= ~(1<<CS10); // Clear bit

/* Finally load and enable the timer */
TCNT1 = tcnt1;
TIMSK1 |= (1<<TOIE1);
}


I suppose one would have write custom firmware to get at timer registers.


REF:

http://www.protostac...n-an-atmega168/

Sensor Library

07 March 2014 - 09:17 PM

LSM303DLHC
L3GD20
BMP180

Adafruit 9 DOF IMU

25 February 2014 - 08:31 PM

Trying to get this IMU to work. Don't know what I'm doing wrong. My code is attached. Do I need to use pull up resistors?


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.