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.

Sukasa

Member Since 15 Jul 2012
Offline Last Active Jul 16 2015 03:39 AM
-----

Topics I've Started

SPI Performance issues

16 July 2015 - 02:34 AM

I'm working with a project and trying to write data to an LCD.  It's rated up to 10Mhz speed and I've tried to set this in my code, however I'm getting far, far slower data transfer rates than I should.  Being as the code is rather complex, I'll link the project github page instead of trying to give you a useless look at it.

 

My question is, what could I look at as a way to improve my SPI transfer performance into the LCD?  I use lower-frequency devices on the bus (rated up to 1Mhz), as well as reading from the SD card at several points during the transfer.  Could any of this prevent the 10Mhz transfers from running at 10Mhz?

 

The project code is available at https://github.com/S...Oven-Controller for reference if needed


FileStream memory requirements

03 June 2015 - 02:41 PM

Hi,

 

I'm working on a project that has generally left me about ~23KBytes of memory free at any given time.  Unfortunately, this seems to be just low enough that at times I will get an unspecified IOException when trying to call File.OpenRead().  Roughly how much memory does File.OpenRead() need in order to successfully open a file, and is there an alternate method that uses less memory?  I am opening the file in order to stream it into memory and then immediately out over SPI


Phantom SPI Clock Pulses

31 May 2015 - 08:36 AM

I've cross-posted this on the Adafruit support forums as well, but I'll ask here in case it's something on the uC...

 

I have a Netduino Plus 2 with two MAX31855 thermocouple breakout boards and a 2.2" colour LCD breakout, all from Adafruit.  The LCD works just peachy on its own.  However, if the SClk pins for either of the Max31855 boards are connected, then it seems that one or two spurious clock pulses are generated when trying to read from the LCD, one extra clock pulse per SPI read/write call (I use 2 calls, as there is an 8-bit  'dummy' read needed), which seem to happen *before* data is read in from the LCD.

 

These extra clock pulses do not happen if the LCD is the only device connected to the SPI bus' SClk line.  Is there any reason the N+2 would/could produce extra clock pulses when additional devices are added on to the SPI bus, that I could look for in my circuit?


N+2 Reflow Oven WIP

05 May 2015 - 01:37 AM

Since Chris said that he'd love to see more stuff being done with netduino plusses...  thought I'd share my N+2 build.

 

There's a fairly large imgur album already put together, so for brevity I'm just going to link that for a lot of the build itself.

 

http://imgur.com/a/sNXiv

 

Right now I'm in the last phase of development, which is just code.  I'm working on the user interface for the LCD screen and getting that working, after which I'll start working on the web GUI for configuration and such.  A lot of the code is written, it's just the glue logic to hold it all together, and most of the user interface, that needs to be completed.

 

It's a little outdated (I have a few updates yet to push from my laptop), but I keep the source code available on GIthub

 

There are a few people who deserve major props for this build.  First up, obviously, are Chris and the rest of the Secret Labs gang who produced the Netduino Plus 2.  Great little microcontroller.  After that, Fredrik Rinsn deserves applause for his MVC-like web framework.  I use an I2C bus library written by phantomtypist, which was derived from a version by Pavel Bansky.  Lastly, I use Inquisitor's CPU load estimator to determine CPU load for the web interface.


Netbios

30 March 2015 - 08:03 PM

There was an old thread talking about NetBIOS and getting it built into firmware 4.2.1.  Was that included, or are there still a number of steps I would need to follow to get it working on my NPlus2?


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.