SITCore Getting Started Instructions

SITCore Insider Hardware Kit Getting Started Instructions

We thank you for all the feedback that has been provided and we ask you to continue to provide more.

Kit Contents
Your kit should include the following:

  1. SCM202060D Dev Board base
  2. SCM20260D SoM
  3. 4.3” display
  4. 7” display
  5. SC20100 Dev Board

Display Notes
The SC20100 Dev board includes an onboard 1.8” display so there is nothing to set up. The SCM20260D Dev Board has three female headers to expose the system’s signals. The far-right header has the display connections plus I2C for display touch. We include two display options and you can also add your own. The 4.3” display is already plugged in. The 7” display can plug in too. A better way to mount the 7” display is by mounting it on the back of the dev board (both boards are of identical size). You will need a 40pin IDE cable extension. We found these on Amazon, and you can make your own. Just make sure you get an IDE cable extension with male on one side and female on the other.

Camera Note
We unfortunately had issues with the cameras we have selected for the SCM20260D Dev Board and we did not want to put the boards on hold. There a few that shipped with cameras so you maybe one of the very few lucky ones! You can buy a camera and solder it yourself, OV9655. Here is an example on Amazon but you can find it on eBay and AliExpress https://www.amazon.com/dp/B00KM6WYTM/ref=cm_sw_em_r_mt_dp_U_yKqjEbCT4DSQJ

System Setup
If you have never used TinyCLR OS then go on here and start the system setup
http://new-docs.ghielectronics.com/software/tinyclr/getting-started.html

If you know what you are doing, then the downloads are here
http://new-docs.ghielectronics.com/software/tinyclr/downloads.html

Anyway, familiarize yourself with the new docs http://new-docs.ghielectronics.com/index.html especially the tutorials http://new-docs.ghielectronics.com/software/tinyclr/tutorials/intro.html
Do not use the old docs!

The boards shipped with an old firmware. YOU MUST UPDATE the firmware!
To do so:

  1. Install and open TinyCLR OS Config tool
  2. Hold the LDR button and power up the board while holding LDR (SC20100 Dev LDR is mislabeled as LDR0)
  3. The PC will detect a virtual COM port
  4. Use TinyCLR OS Config to update the firmware you downloaded above

”Hello World” Program
You can try the following simple program that blinks an LED to make sure your deployment is working correctly. Getting started instructions using this program are found here: http://new-docs.ghielectronics.com/software/tinyclr/getting-started.html

using GHIElectronics.TinyCLR.Devices.Gpio;
using GHIElectronics.TinyCLR.Pins;
using System.Threading;

namespace TinyCLRApplication1 {
    class Program {
        static void Main() {

            //Use "SC20100.GpioPin.PB0" on SC20100 Dev Board.
            //Use "SC20260.GpioPin.PH6" on SC20260D Dev Board.
            var LED = GpioController.GetDefault().OpenPin(SC20100.GpioPin.PB0);
            LED.SetDriveMode(GpioPinDriveMode.Output);

            while (true) {
                LED.Write(GpioPinValue.High);
                Thread.Sleep(100);

                LED.Write(GpioPinValue.Low);
                Thread.Sleep(100);
            }
        }
    }
}

Networking Support
SITCore with TinyCLR support networking in many different ways

  1. Built in Ethernet: This is already included on SCM20260D SoM
  2. Additional Ethernet: Through ENC28J60 chipset. Use this click to get started https://www.mikroe.com/eth-click
  3. WiFi support: Through WINC1500. Use this click to get started https://www.mikroe.com/wifi-7-click
  4. Mobile support: Any modem with PPP support (most do) will work.
  5. No matter what you pick from above, TinyCLR OS uses its own internal secure TLS. You will always be safe!

Providing feedback
Please help us sort out issues. For anything hardware related post on the related hardware threads

https://forums.ghielectronics.com/t/scm20260d-thread/22578
https://forums.ghielectronics.com/t/scm20260d-dev-thread/22576
https://forums.ghielectronics.com/t/sc20100s-dev-thread/22577

For software issues or questions, please post here:
https://forums.ghielectronics.com/t/preview-2-issues-thread/22593

For any setup or getting started help, please reply to this thread.

2 Likes

I didn’t need to do steps 2 and 3 to update my firmware.
Just run TinyCLR Config > Select Sc20260 > Connect > Update
No button pressing required :blush:

You should not skio updatimg. You will have weird problems if you ship. Please update the firmware before doing anything.

I have updated both boards, what i was saying is that i didnt need to press LDR to update firmware.

Right, you don’t need to press the LDR button to update firmware, but TinyCLR Config doesn’t mind if you want do that.

You are correct. The tool is smart to handle it but we wanted to include the extra steps just in case.

I received the hardware today. Thank You!

I did have one small hang up. And maybe it was just me missing something, but I had to download the TinyCLR OS Libraries v2.0.0-preview2 from the downloads page and have Nuget install from the local folder. The Getting Started showed using Nuget directly but it appears that the V2.0.0-preview2 isn’t online yet. Maybe I missed a step but the above is what I needed to do to get things going.

The LED is flashing now on to more fun things like talking to some web services!

1 Like

unzip file,add manually

or set nuget to find on local folder

1 Like

Yes, that is exactly what I did. I just didn’t see it anywhere in the “Getting Started” document.

Getting started doc will include officially way only

1 Like

Correct the 2.0 packages aren’t on NuGet yet. You’ll have to download and access locally.

What are the dimensions of the power connector barrel on these boards, and do you have a recommended power supply that you have been using with them? Thanks.

You can power using USB cable. The connector is 3.5mm

I think this is mentioned in release notes? This is a preview and we will not post to nuget.org

1 Like

The reason I asked about the barrel power connector is that the documentation states “Always use the barrel jack for power when using displays…USB does not provide sufficient power needed for displays.” Since I want to use the displays, I wanted to use the barrel connector for power. I just noticed that the documentation says the barrel is 2.1mm, and I measure 5.5mm outer diameter. I have a 5.5mmx2.1mm center positive power supply that seems to fit perfectly.

We need to update the docs. If you use lowered hub then you are fine. @Joel_Riley

I am not able to install the MSI file. I have VS2019 installed and TinyCLR OS Project system 1.0.103 installed but the TinyCLR2.0 Preview2 can’t seem to find VS2019. This is the output from the installer.

24/01/2020 08:27:27 - Searching for applicable products...
24/01/2020 08:27:28 - Found installed product - Microsoft Visual Studio Professional 2013
24/01/2020 08:27:28 - Found installed product - Microsoft Visual Studio 2013 Shell (Integrated)
24/01/2020 08:27:28 - Found installed product - Global Location
24/01/2020 08:27:28 - Found installed product - AtmelStudio
24/01/2020 08:27:28 - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
   at VSIXInstaller.App.InitializeInstall(Boolean isRepairSupported)
   at VSIXInstaller.App.InitializeInstall()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()

You need to remove v1

1 Like

Ah. I shall try that. That info should be on the installation website.

BUT. How do I support the existing 1.0 software that I just wrote for the G120 that I need to maintain?

Dunnoo - i’m a bleeding edge sort of dude :rofl: