mcinnes01's Content - Netduino Forums
   
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.

mcinnes01's Content

There have been 82 items by mcinnes01 (Search limited from 26-April 23)


By content type

See this member's


Sort by                Order  

#54136 Shield Base Firmware (beta 7)

Posted by mcinnes01 on 17 November 2013 - 10:27 PM in Netduino Go

Wow I can't believe I've only just found this thread and I'm surprised its so quiet on here :(

 

Good work Chris! Its nice to see work is happening on Go! Bus still :) 

 

I have been mad busy rewiring my house for hopefully what will be a netduino controlled system eventually (lots of work to go with what will be about 80 relays to control)

 

I will definitely have a play when I get a chance.

 

Can I ask for a little (or fairly detailed if you can) update on Go! Bus 2.0?

 

In notice there are some alpha features on there now, perhaps you could tell us where things like:

 

Where the SPI transport is up to

Support for multiple SBs

The generic firmware for STMs and the ability to flash from the N Go!

When the next release is due

 

Many thanks and keep up the great work

 

Andy




#54127 Raspberry Pi and dot Net MicroFramework

Posted by mcinnes01 on 17 November 2013 - 02:58 PM in General Discussion

I use VS2012 with no issue, you can get the 4.3 SDK from the downloads area.

 

Multiple versions of VS, .NET and the SDK should run happily together on the same PC. Just remember to target the correct version in your project.

 

hth

 

Andy




#56407 OutputExpander - How to Make a Netduino GO! Module

Posted by mcinnes01 on 25 February 2014 - 08:46 PM in Netduino Go

Hi Mark,

 

Just a thought, you may have seen the recent library hanzibal made for the MCP23S17. I was wondering if you have looked at the STM8L range?

 

These chips have 2 SPI buses.

 

This is a little beyond me, but I would love a dual MCP23S17 GO bus module.

 

What are your thoughts on the STM8L and is it possible to use both SPI buses, one for GO bus and the other for the MCP23S17s?

 

Many thanks

 

 

andy




#56177 Out of pins. Need advice on how to expand

Posted by mcinnes01 on 18 February 2014 - 09:05 PM in Netduino 2 (and Netduino 1)

Hi,

 

I have a 32 port expander using 2 MCP23S17, I wonder if anyone has any examples of how to work with these chips and if anyone could confirm which netduino pins are associated with the following?

 

MOSI

MISO

SCK

CS

 

Many thanks,

 

Andy




#56185 Out of pins. Need advice on how to expand

Posted by mcinnes01 on 18 February 2014 - 11:38 PM in Netduino 2 (and Netduino 1)

Thanks that's great, would you power off the 5v or 3.3v rail? I am creating another stage after this of UL2803 to control some relays.

 

Out of interest, like the 595s are the MCPs prone to errors? For example with the help of Mario I used a stage to buffer the output of the 595s for long enough to reload the chip in case of errors, without affecting the output.

 

Many thanks

 

Andy




#56410 New: Netduino 4.3.1 SDK and VS2012+ support

Posted by mcinnes01 on 25 February 2014 - 10:24 PM in General Discussion

Hi Chris,

 

Is there any release for the netduino 1?

 

Also any news on one-wire for the netduino 1?

 

Many thanks,

 

Andy




#56416 New: Netduino 4.3.1 SDK and VS2012+ support

Posted by mcinnes01 on 26 February 2014 - 12:10 AM in General Discussion

Cheers Chris.

 

I look forward to it :)




#52328 New book: Netduino Home Automation Projects

Posted by mcinnes01 on 24 August 2013 - 08:21 PM in General Discussion

Ordered! Can't wait I am just starting a major home automation project so this could be useful, although my spark is quoting £11K for the infrastructure I want putting in place :o




#54270 Netduino Go! 4.3 firmware

Posted by mcinnes01 on 24 November 2013 - 02:50 PM in Beta Firmware and Drivers

Hi,

 

Is there any news on the Netduino Go! 4.3 firmware?

 

Many thanks,

 

Andy




#54278 Netduino Go! 4.3 firmware

Posted by mcinnes01 on 24 November 2013 - 09:17 PM in Beta Firmware and Drivers

Can we work with Netduino Go! in VS2012 or VS2013 currently?

 

Could you just go through what is required in terms of install, from the point of view of just having VS2012/13 installed and no NETMF or netduino sdk installed?

 

Can we still use 4.3 for standard netduino 1 with vs2012/13?

 

Many thanks,

 

Andy




#52089 Netduino Go Future

Posted by mcinnes01 on 11 August 2013 - 02:41 PM in Netduino Go

Hi Chris,

 

What needs to happen to get things like SD shields that use SPI and things like serial wifi modules to work with the shield base? Are these planned for the next release?

 

Are there going to be any interfaces for AGENT to work with GO!?

 

Cheers,

 

Andy




#52372 Netduino Go Future

Posted by mcinnes01 on 26 August 2013 - 05:22 PM in Netduino Go

Hi Chris,

 

Thanks for the reply, does that mean we are likely to see perhaps an ethernet module this side of christmas which if I remeber correctly uses the STM32? Is there any update on how your testing is going in terms GoBus 1.5 running happily on the STM32?

 

Cheers,

 

Andy




#52128 Netduino Go Future

Posted by mcinnes01 on 13 August 2013 - 06:59 PM in Netduino Go

Cheers Mark!

 

It looks interesting, but sadly this will take the spi up on the shield base which I use for other things and with the lack of multi shield support this doesn't leave much scope ;)

 

#Subtext# I was also trying to provoke some interest from Chris and maybe a response?

 

#Off Topic# How was Manchester mini maker faire and where did you hear about it? I missed hearing about it till too late :(

 

Andy




#52329 Netduino Go Future

Posted by mcinnes01 on 24 August 2013 - 08:41 PM in Netduino Go

Is there any road map for go! bus 1.5 to be available in some form that will allow things like the ethernet module and multi shield base support, to come out before Christmas this year?

 

I'm fully automating my house in the next month and it would be great to have Go! as the core, using either ethernet or wifi on a shield base (serial), plus multiple shield bases for extra SPI, Serial etc etc and maybe since the plus 2 has it....the long waited 1-Wire support?

 

Andy




#52106 Netduino Go Future

Posted by mcinnes01 on 12 August 2013 - 09:45 PM in Netduino Go

Maybe a bluetooth module would inject the much needed interest back in to the netduino Go! project, by allowing it to piggyback off the energy that has been put in to Agent? It would drive interest both ways from people who have an Agent watch wanting to control hardware and people who control hardware wanting another interface device by using the Agent smart watch. I understand secret labs are working hard to make sure they deliver their more commercial product, Agent, for Christmas to all of us backers. Does this mean once the watch is up and the production line running, some energy will go back in to the Go! line? I really hope so, I can't wait to do something useful with my Go! :)

 

Andy




#56919 Netduino - WiFi

Posted by mcinnes01 on 19 March 2014 - 07:03 PM in Project Showcase

Hi,

 

Does anyone still have the code that was on this thread or any code to get the gainspan module working?

 

Many thanks

 

Andy




#56740 NeonMika.Webserver

Posted by mcinnes01 on 10 March 2014 - 07:12 PM in Project Showcase

Hi 

 

Just wondered if this could work with the MiP library in order to use it on N GO! and standard netduino 1?

 

Also would it be possible to use MQTT with it?

 

Many thanks

 

Andy




#53190 N+2 communication with WebApi

Posted by mcinnes01 on 14 October 2013 - 12:47 PM in Project Showcase

Hi the link to the netduino code is broken?



#52130 N+2 communication with WebApi

Posted by mcinnes01 on 13 August 2013 - 07:21 PM in Project Showcase

I would love to see your code including the web api? Are you using signalR to update your page?




#56552 MIP tcp/ip stack running on Netduino mini !!

Posted by mcinnes01 on 01 March 2014 - 05:24 PM in Project Showcase

I'm pretty sure, the answer is in the error... "Check the interface profile"

 

I think it comes back to my confusion over the values in other profiles of the (Cpu.Pin).

 

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




#56550 MIP tcp/ip stack running on Netduino mini !!

Posted by mcinnes01 on 01 March 2014 - 04:21 PM in Project Showcase

I am using a standard netduino 1. So am I correct in saying I need to change the method to be as follows:

 

irq = new InterruptPort(irqPin, true, Port.ResistorMode.Disabled, Port.InterruptMode.InterruptEdgeLevelLow);

 

And obviously put a 10k between D8 and ground on my N1?

 

Or do I also need to change the interruptmode to EdgeLow as well?]

 

Many thanks

 

Andy




#56539 MIP tcp/ip stack running on Netduino mini !!

Posted by mcinnes01 on 01 March 2014 - 10:23 AM in Project Showcase

I've been having a little play and I set the profile as per the above but I get the following exception whilst deploying

 

'Microsoft.SPOT.Debugger.CorDebug.dll' (Managed): Loaded 'C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.2\Assemblies\le\System.dll', Symbols loaded.
The thread '<No Name>' (0x2) has exited with code 0 (0x0).
A first chance exception of type 'System.ArgumentException' occurred in Microsoft.SPOT.Hardware.dll
An unhandled exception of type 'System.ArgumentException' occurred in Microsoft.SPOT.Hardware.dll
 
This occurs when using the dnslookup example with my new profile for netduino1 as per the above.
 
The error occurs on line:
 
irq = new InterruptPort(irqPin, true, Port.ResistorMode.PullDown, Port.InterruptMode.InterruptEdgeLevelLow);
 
From:
 
/// <summary>
/// Creates a new ENC28J60 driver object instance, the chip will be held
/// in reset until the Start method is called
/// </summary>
/// <param name="irqPin">Host pin to use for interrupt request</param>
/// <param name="csPin">Host pin to use for SPI chip select</param>
/// <param name="spiModule">Host SPI module to use</param>
public ENC28J60Driver(Cpu.Pin irqPin, Cpu.Pin csPin, SPI.SPI_module spiModule)
{
irq = new InterruptPort(irqPin, true, Port.ResistorMode.PullDown, Port.InterruptMode.InterruptEdgeLevelLow);
irq.OnInterrupt += new NativeEventHandler(irq_OnInterrupt);


            


            // http://www.mikroe.com/forum/viewtopic.php?f=91&p=192252
var cfg = new SPI.Configuration(csPin, false, 0, 0, false, true, 8000, spiModule);
spi = new MultiSPI(cfg);
}

Not sure what is wrong with Microsoft.SPOT.Hardware?

 

My netduino is running 4.2 and I am targeting the 4.2 framework?

 

Andy




#56551 MIP tcp/ip stack running on Netduino mini !!

Posted by mcinnes01 on 01 March 2014 - 04:57 PM in Project Showcase

Ok, that seemed to get me a little further but now I get the following exception in the Start() method:

 

The thread '<No Name>' (0x2) has exited with code 0 (0x0).
A first chance exception of type 'System.Exception' occurred in NetworkingService.dll
An unhandled exception of type 'System.Exception' occurred in NetworkingService.dll
Additional information: Unable to Communicate to the Ethernet Controller.  Check the InterfaceProfile in your Adapter.Start()
 

Which breaks on line:

if (loopMax <= 0) throw new Exception("Unable to Communicate to the Ethernet Controller.  Check the InterfaceProfile in your Adapter.Start()");

From the code:

/// <summary>
/// Starts up the driver and establishes a link
/// </summary>
public void Start()
{
byte i;


var loopMax = 100;  // about 10 seconds with a 100 ms sleep


// Wait for CLKRDY to become set.
// Bit 3 in ESTAT is an unimplemented bit.  If it reads out as '1' that
// means the part is in RESET or there is something wrong with the SPI 
// connection.  This loop makes sure that we can communicate with the 
// ENC28J60 before proceeding.
// 2.2 -- After a Power-on Reset, or the ENC28J60 is removed from Power-Down mode, the
//        CLKRDY bit must be polled before transmitting packets
do
{
i = ReadCommonReg(ESTAT);
loopMax--;
Thread.Sleep(100);
} while(((i & 0x08) != 0 || (~i & ESTAT_CLKRDY) != 0) && loopMax > 0);


            if (Adapter.VerboseDebugging) Debug.WriteLine("ESTAT: " + ReadCommonReg(ESTAT).ToString());


if (loopMax <= 0) throw new Exception("Unable to Communicate to the Ethernet Controller.  Check the InterfaceProfile in your Adapter.Start()");


            regCheckTimer = new Timer(new TimerCallback(CheckRegisters), null, checkDelay, checkDelay);
            watchdog = new Timer(new TimerCallback(WatchDogCheck), null, 10000, 3000);


Restart();
            //Init();
}



#56533 MIP tcp/ip stack running on Netduino mini !!

Posted by mcinnes01 on 01 March 2014 - 12:19 AM in Project Showcase

Hi,

 

I am looking at the profiles to add my own, but I am a little confused about the pin references...

 

case InterfaceProfile.NetduinoPlus2:
                    // MOSI(PA7), SCK(PA5), MISO(PB4), INT(PA4), CS(PC8) 
                    Start(MacAddress, name, SPI.SPI_module.SPI1, (Cpu.Pin)4, (Cpu.Pin)38);
                    break;
 
I am a little confused not only about the references in the comments, but also over what pin 38 would relate to?
 
So I have my board (which is pretty much the same as yours) connected as follows:
 
Vcc = 3.3v
Gnd = Gnd
Reset = Reset
Sck = D13
MISO = D12
MOSI = D11
CS = D10
Int = D8
 
Hopefully this is correct?
 
Cheers,
 
Andy



#56545 MIP tcp/ip stack running on Netduino mini !!

Posted by mcinnes01 on 01 March 2014 - 01:34 PM in Project Showcase

Hi Chris,

 

According to the mip library:

 

        [Flags]
        public enum PinValidInterruptMode
        {
            NONE = 0,
            InterruptEdgeLow = 2,
            InterruptEdgeHigh = 4,
            InterruptEdgeBoth = 8,
            InterruptEdgeLevelHigh = 16,
            InterruptEdgeLevelLow = 32,
        }
 
The interrupt is set on EdgeLevelLow, I tried it with EdgeLow and got the same exception?
 
Many thanks
 
Andy




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.