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.
Gutworks, where is OneWire on the card?
Still waiting on my NP2's from UAM, so can't check myself, and the source is not released yet, so can't look at the enums...
- Ulrik
Still waiting on my NP2's from UAM, so can't check myself, and the source is not released yet, so can't look at the enums...
- Ulrik
Hi Ulrik,
I'm not sure how I should represent the OneWire support on the pinout. From my understanding OneWire is available on all GPIOs.
To use the OneWire class you need to add the Microsoft.SPOT.Hardware.OneWire reference. Then you create an OutputPort and pass that reference to the OneWire constructor.
For example:
OutputPort owPort = new OutputPort(Pins.GPIO_PIN_D1, false);
OneWire ow = new OneWire(owPort);
Well how stupid of me to only get 10 DS18B20 sensors then...
Hehe, technically you can have all of them connected to just one Netduino pin
The sensor has about 1 mA active curent (1.5 mA max), so even for simultaneous measurement 10*1.5 mA is still below Netduino Plus 2 pin output current limit.
Hehe, technically you can have all of them connected to just one Netduino pin
Yes, i know, but i't gives me another problem, the thing i'm making is going to measure temp form 4-8 sensors, each located at the end of a 10-20 feet wire.
Now while a star bus like this is supposed to work, the unwritten practical guide said that star buses is to be avoided, as they can give all sorts of problems.
Now that i have to use 4-8 pins, i also get the benefit of knowing what sensor is where in the application, without making a map from locations to chip ID numbers, it also makes it a hardware only thing to replace a sensor.
It will be fun to see how the netduino will perform using onewire on 8 buses at the same time, i do need to measure all 8 temperatures at leas every 2 seconds, but more often will only be a plus.
I am really excited about getting my Netduino Plus 2. So I thought that in order to pass the insane long wait of 2 day shipping, that I would create a pinout reference sheet.
...
Great help -- thanks!
Two more minor points for the next revision:
* Ethernet is 10/100 Mbps
* You might want to say "available" or "free" by the flash and RAM sizes. (Flash has 384 KB free out of 1 MB total; RAM has 100 KB free out of 192 total.)
You're very welcome and I'm glad you find it helpful.
* Ethernet is 10/100 Mbps
The ENC28J60 chip used on the Netduino plus 2 is actually a 10mbps chip, however it’s my understanding that we can now send and receive data at least twice as fast. So even though it’s only 10mbps, it has actually doubled the transmit speed.
* You might want to say "available" or "free" by the flash and RAM sizes. (Flash has 384 KB free out of 1 MB total; RAM has 100 KB free out of 192 total.)
I have made some small updates to the pinout. I had toyed with the idea of adding the flashing instructions but found it too busy for a pinout reference sheet. I also considered adding the total flash and RAM availability of the STM32F4 mcu, however decided that this pinout is more of a reference for the Netduino Plus 2 and not for the development an the actual STM32F4 microcontroller.
However, if someone wishes to have a change made specifically for them, you can PM me and I can produce a personalized pinout for you.