- Netduino Forums
- → Stefan W.'s Content
Stefan W.'s Content
There have been 153 items by Stefan W. (Search limited from 05-June 23)
#19332 SPI, Netduino, and RGB LED Strip
Posted by Stefan W. on 17 October 2011 - 09:47 PM in General Discussion
#19316 SPI, Netduino, and RGB LED Strip
Posted by Stefan W. on 17 October 2011 - 01:46 PM in General Discussion
#19308 Atomicity in the MF
Posted by Stefan W. on 17 October 2011 - 09:41 AM in General Discussion
Has anyone else dug into the bowels of the CLR to look at atomicity of INT32s vs INT64s? I'd never even thought of this question before...
From partition I of the CLI specification:
A conforming CLI shall guarantee that read and write access to properly aligned memory locations no larger than the native word size (the size of type native int) is atomic (...)
Note: There is no guarantee about atomic update (read-modify-write) of memory, except for methods provided for that purpose as part of the class library (see Partition IV). (...)
Note: There is no guaranteed atomic access to 8-byte data when the size of a native int is 32 bits even though some implementations may perform atomic operations when the data is aligned on an 8-byte boundary.
In the case of the code sample from Mario, Interlocked.Increment would be the tool of choice.
#19273 SPI, Netduino, and RGB LED Strip
Posted by Stefan W. on 16 October 2011 - 09:20 PM in General Discussion
#19250 SPI, Netduino, and RGB LED Strip
Posted by Stefan W. on 16 October 2011 - 10:49 AM in General Discussion
#19213 TMP36 Temperature Sensor/SB Protoshield
Posted by Stefan W. on 15 October 2011 - 01:44 PM in Netduino 2 (and Netduino 1)
#19166 Analog Input Quirk
Posted by Stefan W. on 14 October 2011 - 10:07 AM in Netduino 2 (and Netduino 1)
#19164 Analog Input Quirk
Posted by Stefan W. on 14 October 2011 - 09:49 AM in Netduino 2 (and Netduino 1)
#19161 Analog Input Quirk
Posted by Stefan W. on 14 October 2011 - 08:52 AM in Netduino 2 (and Netduino 1)
So, you would feed a voltage above the recommended limit? Along this way, we may also feed the ADC inputs of the Netduino with +5V...
Are you saying the datasheet is wrong?
Disregard that, it's talking about negative voltages, not voltages above the limit
Moreover, do you think that would be reliable a I2C-Bus having one or more 5V powered devices, seeing voltage levels of 3.8V?
As I said before, as long as the "logic high" thresholds are below that (and they usually are), why should it not?
#19156 Analog Input Quirk
Posted by Stefan W. on 14 October 2011 - 08:01 AM in Netduino 2 (and Netduino 1)
#19153 Analog Input Quirk
Posted by Stefan W. on 14 October 2011 - 07:26 AM in Netduino 2 (and Netduino 1)
#19135 What do I need to start with Netduino
Posted by Stefan W. on 13 October 2011 - 11:12 PM in Netduino Plus 2 (and Netduino Plus 1)
#19096 NetduinoBlinkingLED (Native)
Posted by Stefan W. on 13 October 2011 - 02:07 AM in Project Showcase
Yeah, pretty much, the only thing I think may need a bit of clarification is on the "reset" process... you don´t need any special hardware, when u put 3.3v on the reset pad, and restart the netduino, it will boot from it´s room and u will be able to use the SAM-BA software to upload the native code then. You will not be able to do that before u use the reset pad.
That's what the piece of wire is for
To clarify my previous post - you don't need a special compiler to put any native code on the netduino plus - if you program it "from scratch", you'll have plenty of room. But if you want to modify the netduino plus firmware, you run into space issues unless you use a compiler that is very good at optimizing for space.
#19091 NetduinoBlinkingLED (Native)
Posted by Stefan W. on 12 October 2011 - 10:53 PM in Project Showcase
- A computer
- A netduino
- A USB cable
- A piece of wire
#19078 NetDuino as pachube's like webserver
Posted by Stefan W. on 12 October 2011 - 04:23 PM in General Discussion
#19074 NetDuino as pachube's like webserver
Posted by Stefan W. on 12 October 2011 - 03:33 PM in General Discussion
#18997 Regular expression bug (v4.2.0 RC1)
Posted by Stefan W. on 10 October 2011 - 11:27 AM in Netduino Plus 2 (and Netduino Plus 1)
#18993 Regular expression bug (v4.2.0 RC1)
Posted by Stefan W. on 10 October 2011 - 10:59 AM in Netduino Plus 2 (and Netduino Plus 1)
var regex = new Regex("^\\+CUSD: 2,\"(?>[^\"]*)\",0$"); // Our regular expression
#18967 Use analog pins for power/ground?
Posted by Stefan W. on 10 October 2011 - 12:52 AM in General Discussion
Hi,
Somebody has probably already asked this, but the keywords are so general ("analog", "pin", "power", "ground") that I haven't been able to find it.
The BlinkM documentation suggests that it can be plugged directly into a 'duino. If so, I guess it would be using A2 and A3 as GND and 3.3V. I think I read elsewhere that the Netduino analog pins come up at 3.3V when it is powered on... Is it safe to have 3.3V to the device's VCC and GND? Would it just mean that the device has no voltage potential to operate, but that it wouldn't smoke and that it would begin operating once the A pin connected to GND is set to 0V?
I'd like to make a little standoff that holds sensors off to the side, away from the minor heat island caused by the Netduino. I want to use a strip/vero board with 8 lines, 6 of which will be connected to A0 through A5. Then, with two jumper wires and three cuts, I can connect the two i2c sensors and one analog sensor, but I'd need to use A2 as a 3.3V supply and A1 as ground. If you've ever seen pirates make somebody "walk the plank", that's what I'm doing with the sensors. Ship = Netduino, plank = strip board, pirates = me.
I've thought about alternatives (e.g. sensors dangling from ribbon connectors) but I really have my heart set on having them walk the plank, if I can, and it all hinges on using A2 as 3.3V device supply and A1 as GND for devices. Any reason not to try this?
The device won't smoke, but the netduino will. See http://www.netduino....duino/specs.htm - you're only allowed to draw 2mA per analog pin, your LED will draw more. You'll need to use the "real" 3.3V and ground pins of the netduino.
#18898 i2c voltage
Posted by Stefan W. on 07 October 2011 - 10:37 AM in General Discussion
#18822 Help porting Arduino code for FM radio module
Posted by Stefan W. on 05 October 2011 - 03:47 PM in General Discussion
#18812 i2c voltage
Posted by Stefan W. on 05 October 2011 - 09:08 AM in General Discussion
I also use breakouts for smd-mounted things, however for the logic level converter you aren't restricted to SMD - you can still get transistors in a to-92 packageStefan: I may use some breakout boards because of my morbid fear of surface mount. I've always assumed that surface mount was invented for industrial robots and that I shouldn't attempt it. I suppose I should try it before I write it off, but the BMP085 looks like a lost cause to me:
#18785 Power Supply Noise
Posted by Stefan W. on 04 October 2011 - 03:35 PM in Netduino Plus 2 (and Netduino Plus 1)
#18783 Power Supply Noise
Posted by Stefan W. on 04 October 2011 - 03:20 PM in Netduino Plus 2 (and Netduino Plus 1)
#18763 Help porting Arduino code for FM radio module
Posted by Stefan W. on 04 October 2011 - 12:26 PM in General Discussion
- Netduino Forums
- → Stefan W.'s Content
- Privacy Policy