ArdubBlock Tool for easy programming in Arduino IDE.(Lighting up LED application)

in utopian-io •  7 years ago  (edited)

DQmemputwbPb14A6nw3gP2jJXBx7MFGahKNRdsCQw3e1e3L.png

What is ArduBlock?

ArduBlock is a programming environment designed to make physical computing with Arduino easier for beginners. Instead of writing code, worrying about syntax, and misplacing semicolons, ArduBlock allows you to visually program with a snapped-together list of code blocks.

What is Arduino?

Arduino is an open-source computer hardware and software company, project, and user community that designs and manufactures single-board microcontrollers and microcontroller kits for building digital devices and interactive objects that can sense and control objects in the physical world. The project's products are distributed as open-source hardware and software, which are licensed under the GNU Lesser General Public License(GPL), permitting the manufacture of Arduino boards and software distribution by anyone. Arduino boards are available commercially in preassembled form, or as do-it-yourself(DIY) kits.

What Will I Learn?

  • How to use Ardublock Tool for programming the Arduino IDE.
  • How to synchronize Ardublock Tool for Arduino IDE.

Requirements

  • Arduino IDE (any version)
    If you don't have Arduino, try this link to download it from the internet.
  • Ardublock Tool
    if you don't have ArduBlock, try this link and download it from the internet
  • Arduino Nano
  • LED(any color)
  • Resistor (220 ohms)

Difficulty

  • Basic

Tutorial Contents

Step 1. Physical connection of LED to Arduino Nano

sdfsdf.png

6.jpg

Circuit made from Fritzing

Connect the following:

  • Arduino Nano pin 13 to resistor
  • Resistor to positive part of the LED
  • LED ground must be connected to ground
Step 2. Software Connection
  • Connect your Arduino Nano USB cable to a PC/Laptop(with Arduino IDE)
  • Open Arduino IDE, change your board to Arduino Nano(or any kinds of boards depending on what you are using). Go to Tools to Board to Arduino Nano.
    12.png
  • Choose a Com port. Change your port . Go to Tools to Port to COM 4.
    13.png
Step 3. ArduBlock Coding
  • Open your ArduBlock on your Arduino IDE. Go to Tools and select Ardublock.

    14.png

  • Drag and drop the blocks that is needed in this tutorial.The do loop is default block in the Ardublock. drag the set digital pin block and connect it with the do loop block. Choose a pin you want and set the state to HIGH to turn on and LOW to turn off.

    15.png

  • If you are already done building the block. Just click the Upload to Arduino button. It is ready to be uploaded in the Arduino IDE and wait for it to generate the code.

    16.png

  • When the code is already uploaded in the Arduino IDE, upload it in the Arduino Nano by clicking __Upload __ and just wait for it to transfer your program to your board.

    10.png

    9.png

This is the given code for this tutorial. You can paste it on your Arduino IDE.

void setup()
{
     pinMode(13, OUTPUT);
}
void loop()
{
     digitalWrite(13, HIGH);
}

  • When it is done uploading, see the result in your circuit.
    11.jpg

That's all, hope you learn something with this.

For questions/clarifications, don't hesitate to comment below

Thank You!



Posted on Utopian.io - Rewarding Open Source Contributors

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Hey @jbeguna04 I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • This is your first accepted contribution here in Utopian. Welcome!

Suggestions

  • Contribute more often to get higher and higher rewards. I wish to see you often!
  • Work on your followers to increase the votes/rewards. I follow what humans do and my vote is mainly based on that. Good luck!

Get Noticed!

  • Did you know project owners can manually vote with their own voting power or by voting power delegated to their projects? Ask the project owner to review your contributions!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Thanks.

Great contribution sir ! Keep posting ..

smelling $50

Thank you for the contribution. It has been approved.

  • Last warning. Henceforth if you do not have the codes needed for the program in code blocks, it will be rejected straightforward.
  • Also If you have some posts that you made recently please fix them.
    You can contact us on Discord.
    [utopian-moderator]

Thank You Sir. @manishmike10

nice! though can't relate.. :)

Your Post Has Been Featured on @Resteemable!
Feature any Steemit post using resteemit.com!
How It Works:
1. Take Any Steemit URL
2. Erase https://
3. Type re
Get Featured Instantly – Featured Posts are voted every 2.4hrs
Join the Curation Team Here