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 07-June 23)


By content type

See this member's


Sort by                Order  

#32151 find the right ip address on the network

Posted by ash on 17 July 2012 - 03:26 PM in Netduino Plus 2 (and Netduino Plus 1)

LMAO, Cheers Nak B)



#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




#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.




#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!




#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:




#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!




#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




#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.




#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?




#43165 Error 7 Device not found or cannot be opened - USB:Netduino

Posted by ash on 11 January 2013 - 03:41 PM in Netduino Plus 2 (and Netduino Plus 1)

sorry stefan. can you delete this thread please

 

I managed to get to work by setting the hardware to the emulator then the plus 1




#43158 Error 7 Device not found or cannot be opened - USB:Netduino

Posted by ash on 11 January 2013 - 03:24 PM in Netduino Plus 2 (and Netduino Plus 1)

the project is not working on the plus 2 so im trying to deploy the project back to plus 1 and i cant why is it? does this mean its not backward compatible. Also how do i support legacy systems?




#33014 dynamically loading assemblies

Posted by ash on 02 August 2012 - 11:14 AM in Netduino Plus 2 (and Netduino Plus 1)

I'm trying to do the above. it was working ages ago but now all of a sudden my app just hangs!

            byte[] assemblyData = GotSDCard ? File.ReadAllBytes(filename) : ServerHelper.DownloadFile(filename);
            if (assemblyData == null)
                throw new Exception("Assembly was empty");
            try
            {
                Assembly assm = Assembly.Load(assemblyData);
                Debug.Print("loaded Assembly: " + filename);

it hangs on the Assembly.Load call.

In the output window i get

The debugging target runtime is loading the application assemblies and starting execution.
'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Secret Labs\Netduino SDK\Assemblies\v4.2\le\SecretLabs.NETMF.Hardware.NetduinoPlus.dll', Symbols loaded.

How can i fix this or see whats going on?



#33504 dynamically loading assemblies

Posted by ash on 13 August 2012 - 07:53 AM in Netduino Plus 2 (and Netduino Plus 1)

thanks but that was the basis of my code



#33020 dynamically loading assemblies

Posted by ash on 02 August 2012 - 12:43 PM in Netduino Plus 2 (and Netduino Plus 1)

its the same size and im using the little endian file. it wont even load it from the sd card if i manually copied the pe file. :(



#33024 dynamically loading assemblies

Posted by ash on 02 August 2012 - 03:58 PM in Netduino Plus 2 (and Netduino Plus 1)

we could have 100 of these suckers attached to a webserver and it would be nice if the webserver pushed the firmware update.



#33022 dynamically loading assemblies

Posted by ash on 02 August 2012 - 01:22 PM in Netduino Plus 2 (and Netduino Plus 1)

would love to but it's a commerical project. I'm scrapping this now as I've spent too much time on it. Just wish this device could do OTA updates. Now got to work on a RS422 interface B)



#33017 dynamically loading assemblies

Posted by ash on 02 August 2012 - 12:12 PM in Netduino Plus 2 (and Netduino Plus 1)

Thats what I've used but like i said it hangs on the assembly.load and does not return my app just hangs



#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




#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.




#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




#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.





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.