Page 1 of 2
FLICKER click
From MikroElektonika Documentation
Thanks to the onboard NA556 dual precision
timer from Texas Instruments and the G6DASI power PCB relay from Omron, the
FLICKER click can control loads up to 5A,
250 VAC/30 VDC at a predefined time
interval.
FLICKER click
The on/off period can last from 0.1 to 6
seconds, that can be set by the two ON/OFF
onboard potentiometers (Onboard LED is
indicating the duration of relays' ON time).
The external load can be connected to the
board through the screw terminal. FLICKER
click runs on 5V power supply and it
communicates with the MCU over RST pin.
Contents
◾ 1 Features and usage notes
◾ 1.1 Onboard PCB relay
◾ 1.2 Potentiometers
◾ 1.3 Maximum ratings
◾ 1.4 Application
◾ 2 Pinout diagram
◾ 3 Programming
◾ 4 Resources
FLICKER click
IC/Module G6D-ASI Power PCB relay datasheet
(https://www.components.omron.com/components/web/pdflib.nsf/0/F1A7985E3FBE90C685257201007DD571/
$file/g6d-asi_0911.pdf)
Interface
RST pin
Power
supply
5V
Product
FLICKER click (http://www.mikroe.com/click/flicker/)
page
Features and usage notes
Schematic FLICKER click schematic (http://cdn-docs.mikroe.com/images/0/06/FLICKER_click.pdf)
Onboard PCB relay
Maximum switching capacity of the G6D-ASI PCB relay is 1250VA at 150W. Maximum contact resistance is 100 mΩ.
Potentiometers
The two potentiometers (P1 and P2) set the switching on and off time.
Designator Name
Type
P1
Potentiometer Adjusting Ton
P2
Potentiometer Adjusting Toff
CN1
Description
Terminal block Connector
for connecting the device
Maximum ratings
Description
Min Typ Max Unit
Contact resistance
100m Ω
Operate time
10m s
Ambient temperature -25
70
C
Operating current
5
A
Operating voltage
250
VAC
Application
Turning devices on and off at specific time intervals.
Page 2 of 2
Pinout diagram
This table shows how the pinout on FLICKER click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes
Pin
Pin
Notes
mikroBUStm
NC
Turns the NE556 on and off
1 AN
PWM 16 NC
FON 2 RST
INT
15 NC
NC
RX
14 NC
3 CS
NC
4 SCK
NC
5 MISO
X
TX
13 NC
SCL
12 NC
NC
6 MOSI
SDA 11 NC
This click has 5V power supply only NC
7 +3.3V
+5V
Ground
GND 8 GND
10 +5V +5V power supply
GND 9 GND Ground
Programming
This code snippet configures required port E as digital, sets pins 1 and 2 as input and enters an infinite loop. While in an infinite loop, use potentiometers P1 and
P2 to adjust the ON / OFF time period.
◾ Supply voltage within range of 5 – 15 V.
◾ Maximum output current detected : 225 mA.
◾ Usable on : ARM, PIC, PIC32, AVR and FTDI compilers.
1
2
3
4
5
6
7
8
9
10
void main()
{
ANSELE = 0;
TRISE2_bit = 1;
PORTE = 0;
while(1);
// Configure PORTE pins as digital
// Set RE2 pin as input
// Endless loop
// While Button is held, the onboard LED will blink according to ON/OFF timer
// For example, connect beeper from digital multimeter on terminal
}
Resources
◾ FLICKER click product page (http://www.mikroe.com/click/flicker/)
◾ G6D-ASI Power PCB relay datasheet (https://www.components.omron.com/components/web/pdflib.nsf/0/F1A7985E3FBE90C685257201007DD571/
$file/g6d-asi_0911.pdf)
◾ NA556 datasheet (http://www.ti.com/lit/ds/symlink/na556.pdf)
◾ FLICKER click schematic (http://cdn-docs.mikroe.com/images/0/06/FLICKER_click.pdf)
◾ mikroBUS standard specifications (http://download.mikroe.com/documents/standards/mikrobus/mikrobus-standard-specification-v200.pdf)
Retrieved from "http://docs.mikroe.com/index.php?title=FLICKER_click&oldid=2623"
Category: Home page
◾ This page was last modified on 2 December 2016, at 10:17.
◾ Content is available under Creative Commons Attribution unless otherwise noted.
http://docs.mikroe.com/index.php?title=FLICKER_click&printable=yes
12/13/2016
很抱歉,暂时无法提供与“MIKROE-2481”相匹配的价格&库存,您可以联系我们找货
免费人工找货