- Netduino Forums
- → hanzibal's Content
hanzibal's Content
There have been 386 items by hanzibal (Search limited from 28-April 23)
#56563 MIP tcp/ip stack running on Netduino mini !!
Posted by hanzibal on 01 March 2014 - 09:05 PM in Project Showcase
Mip is 100% managed code which is great in many ways but at the same time makes it less effective in terms of system resources than the stack compiled into the firmware of the networked Netduino models.
#56561 MIP tcp/ip stack running on Netduino mini !!
Posted by hanzibal on 01 March 2014 - 08:50 PM in Project Showcase
Bring up a DOS box on your PC and type "nslookup www.google.com", what do you get?
You should get an ip number, try that on your Netduino.
Also try accessing your gateway 192.168.1.254 from your Netduino.
#56558 MIP tcp/ip stack running on Netduino mini !!
Posted by hanzibal on 01 March 2014 - 08:13 PM in Project Showcase
What happens when you try www.google.com?
#56554 MIP tcp/ip stack running on Netduino mini !!
Posted by hanzibal on 01 March 2014 - 05:34 PM in Project Showcase
You should be using the constants/enums corresponding to the pins on your Netduino instead of the numerical values from the original code.I guess that D8 does not equal (Cpu.Pin)8 in reference to a standard netduino 1?
Would this be 62 at a guess?
And D10 would be 64?
Many thanks
Andy
#56553 MIP tcp/ip stack running on Netduino mini !!
Posted by hanzibal on 01 March 2014 - 05:30 PM in Project Showcase
Could you post a link pointing to the ethernet board you are using and perhaps also a photo depicting your wiring?
#56548 MIP tcp/ip stack running on Netduino mini !!
Posted by hanzibal on 01 March 2014 - 02:13 PM in Project Showcase
Andy, just skip internal pulldown (change the parameter) and put an external resistor instead of some 10k - 100k from the IRQ pin to ground. Could even be, there's already one fitted on your ENC28J60 board.
Also, double check to make sure the IRQ and CS pins are not swapped, parameter-wise that is.
#56537 MIP tcp/ip stack running on Netduino mini !!
Posted by hanzibal on 01 March 2014 - 09:15 AM in Project Showcase
The numbers are just the numerical representations of the corresponing pin constants/enums and so, in your case, you should be able to simply replace those with D10 and D8.
#56519 Dive Computer and Rebreather Controller Based on a Netduino Mini
Posted by hanzibal on 28 February 2014 - 01:59 AM in Project Showcase
Yes, quite significantly so, how silly of me :-)Of course the biggest differences are that the homebrew mini has an STM32 chip and USB.
#56500 Dive Computer and Rebreather Controller Based on a Netduino Mini
Posted by hanzibal on 27 February 2014 - 03:29 PM in Project Showcase
Partly reflow soldered or everything by hand?
What are the differences compared to Chris's version?
#56471 Lcd 16x4 initialization
Posted by hanzibal on 26 February 2014 - 10:33 PM in General Discussion
#56470 Gainspan WiFi module
Posted by hanzibal on 26 February 2014 - 10:22 PM in General Discussion
#56428 Gainspan WiFi module
Posted by hanzibal on 26 February 2014 - 08:24 AM in General Discussion
#56427 MIP tcp/ip stack running on Netduino mini !!
Posted by hanzibal on 26 February 2014 - 06:49 AM in Project Showcase
I used this board from Sure Electronics:
Even though your board probably looks different, it should have those same pins.
Oh, about the profile, you can either change one of the existing ones or add your own, its only a matter of reflecting which Netduino pins you are actually using.
#56351 Extensive driver for the MCP23S17 I/O expander
Posted by hanzibal on 24 February 2014 - 11:07 PM in Project Showcase
Outs[23].Value = true;Am I right? In the context of this example, you don't have to care about the internal pin numbers being 2's complement. However, when working with buses, it's very conveniant becuase bit masking then becomes very easy. Note that buses cannot span multiple chips and also note that your array is not a bus, it's an array of pins which is not quite the same thing.
#56349 bitwise comparison & IF condition
Posted by hanzibal on 24 February 2014 - 09:45 PM in General Discussion
if ((this_led_color & mask) != 0) SDI.Write(true);else SDI.Write(false);Checking for equality to mask is no longer the same when mask has other than a single bit set.
#56348 Extensive driver for the MCP23S17 I/O expander
Posted by hanzibal on 24 February 2014 - 08:28 PM in Project Showcase
#56346 Extensive driver for the MCP23S17 I/O expander
Posted by hanzibal on 24 February 2014 - 08:10 PM in Project Showcase
Found an embarrassing bug in the multi SPI mgr - code is updated and hopefully problem is gone now...
Btw, your blinker loop looks suspicious - shouldn't you have a delay during the OFF period as well?
#56344 Extensive driver for the MCP23S17 I/O expander
Posted by hanzibal on 24 February 2014 - 07:31 PM in Project Showcase
I'll figure something out - meanwhile you could try using only Bank 0 and see if you can get that working....The GetHashCode method can be overridden by a derived type. If GetHashCode is not overridden, hash codes for reference types are computed by calling the Object.GetHashCode method of the base class, which computes a hash code based on an object's reference; for more information, see RuntimeHelpers.GetHashCode. In other words, two objects for which the ReferenceEquals method returns true have identical hash codes...
#56343 Extensive driver for the MCP23S17 I/O expander
Posted by hanzibal on 24 February 2014 - 07:16 PM in Project Showcase
#56341 Extensive driver for the MCP23S17 I/O expander
Posted by hanzibal on 24 February 2014 - 07:02 PM in Project Showcase
#56338 Hitachi HD44780 LCD controller
Posted by hanzibal on 24 February 2014 - 02:32 PM in General Discussion
#56336 Extensive driver for the MCP23S17 I/O expander
Posted by hanzibal on 24 February 2014 - 10:16 AM in Project Showcase
Regarding LEDs of Bank 1 lighting up unexpectedly, I went back to the information you got about your board:
..."[color=rgb(0,0,0);font-family:arial, sans-serif;font-size:13px;]On the left-hand chip (Bank 0) A0 is pulled to ground through 10K?. On the right hand chip (Bank 1) A0 is pulled up to Vcc.[/color]
[color=rgb(0,0,0);font-family:arial, sans-serif;font-size:13px;]On both chips A1 and A2 are both pulled down to ground through 10K?, and the two solder jumpers BA0 and BA1 can be shorted to link A1 and A2 to Vcc respectively"....[/color]
As the board manufacturer describes it, this would result in the first chip (Bank 0) getting {A0,A1,A2} = {0,0,0} corresponding to hwAddr 0 (zero) which would be correct in reference to your code.
It shouldn't matter if I have got the bit order wrong in my code because we're dealing with all zeroes for Bank 0.
However, I think we should concentrate on getting rid of any exceptions first before investigating this any further.
#56335 My daydream - FPGA/ARM platform
Posted by hanzibal on 24 February 2014 - 09:34 AM in General Discussion
#56334 My daydream - FPGA/ARM platform
Posted by hanzibal on 24 February 2014 - 09:25 AM in General Discussion
#56332 My daydream - FPGA/ARM platform
Posted by hanzibal on 24 February 2014 - 09:17 AM in General Discussion
How much of the io is available on that kit?, and.. is this an dip?
If you mean the PSoC 1 eval kit that I got, all pins are broken out on headers and and there's a small proto aside of them too plus an LCD header with a 16x2 LCD included (LCD driver is one of those module that you drop which becomes h/w after programming the chip).
The kit comes with a couple of DIP28 sample ICs. I purchased the smaller DIP8 version separately and programmed it while sitting in the breadboard, e.g. didn't use the eval board with that one even though it is of course possible (you need to put a couple of jumper wires since the ISSP pins are differently located physically).
Haven't seen that one - love the form factor and pretty inexpensive too, in other words - it looks just like my average "must have"
- Netduino Forums
- → hanzibal's Content
- Privacy Policy