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.

NooM

Member Since 30 Aug 2012
Offline Last Active Aug 16 2014 12:09 PM
-----

#54168 i2c bus speed? Is there a limit beyond 400kHz?

Posted by NooM on 19 November 2013 - 09:57 AM

stm32 chips only support 400khz max i2c.




#52594 can i set digital port as input

Posted by NooM on 05 September 2013 - 05:18 PM

now take a breath and read your error.

 

'Microsoft.SPOT.Hardware.InputPort' does not contain a constructor that takes 2 arguments

 

 InputPort Inport1 = new InputPort(Pins.GPIO_PIN_D13, false);

has 2 arguments, and the error saiys it doesent want 2.

 

it wants 3.

 

public InputPort(Cpu.Pin portId, bool glitchFilter, Port.ResistorMode resistor);  




#51827 Debugging Target not in an initialized state: rebooting...

Posted by NooM on 31 July 2013 - 08:46 PM

[font="arial, helvetica, sans-serif;"]SecretLabs.NETMF.Hardware.Netduino is for all gen2 boards, the other for the gen1.[/font]

[font="arial, helvetica, sans-serif;"]they changed the naming for the gen2 boards so its in line, all have the same namespace there (normal and plus - and the ones that will follow sometime too)[/font]




#51707 Where is the SerialPort?

Posted by NooM on 26 July 2013 - 11:34 AM

hmpf...

 

https://www.dropbox..../serialport.png




#48297 PWM freezing due to PWMChannels mapping

Posted by NooM on 11 April 2013 - 12:30 PM

i dont think the netduino 1 has pwm on the led.

also only 4 pwm channs

(5,6,9,10);

 

so iam not suprised your code crashes :)

 

http://www.netduino....duino/specs.htm




#47713 Building a Set of Netduino 2 & Netduino 2 Plus Tutorials to share

Posted by NooM on 29 March 2013 - 12:57 AM

a tutorial of how to convert 4.1 code to 4.2 (the different pwm, analog.. constructors) would be great. most tuts are for 4.1




#47536 Adding CANbus support

Posted by NooM on 24 March 2013 - 05:07 PM

i dont think that will work, not only that you have to write the

native drivers yourself, the pins it nuses have to be broken out also.

 

id go with a spi <> canbus ic




#47294 SB with NGO much slower then Arduino

Posted by NooM on 17 March 2013 - 05:22 PM

yeah i can imagine that beein very slow.

from what i know shieldbase uses uart (serial) to send the commands, and you send a lot of it, theres also error checking ans stuff i dont even know of i guess :P

 

next: netmf is interpreted, and its way slower than arduino, way way way.

 

 

the benefit  for sure it the nice ide and a managed and beautiful language, more ram and flash




#47075 System.Exception during Debug.Print

Posted by NooM on 12 March 2013 - 12:25 PM

i guess its: Debug.Print(new string(System.Text.Encoding.UTF8.GetChars(buffer)));

 

when you get the chars, it expects that the byte data is correct, now with serial the chances

are big that it isent (my experience so far)

 

if you send the data from a computer, print out there the byte data, and also on the netduino ( Debug.Print(buffer[0]); .. in a loop till buffer lenght) and compare them. it happened a lot for the data gets shifted and never syncronizes again

 

iam using cobs as packetframe, since that it never happened again




#46359 Firmware v 4.3

Posted by NooM on 27 February 2013 - 07:54 PM

you can either flash the duino with netmf 4.3 firmware or set the output in vs2012 to 4.2

(on project -> settings)

 

edit: you find usefull information in the forums pinned on top.

4.3 firmware is here: http://forums.netdui...re-and-drivers/




#45900 Did I brick my Mini?

Posted by NooM on 20 February 2013 - 02:01 PM

iam 100% sure it works, for both the uart (com1) and the rs232 (com2) - ofc rs232 needs a max232 to convert voltage levels

(since i only have a mini, ill play around a lot with it :P )




#45773 Did I brick my Mini?

Posted by NooM on 19 February 2013 - 12:05 AM

you need a max232 to flash new firmware, the com1 is 12 volts, its not a good idea to connect your ftdi cable to there.

also, dont erase with 5 volts, that cant be good, use max 3.3v (i dont think its damaged, but it might get damaged if you do that)

 

or hook it up to your computers comput.

 

best is you read the guid again ... very carefully ...

 

http://forums.netdui...y-instructions/




#45559 Netduino Plus with arduino gps gsm with SIM548C module?

Posted by NooM on 15 February 2013 - 09:59 AM

2) why when i type the "SerialPort serialPort = new SerialPort("COM1", 4800, Parity.None, 8, StopBits.One);",

there are red line under the SerialPort.

 

 

you have to add a reference: Microsoft.SPOT.Hardware.SerialPort

maybe also system.io

 

and than using System.IO.Ports;

 

 

than your serialports will work.




#45446 Dead USB, can't deploy, connect or reset...

Posted by NooM on 13 February 2013 - 05:15 PM

sry i have no idea what todo, but ping and program running tells me its not damaged.




#45223 Convert a string to an integer

Posted by NooM on 09 February 2013 - 11:50 PM

Int32 yourInt = Int32.Parse("122");

 

doesent work for single/double :(

 

edit: baxter is right, its working for double, but for Single i dont have parse






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.