Posts with «edge impulse» label

Fetch, the 3D-printed robot that fetches the ball using computer vision

Fetch is a 3D-printed robot that plays fetch. It finds an orange ball, reaches it, grabs it with two arms and brings it back to its owner by looking for their hand. No remote control, no app: the robot decides on its own what to do. It is the first autonomous robot built by its author, Aswinth Raj, and the parts cost around 300 dollars.

What stands out is how simple the computer vision is. The object detection model has just two classes, ball and hand, and is trained on about 200 images for each. The hard work, then, is not in the recognition but in the arms, the guidance and the troubleshooting.

Two classes and 200 photos to make the robot see

The model was trained in Edge Impulse with YOLO-Pro. The photos were taken with the robot’s camera, under different lighting conditions, on different floors and backgrounds. This step matters more than it seems: a model trained on clean images struggles as soon as the room changes, so variety in the training photos is the real insurance.

The hardware heart is the Arduino UNO Q board, which pairs a processor capable of running Linux with a separate microcontroller. The Linux processor handles the camera and the model, the microcontroller handles real-time control. That way vision does not slow down the arm movements, and the arms do not steal cycles from recognition.

  • Orange ball recognition with a two-class model
  • Owner’s hand recognition for the delivery
  • Approach and grasp with two arms
  • Return to the hand and release of the ball
  • Animated eyes on a small screen and antennas that move with the mood
  • Pre-recorded voice phrases to make the behaviour readable

Arms, guidance and voice: where the real work is

Recognition is only the start of the chain. The robot has to reach the ball without bumping into things, grab it with two arms and then look for the hand. Every step has its own problems: the grasp that slips, the trajectory that gets stuck, the hand that moves while the robot approaches. In fact the longest part of the project was tuning, not training.

The behaviour is enriched by details that serve readability rather than function. The animated eyes on a small screen and the ear-like antennas that move with the mood tell anyone watching what state the robot is in. The pre-recorded voice phrases, generated with ElevenLabs, complete the picture. For anyone who wants to rebuild the project, the starting point is maker Aswinth Raj’s site, where the project is described by its author.

Anyone who wants to try an autonomous robot with computer vision therefore has a path mapped out: two classes, a few hundred photos, a board that separates Linux from real-time control. The rest is mechanics and patience.

Source: https://circuitdigest.com/news/a-300-robot-that-plays-fetch-it-finds-the-ball-picks-it-up-and-brings-it-back-on-its-own

Related products

The post Fetch, the 3D-printed robot that fetches the ball using computer vision appeared first on Open Electronics.

B.L.O.O.M.: the field cyberdeck for nature observation

B.L.O.O.M. (Bridging Local Observations, Openly Mapped) is a field cyberdeck designed to capture nature notes offline. Photos, sketches, annotations and bird songs identified with an AI model all end up in a local SQLite database. When you are back online, a sync button sends the data to the cloud and feeds an open, crowd-sourced archive of local flora and fauna. The project is described in detail on the project page on Hackster.io, which also covers the assembly and software choices.

The brain of the cyberdeck is an Arduino Uno Q, powerful enough to host small AI models locally. All the peripherals connect to the board by cable or Bluetooth. In particular, the 5-inch HDMI screen, the Bluetooth keyboard and mouse, the USB microphone and the USB camera let you capture notes, photos, sketches and bird songs. Connecting the display requires a 6-inch HDMI cable, so a short one, suitable for fitting inside the case without taking up space.

The B.L.O.O.M. cyberdeck out in nature.

The kiosk-mode web app and the Edge Impulse audio model

A local web app in kiosk mode, with Chromium in kiosk mode, shows a minimal landscape interface. From there you can take photos, draw, chat with an LLM and record notes on the spot. The audio AI model is custom and trained through Edge Impulse Studio: it identifies the bird songs picked up by the USB microphone. For each bird species (Blue Jays, Mourning Doves, Cardinal) at least 20 audio examples were downloaded from the xeno-canto dataset. The LLM downloaded onto the Uno via App Lab is Gemma, so the chat also works without a network.

The notes are saved in a local SQLite database. Pressing ‘Sync to Cloud’ sends the data to a Netlify function that converts it into markdown files for the website, built with Astro.js. The version of Arduino App Lab used is 0.9.0. For portable power in the field, a compact power bank for Raspberry Pi covers the same role.

The enclosure, the recycled foam and the components to connect

The enclosure is a reused Lancôme train case, with a hole in the side for the camera and modular shelves made of recycled foam and fabric. Creative reuse here is not an aesthetic detail: it is the structure that holds the screen, the board and the battery together. Rebuilding it takes only a few parts, listed below.

  • Arduino UNO Q as the brain of the cyberdeck
  • 6-inch HDMI cable for the display
  • 5-inch HDMI screen
  • USB microphone for the bird songs
  • USB camera for photos and sketches
  • 5-in-1 USB hub to connect the peripherals
  • power bank for power in the field
  • USB-A to Micro-USB cable
  • Bluetooth keyboard and mouse

On the software side the chain is long but linear: Arduino App Lab for the environment, Edge Impulse Studio for the audio model, SQLite for the database, Chromium in kiosk mode for the interface, Astro.js for the site, a Netlify function for the markdown conversion and Gemma as the local LLM. To replicate the project the basis is the 4 GB Arduino UNO Q in a complete kit, while to record bird songs a USB microphone is all you need.

B.L.O.O.M. in action, ready to capture images.

The interesting point of B.L.O.O.M. is that everything works without a network: recognition, chat, saving. Syncing is a voluntary action, not a requirement. That way the field cyberdeck stays useful even in the middle of a wood, and the data opens up to the world only when you decide.

Source: https://www.hackster.io/agent-hawking-1/b-l-o-o-m-a-community-cyberdeck-for-your-field-notes-8dba4c

Related products

The post B.L.O.O.M.: the field cyberdeck for nature observation appeared first on Open Electronics.

Boxing Band Counts Punches and Analyses Them in Real Time

A boxing band that counts your punches and analyses them as you throw them. Manivannan’s project brings together an Arduino Nesso N1, a Pulse Sensor and a machine learning model trained in Edge Impulse. The built-in 1.14-inch touch display shows the count and changes colour according to heart rate. That way the athlete immediately knows whether they are working in the rest zone or at peak intensity, without looking at an external app.

The Nesso N1 is the board that carries the whole system. The ESP32-C6 microcontroller mounts two 32-bit RISC-V processors, with an HP core up to 160 MHz and an LP core at 20 MHz. Memory amounts to 16 MB of NOR flash and 512 KB of SRAM, figures that leave room for the model and the firmware. On board there is also an SX1262 LoRa module in the 850-960 MHz band, useful if you later want to send data to a second device. The dimensions are 18 mm x 45 mm, so the band stays compact. Power comes from an integrated lithium-polymer battery, with a nominal 5 V input.

From the Nesso_IMU.ino firmware to the four punch classes

The Nesso_IMU.ino firmware initialises the Nesso N1’s IMU, configures the sampling pipeline and sends the readings from the 3-axis accelerometer over the serial port. The serialised motion frames are then acquired by Edge Impulse through the data forwarder. Here the work moves to Edge Impulse Studio, where the frames are segmented and labelled into four classes: Idle, Hook, Jab-Cross and UppeCut.

The preprocessing block is Spectral analysis, the learning block is Classification. The analysis window is 1200 ms and the stride is 750 ms, so the system looks at a little over one second of movement at a time and advances by three quarters of a second. The neural network is trained with 100 training cycles and a learning rate of 0.05. The stated result is 100% accuracy in both the training and the testing phase.

The trained model is exported as an Arduino library and imported into the IDE. From that point on, inference runs locally on the device, with no cloud dependency. The results update the punch count variables, while the Pulse Sensor continuously reads heart rate. Anyone who wants to retrace the path will find the full account of the workflow, from data collection to library export, on Manivannan’s project page on Hackster.io.

The Pulse Sensor on pin GPIO5 and the backlight colours

The pulse sensor must be connected to pin GPIO5, not to the default pin. The PulseSensor Playground library therefore has to be modified: inside PulseSensor.cpp the InputPin variable goes from 7 to 5. The sensor sits on the tip of the index finger and is secured with a hook-and-loop strap, so it stays in contact during the punches.

Heart rate sets the colour of the LED backlight, which becomes an intensity indicator you can read out of the corner of your eye:

  • Below 100 bpm the backlight turns green, rest zone or low intensity.
  • Between 100 and 140 bpm it turns blue, moderate activity.
  • Between 140 and 160 bpm it turns yellow, high intensity.
  • Above 160 bpm it turns red, peak intensity.

Rebuilding the band takes only a few parts: the Nesso N1, a Pulse Sensor, hook-and-loop tape and a 5 cm jumper wire kit. Assembly requires no special soldering, because the connections go through the jumpers. What is more, the hook-and-loop strap holds sensor and band together without 3D printing. Anyone looking for a board from the same family for other IoT experiments will find the board with Matter and Bluetooth LE in the catalogue, intended for home automation rather than for sports wearables.

The delicate point is calibrating the heart-rate thresholds. The four ranges on the board hold true for this project, but every athlete has different maximums. So it is worth recording a few rounds and comparing the colours with the real values before trusting the feedback. Sensor position matters too: if it shifts even slightly, the reading wobbles and the colour changes for no good reason.

Punch counting relies on the model’s four classes. Idle increments nothing, while Hook, Jab-Cross and UppeCut push the counter up. Consequently the number on screen is not a simple accelerometer peak, but the result of a classification. The limitation is that the model was trained on one person’s movements: with a different boxer, or with the opposite hand, performance can drop.

Source: https://www.hackster.io/manivannan/smart-ai-boxing-band-bddc39

Related products

The post Boxing Band Counts Punches and Analyses Them in Real Time appeared first on Open Electronics.

Face-Following Robot Built on Arduino UNO Q and Edge Impulse

A new open-source project demonstrates how to combine computer vision and robotics on a single board. The robot, about the size of a desk, detects a human face through locally executed machine learning and turns toward it in real time, working at roughly 10–15 frames per second. Everything runs on the new Arduino UNO Q, without relying on the cloud.

Dual-processor architecture

The operation leverages the hybrid architecture of the UNO Q, which integrates two distinct units. The Qualcomm MPU microprocessor, running Linux, executes the AI model and the control logic written in Python. The STM32 MCU microcontroller, running Zephyr RTOS, drives the PWM signal of the servomotors with real-time precision.

The two processors communicate via Bridge RPC, a protocol based on MessagePack over an internal serial link, with a round-trip latency of about 8 milliseconds. This way, heavy inference stays separate from the real-time path, keeping motor control deterministic.

Vision, control, and web interface

The face-following robot built on the Arduino UNO Q.

A USB webcam captures video, while a lightweight face-detection model locates the face in the frame. A proportional controller then converts the horizontal position of the face into differential commands for the wheels. The project uses two ready-made App Lab “bricks”: one for camera-based object detection, the other for the web interface.

In particular, the browser-accessible dashboard lets you monitor detections and adjust steering parameters in real time, without recompiling the code. Every change to the sliders takes effect immediately via Socket.IO, making the tuning phase quick.

Technical details and motion safety

The robot uses differential drive with two continuous-rotation servos: a 1500-microsecond pulse corresponds to stop, while lower or higher values determine rotation in either direction. Additionally, the system limits Bridge calls to a maximum of 20 Hz, because sending commands too quickly would block the serial link.

The project therefore includes several protections: a “coasting” mechanism that maintains the last known position when the face disappears for a moment, a watchdog that stops the robot if detections are interrupted, and an emergency stop that ignores rate limiting to halt the motors immediately. Classified as an intermediate-level project, it is fully documented and released under an open-source license.

The post Face-Following Robot Built on Arduino UNO Q and Edge Impulse appeared first on Open Electronics.

AI System Drops a Dime on Noisy Neighbors

“There goes the neighborhood” isn’t a phrase to be thrown about lightly, but when they build a police station next door to your house, you know things are about to get noisy. Just how bad it’ll be is perhaps a bit subjective, with pleas for relief likely to fall on deaf ears unless you’ve got firm documentation like that provided by this automated noise detection system.

OK, let’s face it — even with objective proof there’s likely nothing that [Christopher Cooper] is going to do about the new crop of sirens going off in his neighborhood. Emergencies require a speedy response, after all, and sirens are perhaps just the price that we pay to live close to each other. That doesn’t mean there’s no reason to monitor the neighborhood noise, though, so [Christopher] got to work. The system uses an Arduino BLE Sense module to detect neighborhood noises and Edge Impulse to classify the sounds. An ESP32 does most of the heavy lifting, including running the UI on a nice little TFT touchscreen.

When a siren-like sound is detected, the sensor records the event and tries to classify the type of siren — fire, police, or ambulance. You can also manually classify sounds the system fails to understand, and export a summary of events to an SD card. If your neighborhood noise problems tend more to barking dogs or early-morning leaf blowers, no problem — you can easily train different models.

While we can’t say that this will help keep the peace in his neighborhood, we really like the way this one came out. We’ve seen the BLE Sense and Edge Impulse team up before, too, for everything from tuning a bike suspension to calming a nervous dog.