oshw
Random thoughts and projects about Open Source Hardware
Categories:

Archives:
Meta:
April 2024
M T W T F S S
« Aug    
1234567
891011121314
15161718192021
22232425262728
2930  
08/09/13
Simple SCADA using Scratch and OSHW
Filed under: OSHW, Scratch, electronics.cat
Posted by: @ 10:01 am

Simple Supervisory Control and Data Acquisition (SCADA) using Scratch and some open source hardware boards connected to a GNU/Linux Ubuntu computer using USB.


 


Boards used :
set01_05 : USB - RS232 TTL / TWI (I2C) translator
set03_03 : Digital Input / Output TWI (I2C) expander
set05_04 : Input Board
set05_02 : Relays Board
set01_04 : Inputs and Outputs (microswitch + LEDs)

Scratch should have remote sensor connections enabled. Once Scratch is running (it is acting as a TCP server), interface software (acting as a TCP client) can connect it.


Scratch’s SCADA source code

Interface between OSHW and Scratch :

Qt 4.8 based interface source code. This interface relies on qextserialport

Scratch’s Import Costume dialog :

SCADA costumes compressed folder (Path : /usr/share/scratch/Media/Costumes/scada ).

Leave a Reply