Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use pyBoard_clone: Examples, Pinouts, and Specs

Image of pyBoard_clone
Cirkit Designer LogoDesign with pyBoard_clone in Cirkit Designer

Introduction

The pyBoard_clone is a versatile microcontroller board designed for easy programming and prototyping. It is compatible with MicroPython, a lightweight implementation of Python optimized for microcontrollers. The board features a variety of GPIO pins, USB connectivity, and multiple interfaces for connecting sensors, modules, and other peripherals. Its compact design and robust functionality make it ideal for both beginners and experienced developers working on embedded systems, IoT projects, and automation tasks.

Explore Projects Built with pyBoard_clone

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino UNO Based Pong Game with OLED Display and Pushbutton Controls
Image of Sim test OLED Display: A project utilizing pyBoard_clone in a practical application
This circuit features an Arduino UNO microcontroller connected to an OLED 128x64 I2C Monochrome Display for visual output and two pushbuttons for user input. The Arduino runs a Pong game, with the display showing the game and the pushbuttons used to control the paddle movement. The display is interfaced via I2C (SCL and SDA), and the pushbuttons are connected to digital pins D2 and D3 for input detection.
Cirkit Designer LogoOpen Project in Cirkit Designer
Gesture and Sound Controlled Relay Switching with Arduino Nano
Image of 4 load controll using hand gesture and sound controll..: A project utilizing pyBoard_clone in a practical application
This circuit features an Arduino Nano microcontroller interfaced with an APDS-9960 RGB and Gesture Sensor for gesture detection and a KY-038 sound sensor for clap detection. It controls a 4-channel relay module to toggle power to connected loads, such as bulbs and fans, based on gesture and clap inputs. The code provided enables gesture recognition and clap detection to toggle the state of the relays, which in turn control the power to the loads.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Nano-Based Wireless Joystick and Motion Controller
Image of hand gesture: A project utilizing pyBoard_clone in a practical application
This circuit features an Arduino Nano microcontroller interfaced with an HC-05 Bluetooth module, an MPU-6050 accelerometer/gyroscope, and a KY-023 Dual Axis Joystick Module. The Arduino Nano is powered by a 9V battery through a rocker switch and communicates with the HC-05 for Bluetooth connectivity, reads joystick positions from the KY-023 module via analog inputs, and communicates with the MPU-6050 over I2C to capture motion data. The circuit is likely designed for wireless control and motion sensing applications, such as a remote-controlled robot or a game controller.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO Gesture-Controlled Snake Game with OLED Display
Image of Arduino: A project utilizing pyBoard_clone in a practical application
This circuit is a gesture-controlled snake game using an Arduino UNO, a PAJ7620 gesture recognition sensor, and a 0.96" OLED display. The Arduino UNO processes gesture inputs from the PAJ7620 sensor to control the snake's movement, and the game is displayed on the OLED screen.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with pyBoard_clone

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Sim test OLED Display: A project utilizing pyBoard_clone in a practical application
Arduino UNO Based Pong Game with OLED Display and Pushbutton Controls
This circuit features an Arduino UNO microcontroller connected to an OLED 128x64 I2C Monochrome Display for visual output and two pushbuttons for user input. The Arduino runs a Pong game, with the display showing the game and the pushbuttons used to control the paddle movement. The display is interfaced via I2C (SCL and SDA), and the pushbuttons are connected to digital pins D2 and D3 for input detection.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of 4 load controll using hand gesture and sound controll..: A project utilizing pyBoard_clone in a practical application
Gesture and Sound Controlled Relay Switching with Arduino Nano
This circuit features an Arduino Nano microcontroller interfaced with an APDS-9960 RGB and Gesture Sensor for gesture detection and a KY-038 sound sensor for clap detection. It controls a 4-channel relay module to toggle power to connected loads, such as bulbs and fans, based on gesture and clap inputs. The code provided enables gesture recognition and clap detection to toggle the state of the relays, which in turn control the power to the loads.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of hand gesture: A project utilizing pyBoard_clone in a practical application
Arduino Nano-Based Wireless Joystick and Motion Controller
This circuit features an Arduino Nano microcontroller interfaced with an HC-05 Bluetooth module, an MPU-6050 accelerometer/gyroscope, and a KY-023 Dual Axis Joystick Module. The Arduino Nano is powered by a 9V battery through a rocker switch and communicates with the HC-05 for Bluetooth connectivity, reads joystick positions from the KY-023 module via analog inputs, and communicates with the MPU-6050 over I2C to capture motion data. The circuit is likely designed for wireless control and motion sensing applications, such as a remote-controlled robot or a game controller.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Arduino: A project utilizing pyBoard_clone in a practical application
Arduino UNO Gesture-Controlled Snake Game with OLED Display
This circuit is a gesture-controlled snake game using an Arduino UNO, a PAJ7620 gesture recognition sensor, and a 0.96" OLED display. The Arduino UNO processes gesture inputs from the PAJ7620 sensor to control the snake's movement, and the game is displayed on the OLED screen.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • IoT devices and smart home systems
  • Robotics and automation
  • Data logging and sensor interfacing
  • Educational projects for learning embedded programming
  • Rapid prototyping of electronic systems

Technical Specifications

The pyBoard_clone offers the following technical features:

Specification Details
Microcontroller ARM Cortex-M4 processor with FPU
Clock Speed 168 MHz
Flash Memory 1 MB
RAM 192 KB
GPIO Pins 24 pins (digital and analog capable)
Communication Interfaces UART, I2C, SPI, CAN
USB Connectivity Micro-USB for power, programming, and data transfer
Operating Voltage 3.3V (logic level)
Input Voltage Range 3.6V to 10V (via VIN pin)
Power Consumption ~50 mA (typical, varies with peripherals)
Dimensions 55 mm x 40 mm

Pin Configuration

The pyBoard_clone has a total of 24 GPIO pins, which are multifunctional and can be configured for digital I/O, analog input, or communication protocols. Below is the pinout description:

Pin Function Description
VIN Power Input Accepts 3.6V to 10V for powering the board.
GND Ground Common ground for the circuit.
3V3 3.3V Output Provides 3.3V regulated output for peripherals.
A0-A5 Analog Input 12-bit ADC channels for reading analog signals.
D0-D13 Digital I/O Configurable as input or output pins.
TX, RX UART Communication Serial communication pins (TX for transmit, RX for receive).
SCL, SDA I2C Communication Clock and data lines for I2C communication.
SCK, MOSI, MISO SPI Communication Serial Peripheral Interface pins for high-speed data transfer.
CANH, CANL CAN Bus Communication Controller Area Network pins for automotive and industrial use.

Usage Instructions

How to Use the pyBoard_clone in a Circuit

  1. Powering the Board:

    • Connect the board to a computer via the Micro-USB port for power and programming.
    • Alternatively, supply power through the VIN pin (3.6V to 10V) and connect GND to the circuit ground.
  2. Programming the Board:

    • Install MicroPython on the board if not pre-installed.
    • Use a MicroPython IDE (e.g., Thonny) or a terminal-based REPL to write and upload code.
    • The board will appear as a USB mass storage device, allowing you to drag and drop Python scripts.
  3. Connecting Peripherals:

    • Use the GPIO pins to interface with sensors, actuators, and other modules.
    • Ensure that the voltage levels of connected peripherals are compatible with the board's 3.3V logic.
  4. Example Circuit:

    • Connect an LED to pin D13 with a 220-ohm resistor in series.
    • Use the following MicroPython code to blink the LED.

Example Code: Blinking an LED

from machine import Pin
from time import sleep

Configure pin D13 as an output pin

led = Pin('D13', Pin.OUT)

while True: led.value(1) # Turn the LED on sleep(1) # Wait for 1 second led.value(0) # Turn the LED off sleep(1) # Wait for 1 second


Important Considerations

  • Voltage Levels: Ensure that all connected peripherals operate at 3.3V logic levels. Use level shifters if necessary.
  • Power Supply: Avoid exceeding the input voltage range (3.6V to 10V) to prevent damage to the board.
  • Static Protection: Handle the board with care to avoid electrostatic discharge (ESD) damage.

Troubleshooting and FAQs

Common Issues and Solutions

  1. Board Not Detected by Computer:

    • Ensure the USB cable is functional and supports data transfer.
    • Check if the board is properly connected and powered.
  2. MicroPython Code Not Running:

    • Verify that the script is named main.py or boot.py for automatic execution.
    • Check for syntax errors in the code.
  3. Peripherals Not Responding:

    • Confirm that the GPIO pins are correctly configured in the code.
    • Check the wiring and ensure proper connections.
  4. Overheating:

    • Ensure the input voltage does not exceed the recommended range.
    • Disconnect unused peripherals to reduce power consumption.

FAQs

Q: Can I use the pyBoard_clone with Arduino IDE?
A: No, the pyBoard_clone is designed for use with MicroPython. However, you can use Python-based IDEs like Thonny for programming.

Q: How do I reset the board?
A: Press the reset button on the board or power cycle it by disconnecting and reconnecting the power source.

Q: Can I connect 5V peripherals directly to the GPIO pins?
A: No, the GPIO pins operate at 3.3V logic levels. Use a level shifter to interface with 5V peripherals.

Q: Is the pyBoard_clone compatible with all MicroPython libraries?
A: Most MicroPython libraries are compatible, but some may require minor modifications depending on the hardware.

By following this documentation, you can effectively use the pyBoard_clone for your projects and troubleshoot common issues with ease.