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.

martinlee556

Member Since 21 Feb 2013
Offline Last Active Aug 16 2013 02:31 AM
-----

Topics I've Started

Requesting driver for MPU6050

12 March 2013 - 03:37 PM

Hi all,

I just got a new chip MPU6050. The datasheet as the link below.

http://www.invensens...S-MPU-6000A.pdf

Posted Image

 

I am a newbie in electronic world, couldn't follow the instructions described in the datasheet.

so...does anyone have a driver for this?  

or anyone can show me how to trigger the this device(detailed instructions will appreciated)?

 

Thanks for your help!

 

 

 

 

 

 


Question on Ultrasonic Ranging Module HC-SR04

02 March 2013 - 05:59 PM

Hi all,

I would like to write my own class/driver for this module HC-SR04, datasheet link as below.

http://www.micropik.com/PDF/HCSR04.pdf

 

Although I know there is someone already posted some working code(link below) for this module, but I still very curious about on how to write it.

(http://forums.netdui...ic-rangefinder/)

 

In the datasheet, it says "You only need to supply a short 10uS pulse to the trigger input to start the ranging".

Now, my question is how to translate this sentence into C# code?

It looks to me that I will need to use PWM object to send a message to this module so it can be triggered.

PWM pwm = new PWM(PWMChannels.PWM_PIN_D5, ??, ??, PWM.ScaleFactor.Microseconds, false);

 

The missing parameters above are Period and Duration.

How do I set it so it will gernerate a 10us pulse to trigger the module??  Am I on the right track??

 

I am a newbie on electronics. Would appreciate if you can explain in the way I can understand.

 

By the way, I am using Netduino Plus 2 with .Net MF v4.2.

 

Thank you in advanced.


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.