Roboki - Session 2: Difference between revisions

From Yudurobotics
m (Protected "Roboki - Session 2" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading])
mNo edit summary
 
Line 2: Line 2:


====== Description : ======
====== Description : ======
[[File:Switch it up .gif|thumb|460x460px|The LED eyes of the Roboki light up when the switches are pressed.]]
[[File:Switch it up .gif|thumb|460x460px|The LED eyes of the Roboki light up when the switches are pressed.|alt=Roboki microcontroller's LED eyes lighting up when its built-in switches are pressed.]]
Master LED control with our hands-on project! Utilize the Roboki microcontroller's built-in switch to effectively govern LED operations, demonstrating how input signals drive output actions. Follow our guide to explore the practical application of switch-controlled LEDs, showcasing the power of input-output processing in microcontroller projects. Ideal for budding engineers, this project provides a clear understanding of how embedded switches can be used to manage LED functions, making it a perfect introduction to microcontroller-based control systems.
Master LED control with our hands-on project! Utilize the Roboki microcontroller's built-in switch to effectively govern LED operations, demonstrating how input signals drive output actions. Follow our guide to explore the practical application of switch-controlled LEDs, showcasing the power of input-output processing in microcontroller projects. Ideal for budding engineers, this project provides a clear understanding of how embedded switches can be used to manage LED functions, making it a perfect introduction to microcontroller-based control systems.


Line 14: Line 14:
Roboki is a versatile microcontroller designed for easy integration with various input/output components, allowing users to explore electronics and programming. Among its many features, Roboki comes equipped with two built-in switches and LEDs, providing a hands-on opportunity to understand how input signals (switches) can control output devices (LEDs).
Roboki is a versatile microcontroller designed for easy integration with various input/output components, allowing users to explore electronics and programming. Among its many features, Roboki comes equipped with two built-in switches and LEDs, providing a hands-on opportunity to understand how input signals (switches) can control output devices (LEDs).


[[File:Roboki switches.png|frameless|487x487px]]
[[File:Roboki switches.png|frameless|487x487px|alt=Roboki microcontroller with two labeled inbuilt switches displayed against a white background, highlighting its interactive controls.]]


In this guide, we will walk through the process of controlling Roboki’s LEDs using its built-in switches. By mastering this, you'll unlock Roboki's potential in developing interactive, responsive electronics projects.
In this guide, we will walk through the process of controlling Roboki’s LEDs using its built-in switches. By mastering this, you'll unlock Roboki's potential in developing interactive, responsive electronics projects.

Latest revision as of 10:50, 30 September 2024

Dive into Basics : Switch it up - Step-by-Step

Description :
Roboki microcontroller's LED eyes lighting up when its built-in switches are pressed.
The LED eyes of the Roboki light up when the switches are pressed.

Master LED control with our hands-on project! Utilize the Roboki microcontroller's built-in switch to effectively govern LED operations, demonstrating how input signals drive output actions. Follow our guide to explore the practical application of switch-controlled LEDs, showcasing the power of input-output processing in microcontroller projects. Ideal for budding engineers, this project provides a clear understanding of how embedded switches can be used to manage LED functions, making it a perfect introduction to microcontroller-based control systems.

Objective of the Activity:

This activity demonstrates a fundamental concept in electronics and programming: how input can govern output. In real-world applications, this principle is used in devices like remote controls, sensors, and various interactive systems where a user’s input controls the device’s operation.By mastering this activity , We are taking the first step toward building more complex circuits and systems using Roboki. The switches are not limited to controlling LEDs—they can also be configured to manage other outputs, such as motors, buzzers, or even external devices.


Before we begin, take a look at the Roboki microcontroller to get a better understanding of its different components. We will focus on how the built-in switches and LEDs are used to control LED operations and demonstrate the practical application of input signals governing output actions.

Introduction to Roboki:

Roboki is a versatile microcontroller designed for easy integration with various input/output components, allowing users to explore electronics and programming. Among its many features, Roboki comes equipped with two built-in switches and LEDs, providing a hands-on opportunity to understand how input signals (switches) can control output devices (LEDs).

Roboki microcontroller with two labeled inbuilt switches displayed against a white background, highlighting its interactive controls.

In this guide, we will walk through the process of controlling Roboki’s LEDs using its built-in switches. By mastering this, you'll unlock Roboki's potential in developing interactive, responsive electronics projects.

Understanding Input and Output:

  • Input: Roboki has two built-in switches, which serve as input devices in this activity. Pressing a switch sends an electrical signal (input) to the Roboki.
  • Output: Roboki’s LEDs serve as output devices. The microcontroller processes the input and, based on programming logic, turns the LEDs on or off.

1.SOFTWARE

Now, let us program our Roboki to recognize input signals from its built-in switches and use them to control the LED eyes. To do this, we will connect Roboki to the PLODE app, which allows us to write and upload the necessary code. Through this process, we’ll configure the Roboki to respond to switch presses and trigger the LEDs accordingly. Follow the step-by-step instructions in the video below to complete the coding process and get your Roboki ready to light up its LED eyes.


What Next?

Challenge!

Make the LEDs alternate their illumination. When the first switch is pressed, activate the second LED, and when the second switch is pressed, light up the first LED.