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's Content

There have been 301 items by NooM (Search limited from 29-March 23)


By content type

See this member's


Sort by                Order  

#55653 Using the TLC5940 on .NETMF 4.2

Posted by NooM on 26 January 2014 - 08:00 AM in Netduino Plus 2 (and Netduino Plus 1)

well, the tlc5940 is a bit a pain with netmf. it needs timing, wich would be nice in native with a timer (thats what i do on arduino)

- its just a mix of a shift register and a counter

 

theres different tlc59xx versions wich dont need a gs clock and a blank signal. they work great for led stuff, but not for led matrixes (flickering cos you cant control the blank line - timing issues)

 

 

btw: in the second links theres a link to nevyn's blog, with some code. that should work "ok" (i still see a timing issue with an external counter like that - you normally sent the new data directly after you blanked the chip)




#55409 More I2C Questions

Posted by NooM on 16 January 2014 - 12:35 AM in General Discussion

well, you dont call it like that.

 

accelerometers, gyros and stuff like that should update their register pointer automatically.

int data = ReadShort((byte)Register.GYRO_XOUT_H); - its either _H or _L, the second _should_ get

selected automatically.

 

normally you read all 6 registers at once, specify the first address, than read 6 bytes.

 

if that doesent work, read 2x 1 byte each and convert them to int16 (bitshifting)




#54417 Strange "hanging" netduino 2

Posted by NooM on 02 December 2013 - 06:55 PM in Netduino 2 (and Netduino 1)

netduino 2 doesent have an erase pad :D

 

you have to delete it when its in dfu mode via dfuse.




#54279 Netduino as Arduino Due

Posted by NooM on 24 November 2013 - 09:47 PM in Beta Firmware and Drivers

coocox is what you want i guess. ill use it for my stm32f4's. it also supports different brands (maybe even the sam3x - due)

 

idk that bootloader stuff, i use the stlink v2 on my discovery board as programmer/debugger




#54268 STM32F4 mini

Posted by NooM on 24 November 2013 - 01:51 PM in Netduino Mini

well if you wanna use the netduino formware you have to look on wich pins is the usb port connected (important for flashing programs)

and you have to use a 25mhz crystal (iirc)

 

yes i meant the link you posted - this port needs a 8mhz crystal

 

you can change the crystal needed, but you have to recompile the netmf-firmware

 

on a sidenote: on mine i wanted the sdio interface and a micro sd card, so basic stamp wouldnt fit, in a breadboard it still leave 2 pins free each side




#54253 General SPI Questions - 74HCxxx digital isolator

Posted by NooM on 23 November 2013 - 03:38 PM in General Discussion

your pins look correct.

miso is in.

 

a thing to note: it actually doesent matter on what the chip starts, the netduino pulls the pins low/high when its configured, meanwhile they are normally floating on any other device.

id take the high version tho.

 

thats not netduino releated, but on my avr's i have to pull the chipselect of the devices high manually, or they will interrupt my isp programmer (wich also uses spi port) - cos on floating state the spi devices think the data is for them. (low normally means "enable" for a spi device)




#54252 STM32F4 mini

Posted by NooM on 23 November 2013 - 03:31 PM in Netduino Mini

i designed one, sadly i placed the sd card slot one, so i have to wait for the new pcb's where i fixed this..

 

 

https://www.dropbox....board_front.png

https://www.dropbox...._board_back.png

 

its a f405, was quite simple actually

it can run the netmf for stm32 port in codeplex.

(iam using it with native code tho)

 

 

edit: oh and theres the cerb40 allready aviable.




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

Posted by NooM on 19 November 2013 - 09:57 AM in Netduino Plus 2 (and Netduino Plus 1)

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 in Netduino Plus 2 (and Netduino Plus 1)

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);  




#52541 Netduino 2 and the Adafruit BMP085 Barometer (I2C)

Posted by NooM on 04 September 2013 - 06:43 AM in Netduino 2 (and Netduino 1)

no i dont own one, and never have.

 

but i was active a lot and saw a lot of that i2c stuff, but from what i know it got fixed in 4.2.2.2, well doesent look like :(




#52526 Netduino 2 and the Adafruit BMP085 Barometer (I2C)

Posted by NooM on 03 September 2013 - 04:31 PM in Netduino 2 (and Netduino 1)

damn :( i thought its fixed in that version :(

 

it works fine with netduino v1 versions (iam using the mini, no problems there with i2c,spi and uart, but other bugs :D )




#52513 Netduino 2 and the Adafruit BMP085 Barometer (I2C)

Posted by NooM on 03 September 2013 - 04:33 AM in Netduino 2 (and Netduino 1)

i meant 4.2.2.2 not the 4.3 beta :D




#52497 Netduino 2 and the Adafruit BMP085 Barometer (I2C)

Posted by NooM on 02 September 2013 - 12:38 PM in Netduino 2 (and Netduino 1)

it really shouldnt return 0's. if it has pullups on their board, than you dont need one.

 

maybe upgrade the a newer firmware version of your netduino. iirc there were i2c problems before 4.2.2.2




#52485 Netduino 2 and the Adafruit BMP085 Barometer (I2C)

Posted by NooM on 31 August 2013 - 01:29 PM in Netduino 2 (and Netduino 1)

your code doesent look correct.

also, has your sensor pullups? if not you have to add 4.7kohm ones

 

 

ill add my classes, use them, i used it, they work.

 

...

IC_BMP085 press;

ress = new IC_BMP085(0x77);

 

...

 

 void print()   {   String logString =   "pressure: " + press.pressure + " " +   "altitude: " + press.altitude.ToString("F1") + " " +   "free mem: " + Debug.GC(false);   Debug.Print(DateTime.Now + ": " + logString);

}

Attached Files




#52281 4.3 running on a STM32F427

Posted by NooM on 22 August 2013 - 11:40 AM in General Discussion

nice, and it looks really cool :D




#52233 Direct STM32F4 ARM (C) support in Visual Studio?

Posted by NooM on 19 August 2013 - 09:07 PM in General Discussion

you can get a sam3 or sam4, its atmels cortex m4 (arm) and programm them via atmel studio.

arduino due is sam3 btw.




#52217 Ulrimate Netduino Shield

Posted by NooM on 18 August 2013 - 10:19 AM in Project Showcase

actually its quite nice!

 

a little big, but thats becouse of the proto space wich is ok.

 

honestly i didnt even expect that you ever get a working version when i read the title. "Ulrimate" :D

maybe chris or so can fix this (?! i guess you mean ulTimate?!)

 

anyway, good job!

whats the price of one ?




#52201 Roundtrip communication latency

Posted by NooM on 16 August 2013 - 08:15 PM in General Discussion

use serial. it even has interrupts.

 

usb is no option at all, youd have to write your own firmware for using usb.

it only can do Debug.Print ..




#52194 Is broken my netduino 2?

Posted by NooM on 16 August 2013 - 02:31 PM in Netduino 2 (and Netduino 1)

if it was set to input, no.

if the pin was set to output and low - maybe.




#52193 5V/12V Relay at 30A

Posted by NooM on 16 August 2013 - 11:03 AM in General Discussion

30 amps is a lot (of heat) - so i dont think relays can handle this well, the traces on the pcb may just melt.

 

maybe some solid state relay can handle that, look at mouser.com or shops like that wich have tons of parts.

 

 

may i ask what your planning todo?




#52185 Which USB to Serial converter should I use with Netduino

Posted by NooM on 15 August 2013 - 04:51 PM in Netduino 2 (and Netduino 1)

i have the chepo cp2102, they al worked well for me (i have 7 or so)

 

http://www.ebay.com/...=item3a731c735c

 

 

btw: for programming the mini on rs232 port i use the cp2102 and an max232 to shift the levels to 12v.

works fine, programming and reflashing




#52148 Using a 7 segment display without a shift register

Posted by NooM on 14 August 2013 - 02:03 PM in Netduino Plus 2 (and Netduino Plus 1)

Using SPI to control a single shiftreg, wouldn't that require a pretty tight loop for multiplexing a 2-digit 7-segment display?

 

well, i even multiplexed 8x8 ledmatrixes with 74hc595, works great.

even rgb ledmatrix.

 

see link in my signature, i even posted the code there :D




#52138 Netduino Plus fw 4.2.0 Error reading Tacho from 12v Fan

Posted by NooM on 14 August 2013 - 08:35 AM in Netduino Plus 2 (and Netduino Plus 1)

if the white wire has 12v you fry your netduino

 

id also change the on fan rotation to just cound up, and if 1 sec is over divide it to get the rpm, like a fps counter.

 

but your netduino may not bbe able to read high frequencies.

 

iirc its 10khz max or so.




#52137 Using a 7 segment display without a shift register

Posted by NooM on 14 August 2013 - 08:29 AM in Netduino Plus 2 (and Netduino Plus 1)

you totally wanna use a shift register.

its a waste of pins to use it without.

 

and you should not connect it directly to your netduino pins, its 7-8 leds, if all are on they may damage the common anode/cathode pin.

so use transistors for max brightness, or at least a big enuff resistor

 

i used that code to test a 4 digit one: http://pastebin.com/rMJRSHqn

 

btw: using pins directly is way more complicated than a 74hc595 where you can send bytes directly,

it shortens the code by a big ammount (sorry, cant find a sample code for that)




#52046 LCD - ST7735B

Posted by NooM on 08 August 2013 - 06:58 PM in Netduino Plus 2 (and Netduino Plus 1)

easy.

gnd vcc, ok i guess you know that.

nc = no connection.

reset also clear.

a0 is data/command switch.

sda is mosi.

sck is sck

cs is chipselect (thats all for the display itself, spi)

 

the other sck,mosi miso and cs is for the sd card.





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.