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.

ash's Content

There have been 65 items by ash (Search limited from 19-April 23)


By content type

See this member's


Sort by                Order  

#49333 Netduino Plus 1 Firmware v4.2.0 (update 1)

Posted by ash on 10 May 2013 - 01:47 PM in Netduino Plus 2 (and Netduino Plus 1)

we know. it says so in the specs :P




#49330 false interupt triggering

Posted by ash on 10 May 2013 - 09:58 AM in Netduino Plus 2 (and Netduino Plus 1)

well, went on site yesterday to test and it was terrible. triggered once or a few time then nothing!!!

 

oh and even used the onboard switch too and that was flaky :D

 

Ended up having to write my interrruptPort class in the end and it was stable.




#49229 false interupt triggering

Posted by ash on 08 May 2013 - 12:08 PM in Netduino Plus 2 (and Netduino Plus 1)

no i added it to see if it would fix it but alias not.

 

Thanks for your help but im getting no where :wacko:




#49224 false interupt triggering

Posted by ash on 08 May 2013 - 11:32 AM in Netduino Plus 2 (and Netduino Plus 1)

just attached an NP v1 and works with no false triggering.

 

 

My input stage is simple : a connector (input from outside world, open collector source) ->  pull-up resisitor -> connector (micro switch but for testing, the connectors are shorted) -> Schmitt inverter input -> Netduino input! (D0).

 

I added the trigger inverter yesterday. :P




#49215 false interupt triggering

Posted by ash on 08 May 2013 - 07:41 AM in Netduino Plus 2 (and Netduino Plus 1)

like i said if i connect the ground from either by meter or scope it triggers!




#49173 false interupt triggering

Posted by ash on 07 May 2013 - 02:41 PM in Netduino Plus 2 (and Netduino Plus 1)

i already have them too :P




#49170 false interupt triggering

Posted by ash on 07 May 2013 - 01:58 PM in Netduino Plus 2 (and Netduino Plus 1)

with the switch not connected to the input stage it should not trigger but it does.

 

I can even trigger this when i put the neg lead of my meter on the gnd of my board!

 

So i dont belive its a floating pin issue.




#49161 false interupt triggering

Posted by ash on 07 May 2013 - 12:34 PM in Netduino Plus 2 (and Netduino Plus 1)

I've got the internal pull up resistor enabled so it should only go low when the switch is activated otherwise there's 3v3 on the inputs.

 

I've noticed when i attach the gnd of my scope on to the circuit it triggers it also but i know that my scope is not isolated.

 

another thing I've noticed is when i attach the gnd to my meter, it triggers it also. Now thats really weird!




#49153 false interupt triggering

Posted by ash on 07 May 2013 - 10:48 AM in Netduino Plus 2 (and Netduino Plus 1)

here's a really long one!

 

ODD ball trigger: 28 - 123 ODD ball trigger: 28 - 123 ODD ball trigger: 28 - 123 ODD ball trigger: 28 - 123 ODD ball trigger: 28 - 123 ODD ball trigger: 28 - 123 ODD ball trigger: 28 - 123 ODD ball trigger: 28 - 123 ODD ball trigger: 28 - 123 ODD ball trigger: 28 - 123 ODD ball trigger: 28 - 123 ODD ball trigger: 28 - 123 ODD ball trigger: 28 - 123 ODD ball trigger: 28 - 123 ODD ball trigger: 28 - 123 ODD ball trigger: 28 - 124 ODD ball trigger: 28 - 124 ODD ball trigger: 28 - 124 ODD ball trigger: 28 - 124 ODD ball trigger: 28 - 124 ODD ball trigger: 28 - 190 ODD ball trigger: 28 - 191 ODD ball trigger: 28 - 191 ODD ball trigger: 28 - 191 ODD ball trigger: 28 - 191 ODD ball trigger: 28 - 192 ODD ball trigger: 28 - 237 ODD ball trigger: 28 - 237 ODD ball trigger: 28 - 237 ODD ball trigger: 28 - 237 ODD ball trigger: 28 - 237 ODD ball trigger: 28 - 249 ODD ball trigger: 28 - 249 ODD ball trigger: 28 - 249 ODD ball trigger: 28 - 249 ODD ball trigger: 28 - 249 ODD ball trigger: 28 - 249 ODD ball trigger: 28 - 249 ODD ball trigger: 28 - 258 ODD ball trigger: 28 - 259 ODD ball trigger: 28 - 259 ODD ball trigger: 28 - 259 ODD ball trigger: 28 - 259 ODD ball trigger: 28 - 259 ODD ball trigger: 28 - 260 ODD ball trigger: 28 - 261 ODD ball trigger: 28 - 261 ODD ball trigger: 28 - 262 ODD ball trigger: 28 - 262 ODD ball trigger: 28 - 262 ODD ball trigger: 28 - 263 ODD ball trigger: 28 - 263 ODD ball trigger: 28 - 263 ODD ball trigger: 28 - 263 ODD ball trigger: 28 - 263 ODD ball trigger: 28 - 264 ODD ball trigger: 28 - 264 ODD ball trigger: 28 - 264 ODD ball trigger: 28 - 264 ODD ball trigger: 28 - 268 ODD ball trigger: 28 - 268 ODD ball trigger: 28 - 268 ODD ball trigger: 28 - 268 ODD ball trigger: 28 - 270 ODD ball trigger: 28 - 270 ODD ball trigger: 28 - 270 ODD ball trigger: 28 - 270 ODD ball trigger: 28 - 270 ODD ball trigger: 28 - 270 ODD ball trigger: 28 - 270 ODD ball trigger: 28 - 270 ODD ball trigger: 28 - 270 ODD ball trigger: 28 - 270 ODD ball trigger: 28 - 270 ODD ball trigger: 28 - 270 ODD ball trigger: 28 - 270 ODD ball trigger: 28 - 270 ODD ball trigger: 28 - 271 ODD ball trigger: 28 - 271 ODD ball trigger: 28 - 271 ODD ball trigger: 28 - 272 ODD ball trigger: 28 - 272 ODD ball trigger: 28 - 272 ODD ball trigger: 28 - 320 ODD ball trigger: 28 - 462 ODD ball trigger: 28 - 468 ODD ball trigger: 28 - 468 ODD ball trigger: 28 - 468 ODD ball trigger: 28 - 468 ODD ball trigger: 28 - 468 ODD ball trigger: 28 - 468 ODD ball trigger: 28 - 468 ODD ball trigger: 28 - 468 ODD ball trigger: 28 - 468 ODD ball trigger: 28 - 468 ODD ball trigger: 28 - 468 ODD ball trigger: 28 - 468 ODD ball trigger: 28 - 468 ODD ball trigger: 28 - 468 ODD ball trigger: 28 - 468 ODD ball trigger: 28 - 468 ODD ball trigger: 28 - 468 ODD ball trigger: 28 - 468 ODD ball trigger: 28 - 468 ODD ball trigger: 28 - 468 ODD ball trigger: 28 - 468 ODD ball trigger: 28 - 468 ODD ball trigger: 28 - 469 ODD ball trigger: 28 - 469 ODD ball trigger: 28 - 469 ODD ball trigger: 28 - 469 ODD ball trigger: 28 - 470 ODD ball trigger: 28 - 470 ODD ball trigger: 28 - 470 ODD ball trigger: 28 - 470 ODD ball trigger: 28 - 470 ODD ball trigger: 28 - 470 ODD ball trigger: 28 - 470 ODD ball trigger: 28 - 470 ODD ball trigger: 28 - 470 ODD ball trigger: 28 - 470 ODD ball trigger: 28 - 470 ODD ball trigger: 28 - 470 ODD ball trigger: 28 - 470 ODD ball trigger: 28 - 470 ODD ball trigger: 28 - 470 ODD ball trigger: 28 - 470




#49151 false interupt triggering

Posted by ash on 07 May 2013 - 10:44 AM in Netduino Plus 2 (and Netduino Plus 1)

with added debounce

        private void BallTrigEven_OnInterrupt(uint data1, uint data2, DateTime time)        {            string st = time.Second.ToString() + " - " + time.Millisecond.ToString();            Debug.Print("EVEN ball trigger: " + st);            if (ballData.Lanes[(int)id.even].LastPushed.AddMilliseconds(cDebounce) > time)                return;            BallTrigEven.DisableInterrupt();            UpdateStatus(id.even);            Cycle(id.even);            ballData.Lanes[(int)id.even].Data = (int)TestScores.Seven;            ballData.Lanes[(int)id.even].LastPushed = time;            BallTrigEven.EnableInterrupt();        }

break point set on the "if" statement. I triggered the input very crudely (needle nose pliers :)) and then F9 when the debugger hit the break point.

Below the debuggers output

 

EVEN ball trigger: 20 - 851 EVEN ball trigger: 20 - 851 EVEN ball trigger: 20 - 911 EVEN ball trigger: 20 - 938 EVEN ball trigger: 20 - 954 EVEN ball trigger: 20 - 955 EVEN ball trigger: 20 - 966 EVEN ball trigger: 21 - 105 EVEN ball trigger: 21 - 105 EVEN ball trigger: 21 - 105 EVEN ball trigger: 21 - 105 EVEN ball trigger: 21 - 105 EVEN ball trigger: 21 - 105 EVEN ball trigger: 21 - 105 EVEN ball trigger: 21 - 105 EVEN ball trigger: 21 - 105 EVEN ball trigger: 21 - 105 EVEN ball trigger: 21 - 105 EVEN ball trigger: 21 - 105 EVEN ball trigger: 21 - 105 EVEN ball trigger: 21 - 105 EVEN ball trigger: 21 - 105 EVEN ball trigger: 21 - 105 EVEN ball trigger: 21 - 105 EVEN ball trigger: 21 - 105 EVEN ball trigger: 21 - 105 EVEN ball trigger: 21 - 105 EVEN ball trigger: 21 - 105 EVEN ball trigger: 21 - 105 EVEN ball trigger: 21 - 105 EVEN ball trigger: 21 - 106 EVEN ball trigger: 21 - 106 EVEN ball trigger: 21 - 106 EVEN ball trigger: 21 - 106 EVEN ball trigger: 21 - 106 EVEN ball trigger: 21 - 106 EVEN ball trigger: 21 - 106 EVEN ball trigger: 21 - 106 EVEN ball trigger: 21 - 106 EVEN ball trigger: 21 - 106 EVEN ball trigger: 21 - 106 EVEN ball trigger: 21 - 106 EVEN ball trigger: 21 - 106 EVEN ball trigger: 21 - 106 EVEN ball trigger: 21 - 106 EVEN ball trigger: 21 - 106 EVEN ball trigger: 21 - 106 EVEN ball trigger: 21 - 106 EVEN ball trigger: 21 - 106 EVEN ball trigger: 21 - 106 EVEN ball trigger: 21 - 106 EVEN ball trigger: 21 - 106 EVEN ball trigger: 21 - 106 EVEN ball trigger: 21 - 106 EVEN ball trigger: 21 - 106 EVEN ball trigger: 21 - 106 EVEN ball trigger: 21 - 106 EVEN ball trigger: 21 - 106 EVEN ball trigger: 21 - 106

 

Now, thats very weird :wacko:




#49148 false interupt triggering

Posted by ash on 07 May 2013 - 10:23 AM in Netduino Plus 2 (and Netduino Plus 1)

thats what i thought but it keeps triggering way after the button has been pressed. Also im in bedugging mode too. I placed a break point on the interrupt. When it occurs click go until the it clears. If it happens a few times then its a debounce issue but it just keeps going!




#49142 false interupt triggering

Posted by ash on 07 May 2013 - 09:04 AM in Netduino Plus 2 (and Netduino Plus 1)

i cant understand what is going on here and was wondering if someone could help me.

 

I've setup 2 two inputs to interrupt on ports D0 & D1

BallTrigOdd = new InterruptPort(NPIO.BallTrigOdd, true, Port.ResistorMode.PullUp, Port.InterruptMode.InterruptEdgeLow);BallTrigOdd.OnInterrupt += new NativeEventHandler(BallTrigOdd_OnInterrupt);BallTrigOdd.EnableInterrupt();BallTrigEven = new InterruptPort(NPIO.BallTrigEven, true, Port.ResistorMode.PullUp, Port.InterruptMode.InterruptEdgeLow);BallTrigEven.OnInterrupt += new NativeEventHandler(BallTrigEven_OnInterrupt);BallTrigEven.EnableInterrupt();
        private void BallTrigEven_OnInterrupt(uint data1, uint data2, DateTime time)        {            BallTrigEven.DisableInterrupt();            UpdateStatus(id.odd);            Cycle(id.even);            ballData.Lanes[(int)id.even].Data = (int)TestScores.Seven;            BallTrigEven.EnableInterrupt();        }        private void BallTrigOdd_OnInterrupt(uint data1, uint data2, DateTime time)        {            BallTrigOdd.DisableInterrupt();            UpdateStatus(id.even);            Cycle(id.odd);            ballData.Lanes[(int)id.even].Data = (int)TestScores.Seven;            BallTrigOdd.EnableInterrupt();        }

but for some reason it just keeps triggering and gets stuck in a loop. Is there something I'm doing wrong?




#48061 detecting a AC voltage

Posted by ash on 05 April 2013 - 08:56 AM in General Discussion

Thanks for the replies :)

 

Im aware of the 3700 but its expensive and im having to use components that if it becomes obsolete it can easily be replaced.

 

I've a circuit diagram which should do what i need :P

Attached Files




#48005 detecting a AC voltage

Posted by ash on 04 April 2013 - 08:19 AM in General Discussion

we are interfacing to some equipment so there are several inputs of 28VAC so using transformers and regulators is out of the question. The response needs to be pretty darn quick too. Basically its to detect a presence.

 

I know PLC's have AC/DC inputs, so i kinda need that input stage fitted to my NP2




#47977 detecting a AC voltage

Posted by ash on 03 April 2013 - 03:42 PM in General Discussion

I need to monitor a state of some 28VAC lines.

 

Hows the best way to do this?

 

I know i need a full bridge, some smoothing and a opto coupler but the bit inbetween the smoothing and opto im stuck on.




#47964 High Speed Cameras

Posted by ash on 03 April 2013 - 09:03 AM in General Discussion

will be relaying the data on as the NP2 has no imaging libs so we cant process the image internally (which would of been great).

 

So its not looking like anyone has played with high speed image capturing then :(




#47685 High Speed Cameras

Posted by ash on 28 March 2013 - 03:28 PM in General Discussion

Has anyone got any experience capturing images at high speed?

 

The current camera we are using can take an image heavily compressed @ 320 x 240 and transfer the image in about over a second via a TTL serial interface.

 

I need a camera at a resolution of at least 640 x 320 and the transfer rate of well under a second. Any help would be very much appreciated :)




#47684 MCP23017 Interrupts

Posted by ash on 28 March 2013 - 03:22 PM in Netduino Plus 2 (and Netduino Plus 1)

netmf-toolbox does not do interrupts.

 

Changed everything to adapt to your code and still nothing.

 

Thanks for help but ive implemented a software interrupt routine now. :)




#47618 MCP23017 Interrupts

Posted by ash on 27 March 2013 - 09:27 AM in Netduino Plus 2 (and Netduino Plus 1)

hi, tried your code and it does not work for me :(




#47559 MCP23017 Interrupts

Posted by ash on 25 March 2013 - 02:37 PM in Netduino Plus 2 (and Netduino Plus 1)

I can do basic IO on this chip without any issues but can i get the interrupt to work, no. Been at it for a few days and im not making any progress, please help!!!!

 

Hardware setup:

NP2+, clk & data lines have pull up resistors, 2 leds on the output of the mcp chip. 2 simple switch for the input with pull up resistors which is shorted to ground when switched. INTA on the mcp has a direct connection to the NP2+ to DIO0.

 

private void SetupPort(Port port){byte IODIA = IODIRA;byte IOCONAddress = IOCON;byte GPINTENAddress = GPINTENA;byte INTCONAddress = INTCONA;byte INTCAPAddress = INTCAPA;byte DEFVALAddress = DEFVALA;if (port == Port.PortB){IODIA = IODIRB;GPINTENAddress = GPINTENB;INTCONAddress = INTCONB;INTCAPAddress = INTCAPB;DEFVALAddress = DEFVALB;}// I/O expander configuration 1010 0000this.device.Write(new byte[] { IOCONAddress, 0xA0 });// Interrupt on change pin 00001111 first 4 are enabled only cus they are inputsthis.device.Write(new byte[] { GPINTENAddress, 0x0F });// default value to compare before the interrupt hitsthis.device.Write(new byte[] { DEFVALAddress, 0x0F });// Interrupt on change control reg, interrupts on default valuethis.device.Write(new byte[] { INTCONAddress, 0x0F });// clear the interupt capture regbyte[] ReadBuffer = new byte[] { INTCAPAddress };this.device.Read(ReadBuffer);// Direction register 11110000 first 4 are outputs and the rest are inputsthis.device.Write(new byte[] { IODIA, 0xF0 });// set outputs to 0//SetIOPort(port, 0);}

 

basicaly the setup is the first 4 bits to be inputs (interrupt driven) and the next 4 bits as outputs.

 

ive configured to only go high when it receives a high level from the input.

 

Its not working at all.




#46769 Creating Log Files.

Posted by ash on 06 March 2013 - 04:39 PM in General Discussion

Dave thanks very much option b seems to the best and the most easy to implement :)




#46760 Creating Log Files.

Posted by ash on 06 March 2013 - 02:51 PM in General Discussion

I've a log file which i append to every so often. (Thats the easy bit)

 

What i want to do is if its gets above a certain size then delete the old 1 st line before add the latest line to the bottom of the file.

 

Is there a way of doing this? i cant exactly read the whole file as i will run out memory :(




#46618 Deployment without Visual Studio

Posted by ash on 04 March 2013 - 04:41 PM in General Discussion

oh ok.

 

cool. i checked about last month for a solution.

 

It might be best to make it a sticky somewhere or part of a FAO.




#46613 Deployment without Visual Studio

Posted by ash on 04 March 2013 - 03:07 PM in General Discussion

Sorry if this has been discussed before but ive searched for a solution for this and was unable to come with a answer.

 

I've got a project in VS and i want to deploy across various target boards but i want to pass this task to another member of the team but i dont wish for him to have the source code.

 

Is there a way of the deploying the output binaries to the target device i.e. MFDeploy.




#44158 Netduino+2 Linksprite Camera Serial read problem

Posted by ash on 25 January 2013 - 09:28 AM in Netduino Plus 2 (and Netduino Plus 1)

I think secret labs should get a camera to try in order to see whats going on :P





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.