RBTNX-KT-140 GHI Electronics, RBTNX-KT-140 Datasheet - Page 12

no-image

RBTNX-KT-140

Manufacturer Part Number
RBTNX-KT-140
Description
Development Boards & Kits - ARM FEZ MINI ROBOT KIT .net MF Dev Tool
Manufacturer
GHI Electronics
Datasheet

Specifications of RBTNX-KT-140

Rohs
yes
Product
Development Kits
Tool Is For Evaluation Of
LPC2388
Core
ARM7TDMI-S
Interface Type
I2C, SPI, UART, USB
Operating Supply Voltage
5 V
Part # Aliases
GHI-RBTNX-KT-140
4. Controlling The Robot
4.1.
Robot Control board includes a piezo speaker connected to pin An0 to FEZ Mini. To
control this piezo, simply download FEZMini_Robot.cs driver source code file and add it
to Visual C# project to use the example below.
FEZ tutorial Document shows how to create projects and add components drivers.
(Both files are available on www.tinyclr.com).
Code snippet:
Note: Piezo Speakers usually require PWM, but since An0 does not support PWM we
made software PWM in this driver to resonate the piezo. Software PWM can slow down
the system. An advice is to use this piezo only when necessary. there are separate seizor
components on tinyclr.com that user can get and use with pin with hardware PWM feature
4.1.
GHI Electronics,LLC
using
using
using
using
public class
{
}
Rev.1.00
public static void
{
}
//make a beep for 1sec
FEZMini_Robot.Beep(7000, 1000);
Thread.Sleep(1000);
// make more noise!
while
{
}
System;
System.Threading;
Microsoft.SPOT;
GHIElectronics.NETMF.FEZ;
for (int
Thread.Sleep(1000);
Generating tones using on-board piezo speaker
Generating tones using on-board piezo speaker
FEZMini_Robot.Beep(i, 50);
(true)
Program
i = 3000; i < 8000; i += 100)
Main()
Join our community at
Page 12 of 22
www.TinyCLR.com
Controlling The Robot
FEZ Mini Robot Kit
www.ghielectronics.com

Related parts for RBTNX-KT-140