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.

Dan Morphis

Member Since 01 Feb 2011
Offline Last Active Mar 12 2021 11:19 PM
-----

#16741 Send data wirelessly using RF modules

Posted by Dan Morphis on 15 August 2011 - 05:29 PM

Hi,

I am working with the rf modules. I have two netduino boards to whome i want to connect the receiver and a tramsmitter. Now i need the possible circuit design and the code for sending the numbers from 1 to 100 using the c#

Can any one help me out with this ??


If you want one Netduino/Arduino/PC to just be a receiver, and one Netduino/Arduino/PC to just be a transmitter, then WRL-10535 RF Link Transmitter - 315MHz and WRL-10533 RF Link Receiver - 4800bps (315MHz) would do the trick. They are US $3.95 and US $4.95 respectively.

Keep in mind that each module *only* does one direction. If you need bi-directional, you would need to either go XBee, or equip each unit with a 315MHz and 434MHz unit (one in send, one in receive).

-dan


#15488 Soldering Techniques For Small Components

Posted by Dan Morphis on 14 July 2011 - 07:35 PM

Hello Everybody,

General question to go out ot everyone regarding Soldering Techniques....

When soldering small components, for example: the wires on to the pins of a DS1820 sensor, how do you go about this?

Ill also open this question up to everyone to share any other soldering Techniques they use when soldering other things too!

Thanks again guys, Cant wait to see how you get yours done!

--------
Stuart.



I'll add to what Mario said.

A *good* quality iron makes a world of difference. For many, many years I just used a cheap $10 iron from Radio Shack. About 6 months ago I finally broke down and bought a good, quality Weller adjustable iron. What a world of difference it made.

I can now easily solder things big and small without having to worrying about cooking the small things, or spend 10 minutes trying to get the big things to heat up.

A Panavise and helping hands help a bunch too.

If your soldering two wires together, or a wire to a component (not going into a circuit board), the helping hands come in handy. Apply a little bit of flux to the two pieces, touch the iron to them, then apply the solder. 1-2 seconds should be enough and with the flux, all the solder will flow around the joint very nicely.

For soldering components to a circuit board, additional flux is rarely needed (the solder contains flux).

Make sure you leave a large blob of solder on your tip when you are done soldering to protect the tip against oxidation.

Oh, and practice, practice, practice :-)

-dan


#14107 :( Bricked Netduino :(

Posted by Dan Morphis on 08 June 2011 - 10:16 PM

SUCCESS :)

I was actually able to UNBRICK my Netduino.

It turned out that the issues were being caused by my OS. Atmel doesn't have 64Bit drivers and as soon as I followed the procedure on an windows XP 32bit I was able to connect to the device using SAM-BA and flash the TinyBooterDecompressor.bin to it.

After that it was smooth sailing back on my Windows 7 64bit machine where I was able to flash the new Firmware using .NET Micro Framework Deployment Tool :)

everyone can rest easy now ;) we are back in business.

Thank you Dan.



I and others on here use x64 so I'm not sure why you had issues. I just checked the release notes for 2.10 and they say 64 bit is supported and tested...

I'm glad you got it working again!

-dan


#14093 :( Bricked Netduino :(

Posted by Dan Morphis on 08 June 2011 - 05:16 PM

I've followed a few other "bricked" threads but no success.

Current status:

1. Nothing is attached.
2. When powered up Both LEDs stay on all the time (blue and white) my Windows 7 reports the device as "Unknown"
3. I've held down the SW1 while attaching USB, results in "Unknown Device"

This started happening when I connected the reset pad with 3.3V jumper cable, while plugged into USB. I was following the "Firmware Upgrade" wiki article.

any ideas?


Which wiki article did you follow? Since you mentioned touching the pad with the 3.3v jumper I'm going to presume you followed "Installing the TinyBooterDecompressor step by step."

Have you run the Atmel SAM-BA programmer? You will need to manually specify the COM port (You will have to look in the device manager and find the virtual COM port which corresponds to your Netduino).

After you have the new TinyBooter installed, you can then follow the Flashing new firmware step-by-step article and that should have you back up and running.

-dan


#12116 Getting Started Hardware

Posted by Dan Morphis on 15 April 2011 - 05:23 AM

  • A bread board
  • A soldering iron (which one)
  • 5 kilometers of 16ga wire
  • etc.


You can't have a breadboard without good wire. I've used it all, the stiff multi-packs they sell, solid-core CAT5, etc. The very best stuff I've found is this Jumper Wire Bundle from Solarbotics. Couple that with the F-F bundle. I would actually get two of the F-F bundles, at a minimum. I've exhausted the wires in one pack on a small project and was glad I bought two. Pololu also sells bundles of jumper wire, but they don't sell an assortment like Solarbotics does.

A word of warning on these though, once you use them, you will never want to go back to the old breadboard wire method :)

Next you need IC hooks with pigtails. Get a two pack at a minimum, yes they are expensive, but very very versatile. Do yourself a favor and pickup a banana to alligator cable set. You can make due with clipping alligator clips to your multimeter leads, and then to the item under test, but this way is so much easier. I honestly wish I had found those years ago.

If you have a scope, pickup at least 1 banana to BNC cable set

For other components, SparkFun is good, so is ProtoStack. SparkFun tends to be a bit more expensive, but they've done a lot of leg-work to limit their catalog and only list common components.

For example, if you search for mini-pushbutton on Mouser, you'll come back with 1,612. On SparkFun, you get 1. Mouser is cheaper, but you will spend several minutes (or more, I've spent well over two hours) trying to find the right part for your project. So if you want dead simple, and don't mind paying a little more, go with SparkFun.

-dan


#10681 Info on netduino's

Posted by Dan Morphis on 08 March 2011 - 06:23 PM

  • I have 0 embedded hardware experience, though I do have a Masters in CS (particularly software technology). As such I'm more interrested in rewritting the software OS of the netduino then actually just using the netduino. (for educational reasons, but I would like a NETCF capabile board.)


Before I started with my Netduino board, I pretty much had zero embedded experience. But in fairly short order I've gained a lot of valuable experience w/ both the .NET Microframework and designing simple circuits.

If you have any interest in that side of things, any of the Arduino proto-shields would work great. I picked up mine from Sparkfun.

  • And an LCD?


For an LCD, there are probably a dozen ways to skin that cat. With cost being inversely related to complexity. On the cheap side, you can pickup a 24x2 LCD for a couple of bucks. But it will require a lot of work (both in circuitry and code). For about US $25, you can get a serial LCD from Sparkfun. That will only require 1 pin from the Netduino (pin D0).

Hope this helps!

-dan


#10239 Relay board with RFID

Posted by Dan Morphis on 26 February 2011 - 07:46 AM

I've been working on a relay and RFID board for a few weeks now and thought I would post a pic of the finished board. My father-in-law owns a PCB milling machine (T-Tech 5000) and was kind enough to mill me a two-layer board.

I made a mistake when doing the layout which is why you see the red jumper wire going to the 5V pin on the Netduino+. I verified everything twice, except the physical spacing between the two 8 pin headers and the two 6 pin headers. Draught!

There are two 6 pin headers in the lower left. One goes to the RFID board (ID-20, plus LED) which isn't milled yet. The other 6 pin header goes to the actual door lock/unlock mechanism, with two of the pins being used for a reed switch.

Posted Image


#9699 How do you create software events

Posted by Dan Morphis on 17 February 2011 - 07:28 PM

Now when my displaymanager recieves a command code on the socket I want to pass that command back to the main program. On the pc I would usually use an event. When I looked for EventHandler<> I could only find something called NativeEventHandler. Is that the N+ equivalent of EventHandler?


You would indeed use an event, but not in the .NET 2.0 way of using public event EventHandler<SomeEventArg> MyEvent;

The equivilent in NETMF is

public class SomeClass {
    public delegate void MyEventDelegate(object sender, MyEventArgs e);
    public event MyEventDelegate MyEvent;

    public class MyEventArgs : EventArgs {
        ...
    }

    private void OnMyEvent(MyEventArgs e) {
        var handler = MyEvent;
        if (handler != null) {
           handler(this, e);
        }
    }

   public void DoSomething() {
       OnMyEvent(new MyEventArgs());
   }
}



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.