0% found this document useful (0 votes)
167 views14 pages

Help Guide en

Uploaded by

Shabaan Ali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
167 views14 pages

Help Guide en

Uploaded by

Shabaan Ali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

PCB solution FBL server Whatsapp +51 940 138 963

[email protected]
Movilcenter Lab
V4.2.x

www.movilcenter-lab.com
Developer : Simón Benavides Malasquez
www.movilcenter-lab.com
PCB solution FBL server
Activando Control de Guide
1. Load the automotive plugin as you normally do, and you will see this new control guide bar appear

1. Load plugin
Visible Control Guide

2. Guides Control

From this panel, you can load controls to create your customized interface (also called Guides), open your saved interfaces, establish
connection with your Arduino board, and start working on this new feature

www.movilcenter-lab.com
PCB solution FBL server
GUIDES CONTROLS FOR CREATING INTERFACES
Remember that these controls appear when you first load your automotive plugin. If not, they won't appear yet. Your license must be active

1. GUIDE MODE: Activate mode and block palette to create interface

2. GUIDES LIST: Open list of created and saved interfaces

3. HARDWARE COMMUNICATION: Opens list of connected Arduino boards and connects

4. SAVE: Save your currently open interface

Indicate whether you have an open project or a closed project

www.movilcenter-lab.com
PCB solution FBL server
1. GUIDE MODE
In the control panel, you must always activate the 'G1' button first. This informs the software that you will start working with control interfaces

Bloques

Now you can see the panel of available blocks. Don't add
them yet; we'll do it below with an open project

G1. Activate Guide Mode

IMPORTANT: Although it's possible to add blocks at this point, remember that saving is not yet possible
because you don't have an open Guide interface project. (For now, it's important just to notice how the
block panel appears when activating GUIDE MODE)

www.movilcenter-lab.com
PCB solution FBL server
2. INTERFACE LIST
Click on the 'G2' button to open the list of all saved guides. You can edit the title, edit description, and 'open' to open a saved interface

To edit the title or description, simply double-


click with the left mouse button

1. Click on the 'G2' button.

2. Open this first example

NOTE: When you open an interface from this list, you will
be able to save your interface, as you will be inside a
project, and it will say 'OPEN' below the buttons.

www.movilcenter-lab.com
PCB solution FBL server
FIND THE EXAMPLE ARDUINO CODE
We have prepared some examples for you to quickly try out how to use the new function of interfaces or Guides

This image shows how to


assemble the simple test circuit

Open the folder of examples we


have sent you and look for the Open this example code to use a
first example simple switch and control the
Arduino LED This file, DataBuilder.h, is a file we have created to facilitate
communication between Arduino and PCB Solution FBL
server. The file will be loaded automatically when opening
the Arduino project 'guide_example_1.ino'.

www.movilcenter-lab.com
PCB solution FBL server
UPLOAD CODE TO ARDUINO BOARD
Open the first example, double-click on the file 'guide_example_1.ino'. (You must download the Arduino program beforehand) https://www.arduino.cc/ )

3. Select your Arduino board

1. Double-click on this file

4. Upload code to the board

2. Assemble the circuit and connect your


Arduino board

www.movilcenter-lab.com
PCB solution FBL server
3. HARDWARE COMMUNICATION
Activate the 'G3' button. A control panel will open to connect your Arduino board to the PCB Solution FBL server software. Activate it

Successful connection!
2. Open the device panel If the connection is successful, the
device window closes, and a 'Connected'
message appears.
3. Select your Arduino board
NOTE: If your board does not appear in
the list, disconnect your board and
reconnect it, then press 'Update' until it
appears

4. Click on 'Connect
1. Hardware communication

ARDUINO ON MAC: It typically appears as '/dev/cu.usbmodem14401’ ( in your case, it might be a different number at the end ).
ARDUINO ON WINDOWS: It typically appears as COM ports such as COM1, COM2, COM7, etc

www.movilcenter-lab.com
PCB solution FBL server
Time to test the created control!
It's time to test our switch! Click the switch to turn on the LED on your Arduino board connected to pin 13

For this example, assembling the


resistor-LED circuit is optional
because several Arduino boards
have an SMD LED on pin 13 by
default

Clic para prender y apagar LED !

As you can see, you can easily control an LED, a relay, a light bulb, or anything you want to connect to your Arduino. Additionally, this is just an
example; in your Arduino code, you can perform many more tasks upon receiving the command sent by the switch

www.movilcenter-lab.com
PCB solution FBL server
How to set up a block to work with Arduino?
The most important parameter is the 'ID Code', which identifies the block to differentiate it from another

Open block configuration

You can see that the 'ID Code' of the Switch block is 'SW1', and in Arduino, we also use this code to capture commands coming from the block
(Whether the block sends commands or receives data, the ID Code serves to differentiate it from other blocks)
www.movilcenter-lab.com
PCB solution FBL server
What types of blocks are there?
There are 2 types of blocks that you can use according to your needs
You can select a block to send data (controller block) or you can use a block to receive data (monitor block)

Monitor Block
This type of block is designed to receive a
data type from a variable and display it

Controller block
This type of block sends commands
such as: true, false, or it can also send Note: You can use both types of blocks or just one type, depending on your project,
integers or decimals. your interface, and the complexity of the Arduino code. There are many
possibilities.

www.movilcenter-lab.com
PCB solution FBL server
Properties of a block
All blocks have a configuration button located in the upper right corner

Properties button
Title

Value coming
from arduino

Move block

Unit

Description

www.movilcenter-lab.com
PCB solution FBL server
Block Properties
Here you can see more of the properties of this monitor block, which will receive data from Arduino

ID Code
Identifies the block from the
others Block Title and Description

We configure the minimum and Assign unit: voltage, current, or enter it


maximum values
manually in the field

By activating this filter, the data is


displayed with less noise, optionally

Set precision digits, meaning if you


want one decimal 1.5, or more digits
like 1.50, maybe even more like 1.500

Example of how the data will


arrive from Arduino to PCB Save changes
solution FBL server

Delete guide

www.movilcenter-lab.com
PCB solution FBL server
You can now create your own control interface
Drag the blocks you need for your project, you can create many interfaces for your applications

Soporte Whatsapp +51 940 138 963


Movilcenter Lab

www.movilcenter-lab.com

You might also like