Anything can become a USB gamepad, even an old cigarette rolling device

Smoking is a bad habit and, if you manage to quit, it might also leave you with some useless stuff lying around – such as a cigarette rolling device. With an Arduino® board, a few buttons, and a joystick, you can turn anything into a USB gamepad or arcade controller. A self-taught electronics technician and maker, Shredermann proved that by repurposing an old cigarette roller as an enclosure for his controller.

This little contraption was originally meant for rolling cigarettes: a thing that people still do, usually to save money. The mechanism inside was broken, but Shredermann noticed that the outer enclosure was about the right size and shape for a small gamepad. In particular, he wanted a controller for retro arcade gaming. That only requires a single joystick and a few buttons, so it is ideal for the size.

That was easy to accomplish using an Arduino® Nano 33 BLE Sense Rev2 board. And in fact, the Bluetooth® LE connectivity wasn’t even necessary, because it connects through USB. So, you could do the same thing with a board that doesn’t have BLE! The only other components are a KY-023 analog joystick and some buttons. The board polls the joystick and buttons, then sends those input commands to the connected computer as a USB HID.

The only hard part was cutting holes in that cigarette roller enclosure and fitting the components. If you’re building your own controller, you’ll have to figure out how to do that bit.

This controller would work with any computer, but Shredermann paired it with an Arduino® UNO Q board!

Arduino, Nano, UNO, and the Arduino logo are trademarks or registered trademarks of Arduino S.r.l.

The post Anything can become a USB gamepad, even an old cigarette rolling device appeared first on Arduino Blog.

Build and manage IoT projects with AI using the Arduino Cloud MCP

Setting up a remote monitoring and control project means choosing variables linking dashboard widgets, and deciding how to keep track of your device. Expanding an existing project might mean making the same change across dozens of sensors. In either case, you have a goal in mind – and a series of steps to get there.

We’re opening a Public Preview of Arduino® Cloud MCP, a new way to build and manage your IoT projects with an AI agent. Describe what you want to achieve, and your agent can work with your Arduino Cloud account to configure projects, update dashboards, check devices, and retrieve sensor data – while you remain in control of the hardware and the code running on it. 

Connect Arduino Cloud to your favorite AI tool

MCP stands for Model Context Protocol, a standard that lets AI applications connect to external tools and information. Arduino Cloud MCP gives your agent tools to work with your Cloud account, so it can turn a request into the actions needed to carry it out.

It is a remote MCP server hosted by Arduino. You connect your AI tool and sign in with your Arduino account; Arduino takes care of running the server. You can use it with any AI tool that supports remote MCP connections and the required sign-in process, including Claude Code and Codex.

Start with your project idea

If you are new to Arduino Cloud, your AI agent can become your primary interface for setting up and managing the Cloud side of an IoT project. You can start with the outcome you want, ask the agent to explain its choices, and refine the configuration together.

For example:

I want to monitor temperature and humidity in my greenhouse and control a fan. Help me set up the Cloud project and a dashboard with readings, a fan switch, a target-temperature control, and a temperature chart.

Your agent can turn that description into a Thing – the Cloud configuration that groups your project’s variables – and create a dashboard with widgets linked to those variables. It can then return the dashboard link for you to review.

You can learn the Cloud concepts as you go. Ask how a sensor reading reaches your dashboard, how a fan control works, or what a dashboard widget shows, then ask the agent to make the relevant changes.

The MCP server prepares the Cloud configuration. You still register your hardware, wire your sensors, and prepare and upload the code that runs on your device through the appropriate Arduino tools. Devices already registered in Cloud can be linked to Things through MCP.

Give repetitive Cloud work to your agent

If you already know Arduino Cloud, MCP gives you a way to automate the manual work that grows with your projects. Describe a naming pattern, a group of settings, or a dashboard change, and let the agent apply it across the relevant resources.

Add and update dozens of variables

Imagine a Factory Sensors Thing that needs 40 temperature readings:

Add 40 read-only numeric variables named temperature01 through temperature40 to Factory Sensors. Show me the proposed types and update settings first, then apply the changes and summarize the result.

Later, you can ask the agent to change the update interval for those variables to 60 seconds. This is particularly useful when adding a group of sensors or bringing their settings into a consistent configuration.

The agent can handle larger requests in smaller batches. Your Cloud plan’s limits still apply, and you can ask for a summary of completed and remaining changes.

Build and reorganize large dashboards

The same approach works when your dashboard needs to grow with your project:

Add a Value widget for each of the 40 temperature variables to Factory Overview. Use consistent labels and arrange them in rows of four.

The agent can add widgets, link them to variables, and update their names and positions. Open the dashboard to review the result and ask for any adjustments. It is a useful workflow when creating a sensor overview or reorganizing an existing dashboard with many widgets.

You can also pair MCP with an agent’s browser tools so it can open the dashboard, see how it looks, and adjust the layout until it displays correctly; MCP on its own gives the agent access to the dashboard’s settings, but no view of the finished dashboard.

Ask questions about your device data

When something changes in your project, you can bring the question directly to your agent:

Analyze Greenhouse Monitor’s temperature and humidity over the last seven days. Summarize the trends and identify unusual periods. Explain any gaps in the readings.

The MCP server retrieves past readings, and your AI assistant interprets them. Follow up on an unusual period by asking for individual readings from a shorter window and comparing them with the surrounding data.

This is useful for reviewing how a greenhouse behaved during the week or investigating a sensor spike. The available history depends on how long your Cloud plan keeps your readings. For a brief event, ask for individual readings from a short time window, since averages can hide short spikes.

Check devices and set up notifications

For projects with several devices, or resources shared with a team, a conversation can also be a quick way to understand what needs attention:

In the Greenhouse Team Space, list offline devices and show the last reported readings from their Things.

You can then ask the agent to configure a notification:

Email me when the greenhouse device has been offline for more than five minutes.

MCP supports email and push notifications when devices connect or disconnect, or when supported variables change. Variable notifications currently support changes to on/off states and text values.

Specify the Space you want to work in when using shared resources. Your agent operates with your existing Cloud permissions in that Space, and notification recipients must be members of the shared Space.

For projects with controls, the agent can also change a fan switch or target temperature through Cloud. It should name the control and proposed setting and ask for your confirmation before sending the command. To respond immediately, the device must be connected and running code that handles that control.

A first step toward an agent-ready Arduino Cloud

Arduino Cloud MCP connects project intent to Cloud actions. A newcomer can describe a monitoring project and build its Cloud configuration through conversation. An experienced user can delegate a batch of variable updates, reorganize a dashboard, or investigate device data using the same interface.

That is the significance of this first step: AI agents can now participate directly in building and managing Arduino Cloud projects. It establishes a foundation for making more of the Cloud experience accessible to agents over time.

Available in Public Preview

The Public Preview of Arduino Cloud MCP is available in Arduino Cloud Spaces with a paid subscription. The assistant uses your existing permissions in the selected Space, and your Cloud plan’s feature entitlements continue to apply.

Public Preview is an early release. The experience, capabilities, and setup instructions may change as we learn from people trying it. Some MCP actions change Cloud resources, and setting a read-write variable can affect connected hardware. Your AI client’s approval behavior varies, so review its tool approval settings and the proposed actions before you connect controls to physical devices.

Get started

Connect arduino-cloud in your preferred AI tool, and sign in with your Arduino account. Start with a simple request, including your Space’s name:

What can you do with my Arduino Cloud account? In [your Space name], list my Things and tell me which devices are offline.

Then try a task from your own project: configure a dashboard, update a group of variables, or explore a week of sensor readings.

Tried Arduino Cloud MCP? Share your experience on the Arduino Forum to help us improve the Public Preview.

Explore the dedicated Arduino Docs page for full documentation.

Arduino is a trademark or registered trademark of Arduino S.r.l.

The post Build and manage IoT projects with AI using the Arduino Cloud MCP appeared first on Arduino Blog.

Package Inspection with Anomaly Detection and a VLM on the Arduino UNO Q

Inspecting a parcel before shipping means looking at it, recognising a defect and deciding what to do about it. SolomonGithu’s project does all of this on the Arduino UNO Q: a visual anomaly detection model finds dents, tears and liquid leaks, then SmolVLM-500M describes the defect in natural language. Both models run locally on the board, with no cloud. Package inspection with Arduino thus becomes a self-contained block, ready to be mounted on a packaging line.

The logic is a cascade. The first stage is a detector trained with Edge Impulse Studio and exported as an .eim binary. The second stage is the VLM, which only comes into play when needed. This split reduces false alarms: the lightweight model does the heavy lifting in 31 ms, and the heavy model only speaks up if there really is something to report.

The Edge Impulse detector: 31 ms, 3.3 MB of RAM and 372 KB of flash

Anomaly detection model trained with Edge Impulse Studio

The anomaly detection model is the part that sets the performance figures. On the UNO Q it has an on-device inference time of 31 ms, a RAM peak of 3.3 MB and takes up 372 KB of flash. These are numbers that leave room for the rest of the application, because the board still has to handle the webcam, the web interface and loading the VLM. The model is exported from Edge Impulse Studio as an .eim binary and copied into the /home/arduino/.arduino-bricks/ei-models/ directory of the UNO Q, along with a model.yaml file that describes its configuration.

The reference Edge Impulse project has ID 1030618. Anyone who wants to rebuild it can start from there and replace the dataset with their own images of parcels, then re-export the binary. The vlm_anomaly_threshold threshold decides when the second stage steps in: below that threshold the image is considered clean and the VLM is not loaded.

SmolVLM-500M and the application on App Lab

Deploying the models on the UNO Q

When the anomaly exceeds the threshold, the system loads SmolVLM-500M and passes it the image together with a text prompt defined by vlm_prompt. The processing takes about 29 seconds, during which the UNO Q’s CPU peaks at 99% utilisation. The natural-language answer can be useful to a human inspector or to an AI agent that adjusts operating parameters, for example the gripping force of robots if the parcel is dented.

The application, backend and frontend, is cloned from a GitHub repository and copied into the /home/arduino/ArduinoApps/ directory of the UNO Q. It is started from App Lab with the Run button and opens in the browser at the board’s local IP address on port 7000. The image is chosen from the sample ones in the img folder or uploaded as a JPG or PNG file up to a maximum of 500 KB. Pressing Run Detection starts the anomaly model first and then, if needed, the VLM.

  • Arduino UNO Q as the only computing board
  • Logitech HD Pro webcam connected via USB
  • USB hub powered from the mains
  • Anomaly model exported from Edge Impulse as .eim
  • SmolVLM-500M loaded on-device

To rebuild the project you need an Arduino UNO Q, a USB webcam and a USB hub powered from the mains: the webcam alone can draw more current than the board makes available on a single port. For the computing side, the board from the catalogue with the STM32U585 microcontroller and the integrated processor is the one the project is built on, so no other hardware is needed. The full description of the flow and the files can be found on the SolomonGithu project page on Hackster.io.

The SmolVLM-256M model is a lighter alternative, but according to the author’s tests it shows limits in captioning: it hallucinates text, misidentifies objects and is less reliable at following instructions. The 256M has only 18% of its training data dedicated to image captioning, so the choice of the 500M is not random. Those in a hurry can still try it, accepting less precise descriptions.

Source: https://www.hackster.io/sologithu/genai-on-arduino-uno-q-spots-and-describes-anomalies-5d1a49

The post Package Inspection with Anomaly Detection and a VLM on the Arduino UNO Q appeared first on Open Electronics.

Help protect your Arduino® UNO™ Q board with this new enclosure

When you are building projects with the UNO Q, you likely want a setup that looks as professional as it performs. At the same time, you shouldn’t have to sacrifice accessibility or take your board apart just to test a pin, stack a shield, or plug in a cable. That’s why we developed the UNO Q Enclosure! 

Designed as a low-friction addition to the growing ecosystem around UNO Q, this enclosure pairs a clear acrylic shell with a shock-absorbing, vibrant silicone bumper. It’s built to be grippy, sturdy and ready for the classroom, the lab or your workbench, and it is created to turn your UNO Q into a neat little workstation.

True to the modular spirit of Arduino, the enclosure is built to keep your workflow entirely frictionless:

  • Keep prototyping: An open-top design lets you stack shields and access JSPI/JCTL headers without removing the case. 
  • Stay docked: Bottom cutouts accommodate JMEDIA and JMISC connectors for easy docking onto carrier boards. 
  • Keep connected: Precision side openings keep your USB and Qwiic ports fully accessible. 

Pair it with the Arduino® USB Camera, hook up some Arduino® Modulino nodes, or build out a complete desktop workstation. The new enclosure gives your UNO Q a clean, finished look while keeping your components and onboard LEDs on full display. 

Head over to the Arduino Store to check out the new enclosure and give your UNO Q the protection it deserves! 

Arduino, UNO, and Modulino are trademarks or registered trademarks of Arduino S.r.l.

The post Help protect your Arduino® UNO™ Q board with this new enclosure appeared first on Arduino Blog.

Arduino Blog 30 Nov 13:59
q  uno  

Build an Indoor Delivery Robot Using Raspberry Pi 5, Arduino and ROS 2

Build an Indoor Delivery Robot Using Raspberry Pi 5, Arduino and ROS 2

In a college or an office, someone is always carrying a document or a small parcel from one room to another. It is a short trip, but it happens many times a day. So, could a small robot make those trips instead, while the person who needs the item asks for it from their desk? That is the job FIORA is being built for.

Alen Thomas K

Arduino Launches a Badge for Kits That Ship With Original Boards Instead of Clones

Arduino Launches a Badge for Kits That Ship With Original Boards Instead of Clones

Arduino has launched "Powered by Arduino," a certification program for kits featuring original Arduino boards. Approved kits will carry an official badge, helping buyers distinguish genuine products…

Aswinth Raj
Circuit Digest 27 Nov 23:57

Build an Automatic Chessboard Using Arduino Uno and Stockfish

Build an Automatic Chessboard Using Arduino Uno and Stockfish

Arduino Automatic Chessboard started with the moving chess pieces from Harry Potter and one question: could a real chessboard understand what is happening on it, think about the next move, and push a piece on its own? A magnet under the board can drag a piece across the squares, so the job comes down to moving that magnet accurately.

Mishal Shanavas

Here’s what’s new in Arduino® Cloud: custom palettes and expanded RBAC

We are rolling out powerful new updates to Arduino Cloud, designed to give organizations deeper brand customization and finer-grained access control. Here is everything that shipped!

Custom palette for white labeled spaces

For organizations on Cloud Plans with whitelabel capabilities, aligning the platform’s look and feel with your corporate identity just got easier. Space Admins can now configure a Custom Palette inside the Custom Branding section of Space Settings.

  • Seed color generation: Pick a single seed color via hex input or color picker to drive the platform’s interactive color palette (primary buttons, links, selection highlights).
  • Live side-by-side preview: Preview your changes in real-time across Light and Dark Themes before committing with the Apply button.
  • Accessibility toggle: An “Automatically correct color for accessibility” toggle is on by default to guarantee contrast standards. Turning it off lets brand teams apply exact colors without correction at an opt-in contrast trade-off.
  • Scope and reset: Applies specifically to web app and IoT Remote mobile app UI interactive elements. You can instantly revert to default styling using the “DEFAULT” label next to the swatch.

Expanded RBAC: new Service and Viewer roles

A clearer view of who can do what in Arduino Cloud.

We have restructured and expanded our Role-Based Access Control (RBAC) to provide more precise member management across shared spaces. These roles are enforced uniformly across the Arduino Cloud web app, mobile app, CLI, and API.

  • Business Spaces (Team and Enterprise Plans): Now support Admin, Editor, Service (operational access with limited editing permissions for specific device, dashboard, trigger, template, sketch, and recovery operations), and Viewer (read-only access with non-destructive interactions like widget usage and data downloads) roles.
  • How to review roles: Open Arduino Cloud, select your shared space, navigate to Space Settings, and select Roles & Permissions.

Revamped Arduino Cloud documentation

And there’s more: the Arduino Cloud documentation has been completely revamped to help you get the most out of these features. With clearer navigation, a more intuitive content structure, shorter and more focused pages, and fully updated information, finding the guidance you need is now easier than ever. We’ve also added a new “What’s New” section, so you can quickly discover the latest additions and follow the evolution of Arduino Cloud over time.

What will you try first?

If you are ready to explore the latest updates, all you have to do is:

  1. Log into Arduino Cloud.
  2. Head to the Space Settings of the shared Business or Education Space you admin.
  3. Check out Custom Palettes, or review your shared space’s Roles & Permissions.
  4. If you need some help, open the Arduino Cloud documentation to learn more about the new features.

Arduino and the Arduino logo are trademarks or registered trademarks of Arduino S.r.l.

The post Here’s what’s new in Arduino® Cloud: custom palettes and expanded RBAC appeared first on Arduino Blog.

Arduino Blog 26 Nov 09:00
arduino  cloud  

Make Your Move, Builders: Arduino Black Friday Deals End Soon

Every maker has one. The project they’ve been meaning to start, the hardware upgrade they’ve had an eye on, or the big idea that somehow gets bigger every time they think about it. Sound familiar?

Well, here’s a little motivation to get moving. Arduino’s Black Friday sale is entering its final days, with savings of up to 50% off selected boards, kits, and bundles. Whether you’re ready to tackle something new or expand your toolkit, or find the perfect gift for a fellow maker, there’s still time to take advantage of the offers.

But the clock is ticking, so let’s make these final days count.

That project you’ve been dreaming of is calling

Maybe you’ve been itching to experiment with wireless connectivity or finally tackle the prototype you’ve been sketching. Whatever is on your project wish list, there’s an Arduino board ready to help you bring it to life.

For hands-on experimentation, the Arduino® UNO R3 and Arduino® UNO R4 Minima are a great place to start. Want to give your project wireless connectivity? The Arduino® UNO R4 WiFi and Arduino® Nano ESP32 open up exciting possibilities for connected devices and IoT applications.

Real-time energy monitoring

And if your ambition calls for more processing power or room to connect additional components, the Arduino® Mega 2560 and Arduino® GIGA R1 WiFi are worth a closer look. These are just a few of the boards featured in this year’s Black Friday offers.
Find the perfect board for your next build.

Ready to take things further?

If your idea of a good weekend includes experimenting with new technology and seeing how far you can push it, the Arduino® UNO Q bundles might be calling your name. These bundles pair the Arduino UNO Q with project components to give makers and developers a head start on their next creative challenge. And with UNO Q’s combination of Linux computing and real-time microcontroller control, there’s plenty of room to explore more sophisticated applications.

Put your next big idea in motion.

Still shopping for a maker?

Whether you’re shopping for a beginner, tinkerer, professional developer, or an educator inspiring the next generation, Arduino has plenty of gift-worthy possibilities.

Need a little help choosing? Our Arduino Holiday Gift Guide is packed with ideas to make your holiday shopping a whole lot easier.

Find the gift they’ll love.

The countdown is on. Don’t miss out

Great ideas will keep coming, but Black Friday deals won’t be around much longer. Whether you’re gearing up for your next project or checking off the last few names on your holiday gift list, now’s the time to make your move.

With up to 50% savings on Arduino products, there’s still an opportunity to make something exciting happen. But don’t wait too long. The sale is almost over, and we’d hate for you to miss out.

Catch the deals before they’re gone.

The post Make Your Move, Builders: Arduino Black Friday Deals End Soon appeared first on Arduino Blog.

Arduino Blog 26 Nov 07:51

Engineering Scout automates reverse-engineering tasks

As part of the Arduino UNO Q Dream Lab Challenge hosted in collaboration with DigiKey, makers and innovators were challenged to push the boundaries of what is possible with the dual-brain Arduino® UNO Q board and Arduino® App Lab. From an incredible pool of creative submissions showcasing the board’s unique dual-brain architecture, this entry emerged as one of the top winning designs. 

In engineering, a challenge can arise from a need to work with what already exists in the real world – a place that is far messier than the digital world, where all measurements match nominal dimensions. Identifying an unfamiliar screw may require tools such as an optical comparator, calipers, or a thread-pitch gauge. Matthew Garza built Engineering Scout to explore automating portions of that reverse-engineering workflow.

Engineering Scout is a small device based on UNO Q. Its job is to capture images of a physical object, derive key measurements from those images, and provide a classification based on both the empirical data and inferred information.

The example shown in the demonstration is the identification of an unknown machine screw. UNO Q captures several images, with the user repositioning the screw between captures, using a USB webcam. The screw rests on a piece of paper with a printed square of a known size for reference. Pixel-based estimates from those photos constitute the “derive” stage. From there, it makes inferences based on known information. For example, the threads are more likely to be a common size, like 1/4-20 or M6, than something bespoke.

The demonstration also explores additional potential uses. For example, the project contemplates using a similar process to trace an object’s outline and generate a DXF drawing for potential use in CAD workflows.

The prototype’s results depend on image quality and may vary based on lighting, camera position, object placement, reference calibration, and other conditions. Garza plans to improve Engineering Scout by adding lighting controls and additional sensors intended to improve the consistency of the derive stage.

Arduino, UNO, and the Arduino logo are trademarks or registered trademarks of Arduino S.r.l.

The post Engineering Scout automates reverse-engineering tasks appeared first on Arduino Blog.