You are on page 1of 9

2017

MicroDAQ _ Blinking LED

M.Mohamed Ibrahim
Tenet Technetronics
22-APR-17
Tenet Technetronics 1
Application Notes

Contents

Introduction ………………………………………………………………………….2

MicroDAQ E1100 ………………………………………………………………………….2

Blocks required ……………………………………………………………………4

Steps involved ……………………………………………………………………5

Tenet Technetronics | Varsity

#9/3, Shree Lakshmi Complex, 2nd Floor, Opp. To Vivekananda Park, Girinagar, Bangalore - 560085.
Ph. No: 080-26722726., Website: www.tenettech.com, Email: info@tenettech.com
Tenet Technetronics 2
Application Notes

Introduction :
MicroDAQ is an ideal platform for developers, scientists and geeks
involved in real-time measurement and control development. The platform
supports design flow from popular model based tools like SCILAB, MATLAB, and
LABVIEW. The user has the choice to either go with a complete open source
software tool chain or with the existing access to proprietary tools in the house.

It provides MicroDAQ block set which gives user an access to MicroDAQ
hardware and many features which are helpful during real-time control and
measurement application development.

Here, we are using MicroDAQ DIO Set blocks to build a simple blinking led circuit.

MicroDAQ E1100:

The MicroDAQ E1100/E1100 is a DSP real-time control measurement device
designed to solve complex problems. This device combines TI C6000
fixes/floating point DSP core and an ARM9 core. The MicroDAQ E1100 is
equipped with up to 8 channel analog input with a sample rate of upto 166
KSPS.

Tenet Technetronics | Varsity

#9/3, Shree Lakshmi Complex, 2nd Floor, Opp. To Vivekananda Park, Girinagar, Bangalore - 560085.
Ph. No: 080-26722726., Website: www.tenettech.com, Email: info@tenettech.com
Tenet Technetronics 3
Application Notes

Figure 1: Front view of MicroDAQ E1100

Figure 2: Rear view of MicroDAQ E1100

Tenet Technetronics | Varsity

#9/3, Shree Lakshmi Complex, 2nd Floor, Opp. To Vivekananda Park, Girinagar, Bangalore - 560085.
Ph. No: 080-26722726., Website: www.tenettech.com, Email: info@tenettech.com
Tenet Technetronics 4
Application Notes

Blocks required:

Designation Representation Sub palette

Access to MicroDAQ DIO
MicroDAQ/mdaq_dio_set
(Digital Input/Outputs)

Configures MicroDAQ DIO
MicroDAQ/mdaq_dio_config
functions and direction

Discrete time systems palette
Delay operator
/ DOLLAR_f

Reads signal data from
MicroDAQ DSP MicroDAQ/mdaq_signal
application

User defined
Super block
function/super_f

Clock MicroDAQ/Sources/clock_c

Visualization MicroDAQ/sinks/cscope

Matrix Addition / Math operations
Subtraction palette/Summation

Tenet Technetronics | Varsity

#9/3, Shree Lakshmi Complex, 2nd Floor, Opp. To Vivekananda Park, Girinagar, Bangalore - 560085.
Ph. No: 080-26722726., Website: www.tenettech.com, Email: info@tenettech.com
Tenet Technetronics 5
Application Notes

Step 1: MicroDAQ blocks are used to access the MicroDAQ hardware.
MicroDAQ bocks are available in XCOS palette browser under MicroDAQ
palette.

Figure 3: MicroDAQ Palette

Step 2: Objective is to create a blinking led using MicroDAQ DIO set blocks (see
Figure 4a). Pick all the blocks specified in the fig 4b, set the appropriate
parameters and connect as shown in the diagram.

Tenet Technetronics | Varsity

#9/3, Shree Lakshmi Complex, 2nd Floor, Opp. To Vivekananda Park, Girinagar, Bangalore - 560085.
Ph. No: 080-26722726., Website: www.tenettech.com, Email: info@tenettech.com
Tenet Technetronics 6
Application Notes

Figure 4a

Figure 4b

Tenet Technetronics | Varsity

#9/3, Shree Lakshmi Complex, 2nd Floor, Opp. To Vivekananda Park, Girinagar, Bangalore - 560085.
Ph. No: 080-26722726., Website: www.tenettech.com, Email: info@tenettech.com
Tenet Technetronics 7
Application Notes

Step 3: MicroDAQ DIO config block configures MicroDAQ DIO alternative functions and
DIO direction. This block can be used in host simulation mode and for code generation.
In Blinking led model, we use DIO 2,4,6,8 pins as output. Set DIO Config block
parameters DIO 1…8 as 0 (Configure DIO Bank as an OUTPUT).

Figure 5a: DIO config block

Figure 5b:DIO Block parameters

Tenet Technetronics | Varsity

#9/3, Shree Lakshmi Complex, 2nd Floor, Opp. To Vivekananda Park, Girinagar, Bangalore - 560085.
Ph. No: 080-26722726., Website: www.tenettech.com, Email: info@tenettech.com
Tenet Technetronics 8
Application Notes

Step 4:Now simulate the model.

Figure 6: Output for blinking led

For more information please visit: www.tenettech.com

For technical query please send an e-mail: info@tenettech.com

Tenet Technetronics | Varsity

#9/3, Shree Lakshmi Complex, 2nd Floor, Opp. To Vivekananda Park, Girinagar, Bangalore - 560085.
Ph. No: 080-26722726., Website: www.tenettech.com, Email: info@tenettech.com