From: Nordic ID Support <support@nordicid.com>
Sent: Wednesday, October 23, 2019 6:05 PM
To: jin@intensecomp.com
Subject: RE: Sampo S2 IO and Source Code
Hi Jin,
I will do it that way:
Best Regards,
Turo Rantanen | Technical Support Specialist
Nordic ID | Salo IoT- Campus | Joensuunkatu 7 | FI-24100 Salo | Finland
Skype turo.rantanen | Skype for Business turo.rantanen@nordicid.com
Support +358 2 727 7790 | Service +358 2 727 7791 | Direct/WhatsApp +358 40 838 0284
www.nordicid.com | Facebook | Twitter | YouTube
Watch the inspiring Nordic ID HH83 video
Read more about the FUTUREPROOF Nordic ID HH83
From: jin@intensecomp.com <jin@intensecomp.com>
Sent: Friday, October 18, 2019 1:11 PM
To: Nordic ID Support <support@nordicid.com>
Subject: RE: Sampo S2 IO and Source Code
Hi Turo,
For your reference. If you can assist us it will be great. Thanks.
Regards,
Jin
From: Nordic ID Support <support@nordicid.com>
Sent: Friday, September 13, 2019 12:21 AM
To: jin@intensecomp.com
Subject: RE: Sampo S2 IO and Source Code
See page 9
https://www.nordicid.com/wp-content/uploads/nordic-id-sampo-s2-user-guide-1v2.pdf.pdf
Best Regards,
Turo Rantanen
From: jin@intensecomp.com <jin@intensecomp.com>
Sent: Thursday, September 12, 2019 7:19 PM
To: Nordic ID Support <support@nordicid.com>
Subject: RE: Sampo S2 IO and Source Code
Hi Turo,
We will using I/O Relay Board to control the buzzer and LED. Do you have the pins diagram?
Regards,
Jin
From: Nordic ID Support <support@nordicid.com>
Sent: Thursday, September 12, 2019 10:55 PM
To: jin@intensecomp.com
Subject: RE: Sampo S2 IO and Source Code
Hi Jin,
There are 4 x opto-isolated outputs on the device that can drive 25mA so if the required current is less than mentioned, then you can driver buzzer and/or LED directly. Otherwise you will need buzzer with a control signal and LED with controlling logic. If you could share datasheets from the components, then I will look how to connect those components.
Here's how to code with C#:
// Make INPUT configuration
NurApi.GpioEntry configInput = new NurApi.GpioEntry();
configInput.available = true;
configInput.enabled = true;
configInput.type = NurApi.GPIO_TYPE_INPUT;
configInput.action = NurApi.GPIO_ACT_NOTIFY;
configInput.edge = NurApi.GPIO_EDGE_BOTH;
// Make OUTPUT configuration
NurApi.GpioEntry configOutputHigh = new NurApi.GpioEntry();
configOutputHigh.available = true;
configOutputHigh.enabled = true;
configOutputHigh.type = NurApi.GPIO_TYPE_OUTPUT;
configOutputHigh.edge = NurApi.GPIO_EDGE_RISING; // High
// Get current configuration
NurApi.GpioEntry[] configs = hNur.GetGPIOConfig();
// Reconfigure IO-pins (INPUTS = 0, 1, 2, 3 / OUTPUTS = 4, 5, 6, 7)
configs[0] = configInput;
configs[1] = configInput;
configs[2] = configInput;
configs[3] = configInput;
configs[4] = configOutputHigh;
configs[5] = configOutputHigh;
configs[6] = configOutputHigh;
configs[7] = configOutputHigh;
hNur.SetGPIOConfig(configs);
// Pull Output 1 & 2 down
hNur.SetGPIOStatus(4, false);
hNur.SetGPIOStatus(4, false);
Best Regards,
Turo Rantanen | Technical Support Specialist
Nordic ID | Salo IoT- Campus | Joensuunkatu 7 | FI-24100 Salo | Finland
Skype turo.rantanen | Skype for Business turo.rantanen@nordicid.com
Support +358 2 727 7790 | Service +358 2 727 7791 | Direct/WhatsApp +358 40 838 0284
www.nordicid.com | Facebook | Twitter | YouTube
Watch the inspiring Nordic ID HH83 video
Read more about the FUTUREPROOF Nordic ID HH83
From: jin@intensecomp.com <jin@intensecomp.com>
Sent: Thursday, September 12, 2019 11:45 AM
To: Nordic ID Support <support@nordicid.com>
Subject: Sampo S2 IO and Source Code
Hi Support,
I've a requirement to implement buzzer and LED once RFID labels detected. How can I connect the IO port and is there any sample application I can refer. I've experience coding Mono for Sampo S2? Do we need to buy any external IO board?
Regards,
Jin



Comments
Post a Comment