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.

bramVD's Content

There have been 16 items by bramVD (Search limited from 26-April 23)


By content type

See this member's

Sort by                Order  

#43181 Netduino doen't run or debug

Posted by bramVD on 11 January 2013 - 04:46 PM in Netduino 2 (and Netduino 1)

AH, lol. didn't know that.
always thought is was backward compatible.
 
its posible to go back to the 4.1 framework  if your on the 4.2?
 
 
no longer necessary.. fixed it.
 
i searched for the MicroLiquidCrystal  source code, and found it.
used the 2 classes necessary for the LCD. and imported those into the project.
 
and it works fine now :)



#43178 Netduino doen't run or debug

Posted by bramVD on 11 January 2013 - 04:31 PM in Netduino 2 (and Netduino 1)

Oke, did the Reboot CLR and Ping, this is the result:

 

Configuration version != versionAssembly: MicroLiquidCrystal (1.1.0.0)Found debugger!Create TS. Loading start at 142afc, end 1583e0   Assembly: mscorlib (4.2.0.0)   Assembly: Microsoft.SPOT.Native (4.2.0.0)   Assembly: Microsoft.SPOT.Hardware (4.2.0.0)   Assembly: Microsoft.SPOT.Hardware.SerialPort (4.2.0.0)   Assembly: Microsoft.SPOT.IO (4.2.0.0)   Assembly: System.IO (4.2.0.0)   Assembly: Microsoft.SPOT.Hardware.PWM (4.2.0.1) needs assembly 'mscorlib' (4.1.2821.0)   Assembly: SecretLabs.NETMF.Diagnostics (4.2.0.0)Assembly: MicroLiquidCrystal (1.1.0.0)   Assembly: SecretLabs.NETMF.IO (4.2.0.0) needs assembly 'Microsoft.SPOT.Hardware' (4.1.2821.0)Loading Deployment Assemblies.Assembly: MicroLiquidCrystal (1.1.0.0)Attaching deployed file. needs assembly 'Microsoft.SPOT.Native' (4.1.2821.0)   Assembly: SecretLabs.NETMF.Hardware.Netduino (4.2.1.0)Error: a3000000Attaching deployed file.Waiting for debug commands...   Assembly: LCD_Buttons (1.0.0.0)Attaching deployed file.   Assembly: MicroLiquidCrystal (1.1.0.0)Attaching deployed file.   Assembly: SecretLabs.NETMF.Hardware (4.2.0.0)Resolving.Pinging... TinyCLRPinging... TinyCLR



#43145 Netduino doen't run or debug

Posted by bramVD on 11 January 2013 - 11:05 AM in Netduino 2 (and Netduino 1)

Hallo

 

Just last week I build and tested a PWM RGB project on my Netduino, and yesterday I wanted to do something else so I made a new program and was ready for testing.

 

Hooked up my Netduino and deployed the program, Without errors.

But nothing happened!!

 

Tried a simple program (blinky) for testing. put a breakpoint in the program, and ran it again.

Nothing, not even a break.

 

After a second look I figured out that the program did not even start.

 

I flashed the firmware on the Netduino, tried it again, nothing.

 

 

Has Anyone encountered this problem before?

 

 

 

Bram




#43107 Help with 128*64 OLED display

Posted by bramVD on 10 January 2013 - 01:39 PM in General Discussion

At first glance you could try using the I2C way, because the SPI protocol requires a 9-bit transfer which is not supported.

The I2C should be feasible, although not so fast to play animations or similar.

Bear in mind to add a couple of pull-up resistors (e.g. 5k Ohms) to +3.3V.

 

Oh...I wouldn't throw it away: although an LCD won't give much satisfaction with a Netduino, you could have fun by adding an Arduino. At that point, the Arduino makes the "dirty job" and the Netduino the elegant one!

Cheers

 

 

Thanks, 

 

i will look at the i2C way  ;)

You mention pull-up resistors, on which pins?

 

Last Monday i order a Arduino, it seemed fun to combine the 2 boards into 1 project




#43093 Help with 128*64 OLED display

Posted by bramVD on 10 January 2013 - 08:26 AM in General Discussion

I contacted the seller,

 

he sent me this link today:
http://www.divshare....ad/18744334-626

 

 

i'm using the standard Netduino (framework 4.2)




#43037 Help with 128*64 OLED display

Posted by bramVD on 09 January 2013 - 10:46 PM in General Discussion

Hello

 

a couple of weeks ago i bouth this little display:

 

 

 

Posted Image

 

pin1: GND    = Ground

pin2: V         = 5V?

pin3: D0       = CLK

pin4: D1       = MISO

pin5: RST     = Reset

pin6: DC       = Data / Command

pin7: CS       = Chip Select (CSN)

 

only one problem, i cant get it to work
i have tried it for a couple of days now, and im at the point of throwing it out of the window :angry:

 

i have tried a couple of projects as base, but can't even find a good diagram for wireing.

 

 

does anyone have experience with this LCD??

 

more info:
http://item.taobao.c...&id=12825164303

 

 

Bram van Deventer




#41503 PWM question (in combination with TIP32)

Posted by bramVD on 13 December 2012 - 07:24 PM in Netduino 2 (and Netduino 1)

Just remembered that the LEDstrip has 1 common 12V and 3 outputs, so theonly what is to control it after the strip.

I put the strip directly one 12V en Ground, and the LEDs were indeed brighterthen when they are in line with the PNP, but it’s hardly noticeable.
so I wil stick with the original plan
Posted Image



#41461 PWM question (in combination with TIP32)

Posted by bramVD on 13 December 2012 - 08:17 AM in Netduino 2 (and Netduino 1)

I am a little worried that the led strip has moved in the new circuit.
Is this the mistake you mention?


Yes, thats the mistake.

If the pnp transistor is connected like this, it may not turn ON fully; if so, it will act as a resistor and will waste some of the power that should be in your LED strip.

It would be better to put the pnp above the LED strip, between12V and the strip's +ve terminal.

Remember to have fun - Paul


The strip is really bright at the moment, but I will try to switch the location of the PNP.
maybe it will even be brighter!


The “having fun” part will not be a problemPosted Image

After this works I’m going to implement a 1” OLED screen, a rotary switch and a IR receiver,
all into a little box mounted on the wall, connected to a 5M RGB led stip.


Building a Menu to configure the lights and patterns.Posted Image



#41450 PWM question (in combination with TIP32)

Posted by bramVD on 12 December 2012 - 10:25 PM in Netduino 2 (and Netduino 1)

Made a mistake in the drawing, but is basically the same:

https://www.circuitl...rip-controller/

Attached Thumbnails

  • 1.png



#41448 PWM question (in combination with TIP32)

Posted by bramVD on 12 December 2012 - 09:52 PM in Netduino 2 (and Netduino 1)

Hi Bram,

I don't have any data to hand, so the following are guesses.
The pullup resistor does not have to pass any current (you might even get away without it) I would use something big - say 10K.
You have used 220R for the pnp's base, stick with that for now.
The npn base should not need much current, try 1K or a bit less if it does not turn on properly.

Paul


Yaay,

it works perfectly . Thanks!!! (again)Posted Image



#41429 PWM question (in combination with TIP32)

Posted by bramVD on 12 December 2012 - 12:33 PM in Netduino 2 (and Netduino 1)

You have got a pnp transistor.

If you have to use the pnp transistor as shown, you need to use another transistor (npn) and resistors to get the base to swing up above 11.3V. This

EDIT added picture.
When NPN is OFF, "pull up" reistor hold the PNP base near to 12V, thus turning it OFF.
When NPN is ON, it pulls the base down below 11.3V, turning the PNP ON.


do you have a value of the Resistors?



#41403 PWM question (in combination with TIP32)

Posted by bramVD on 11 December 2012 - 07:25 PM in Netduino 2 (and Netduino 1)

You have got a pnp transistor.
When you pull the base down to about 0.7 V below your 12V supply, it will turn ON.

When the Netduino output is low 0V - it wil be ON.
When the Netduino output is high 3.3V - it will still be ON!

If you have to use the pnp transistor as shown, you need to use another transistor (npn) and resistors to get the base to swing up above 11.3V. This will also invert the logic, low - off, high - on.

Hope this explains it - Paul


Thank you, it explains a lot :)



#41383 PWM question (in combination with TIP32)

Posted by bramVD on 11 December 2012 - 12:53 PM in Netduino 2 (and Netduino 1)

It is just a logical change (*), normally 0% = off and 100% = on, inverted 0% = on, 100% = off.

(*) The microcontroller allows configuration of PWM polarity, but it is not available in .NET MF classes.


LOL, that was stupid of mePosted Image.


BUT...
I hooked upthe 3 leads of the RGB strip. Including separate PNPs and resistors.

I wrote a littlescript that enables me to switch between light.
3 duty cycles: 2 set to 0% and 1 set to 100%.

And if I look1 is very bright, the other 2 are dimmed (not off).


Does this means that I don’t need a inverted PWM?



#41380 PWM question (in combination with TIP32)

Posted by bramVD on 11 December 2012 - 12:13 PM in Netduino 2 (and Netduino 1)

your circiut looks kinda wrong. // stupid me.

i made a circiut with an npn (doesent need inverted pwm). you can easly change it to pnp (you have to invert the pwm).

ofc you need to change the resistor value for the 12v, or maybe dont even use one, but i not suggest that (except it runs with 12v)

most likly your problem is the pnp, it needs inverted pwm.



The led strip in the drawing is infect a RGB strip of 5 meter, drawingabout a 1Amp at 12V, per chanel.

How can i invert the PWM?



#41370 PWM question (in combination with TIP32)

Posted by bramVD on 11 December 2012 - 10:29 AM in Netduino 2 (and Netduino 1)

Hello,

I created the following circuit:
Posted Image
LED STIP = LED STRIP

I’m chancing the duty cycle of the PWM to control the light output of the LED stip.

so in de code I’m setting the duty cycle to 0%.
but there still is a low voltage coming out of the PWM port,
so the PNP is still being triggered, and the LED will still emit light.

How can I fix this? so on a duty cycle of 0% the voltage on the Base of the PNP = 0V.

(DataSheet op TIP32C = PDF)


Bram van Deventer



#41287 Netduino 1 Firmware v4.2.0 (update 1)

Posted by bramVD on 09 December 2012 - 11:11 PM in Netduino 2 (and Netduino 1)

Hello I have a problem with flashing. I had a problem with my Netduino, I was playing with the PWM port when suddenly Visual Studio gave the message something containing “State“ and “Reset”. So I thought, time to upgrade the firmware! Downloaded all the data, Flashed “TinyBooterDecompressor.bin” with SAM-BA 2.12. Checked if Send file is the same as Flashed file, and it was. Open “MFDeploy.exe” for flashing Images. but I can’t ping my Netduino, tried everything, form pulling cables to flashing the “TinyBooterDecompressor.bin” again, but nothing helps. Can anyone tell me how I can fix my Netduino? EDIT: Nevermind :( uses the wrong version of MFDeploy.exe, shame on me




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.