evive Extension

evive Pictoblox Extension

evive extension allows you to control the inbuilt functionalities of evive such as the tactile-switchesslide-switchespotentiometer, motors 5-way navigation keytouch inputs and Real Time Clock.

Blocks

BlocksFunction
when evive 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 a code into evive.
tactile switch pressedevive has two tactile switches; this block checks if either of them is pressed. The switch whose state you want to check can be chosen from the drop-down menu on this block. It returns “true” if the switch is pressed and “false” if the switch is not pressed.
slide switch is in stateThe block check takes the slide switch number (1 or 2) and state to be checked for (Up or Down) as input and returns “True” if the slide switch is in the specified state and “False” if it is not in the specified state.
navigation key is in stateevive has a 5-way navigation key, 4 of them are for up, down, right and left direction. This block checks if the navigation key is in one of the four particular directions. The direction for which you wish to check is your choice and can be chosen from the drop down on the block.
potentiometer readingevive has two potentiometers whose analog outputs can be varied by turning the knob clockwise or anti-clockwise. This block returns the analog output of either of the potentiometer (from 0-1023).
channel touchedevive Inbuilt tools. evive have 12 capacitive touch inputs, where you can sense if the pin is touched or not. If the specified channel is touched, the block returns true, else it returns false.
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).
set clock toThe block sets the time on evive’s Real Time Clock (RTC) to the time specified by the user in the input.
set date toThe block sets the date and weekday on evive’s Real Time Clock(RTC) to the time specified by the user through the drop-down menu in the input.
get from clockThe block returns the value of “hours”, “minutes”, “seconds”, "date", "month", "year" or "weekday" from evive’s RTC. 
get voltage readingThe block gives the value of the voltage sensed on the sensing ports of evive in mili-Volts. There are 2 ports red (voltage range -30 to 30V) and blue (voltage range -5 to 5V). 
get current reading 2The block reports the value of the current sensed on the sensing ports of evive in mili-Ampere.  
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

Introduction PictoBlox is a Scratch 3.0-based graphical programming software that is the ideal companion for the setting the first step into the world of programming.…
evive-brain

Interfacing evive with PictoBlox

Introduction You can write scripts in PictoBlox for numerous projects that can be carried out using evive. This tutorial will discuss how to interface evive with PictoBlox,…
All articles loaded
No more articles to load
PictoBlox Supported Boards
Extensions
Close Menu
×

Cart