Sunteți pe pagina 1din 15

5/13/2020 6 Reasons to Build Your Next Arduino Project With XOD - Tutorial45

START HERE TUTORIAL  TOOLS EBOOK COURSES L

Home  Arduino Projects  6 Reasons to Build Your Next Arduino Project With XOD
100
Shares

100

Arduino Projects

6 Reasons to Build Your Next Arduino Project With XOD


written by Tutorial45

Arduino has emerged as one of the most popular tools for students and makers to expr
creativity and build projects. Many people start off working on the standard Arduino ID
x
their programming. However, people who aren’t familiar with C or don’t like using text-
programming can sometimes spend many weeks becoming comfortable enough to bui
projects. But what if you want to make your project right now?

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-
out if you wish. Accept Read More 
https://tutorial45.com/6-reasons-to-build-your-next-arduino-project-with-xod/ 1/15
5/13/2020 6 Reasons to Build Your Next Arduino Project With XOD - Tutorial45

Privacy & Cookies Policy x

100
Shares
Download Chrome Browser
Install O ine, Device-based Group
Policies & More. Deploy Chrome
MSI

XOD is designed to bridge that gap – to create a visual environment that is not a toy – a
powerful enough to make some of the most complex projects. No matter if you’re just le
how to code or if you’re a veteran maker, XOD has the exibility to help you achieve you
goals.
100

1. XOD is free and powerful

Beginning work in XOD is made simple using either the browser or desktop program to
the free IDE. Once inside the interface makes it easy to build your project and upload to
controller. Programming is powerful enough to make controllers like the Arduino UNO w
without any hassle.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-
out if you wish. Accept Read More 
https://tutorial45.com/6-reasons-to-build-your-next-arduino-project-with-xod/ 2/15
5/13/2020 6 Reasons to Build Your Next Arduino Project With XOD - Tutorial45

Privacy & Cookies Policy x

100
Shares

100

The default project after opening the browser IDE shows how easy it is to get up and ru
by deploying code to control an LED. When you start work in XOD there are several pro
pre-loaded into the browser which makes learning simple. Students can easily learn to
programme without the steep learning curve of text-based programming. Additionally,
seasoned makers can use XOD to make more elaborate designs.

2. XOD makes programming easy

XOD is a designed to simplify programming. It takes common Arduino hardware, contro


structures, and logic and represents them with blocks called nodes. These nodes can th
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-
out if you wish. Accept Read More 
https://tutorial45.com/6-reasons-to-build-your-next-arduino-project-with-xod/ 3/15
5/13/2020 6 Reasons to Build Your Next Arduino Project With XOD - Tutorial45

linked together to design projects to control hardware Privacy


such as & Cookies servos, motors, xan
LEDs, Policy
much more.

100
Shares

100

The image above shows a simple example of controlling an LED using a potentiometer.
LED and the potentiometer are each represented by nodes. These nodes can then be
connected as needed to create different projects. This project works easily after connec
each of the nodes. The led will get brighter and dimmer as the potentiometer is turned.
simple project can be expanded to develop more and more complex programs.

When you get started with XOD there are several built-in projects that allow you to eas
started exploring the abilities of the IDE. One of the most common starter projects is ma
an LED blink. Here we can explore this idea to show some additional features.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-
out if you wish. Accept Read More 
https://tutorial45.com/6-reasons-to-build-your-next-arduino-project-with-xod/ 4/15
5/13/2020 6 Reasons to Build Your Next Arduino Project With XOD - Tutorial45

Privacy & Cookies Policy x

100
Shares

100

The image above shows one of the example projects built-in with the default tutorial. T
are built-in comments instructing users on how to begin along the way. In this example
are three nodes connected together to make the LED blink. The clock node will output a
to trigger the node below it. In this case, that pulse goes to the ip- op which handles t
the LED on and off each time it receives the pulse.

Within this project, we can begin to see how to customize the behavior in the workspac
built-in comments allow the user to see the ow of information for each tutorial. Anothe
helpful option is to use the built-in help bar that shows information for each node.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-
out if you wish. Accept Read More 
https://tutorial45.com/6-reasons-to-build-your-next-arduino-project-with-xod/ 5/15
5/13/2020 6 Reasons to Build Your Next Arduino Project With XOD - Tutorial45

Privacy & Cookies Policy x

100
Shares

100

From the top menu, users can select View >> Toggle Helpbar to show the help bar on t
right. Here we can see more information about each input and output for the clock node
same information is available for each node inside XOD. One huge advantage is this ke
users all in one place without having to search through tutorials and documentation to
information on speci c items.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-
out if you wish. Accept Read More 
https://tutorial45.com/6-reasons-to-build-your-next-arduino-project-with-xod/ 6/15
5/13/2020 6 Reasons to Build Your Next Arduino Project With XOD - Tutorial45

Privacy & Cookies Policy x

100
Shares

100

For the clock node, the help bar indicates that the IVAL number input represents the tick
interval in seconds. After learning exactly how the clock node works the next step is lea
how to customize it. Within XOD the inspector users can modify that input to customize
project.

The inspector on the bottom left part of the IDE now shows each input and output that
described in the help bar. The default version for this project set IVAL to 1 second. Here
inspector, that value has now been changed to 2. Now instead of the LED blinking each
second, there will be 2 seconds in between blinks. From these two examples, we can se
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-
out if you wish. Accept Read More 
https://tutorial45.com/6-reasons-to-build-your-next-arduino-project-with-xod/ 7/15
5/13/2020 6 Reasons to Build Your Next Arduino Project With XOD - Tutorial45

Privacy
simple projects can be easily created and adapted within & Cookies
XOD. x
Policystep is to take
The next
at all the additional features that set XOD apart from other visual languages.

3. XOD is adaptable to complete complex projects

One
100
of the best parts of programming in XOD is how intuitively parts ow together wit
Shares
complex syntax. It’s easy to look at complex projects and get a great visual of what is g
on. Scientists use charts and graphs to better explain data sets and models; in this sam
manner, XOD uses visual nodes to represent text-based code. One of the great parts of
building a complex project is the ability to create your own nodes to make your program
easier. In traditional text-based coding, developers use functions to break their code do
into manageable and reusable chunks. XOD uses the same idea by allowing users to bu
their
100 own nodes. Let’s take a look at a more complex project to demonstrate this idea.

The node above shows some of the more elaborate features of XOD to control two DC
as part of programming a robot. For now, it is ok if you don’t know exactly how each pa
this works. This particular section of code makes the robot move forward. The great thi
about XOD is this entire chunk of code can be saved as a node called “forward” and the
an reused in other places within the project.
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-
out if you wish. Accept Read More 
https://tutorial45.com/6-reasons-to-build-your-next-arduino-project-with-xod/ 8/15
5/13/2020 6 Reasons to Build Your Next Arduino Project With XOD - Tutorial45

Privacy & Cookies Policy x

100
Shares

Here we can see a much less complex look at what is going on within the project. Inste
100
showing every single node in the project we can use the “forward” node to make a muc
readable example. Here we can see the steps of what is happening in simple terms wit
having to see all of the back-end nodes from the previous image. To learn exactly what
happening inside this project be sure to read this article on motor control.

4. XOD is fully customizable

Out of the box, features are vast and ever-growing thanks to continuous open-source
development and an active forum where users discuss ideas and can publish libraries. T
being said each project is different and may require using nodes that don’t exist within
standard IDE. This is where seasoned developers will really be impressed. Part of XOD
you to look “under the hood” of what is happening within the nodes to see the C++ cod
drives the programming. Within this users can completely customize their program to
needs.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-
out if you wish. Accept Read More 
https://tutorial45.com/6-reasons-to-build-your-next-arduino-project-with-xod/ 9/15
5/13/2020 6 Reasons to Build Your Next Arduino Project With XOD - Tutorial45

Privacy & Cookies Policy x

100
Shares
Download Chrome Browser
Install O ine, Device-based Group
Policies & More. Deploy Chrome
MSI

The above image shows the simplicity of programming a servo with XOD. On the left, w
see the standard servo node. It makes the servo simple enough to only have two inputs
port on the Arduino and the value for the location of the servo. The picture on the right
100
the C++ backend controlling the node. Here we can customize even further than in the
previous section by using C++ code to t your exact design goals. A simple example of
can be explained by looking more closely at the C++ code inside the servo node.

The standard node automatically attaches the servo and starts moving it to a speci c
location. This is nice for simple features but may not be used for more complex program
such as robotics. One instance would be the need to detach the servo after it is nished
its goal. This can easily be done with C++.

state->servo.detach()

This code could be added to the end of the function to detach the servo after writing to
speci c location. That shows one speci c instance but each and every node can be
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-
out if you wish. Accept Read More 
https://tutorial45.com/6-reasons-to-build-your-next-arduino-project-with-xod/ 10/15
5/13/2020 6 Reasons to Build Your Next Arduino Project With XOD - Tutorial45

Privacy
customized or created using that same process. To read more & Cookies
speci Policy x
cs on node custom
check out this medium article on Hacking Nodes with C++.

5. XOD has a strong community

XOD
100
has a strong team of developers that are working every day to make new nodes a
Shares
features. There are often instances where someone within the community will post an i
question to the forum and the developers will work to make sure the problem gets solve
With an ever growing following other users are able to work collaboratively to achieve
Often times forum posts will be discussed and solved by other users that are working to
achieve similar goals.

Earlier we looked at how you can build your own custom nodes to use in your project to
100
your programming more clear and concise. Often times users will share their nodes via
external libraries so that others can easily use them. These include simple tutorials, MID
customization, motor control and much more. Feel free to browse published libraries to
any line up with your projects.

Libraries are a huge part of collaboration and XOD makes that simple. Part of the IDE h
drop-down menu that allows users to share libraries with others by publishing them or
libraries to use existing frameworks.

Managing libraries is made simple within XOD. Users are able to click a few buttons fro
drop-down menu to add in libraries or share their libraries with others.
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-
6. XOD has great tutorial
out ifprojects
you wish. Accept Read More 
https://tutorial45.com/6-reasons-to-build-your-next-arduino-project-with-xod/ 11/15
5/13/2020 6 Reasons to Build Your Next Arduino Project With XOD - Tutorial45

Privacy
As you begin looking at how to build your project make sure &you
Cookies
checkPolicy x
out some of the
users have built within XOD.

System Integration OPEN


100
Shares

Autonomous Robot

100

Be sure to check out my tutorial series on designing a self-driving car. This explores ma
advanced features of XOD while controlling motors and servos.

Automatic Trash Bin

Download Chrome Browser


Install O ine, Device-based Group
Policies & More. Deploy Chrome
MSI

Check out how MadGyver used XOD to build this trash can that opens and closes at the
of aThis
hand.
website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-
out if you wish. Accept Read More 
https://tutorial45.com/6-reasons-to-build-your-next-arduino-project-with-xod/ 12/15
5/13/2020 6 Reasons to Build Your Next Arduino Project With XOD - Tutorial45

DIY Automatic Trash Bin [Arduino and XOD] Privacy & Cookies Policy x

100
Shares

100

Robotic Arm

Mert Arduino and Tech made a really cool YouTube tutorial explaining how you can bui
robot arm, program it with XOD, and control it with the potentiometers.

08# Arduino Visual Programming | Robot Arm Control with Potentiometers | XOD

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-
out if you wish. Accept Read More 
https://tutorial45.com/6-reasons-to-build-your-next-arduino-project-with-xod/ 13/15
5/13/2020 6 Reasons to Build Your Next Arduino Project With XOD - Tutorial45

Interested in getting started? Privacy & Cookies Policy x

Start off by heading over to xod.io and opening the IDE. From there you can nd tutoria
through XOD’s documentation, medium blog, and YouTube channel. Check out XOD’s
Facebook and Twitter pages for updates, and be sure to join the XOD community on the
100
where
Shares you can post your questions or share your project. Make sure to leave any questi
POPULAR POSTS ABOUT US
comments below.

A Selection of the Best Arduino Tutorial45.com is a list of tutorials and


Simulators great technologies by Andreea Georgi
 0 comment      
Aris Tchoukoualeu and friends.
Matlab Plot Colors and Styles
RELATED POSTS
100
Unique 2D Autocad Exercises to
Improve Your Skill Now

AutoCAD Tutorial: Breakline


AutoCAD

25 Useful Shields for Arduino to


Download Chrome
Ubuntu vs Linux Mint: All You The Most Popular Open

Browser
Improve Your... Need to... Tools for Home...

Install O ine, Device-based Grou


Policies & More. Deploy Chrome
Google

  
FACEBOOK TWITTER YOUTUB

21This
IoT website uses cookies
DIY Projects to improve
You Need to yourArduino
experience. We'llRider
Knight assume you're ok with this,
Project but youMOSFET
Arduino can opt-Proj
Replicate... out if you wish. Accept
@2020 tutorial45 - All Right Reserved.
Read More 
https://tutorial45.com/6-reasons-to-build-your-next-arduino-project-with-xod/ 14/15
5/13/2020 6 Reasons to Build Your Next Arduino Project With XOD - Tutorial45

Privacy & Cookies Policy x

100
Shares

100

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-
out if you wish. Accept Read More 
https://tutorial45.com/6-reasons-to-build-your-next-arduino-project-with-xod/ 15/15

S-ar putea să vă placă și