logo-mobile

ROHM

ROHM
Menu
  • Arduino –
  • Raspberry Pi –
  • Trending –
  • Others –
  • About –
  • Contact –

Arduino

Smart Robotic Arm – Part 2: Programming

Tiberia Todeila
Published by Tiberia Todeila at August 14, 2017
Categories
  • Arduino
Tags
  • Arduino
  • robotic arm
  • robotics
  • smart robotic arm
robotic arm

Table of Contents

  • Intro
  • Step 1: Making the App
  • Step 2: How to Make Demo App
  • Step 3: Properties of the App & Step 4: Face Recognition
  • Step 5: Weather API & Step 6: Text-to-Speech

Step 2: How to Make Demo App

In order to make a similar application, you need to know how to start with an application in C#. We will be using Windows Forms App because it’s simple and there’s online documentation in case we need it. For this project, it’s necessary to have Visual Studio and .NET framework (both can be downloaded from here). After downloading and installing the files we can start with the app.

First, it needs a new project. To create a new project, go to File→New → Project and Windows Forms App(.NET Framework).

robotic arm

Figure 5: How to make an app in Visual Studio

And it will show a window with a box on it – this is an auto-generated form by the app. On the right side (Properties), you can locate the properties of the form which you can adjust according to your preference. On the left side (Toolbox), there are the functions that can be used for the app like buttons, checkboxes, serialport.

robotic arm

Figure 6: Properties of an app in Visual Studio

For test demonstration, we can make an app that displays a text when you click on it.

From the Toolbox, if you double click on the button it will automatically add the button on the upper-left corner. This is named “button1” because it auto-numbers the instances from the button class from .NET Framework. From button1 properties, we can change the Text for button1 to Click here!. Now, we need to write a code to make the button functional (double click on the button on the graphic interface):

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
namespace WindowsFormsApp3
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
 
        private void button1_Click(object sender, EventArgs e)
        {
            MessageBox.Show("App made for DevicePlus");
        }
    }
}

The above code, when the user clicks on the button, a text will be displayed. The result is shown in Figure 7.

robotic arm

Figure 7: Demo app

1 2 3 4 5
Tiberia Todeila
Tiberia Todeila
Tiberia is currently in her final year of electrical engineering at Politehnica University of Bucharest. She is very passionate about designing and developing Smart Home devices that make our everyday lives easier.

Check us out on Social Media

  • Facebook
  • Twitter

Recommended Posts

  • Smart Robotic Arm – Part 1: Mechanics and WiringSmart Robotic Arm – Part 1: Mechanics and Wiring
  • Guide to Connecting Arduino & Raspberry Pi + DIY Arduino and Raspberry Pi Camera Robot!Guide to Connecting Arduino & Raspberry Pi + DIY Arduino and Raspberry Pi Camera Robot!
  • Arduino Explorer Rover Part 3 – ProgrammingArduino Explorer Rover Part 3 – Programming
  • Insect-Inspired “Arthrobots” Made of Drinking StrawsInsect-Inspired “Arthrobots” Made of Drinking Straws
  • Exploring Robotics with the Hedgehog Robotics ControllerExploring Robotics with the Hedgehog Robotics Controller
  • Manta Ray-Inspired Soft Robotic FishManta Ray-Inspired Soft Robotic Fish
Receive update on new postsPrivacy Policy

Recommended Tutorials

  • How to integrate an RFID module with Raspberry Pi How to integrate an RFID module with Raspberry Pi
  • How to Use the NRF24l01+ Module with Arduino How to Use the NRF24l01+ Module with Arduino
  • How to Run Arduino Sketches on Raspberry Pi How to Run Arduino Sketches on Raspberry Pi
  • Setting Up Raspberry Pi as a Home Media Server Setting Up Raspberry Pi as a Home Media Server

Recommended Trends

  • SewBot Is Revolutionizing the Clothing Manufacturing Industry SewBot Is Revolutionizing the Clothing Manufacturing Industry
  • All About The Sumo Robot Competition And Technology All About The Sumo Robot Competition And Technology
  • 5 Interesting Tips to Calculating the Forward Kinematics of a Robot 5 Interesting Tips to Calculating the Forward Kinematics of a Robot
  • Go Inside the Drones That Are Changing Food Delivery Go Inside the Drones That Are Changing Food Delivery
Menu
  • Arduino –
    Arduino Beginner’s Guide
  • Raspberry Pi –
    Raspberry Pi Beginner's Guide
  • Trending –
    Updates on New Technologies
  • Others –
    Interviews / Events / Others

Check us out on Social Media

  • Facebook
  • Twitter
  • About
  • Company
  • Privacy Policy
  • Terms of Service
  • Contact
  • Japanese
  • 简体中文
  • 繁體中文
Don’t Forget to Follow Us!
© Copyright 2016-2023. Device Plus - Powered by ROHM
© 2023 Device Plus. All Rights Reserved. Muffin group

istanbul escort istanbul escort istanbul escort