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 14-May 23)


By content type

See this member's


Sort by                Order  

#32787 Take a dirty picture for me

Posted by ash on 27 July 2012 - 11:47 AM in Netduino Plus 2 (and Netduino Plus 1)

sorry, the topic is not going to be that interesting. :lol: I've got my NP hooked up to a serial camera and i want to take a pic and then push it on a webserver. By the looks of it im getting a outofmemory exception. Is there any efficient way of do this with out using lots of memory?



#32341 Problem Detect the presence of SD in Netduino Plus

Posted by ash on 20 July 2012 - 09:35 AM in Netduino Plus 2 (and Netduino Plus 1)

i just did this:

            DirectoryInfo dirinfo = new DirectoryInfo(@"\SD\Bin");
            if (dirinfo.Exists)
                GotSDCard = true;

:lol:



#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




#44002 Netduino+2 Linksprite Camera Serial read problem

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

let us know how you get on

 

i just find it strange that the command that fails is when im trying to get the image data out of the camera. Functions that work are.

 

reset

set image size

set baud rate

set compression

take a pic

get image size

stop pic




#43920 Netduino+2 Linksprite Camera Serial read problem

Posted by ash on 22 January 2013 - 10:11 AM in Netduino Plus 2 (and Netduino Plus 1)

this code does not work with np2. I'm using a different lib and im having issues too. I had to go back to the NP1

 

my post

http://forums.netdui...-on-the-plus-2/

 

Is there is an issue here somewhere! the NP2 does not like this camera when trying to get the data out of the camera after its been setup :(




#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




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




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




#33688 Maximum Baud Rate

Posted by ash on 15 August 2012 - 03:31 PM in Netduino 2 (and Netduino 1)

Im using Com1, Com2 is being used for rs422 so i dont mind swapping :rolleyes:



#33681 Maximum Baud Rate

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

i can only get a max of 115200! :angry:



#33751 Maximum Baud Rate

Posted by ash on 16 August 2012 - 08:41 AM in Netduino 2 (and Netduino 1)

no, thats a good point. will have a bash today, cheers.



#33691 Maximum Baud Rate

Posted by ash on 15 August 2012 - 03:41 PM in Netduino 2 (and Netduino 1)

something is not quite right for some reason its taking nearly 10secs to transfer a 20k jpeg image @ 115200! something is a miss somewhere. :huh:



#33932 Love for Chris Walker

Posted by ash on 20 August 2012 - 07:47 AM in General Discussion

+1



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




#33605 Help upgrading TinyBooter using SAM-BA 2.12

Posted by ash on 14 August 2012 - 03:15 PM in General Discussion

oh that gold pin. blanked it and now its coming up and a com3 camera detect. using samba-ba 2.12 on the flash tab, the send file is the tinybooter sent it with locks. disconnected the usb and reconntected and still thinks its a camera, lol.



#33617 Help upgrading TinyBooter using SAM-BA 2.12

Posted by ash on 14 August 2012 - 03:41 PM in General Discussion

oh i had 4.2 rc5 before just installing the qfe stuff now. But i already have the 4.2SDK installed the april version. Would i need to install it again?



#33614 Help upgrading TinyBooter using SAM-BA 2.12

Posted by ash on 14 August 2012 - 03:33 PM in General Discussion

anyway it seems to have something. powered off & powered on the USB (popo) now it tried to instal NP driver and fails! so i go the np driver folder and now it says no driver can be found!



#33598 Help upgrading TinyBooter using SAM-BA 2.12

Posted by ash on 14 August 2012 - 02:49 PM in General Discussion

great just downloaded sam-ba 2.12 and nothing is showing in the connection window :unsure:



#33611 Help upgrading TinyBooter using SAM-BA 2.12

Posted by ash on 14 August 2012 - 03:27 PM in General Discussion

loading history file ... 0 events added
SAM-BA console display active (Tcl8.5.9 / Tk8.5.9)
(sam-ba_2.12) 1 % 
(sam-ba_2.12) 1 % FLASH::Init
-I- Loading applet applet-flash-at91sam7x512.bin at address 0x202000
-I- Memory Size : 0x80000 bytes
-I- Buffer address : 0x202B44
-I- Buffer size: 0x1D300 bytes
-I- Applet initialization done
(sam-ba_2.12) 1 % FLASH::ScriptGPNMV 4
-I- GPNVM2 set
(sam-ba_2.12) 1 % send_file {Flash} "C:/Users/Ash Jones/Desktop/NetduinoPlus_Firmware_4.2.0.0/TinyBooterDecompressor.bin" 0x100000 0
-I- Send File C:/Users/Ash Jones/Desktop/NetduinoPlus_Firmware_4.2.0.0/TinyBooterDecompressor.bin at address 0x100000
 first_sector 0 last_sector 2 
-I- 	Writing: 0xA104 bytes at 0x0 (buffer addr : 0x202B44)
Do not unlock 
-I- 	Writing: 0xA104 bytes at 0x0 (buffer addr : 0x202B44)
-E- Generic::Write returned error (0x00000004)
(sam-ba_2.12) 1 % 

fails on send file



#32068 find the right ip address on the network

Posted by ash on 16 July 2012 - 04:28 PM in Netduino Plus 2 (and Netduino Plus 1)

I want my NP to automatically connect to a web server. Is there a way of doing some sort of dns lookup or a list of devices on the current network etc. Cheers, ash.



#32123 find the right ip address on the network

Posted by ash on 17 July 2012 - 11:16 AM in Netduino Plus 2 (and Netduino Plus 1)

its for a commerical application where several of theses Ap's on power up with auto locate a server connect and process data. We are trying to limit the technician's just to fit these boxes and replace if faulty. i was hoping not to ping as it will be a long process on these AP boards.



#32147 find the right ip address on the network

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

Thanks Nak. Looks like its not going to be possible. The network is small ish but there is no IT profesionals on site ha ha. The techs know how to use spanners and screwdrivers so changing a SD card might be a bit too much, lol.



#32099 find the right ip address on the network

Posted by ash on 17 July 2012 - 08:52 AM in Netduino Plus 2 (and Netduino Plus 1)

any examples of code on where i can get the list of devices attached to the network?




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.