Arduino Programming...
 
Notifications
Clear all

Arduino Programming with XOD #2 - Robot Car

2 Posts
2 Users
0 Likes
1,986 Views
(@dronebot-workshop)
Workshop Guru Admin
Joined: 5 years ago
Posts: 1073
Topic starter  

Build a Robot Car and program it using XOD, a graphical development environment for the Arduino.

Get XOD at https://xod.io
Full Article at https://dbot.ws/xod02

This is another video sponsored by the good people at XOD.

Today I’m working with XOD, a graphical IDE that lets you program an Arduino without writing any code. If you’re new to XOD I suggest that you take a look at my previous XOD video, as well as the article at https://dbot.ws/xod01 and of course the XOD website at https://xod.io

In this video, I will be showing you a couple of new techniques with XOD.

First, we will learn how to use multiple patches in our XOD projects. This will allow us to create our own custom nodes, a powerful technique that also makes our main patch a lot less cluttered.

We will also learn how to use XOD libraries. Today we will see how to add a XOD library to our IDE.

In order to make things more fun, I’ve decided that for this video and the XOD videos that will follow we will build a project - a XOD powered robot car!

In this video, I’ll show you how to assemble the robot car. Our initial design will use an L298N H-Bridge motor controller and a 10mm RGB LED. As the series continues we’ll add more parts to give our robot more capabilities.

Here is what is covered in this video:

00:00 - Introduction
03:32 - XOD Robot Project Intro
07:18 - Robot Car Wiring
11:16 - Making custom node for RGB LED
19:12 - Adding a XOD Library for L298N
26:05 - Sequential Programming Intro
27:42 - RGB LED Sequential Node
44:44 - L298N H-Bridge Sequential Node
51:45 - Robot Demo Sequence

As always you can get additional information as well as the code (.xodball files) used in this video by visiting the article at https://dbot.ws/xod02.

I hope you enjoy this video and will continue to follow along while I add features to our XOD Robot Car!

"Never trust a computer you can’t throw out a window." — Steve Wozniak


   
Quote
(@doug-bowman)
Member
Joined: 2 years ago
Posts: 1
 

I am trying to copy your code shown on this video. When it comes to the part where you connect the INPUT NUMBER node to the "h-bridge" for the Robot. 

First. I cannot locate the exact h-bridge you used.

Second. Any h-bridge I select from libraries I have found will not connect to the INPUT NUMBER nodes. Dir, Dir, PWM.I am stuck at this point in the project.

Can you show me what I can do to get this to work?

Thank You

Doug


   
ReplyQuote