Arduino Nano Extension

Arduino_NANO

Arduino Nano extension allows you to control the inbuilt functionalities of Arduino Nano such as the digital and analog Input/Output, tone, and timer.

Blocks

BlocksFunction
when Arduino Nano starts upScripts that wear this block gets converted into Arduino code when you are in Upload Mode. This block is used when one has to upload code into Arduino Nano.
read state of digital pinThe block reads the state of the digital pin on evive (“High” or “Low”). If the state of the pin is “High”, it returns True, else False.
read analog pinThe block returns the value of analog pins available in the connected hardware. Analog reading is of 10-bit resolution, hence the range of value is 0 to 1023. This range is mapped to the voltage of the pin (normally 0 to 5V). If the value received is 512, the voltage value will be around 2.5V.
set digital pin output asThe block sets the digital state of the specified digital pin to either “High” or “Low”. If the output is High, the pin will be at 5V and if the output is Low the pin will be at 0V.
set PWM pin output asThe block set PWM output on evive PWM pins. The user can select the output from a range of 0 to 255.  If the PWM output is 128, then half the time output will be high and for rest, the output will be Low.
play toneWhen the block is executed it plays the tone of specified frequency/note for a specific duration/beat. The note and the beat can be selected from the drop-down menu. Also, the user can input the specific frequency and duration (in milliseconds).
get timer valueThe block returns the time passed since the device is turned ON or since the timer has been reset. This block returns time in milliseconds.
reset timerThe block sets the timer’s value back to 0.0. Usually, the timer must be reset at the beginning of a project for the Timer block to hold the right value.
This helped
This didn't help

Content is available under CC BY-SA 4.0 unless otherwise noted.

Related Tutorials, Projects & Documentation
PictoBlox blocks Scratch how to

Getting Started with PictoBlox

PictoBlox is a programming software based on Scratch, where you can make interactive games, animations or program robots and projects with evive, Arduino, etc..
evive-brain

Interfacing evive with PictoBlox

This tutorial discusses how to interface evive with PictoBlox, the evive palette, the two modes for writing scripts in PictoBlox, and how to upload a script to evive.
All articles loaded
No more articles to load
PictoBlox Supported Boards
Extensions
Close Menu
×

Cart