Home Contact us Terms & conditions Shopping cart


Linux SoM


DAISY-4 - One channel relay board

The DAISY-4 module allows Terra and FOX G20 boards to control larger loads and devices like AC or DC Motors, electromagnets, solenoids, and incandescent light bulbs.

Wirings

Up to 8 Daisy-4 modules can be wired using an unique flat cable. In that case you can make the flat cable with more IDC sockets by yourself.

This is the usable connectors where to plug this board using the factory default Linux image:

FOX Terra Notes
D2 D11 Up to 8 modules
D5 D12 Up to 8 modules

On the FOX Board G20 is requested a Daisy-1 adapter to wire this boards.

On-field wirings

This is a very simple example of how to wire an external load to the Daisy-4 module.

Dip-switch set up

A dip switch enables you to select on which GPIO line the relay will be drives.

Usually only one DIP must be placed "ON".

To know the relationship with the Kernel ID use the pinout page.

Code example in Python

The following code examples illustrate how to manage the Daisy-4 module in Python. They work with a Daisy-11 module plugged on D5 connector and the dip switch 1 moved to the "ON" position.

Turn ON a Relay

Turn OFF a Relay

To launch it install the code playground directory following this article: Programming examples on GitHub then move into playground directory:

debarm:~/playground/python/daisy4# python relayon.py
debarm:~/playground/python/daisy4# python relayoff.py

The main part of this code is the class Daisy4() that gets as parameter the Daisy connector (i.e. D2, D5, etc) and the dip switch in ON position (DIP1, DIP2 .. DIP8).

myrelay = daisy.Daisy4('D5','DIP1')
myrelay.on()
myrelay.off()
The relay mounted on this board can control external devices that work at ~120 VAC or ~220 VAC.

This is considered HIGH VOLTAGE, which as many know, can be lethal so NEVER work on this when it is plugged in. Make sure all connections are how they should be, and verify that they are fully insulated and won't short each other out, or you could cause a fire.

Also, be aware of what is going on around you, be alert, and never work on with high voltage if you feel you can't devote enough concentration to what you are doing. And lastly, if you ever have to service the connections inside this device, ALWAYS unplug it before doing so.

Acme Systems is not responsible for any electric hazard or damage caused by using this module.


DAISY-4 : One relay board EURO 10.00

DAISY-4 is a single relay Daisy module.

Note: the daisy flat cable to wire this board is not included. Don't forget to buy it (code FLAT-20CM)

| Product description | Daisy catalog |


FLAT-20CM : 20cm flat cable with sockets for Daisy wiring EURO 3.00

20 cm ribbon cable with 10 wires compatible with the Acme Daisy Cabling System.

At least one of these cables is required to connect each Daisy module.

if you need different lengths please consider making your own the cable using the IDC socket JJ-02291-10P-F and the flat cable FC-3754-1M.




Acme Systems srl
Via Aldo Moro 53 - 00055 Ladispoli (RM) - Italy
P.IVA/C.F. 08114831004
Tel +39.06.99.12.187 - Fax +39.06.622.765.31
http://www.acmesystems.it -
Iscritta al Registro delle Imprese di Roma al n. 08114831004


Atmel© Certified Partner

Documentation Terms of Use
Acme Systems provides this documentation "as is" without warranty or guarantees of any kind. The mantainer of this site (Sergio Tanzilli), has gone to a great deal of effort into making this documentation as correct as possible. Acme Systems doesn't provide any direct support for the Open Source preinstalled software but provides, through these pages and forum posts, all the information required to obtain the sources, install, use and update the Open Source softwares runnable on the FOX Board, NetusG20, AriaG25 and Terra platforms. Please note that all the preinstalled softwares, used on the Acme Systems products, are Open Source and you will have to check the license terms provided (usually the GPL) by each author before using it in any commercial or non-commercial product, by yourself. Before sending emails or calling the Acme staff here are our contacts please note that WE ARE MAINLY HARDWARE DESIGNERS and NOT LINUX GURUS so could be better to post your questions directly to the forum listed below to be sure that all the contributors of this site and the large software developers community will read and reply to your questions.

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Creative Commons License