Using ChatGPT for Robotics – Programming myCobot 280 robotic arm with natural language (Sponsored)

ChatGPT myCobot 280 Robotic Arm

ChatGPT AI chatbot can help engineers write programs, and we recently tested it by letting it write a Python program to read data from an I2C accelerometer. But it can be used for more advanced programs and Microsoft Autonomous Systems and Robotics Group used ChatGPT for robotics and programmed robot arms, drones, and home assistant robots intuitively with (human) language. The long-term goal is to let a typical user control/program a robot without having an engineer write code for the system. Microsoft explains that the current robotics pipelines begin with an engineer or technical user that needs to translate the task’s requirements into code for the system. That’s slow, expensive, and inefficient because a user needs to write code, skilled workers are not cheap, and several interactions are required to get things to work properly. With ChatGPT or other large language models (LLM), a user could “program” the robot with […]

Using Pico:ed V2 board as a replacement for BBC Micro:bit

Pico:ed V2 BBC Micro:bit Alternative

We’ve received a sample of the Pico:ed V2 board developed by ELECFREAKS and will show how to use it as a replacement for the BBC micro:bit in a project using CircuitPython. We’ve already covered the board in detail with specifications, block diagram, and pinout diagram before, and it’s basically a Raspberry Pi Pico RP2040 board with BBC Micro:bit form factor including a 17×7 Dot Matrix LED display, some buttons, a buzzer, but no wireless connectivity, relying only on USB instead. CircuitPython firmware installation on the Pico:ed V2 board The board supports C/C++, MicroPython, and CircuitPython programming languages, and for this review, we’ve decided to download the CircuitPython UF2 firmware. Press and hold the BOOTSEL button after having downloaded the firmware file… … and connect the board to your computer using a USB cable before releasing the BOOSEL button on the Pico:ed V2 board, which should then show up as the […]

Wokwi – An Arduino, Raspberry Pi Pico, and ESP32 board simulator

WOKWI Arduino Raspberry Pi Pico ESP32 simulator

Wokwi is an online simulator for Arduino, Raspberry Pi Pico, and ESP32 boards, or even your own custom microcontroller board designed to learn programming without the actual hardware. My girlfriend’s daughter has just attended a free 5-day online course about AI, IoT, ESP32, MicroPython, and more organized by King Mongkut’s Institute of Technology Ladkrabang (KMITL) and IMAKE Innovation, a STEM education company in Thailand. I was told they had some homework for ESP32 as part of the course, so I asked her whether she wanted an ESP32 board. But she said no need. So then I asked how to program the ESP32 without the board, or do they have a simulator? And indeed I was sent the screenshot below along with a blurry video showing the LED display updated as the program runs in the web browser. Considering ESP32 boards are so cheap and external modules or a breadboard are […]

STMicro STLINK-V3PWR debugging & programming probe supports power measurement

STLINK-V3PWR

STMicro STLINK-V3PWR is a new in-circuit debugging and programming probe made for STM32 microcontrollers and that is said to provide accurate power measurement. The probe is especially useful for battery power IoT and wireless applications and is able to measure current values from nanoamps up to ~500mA with up to ±0.5% accuracy. The STLINK-V3PWR can also power the target over a single USB cable up to 2A. STMicro STLINK-V3PWR key features and specifications: 1‑Quadrant source measurement unit: Programmable voltage source from 1.6 to 3.6 V Output current rating 500 mA with over-current protection (OCP) at 550 mA Programmable sampling rate from 1 SPS to 100 kSPS Dynamic measurement 100 nA to 550 mA current 160 nW to 1.65 W power measurements 50 kHz bandwidth 1.6 MHz acquisition / 2% accuracy Compatible with EEMBC ULPMark tests Auxiliary output voltage source from 1.6 to 3.6 V under up to 2 A (no current measurement, OCP at 2.5 A) Debugging of […]

Servo and motor control with Raspberry Pi Pico, CircuitPython, and Wukong 2040 breakout board

Raspberry Pi Pico Wukong 2040 Motor Control CircuitPython

ELECFREAKS Wukong 2040 is a multifunctional breakout board designed for Raspberry Pi Pico. It is equipped with interfaces for four DC motors, up to twelve servos, a buzzer, A\B buttons, RGB “rainbow” lights, a Reset button, etc… The board can be powered by a single 18650 3.7V LiPo battery and integrates a power management IC that monitors the battery level and can also charge the battery via a USB charger. Battery life is typically 60 minutes per charge but can last over 120 minutes depending on the load.   Wukong 2040 key features and specifications Description of the Wukong 2040 interfaces Specifications and dimensions of the Wukong 2040 Expansion Board for Raspberry Pi Pico The Wukong 2040 breakout board for the Raspberry Pi Pico can control up to four DC motors and up to 12 servo motors as shown in the diagram below. Pinout diagram of the Wukong 2040 board […]

Raspberry Pi Debug Probe eases bare metal development for $12

Raspberry Pi Debug Probe

The Raspberry Pi Debug Probe is a USB serial adapter based on the Raspberry Pi RP2040 microcontroller and designed to debug the Raspberry Pi Pico, third-party RP2040 boards, and pretty much any Arm board through SWD and/or UART interfaces. The main advantage over a typical USB-to-serial adapter is the presence of a Serial Wire Debug (SWD) bridge used for bare metal code development and debugging through tools such as OpenOCD. The Raspberry Pi Debug Probe specifications: MCU – Raspberry Pi RP2040 dual-core Cortex-M0+ microcontroller @ 133 MHz with 264KB SRAM Storage – 2MB SPI flash (W25Q16JVUXIQ) Debug interfaces 3.3V Serial Wire Debug (SWD) 3-pin JST connector conforming to the Raspberry Pi Debug Connector Specification and compatible with the CMSIS-DAP standard 3.3V serial (UART) 3-pin JST connector USB – Micro USB port to connect to the host Misc BOOTSEL button for flashing firmware to the debug board Unpopulated 3-pin header with […]

MicroBlocks is a visual programming IDE for 32-bit microcontrollers

MicroBlocks

MicroBlocks is a visual programming IDE for 32-bit microcontrollers currently supporting the BBC Micro:bit V1/V2, Calliope mini (aka the German Micro:bit), Adafruit Circuit Playground Express and Bluefruit, Raspberry Pi Pico and Pico W, and various other boards including ESP32 and ESP8266-based boards. I discovered MicroBlocks in the list of talks for FOSDEM 2023, and although it did not make it to my virtual schedule, I thought it was interesting to look into and write about it. In their upcoming FOSDEM talk, Bernat Romagosa and Kathy Giori refer to MicroBlocks as small, fast, and human-friendly with development guided by four guiding principles: liveness, parallelism, portability, and autonomy. The IDE is inspired by Scratch, and as such, looks very similar to other visual programming interfaces I have used over the years. You can launch MicroBlocks from Google Chrome or Microsoft Edge on a PC (not a mobile device) without having to install […]

Review of myCobot 280 Pi robotic arm with Python and visual programming

myCobot 280 Pi Conveyor Color Sorting

myCobot 280 Pi is a versatile robotic arm with a 6 degree of freedom design. It was developed by Elephant Robotics using the Raspberry Pi 4 board as the main controller. The robot is compact and delivers stable operation making it ideal for confined spaces. It can also be programmed in a variety of languages, is easy to use, and offers a lot of features. It is suitable for those who are interested in learning how to program a robotic arm controller and for engineering projects. Unboxing myCobot 280 Pi The myCobot 280 Pi arm has a working range of 280 mm, weighs 850 grams, and can handle a payload of up to 250 grams. It is powered by 6 servo motors, one for each degree of freedom, and comes with a 5×5 matrix LED display, and supports LEGO parts as well. Controlled by a Raspberry Pi 4 single board […]

Exit mobile version
UP 7000 x86 SBC