Netduino home hardware projects downloads community

Jump to content

The Netduino forums have been replaced by new forums at This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.


Member Since 02 Jan 2011
Offline Last Active Jun 18 2016 11:51 AM

Posts I've Made

In Topic: Connecting the Shield Base Module to run alone

08 March 2013 - 10:40 PM

Hi Chris,

Thanks for your quick reply.

converted the original DFU file of the Netduino 2 Firmware (v4.3.0.0
Beta1) to a S19 file. Then I was able to deploy the converted file via
the Flash Loader to the shield base. The settings were default (115200
boud, even parity, echo disabled, timeout 10s).


Now I've hit a wall. How do I deploy an application to my shield base? The N2 accepts data from the USB but on the shieldbase the pins PA11 and PA12 (which are used for USB on the N2) are pulled high to 3V3.


Do I deploy the application through Digital I/O 0 and 1 or through the GoSocket? On Stefans firmware the application will be deployed through the GoPort. Nice, you can use the same connection as for flashing the firmware


And is there a tutorial to build a firmware with a custom deployment mode? Ah I've found the firmware tutorial: http://wiki.netduino...-6.ashx?HL=base


Do I have to build my own firmware from the sources? My converted firmware does obviously neither support dedicated I2C because the pins are not connected nor does it allow an deployment because it expects data on PA11/PA12.


Thanks again


In Topic: Connecting the Shield Base Module to run alone

07 March 2013 - 10:41 PM

Hi Stefan,

after I read the post nearly a year ago I immediately bought two extra shieldbases for my Netduino Go. They were both very busy gathering dust since then. A few days ago i tried your shieldbase hacking with my FTDI adapter board. No success with the connection. There are a few question I would like to ask:

  • What are the correct settings in the Flash Loader: baud, parity, echo, timeout?
  • Must the reset "button" be released after power up? Do I have to pull the jumper wire which pulls reset to 3V3 before connecting with Flash Loader?
  • What are the differences between the file formats ".s19", ".dfu" and the embedded resources of the normal shield base update solution for Visual Studio
  • Can I convert a firmware file from one format to another?
  • Is the new Netduino 2 firmware compatible to the shield base? The MCU is the same and there is the schematic of the Netduino 2 but I haven't found any Schematics for the shieldbase. :(
  • Can a ".dfu" file be deployed to the shieldbase.

Thanks in advance for your help.




In Topic: simple wiring question

11 October 2012 - 08:05 PM

Hi perkunas.
The connection "P2" will sense a low signal when the switch is closed. The resistor at the +5V and the switch at the bottom will form a voltage divider. The calculation is fairly easy because the switches resistance is (nearly) 0 ohm if closed and (nearly) infinite ohm if opened.
Closed: 5V * (0/(10000 + 0) = 0
see Wikipedia Voltage divider

The resistor at P2 is not relevant for the calculation.


In Topic: I need help with my buying list, for my house temperature project

19 May 2012 - 12:14 PM

Hi Lars,
welcome to the forum. I've already build a temperature logging of all my rooms. There are a few things I want to point out:
Netduino needs energy. At least 40mA if I'm correct. This meens every battery will be depleted in about 2 days. You will need a regular (wall) power supply for each Netduino.

My own layout is as following:
Each room has one Arduino driven by a coin cell (CR2025).
The Arduino sleeps 3 minutes and after that it takes the temperature.
The sleep state takes a current of 0,000005Ampere (5 mircoAmps).
The measurement of the temperature takes 4ms and the send procedure takes about 13ms.
During the measurement the circuit takes about 0,015A (15milliAmps).
My coin cell batteries are depleted in approximately one year. (You can also replace the coin cells by "Super Cap" capcitors.)

The Arduino was not my first choice because I'had to learn (a little bit of) C language first but there are some advantages:
The things takes next to no energy.
You don't need 8 power supplies.
The hardware cost next to no money. (Arduino 328P 3,87$; Freeduino Runtime board 2,69$).
You don't have to write a large program. Everything the Arduino does is: sleep, measure temperature, send the temperature to the serial port, sleep again.

The real program to process the data is on a Netduino board.

The used temerature sensor TMP102 can also be operated in a low power sleep mode.
The wireless link is currently provided by the Nordic RFD21733 chip. But they have a very bad indoor range and they get brocken all the time (they really don't like 24/7 operation). All my RFD21733 will be replaced by XBee (XBee XB24-Z7WIT-004 ) chips. The whip antenna has a good range, the firmware supports low power sleep modes.

I hope this helps a little bit.


In Topic: SparkFun Inventor's Kit / CIRC-05 | 8 More LEDs - 74HC595 Shift Register

09 May 2012 - 08:23 PM

How would you get two shift registers working?

You would put the second shift register also on SPI1 and define a different latch pin (aka slave select / device select).

If it is a 74HC595 shifter you can use something like this:
public class Shifter74Hc595Extender
	public Shifter74Hc595Extender(SPI.SPI_module spiBus, Cpu.Pin latchPin)
		var spiConfig = new SPI.Configuration(
			latchPin, //latchPin (aka SlaveSelect),
			false, // active state
			0, // setup time
			0, // hold time 
			false, // clock idle state
			true, // clock edge
			1000, // clock rate

		_Spi = new SPI(spiConfig);	

	public void WriteData(byte data)
		_WriteBuf[0] = data;
I hope this helps...


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.