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.

david98xp's Content

There have been 55 items by david98xp (Search limited from 07-June 23)


By content type

See this member's


Sort by                Order  

#60996 To Chris Walker

Posted by david98xp on 16 December 2014 - 09:41 PM in Netduino 2 (and Netduino 1)

Hmm so it works by powering on a white backlight but nothing else happens.

 

 

I'm from Wellington :D




#60994 The GoBus Upgrade

Posted by david98xp on 16 December 2014 - 08:53 PM in Netduino Go

I'm not a real GO user but the fact that it ticked Fabien Royer off, it feels that the.net MF is not as powerful. I'd like to inherit skills so I can support peoples projects but we need promises fulfilled first.



#60983 To Chris Walker

Posted by david98xp on 15 December 2014 - 07:13 PM in Netduino 2 (and Netduino 1)

Right how do I do that?

Sorry, I'm 14 and this is my first project, real learning curb :)

 

BTW, I'm also from NZ :D

Cheers




#60973 To Chris Walker

Posted by david98xp on 14 December 2014 - 08:51 PM in Netduino 2 (and Netduino 1)

https://onedrive.live.com/redir?resid=95EDA52E6601F7B0!18018&authkey=!ALH6P7svj1YQ3WA&ithint=folder%2c

Here's a like to my project I need help with. It's under sample>Adafruit7565 test>Adafruit75652(the file you want)

 

Please tell me what's wrong with it.

 

Use:

Netduino 2 with 4.2




#60969 Netduino 2 can't run N1(+ or not) code.

Posted by david98xp on 14 December 2014 - 01:43 AM in Netduino 2 (and Netduino 1)

Hi david,

 

Netduino 2 runs .NET MF 4.2 or newer.  Once you open the project, go to the Project Properties for each project in the solution and change your target framework version to .NET MF 4.2.

 

If the project is using pre-compiled assemblies, make sure they're compiled for .NET MF 4.2 as well.  Or pull in their source as separate projects, change their target framework version to .NET MF 4.2, make sure you're now referencing those helper projects from your main project, and recompile.  Once everything is on 4.2 you should be able to deploy.

 

If any of the older projects were using the old AnalogInput and PWM classes you'll want to import SecretLabs.NETMF.Hardware.AnalogInput.dll and/or SecretLabs.NETMF.Hardware.PWM.dll to those projects as well.

 

Chris

What is this suppose to mean?

OPCODE conv.ovf.i

It's there like 5 times.




#60966 Netduino 2 can't run N1(+ or not) code.

Posted by david98xp on 13 December 2014 - 06:39 PM in Netduino 2 (and Netduino 1)

 Now working. It now grabs errors from the netduino helpers project like:

AnalogInput is between SecretLabs.NETMF.HARDWARE and Microsoft.SPOT.Hardware.AnalogInput

This older syntax? I set it to 4.2.




#60955 Backwards Compatability-#Yelpin4Help

Posted by david98xp on 12 December 2014 - 11:17 PM in Netduino 2 (and Netduino 1)

http://netduinohelpers.codeplex.com/SourceControl/latest

So I have my nice Netduino 2 with a geeky negative Adafruit7565 LCD. I'm trying to run the sample app. I ported the target framework from 4.1 to 4.2('m running 4.2).

The problem here is that it tells me to check my hardware when I hit debug/Play. I think I need to target the hardware to N2 from an older netduino. HOW???




#60947 Netduino 2 can't run N1(+ or not) code.

Posted by david98xp on 12 December 2014 - 06:25 AM in Netduino 2 (and Netduino 1)

Actually! Help please!




#60944 The GoBus Upgrade

Posted by david98xp on 11 December 2014 - 06:01 AM in Netduino Go

Don't know if you know but this was one of the few things that turned Fabian off Secret Labs. He mentions you promised to create an Ethernet module for the GO. Also he doesn't like how the Agent watch is still not up for sale yet.

I respect you but I'm asking you to do your best to get him back. Fabian Royer is a genius and his contributions made to the .NET MF were priceless!

 

Cheers Chris!




#60943 Netduino 2 can't run N1(+ or not) code.

Posted by david98xp on 11 December 2014 - 05:02 AM in Netduino 2 (and Netduino 1)

I download Fabien Royers st7565 lcd program sample. It was designed for the mf4.1 and older netduino. I set the target type to 4.2. When I run it it says to check your hardware, via usb. How can I get it working with a netduino 2.



#60931 Help! Backwards compatability!

Posted by david98xp on 09 December 2014 - 07:00 PM in Beta Firmware and Drivers

Hi david,

 

Double-check the .NET Micro Framework deployment target *version* in all projects in your solution--and make sure that you're not referencing any pre-compiled assemblies (that were compiled against an earlier version of NETMF).

 

Then run MFDeploy and check the "Device Capabilities" of your device (ctrl+shift+c): that should tell you what version of NETMF the board is running.

 

As far as versions of hardware go...we take care of those details for you.  As long as the NETMF assemblies in Visual Studio and the NETMF assemblies on the board match, your Netduino 2 should be good to go.

 

Chris

Hello? You there :D?




#60924 Why is this not working? V C# 2010 with Netduino 2.

Posted by david98xp on 09 December 2014 - 03:22 PM in Netduino 2 (and Netduino 1)

Umm.. It's not just one part. Check out my newer post on backwards .



#60906 Help! Backwards compatability!

Posted by david98xp on 08 December 2014 - 06:37 AM in Beta Firmware and Drivers

Ok, it's a clean 4.2. Now what?




#60905 Help! Backwards compatability!

Posted by david98xp on 08 December 2014 - 04:42 AM in Beta Firmware and Drivers

Forgive me Chris but I'm 14 and this is my first netduino. I have had a good experience with VB.net and a little c#. How do I check the version and tell it about the new hardware.



#60901 Help! Backwards compatability!

Posted by david98xp on 07 December 2014 - 06:16 PM in Beta Firmware and Drivers

That's exactly what I've done but then their is like one of two more issues.
"check device hardware" or something. My best guess is it's a newer version of hardware as well.



#60895 We need new library sketches!

Posted by david98xp on 07 December 2014 - 07:10 AM in Beta Firmware and Drivers

I posted a library for the SSD1306 some time ago ...

Make your own libraries often?




#60894 Help! Backwards compatability!

Posted by david98xp on 07 December 2014 - 05:30 AM in Beta Firmware and Drivers

I have a netduino 2 with the MF version 4.2. I also have a negative ST7565 LCD. I'm trying to run Fabian Royer's sample app: Netduinohelpers.codeplex.com

The problem is that I can't run it as it's written with MF 4.1.

I tried changing the targeted version under project properties now it come up with these "Check Device hardware" issue.

Help/Fix is needed urgently!




#60893 Why is this not working? V C# 2010 with Netduino 2.

Posted by david98xp on 06 December 2014 - 10:58 PM in Netduino 2 (and Netduino 1)

Hi david,

What error are you getting, exactly? Any chance you can simplify the solution down a bit and we can try to help bug hunt here...?

Chris

Actually here's the problem! I own a netduino 2 and a st7565 negative GLCD. I'm now trying to run Fabien Royer's AdaFruit7565 test program. It says it won't work with 4.2 as it's written in 4.1. I went to Project Propeties>Application>Target>I changed it from 4.1 to 4.2. Now it has this "Rebooting error". As well as "an error has occured, please check your hardware."

 

I'm very much in a rush and I need some way to get my LCD Working.




#60876 Why is this not working? V C# 2010 with Netduino 2.

Posted by david98xp on 05 December 2014 - 07:16 PM in Netduino 2 (and Netduino 1)

Link:http://netduinohelpe...er:AdaFruit7565

Error on the public class with this AdaFruitSSD1306 thingy here...

using System;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;

namespace netduino.helpers.Hardware {
    // Based on https://github.com/adafruit/ST7565-LCD
    public class AdaFruit7565 : AdaFruitSSD1306 {
        new public enum Command {
            DisplayOff = 0xAE,
            DisplayOn = 0xAF,
            DisplayStartLine = 0x40,
            PageAddress = 0xB0,
            ColumnAddressHigh = 0x10,
            ColumnAddressLow = 0x00,
            AdcSelectNormal = 0xA0, // X axis flip OFF
            AdcSelectReverse = 0xA1, // X axis flip ON
            DisplayVideoNormal = 0xA6,
            DisplayVideoReverse = 0xA7,
            AllPixelsOff = 0xA4,
            AllPixelsOn = 0xA5,
            LcdVoltageBias9 = 0xA2,
            LcdVoltageBias7 = 0xA3,
            EnterReadModifyWriteMode = 0xE0,
            ClearReadModifyWriteMode = 0xEE,
            ResetLcdModule = 0xE2,
            ShlSelectNormal = 0xC0, // Y axis flip OFF
            ShlSelectReverse = 0xC8, // Y axis flip ON
            PowerControl = 0x28,
            RegulatorResistorRatio = 0x20,
            ContrastRegister = 0x81,
            ContrastValue = 0x00,
            NoOperation = 0xE3
        }

        public AdaFruit7565(Cpu.Pin dc, Cpu.Pin reset, Cpu.Pin chipSelect, SPI.SPI_module spiModule = SPI.SPI_module.SPI1, uint speedKHz = 10000)
            : base(dc, reset, chipSelect, spiModule, speedKHz) {
        }

        public void Initialize() {
            resetPin.Write(false);
            Thread.Sleep(50);
            resetPin.Write(true);

            dcPin.Write(DisplayCommand);

            SendCommand((AdaFruitSSD1306.Command)AdaFruit7565.Command.LcdVoltageBias7);
            SendCommand((AdaFruitSSD1306.Command)AdaFruit7565.Command.AdcSelectNormal);
            SendCommand((AdaFruitSSD1306.Command)AdaFruit7565.Command.ShlSelectReverse);
            SendCommand((AdaFruitSSD1306.Command)((int)(AdaFruit7565.Command.DisplayStartLine) | 0x00));
            
            SendCommand((AdaFruitSSD1306.Command) ((int)(AdaFruit7565.Command.PowerControl) | 0x04)); // turn on voltage converter (VC=1, VR=0, VF=0)
            Thread.Sleep(50);
            SendCommand((AdaFruitSSD1306.Command)((int)(AdaFruit7565.Command.PowerControl) | 0x06)); // turn on voltage regulator (VC=1, VR=1, VF=0)
            Thread.Sleep(50);
            SendCommand((AdaFruitSSD1306.Command)((int)(AdaFruit7565.Command.PowerControl) | 0x07)); // turn on voltage follower (VC=1, VR=1, VF=1)
            Thread.Sleep(50);

            SendCommand((AdaFruitSSD1306.Command)((int)(AdaFruit7565.Command.RegulatorResistorRatio) | 0x06)); // set lcd operating voltage (regulator resistor, ref voltage resistor)

            SendCommand((AdaFruitSSD1306.Command)AdaFruit7565.Command.DisplayOn);
            SendCommand((AdaFruitSSD1306.Command)AdaFruit7565.Command.AllPixelsOff);
        }

        public const uint ContrastHigh = 34;
        public const uint ContrastMedium = 24;
        public const uint ContrastLow = 15;

        // 0-63
        public void SetContrast(uint contrast) {
            dcPin.Write(DisplayCommand);
            SendCommand((AdaFruitSSD1306.Command)AdaFruit7565.Command.ContrastRegister);
            SendCommand((AdaFruitSSD1306.Command)((int)(AdaFruit7565.Command.ContrastValue) | (contrast & 0x3f)));
        }

        new public void InvertDisplay(bool cmd) {
            dcPin.Write(DisplayCommand);
            if (cmd) {
                SendCommand((AdaFruitSSD1306.Command)AdaFruit7565.Command.DisplayVideoReverse);
            } else {
                SendCommand((AdaFruitSSD1306.Command)AdaFruit7565.Command.DisplayVideoNormal);
            }
        }

        public void PowerSaveMode() {
            dcPin.Write(DisplayCommand);
            SendCommand((AdaFruitSSD1306.Command)AdaFruit7565.Command.DisplayOff);
            SendCommand((AdaFruitSSD1306.Command)AdaFruit7565.Command.AllPixelsOn);
        }

        protected const int StartColumnOffset = 1;

        public override void Refresh() {
            for (int page = 0; page < 8; page++) {
                dcPin.Write(DisplayCommand);
                SendCommand((AdaFruitSSD1306.Command)((int)(AdaFruit7565.Command.PageAddress) | pageReference[page]));
                SendCommand((AdaFruitSSD1306.Command)((int)(AdaFruit7565.Command.ColumnAddressLow) | (StartColumnOffset & 0x0F)));
                SendCommand((AdaFruitSSD1306.Command)((int)(AdaFruit7565.Command.ColumnAddressHigh) | 0));
                SendCommand((AdaFruitSSD1306.Command)((int)(AdaFruit7565.Command.EnterReadModifyWriteMode)));
                dcPin.Write(Data);
                Array.Copy(displayBuffer, Width * page, pageBuffer, 0, pageSize);
                Spi.Write(pageBuffer);
            }
        }

        protected const int pageSize = 128;
        protected int[] pageReference = new int[] { 4, 5, 6, 7, 0, 1, 2, 3 };
        protected byte[] pageBuffer = new byte[pageSize];
    }
}




#60871 Anyone used a ST7565 GLCD????

Posted by david98xp on 05 December 2014 - 04:42 AM in General Discussion

I don't seem to be able to get it working, Having problems with line 9.




#60825 We need new library sketches!

Posted by david98xp on 01 December 2014 - 06:09 AM in Beta Firmware and Drivers

I reckon we need the following sketches:

ST7565

SSD1306

Other Adafruit tft's

joysticks

speakers

USB/PS2 keyboards.

E-paper displays




#60808 Anyone used a ST7565 GLCD????

Posted by david98xp on 28 November 2014 - 02:01 AM in General Discussion

Has anyone used a ST7565 with their netduino? I'm stuck and I'm a noob. Could anyone help me get started with the libraries and a simple demo? The wire up is basic enough as it is. 

I'm desperate.  :wacko:




#60797 Graphical Speed with STM Cortex M3

Posted by david98xp on 25 November 2014 - 06:16 AM in Netduino 2 (and Netduino 1)

Hello I'm just waiting for my netduino 2. It has the 120mhz cortex m3 MCU. I was wondering what the speeds are like if I were to use a tft like 320x240. Would the images flash up instantly or would I see it draw the image like an arduino?




#60778 GLCD st7565 tutorial wanted

Posted by david98xp on 22 November 2014 - 07:00 AM in Netduino 2 (and Netduino 1)

Hello, I ordered my first netduino from adafruit.com with a negative st7565 GLCD(RGB).

I was wondering how wire it up. Do I need to use the 4050 chip? Do I need to install any libraries?

Thanks for the help if you do.




#60629 Speed with TFT displays.

Posted by david98xp on 05 November 2014 - 05:25 AM in General Discussion

Hi guys. No matter what version of netduino you have, could you make a video testing out a tuft display please?

I want to see the performance of 32 bit ATMEL and STM chips.

 

Thank you!





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.