Schlagwort: #technology

  • Troubleshooting Raspberry Pi in The MagPi magazine #139

    Troubleshooting Raspberry Pi in The MagPi magazine #139

    Reading Time: 3 minutes

    Solve new problems with our Raspberry Pi Troubleshooting Guide 2024

    Raspberry Pi Troubleshooting Guide 2024

    Raspberry Pi star PJ Evans wants to sit you down, hand you a tissue and ask how he can help. This month’s cover feature is jam-packed with advice. From power supply issues to video errors, audio problems, networking, and more. 

    Take part in 2024's #MonthOfMaking event and build something remarkable

    #MonthOfMaking 2024

    Every March we enter #MonthOfMaking, where we all come together to build incredible things and share them with one another. This month, we’ve scoured for the most extravagant and elaborate projects out there – genuine Rube Goldberg devices that utilize Raspberry Pi to produce unique DIY projects!

    Add an M.2 drive to Raspberry Pi 5 with NVMe Base

    NVME SSD Drive options

    The PCIe port on Raspberry Pi 5 is perfect for adding super-fast, and super-large, SSD drives. It’s a huge upgrade from the microSD card and we’ve got the first of two pieces of kit in for testing: Argon ONE V3 M.2 case and NVME Base. With two very different approaches to providing SSD storage, we put each device to a full test.

    This interactive climbing wall uses Raspberry Pi to light up the way

    The best projects! Like PeggyBoard

    Every month we strive to cover the very best of Raspberry Pi’s amazing community. One of our standout projects this month is Pegor Karolglanian’s PeggyBoard. This incredible climbing wall features LEDs to provide interactive routes and help train climbers. 

    Yet Another Flux Capacitor uses a digital screen to replicate the prop from Back to the Future

    YAFC Flux Capacitor

    Great Scott! It’s “Yet Another Flux Capacitor” built with the power of Raspberry Pi. Ambrogio Galbusera’s Flux Capacitor recreates the energy flow using a video screen, rather than the LED strips found in other projects. 

    One maker built a fully-working giant SNES controller with Raspberry Pi and custom PCB boards

    SNES XL

    Sometimes the very best projects are a little daft! Like this gigantic (but fully working) SNES controller. Inside is a Raspberry Pi so you can play games, and each button has its own custom-built PCB board.

    Turn an old Sonos speaker into a super-smart SOMA FM radio player

    Upcycle a Sonos

    Raspberry Pi is ideal for upcycling kit (rescuing old equipment that is no longer supported). PJ has taken an old Sonos speaker and used Raspberry Pi to turn it into a SOMA FM radio player. He walks you step-by-step through the process.

    Grab your copy of The MagPi magazine today! Straight from our Raspberry Pi Press Store.

  • New Portenta Machine Control library boosts industrial project performance

    New Portenta Machine Control library boosts industrial project performance

    Reading Time: 2 minutes

    At Arduino, we’re committed to providing developers with tools that make the coding process smooth and efficient. That’s why we’re thrilled to announce the new Arduino_PortentaMachineControl library, an upgraded version designed to replace the deprecated Arduino_MachineControl library. It comes with a number of improvements, from a revamped structure to enhanced documentation, making it easier than ever to manage the features of the Arduino Portenta Machine Control.

    Don’t know the Arduino Portenta Machine Control? It’s a versatile industrial control unit offering soft-PLC control, diverse I/O options, and flexible network connectivity. For more information about this product, visit the dedicated page.

    What you’ll find in the new library

    • Enhanced library structure: We restructured the library to improve its organization, making it more intuitive. This ensures that you can quickly locate and utilize the functions you need for your projects. 
    • Easier-to-understand names: We standardized function and class names for better consistency and readability. This change ensures a clearer and more understandable codebase. 
    • Optimized efficiency: We eliminated unnecessary functions, decluttering the library and focusing on the essential features needed for effective machine control. 
    • Refreshed and clearer examples: You’ll find reworked examples to showcase the library’s capabilities, providing a better demonstration of the board’s features and of their usage.

    User manual and migration tutorial

    But that’s not all! Alongside the library, we’re excited to release the official user manual for the Arduino Portenta Machine Control: an essential and in-depth guide to all the board’s features, readily available to all users.

    In addition – knowing that transitioning from the old Arduino_MachineControl library might pose some challenges – we’ve prepared a detailed migration tutorial to guide you seamlessly through the process. Make the switch confidently and take advantage of the improved functionality offered by the new library!

    And if that’s not enough, we’ve also included additional technical documentation with the library, ensuring that you have all the information you need to benefit from its new and improved capabilities.

    Ready to elevate your industrial product?

    Download the Arduino_PortentaMachineControl library through the Arduino IDE library manager or directly from the GitHub repository.

    Don’t forget to explore the user manual and the migration tutorial to make the most of the new features.

    We’re excited to see how this library empowers your projects and takes your Arduino development to new heights. Happy coding!

    The post New Portenta Machine Control library boosts industrial project performance appeared first on Arduino Blog.

    Website: LINK

  • Win! One of five Argon ONE V3 cases!

    Win! One of five Argon ONE V3 cases!

    Reading Time: < 1 minute

    Subscribe

  • The Hardware-Oriented Microprocessor Simulator illustrates the inner workings of microcontrollers

    The Hardware-Oriented Microprocessor Simulator illustrates the inner workings of microcontrollers

    Reading Time: 2 minutes

    Do you really understand what is happening within the mysterious black packaging of a microcontroller or microprocessor? Most people don’t — we just learn how to use them. That’s because they’re wildly complex circuits combining many different subsystems that are all abstracted away from the view of the user. To help students better understand these integrated circuits (ICs), Dr. Panayotis Papazoglou designed the Hardware-Oriented Microprocessor Simulator (HOMS)

    Dr. Papazoglou is an associate professor at the National and Kapodistrian University of Athens (NKUA), so he has a stake in creating an educational tool like this one. The goal of HOMS is to provide a visual and tactile demonstration of what happens inside an eight-bit microprocessor. For example, it will show a value moving from a counter to a memory register. That’s something that is difficult to visualize when using a microprocessor, even if you’re working close to “the metal” in assembly. 

    HOMS is a modular system, so students can experiment with blocks that represent different subsystem circuits within a microprocessor. Each module has an Arduino UNO Rev3 board to control its own functions, with all of the modules working under the coordination of a central Arduino Mega 2560 controller. One module may, for instance, represent memory and will show the data “written” to it on a display. Another module may have buttons and switches to allow user input.

    There are software simulation tools that seek to illustrate computing fundamentals in a similar way, but many people learn better through physical interaction. For those people, HOMS could be very helpful.

    [youtube https://www.youtube.com/watch?v=PM6FMw1mrSM?feature=oembed&w=500&h=281]

    The post The Hardware-Oriented Microprocessor Simulator illustrates the inner workings of microcontrollers appeared first on Arduino Blog.

    Website: LINK

  • Not bigger, just better: Introducing the Nano 33 BLE Rev2

    Not bigger, just better: Introducing the Nano 33 BLE Rev2

    Reading Time: 2 minutes

    The Nano 33 BLE is one of our most popular boards, and for good reason. It’s small and 3.3-V-compatible; it comes with an embedded nine-axis IMU featuring accelerometer, gyroscope and magnetometer; it has a powerful processor; it offers a powerful Bluetooth® Low Energy module with an internal antenna that can be used to transmit data between different devices using the ArduinoBLE library; and it can be programmed with MicroPython. 

    It’s basically everything you need for projects that span from wearable to advanced robotics. 

    So, why work on making it better?

    Because we listen to our community, that’s why. And based on your requests, we’ve come up with improvements to enhance your experience with a revised iteration of the Arduino Nano 33 BLE with a newly integrated IMU to expand experimentation possibilities, and a streamlined PCB design to grant easy access to essential features.

    And here is exactly what you can find in the new Rev2, compared to its predecessor:

    • It has a combination of two IMUs (BMI270 six-axis IMU plus BMM150 three-axis IMU) instead of a single, nine-axis one.
    • While retaining the compact form factor, the new Nano 33 BLE Rev2 incorporates new pads and test points for USB, SWDIO, and SWCLK, making it easier to access these crucial points on the board.
    • We introduced a new VUSB soldering jumper on the top side, allowing you to conveniently enable the VUSB pin while using the castellated pins.
    • In addition, the Nano 33 BLE Rev2 transitions the power supply component to the MP2322 to guarantee increased performance. 

    These updates collectively contribute to a more streamlined and robust device, ready for you to test and build just about any IoT project – and more. For example, the Nano 33 BLE Rev2 is still ideal to control RGB LEDs over Bluetooth®, using an app on your phone, and supports OpenMV’s fork of MicroPython

    If you already know the Nano 33 BLE from its first revision, you can easily migrate your sketches to use them with the new and improved version: if you need help, just follow our dedicated tutorial.

    After the launch of the Nano ESP32 earlier this year, it’s the perfect addition to the “tiny footprint, mighty features” family that has proven time and time again that we can ramp up features and performance while scaling down size. Don’t believe us? Check out the classic Arduino Nano or upgrade to the Nano 33 BLE Sense Rev2 if you want to include a complete set of sensors, too. 

    For full tech specs, tutorials and inspiration on the Nano 33 BLE Rev2, head to the dedicated Arduino Docs page. Ready to get your own? The Nano 33 BLE with headers and without headers are now available on our Store.

    The post Not bigger, just better: Introducing the Nano 33 BLE Rev2 appeared first on Arduino Blog.

    Website: LINK

  • UNO R4 Stars: Meet Clatters Machines

    UNO R4 Stars: Meet Clatters Machines

    Reading Time: 2 minutes

    The launch of the Arduino UNO R4 marks a huge leap forward for our community. For us, it’s also the chance to celebrate the people who bring our ecosystem to life with their bright ideas, radiant enthusiasm, and shining insight.

    That is how the UNO R4 Stars blog post series began: to highlight makers who have not only created amazing projects with Arduino, but who are giving back to the community by sharing as they go and helping others make anything they wish.

    We invite you to discover each profile, hoping you might find a North Star to navigate around an expanding galaxy or venture into completely new universes.

    Clatters Machines creates “noisy machines for music lovers” – handmade electronic musical instruments that turn technology into sound waves. The company was co-founded by Carolina Guidi and Michelangelo Nasso, brought together by a unique passion for sound and for making what could be a mess of cables, wires, and knobs look really cool. 

    Guidi, in particular, is in charge of visual branding and product design – which makes for great eye candy on their Instagram wall! – while Nasso’s favorite part of the job is prototyping and testing the modules, fueled by his passion for hardware and software engineering.

    Arduino has always played a crucial role in the duo’s explorations, and later, in their work. Guidi discovered the brand during a university workshop: she says she was surprised to find out that putting together a few components on a breadboard could be so easy and accessible – “all you need to worry about is your own creativity.” 

    Nasso got his first taste of Arduino a bit earlier, quickly realizing how it made a lot of his ideas closer to reality than he thought, even before he acquired the engineering skills he would develop during university. 

    It is not by chance that their very first product, the Pocket Garden Listener, was “all designed, prototyped and tested with an Arduino UNO,” and that they have fond memories of the experience.

    The embodiment of how creative flair and engineering mastery can come together beautifully, Clatters Machines takes pride in inspiring “people who play and love music, with products that start right here, from an original idea:” isn’t that the essence of making?

    [youtube https://www.youtube.com/watch?v=Cnk_oSLKq8Y?feature=oembed&w=500&h=281]

    We asked Guidi and Nasso, “What’s your favorite part of the UNO R4?”

    • Its thrilling potential, which opens up to infinite new possibilities – just like the very first Arduino UNO did for the many makers who started with it! 
    • The huge leap forward it represents for anyone working in prototyping, thanks to the upgraded tech specs.
    • How it “ramps up everything that made Arduino the brand it is today.’

    Ready to play with Clatters Machines? Head to their website to get yourself a cool sound machine. 

    The post UNO R4 Stars: Meet Clatters Machines appeared first on Arduino Blog.

    Website: LINK

  • 8BitDo Retro Mechanical Keyboard

    8BitDo Retro Mechanical Keyboard

    Reading Time: 3 minutes

    8BitDos latest offering (£79/$100) bucks this trend. A pair of beautiful wireless mechanical keyboards with colour schemes based on the original NES and Famicom, the most noticeable thing about them is an included pair of gigantic ‘super buttons’, arcade-esque add-ons that plug into the keyboard and can be programmed to run certain keys or macros.

    Playing with power

    If you’ve used any 8BitDo input device before, you’ll know that you can press a specific macro button to assign a keypress manually to these buttons, along with very conspicuous A and B buttons next to the space bar. In our mind, the intended use of this is either shortcuts on the desktop, or to assign custom keys for a more accurate experience on some retro games via RetroPie. Unlike other controllers and keyboards, you can’t set up these extra super buttons inside RetroPie but it will recognise the inputs you’ve set to it from using the macro button, or via a custom ‘profile’ that’s set up on another machine.

    The software is fairly easy to use although it does allow for a lot of customisation

    The customisation software, called 8BitDo Ultimate Software V2 is very powerful, allowing you to not only assign keys and/or macros to the super buttons, but also completely remap the keyboard as well – including adding special navigation or media control functions, which is very fancy. Creating macros is very deep as well, allowing you to pull off long combos with custom delay between button presses too. It’s an astounding amount of customisation, although unfortunately the software is only available on Windows PCs right now. Still, you can turn the customisation on and off with a simple press of the keyboards profile button, so once you have set it up on a PC you don’t need to remain connected to it.

    Hook it up

    The connection options are great – as well as a classic wired connection via the USB-C charging port, you can connect via Bluetooth or a 2.4GHz RF stick stored away on the underside. We found initially connecting the keyboard via Bluetooth had some issues, but once connected it worked just fine. The 2.4GHz stick worked right away and is currently out preferred way to use it. There’s a satisfying clunky switch that goes between the different radio types which perfectly complements the comfy and clicky keys on the keyboard. We had no lag on any games we played on RetroPie, and the super buttons were very fun to smash for that.

    The super buttons connect via a 3.5mm jack just like peripherals on accessible game controllers, and are very satisfying to use

    The switches and keys are standard PCB/PBT types so you can swap them out if you have preferred keys or want a quieter type (we have been banned from using them at Pi Towers due to the noise, oops).

    There is currently only a US layout, and despite the Japanese symbols on the Famicom version, it’s missing one or two keys to be a full Japanese keyboard. It is just an aesthetic choice though, and the design of the keys and labelling elsewhere is authentic and very pretty.

    Verdict

    9/10

    A very good retro keyboard for retro gaming, although you can’t unlock its full features with just a Raspberry Pi.

  • Building your own affordable SCARA plotter with Arduino

    Building your own affordable SCARA plotter with Arduino

    Reading Time: 2 minutes

    Robots come in all shapes and sizes, but one of the most popular styles for industrial applications is the SCARA (Selective Compliance Assembly Robot Arm). These have multiple degrees of freedom, each of which rotates around the vertical Z axis. But they’re otherwise constrained, which can have advantages for certain applications. For example, they tend to have relatively high payload capacities. If you’re on a budget but want to dip your toes in, tuenhidiy’s SCARA plotter is a great way to start.

    This is a follow-up to tuenhidiy’s previous SCARA design from a couple of years ago. The new version is more robust and includes a homing feature, which is important for repeatability. This is set up as a plotter and the firmware reflects that, but it would be possible to adapt the mechanical design for other purposes. 

    To keep costs down, most of the structure is PVC pipe. Stepper motors provide actuation via GT2 timing belts and pulleys. An Arduino Mega 2560 board controls those steppers through a RAMPS 1.4 board with A4988 stepper drivers. An interface module with a 2004 LCD, rotary encoder, buzzer, and button lets the user start jobs.

    In this case, those jobs are G-code files containing the movement commands to reproduce the drawings. That works because the Arduino runs Marlin firmware (popular in the 3D printing community). The use of Marlin made homing easy and it accepts g-code that users can create with most of the standard software tools. 

    [youtube https://www.youtube.com/watch?v=5AB-XvNw8qY?start=2&feature=oembed&w=500&h=281]

    The post Building your own affordable SCARA plotter with Arduino appeared first on Arduino Blog.

    Website: LINK

  • These custom Chucks are smokin’ hot kicks

    These custom Chucks are smokin’ hot kicks

    Reading Time: 2 minutes

    Once you get bored with the shoes on the shelves at Payless, you can dive into the fascinating world of custom sneakers. Converse Chuck Taylors are probably the most popular canvas for shoe customizers, as they offer plenty of room for paint and jewel bedazzling. But creative technologist Tigris Li took it to a whole other level with her Chuck 70s Smoke Shoes that blow clouds as the wearer walks.

    Each shoe has an apparatus that looks like it was cobbled together by a mad scientist trying invent their way into dunking. When the wearer puts pressure down on the sole, that apparatus will puff out a cloud of smoke. Those soles are actually custom, too. Li 3D-printed them in TPU to give the shoes a cool, angular look. They also contain the force sensors that trigger the smoke production.

    An Arduino Nano ESP32 board in each shoe monitors the force sensor in the sole. When the signal surpasses a set threshold, the Arduino activates a relay that allows power to flow through a heating coil. That coil sits in smoke machine fluid that comes from a tiny flask attached to the shoe. With power flowing, the coil burns the fluid and that expands to create the smoke.

    https://platform.twitter.com/widgets.js

    We can only assume that we’ll see Jay-Z wearing these at his next appearance at the Grammy Awards.

    The post These custom Chucks are smokin’ hot kicks appeared first on Arduino Blog.

    Website: LINK

  • The ultimate lighting system for model railroaders

    The ultimate lighting system for model railroaders

    Reading Time: 2 minutes

    Go to any model railroading convention and you’ll see that most layouts have far more work put into the terrain and buildings than into the trains themselves. The emphasis is usually on realism, so enthusiasts spend uncountable hours constructing and weathering their buildings. But lighting those buildings can be difficult, leading many people choose simple static lighting. This project by Olivier Wagener makes it relatively easy to upgrade that lighting to something much more sophisticated.

    Wagener started this project to help his father improve the lighting of a train station building for his model railroad. The result is really impressive, because every room in the building has two of its own LEDs: one a warm temperature and one a cool temperature. This also supports RGB LEDs. Using a smartphone, the user can set the brightness, color, and temperature of each room individually. They can also group those into zones for quick control. Once setup, the user has complete control over the realistic lighting and that adds a whole new dimension to model railroading.

    This is possible thanks to an Arduino MKR 1010 WiFi board that communicates with Wagener’s custom app over the local network. This can handle up to 976 single-color LEDs (warm or cool), 305 RGB LEDs, or some combination of the two. To give the Arduino full PWM (pulse-width modulation) control over that many LEDs, Wagener chose PCA9685 PWM module boards. Each one has 16 channels, so a full set of 976 single-color LEDs will require 61 boards. 305 RGB LEDs will also require 61 boards, because each of those LEDs takes up three channels.

    [youtube https://www.youtube.com/watch?v=cVVxhGMEgmw?feature=oembed&w=500&h=281]

    If you want to use Wagener’s project in your own buildings, all of the code and information is available on his Gitlab page

    The post The ultimate lighting system for model railroaders appeared first on Arduino Blog.

    Website: LINK

  • Adam Cohen-Rose interview

    Adam Cohen-Rose interview

    Reading Time: 3 minutes

    What is your history with making?

    I’ve always enjoyed building things – I had a big chest of LEGO as a kid, and so did my wife, and now we’ve only expanded it as our children got into model building too!

    I’ve been going to BarCamps and hackathons since 2007 and have loved the opportunity to work with other people to put something together in a short space of time. I was even featured on BBC Click as an ‘Inventor’ back in 2009 for building a LEGO Dalek controlled from my phone.

    The maze game on the Astro Pi – it’s a bit small, but so is the screen it’s displayed on.

    When did you learn about Raspberry Pi?

    Pretty early on. My then 12-year-old (now 20!) was one of the judges at the Code Club Pi-hack back in December 2012.

    I’ve three active Raspberry Pi [boards] in the house, plus about seven or eight others, connected or embedded in various projects.

    This displays temperature and humidity, so during the demo people can figure out how the Sense HAT works.

    How did you start with Code Club?

    I started running a programming club in my child’s primary school back in February 2012 – just before Code Club was founded. I approached the head teacher to offer a free lunchtime club for year 4s and he jumped at the idea!

    Once the Code Club Scratch projects came out, I switched to using them pretty quickly as they were great fun and the children really enjoyed making their own games.

    We’ve now had Code Clubs at Fleetville Junior School for nearly 12 years. I’m still running the year 6 club, even though neither of my kids go there any more! And we also run lunchtime clubs for years 4 and 5 – using Code Club material as well as Minecraft Education, micro:bits and Machine Learning for Kids.

    I’ve also started up Code Clubs at work: Tesco Technology supports two clubs – one lunchtime club by our Welwyn office, and one after-school club by our London office.

    What are some of your favourite Astro Pi moments?

    Getting the kids to guess what the sensors are on my 3D-printed Astro Pi mockup – I run a small program that displays a maze for the gyroscope and accelerometer, and a bar graph for the humidity and temperature sensors. The kids then have to try different inputs to figure out what they are responding to. See the code and some pictures here.

    Seeing the actual Astro Pi hardware at Raspberry Pi Big Birthday Bash events and at Richard Hayler’s talk at EMF Camp – and then seeing videos of their twins in the space station.

  • SPIN is a beautiful and imaginative AI synthesizer

    SPIN is a beautiful and imaginative AI synthesizer

    Reading Time: 2 minutes

    If you’re heard the pop music emanating from any recent reality TV show, you won’t be surprised to learn that AI is perfectly capable of generating tunes on demand. It won’t replace true artistry any time soon, but AI music fits all of the technical criteria. But typing a prompt is boring, which is why Arvind Sanjeev constructed this gorgeous and imaginative AI synthesizer called SPIN.

    SPIN is beautiful and looks like a cross between a turntable and a drum machine. Those visual cues hint at its function. The user can press buttons on the right-side pad to define musical characteristics, which then form a prompt for a language model called MusicGen. That synthesizes music according to the selected characteristics, like “happy” and “lo-fi.” The music then starts playing and the user can control its speed and direction using the record on the turntable — even scratching like a DJ if they want.

    A Raspberry Pi 4 Model B runs MusicGen, but it receives inputs through an Arduino Mega 2560 connected to the buttons. There are also dials to set song duration and BPM (beats per minute), as well as control knobs.

    The turntable is a Numark PT-01, but the vinyl is a special dummy record that only contains a time code track. The sound from that then feeds through the audio driver back to the Raspberry Pi, where it is decoded to control the playback of the synthesized music. 

    SPIN is truly stunning to look at and its functionality is quite interesting, but Sanjeev’s real motivation was to raise awareness about the ethics of AI-generated art and the original human-made art it is trained on. 

    The post SPIN is a beautiful and imaginative AI synthesizer appeared first on Arduino Blog.

    Website: LINK

  • Upgrade your shop with voice-controlled smart LED lighting

    Upgrade your shop with voice-controlled smart LED lighting

    Reading Time: 2 minutes

    Congratulations! You finally have a garage to call your own and you’re ready to turn it into the workshop of your dreams. But before you go on a shopping spree in Home Depot’s tools section, you may want to consider upgrading from that single dim lightbulb to more substantial lighting — otherwise, you’ll never find the screws you drop on the ground. LeMaster Tech can help with his great video on installing DIY voice-controlled smart LED lighting.

    LeMaster Tech’s primary goal was simply to increase the brightness in the garage. He took the route that gives the best bang for the buck: LED tubes. Those are similar in form factor to fluorescent light tubes, but they can put out more lumens with fewer watts and they tend to last a lot longer. They also don’t need expensive and bulky ballasts. LeMaster Tech installed several of those on the ceiling of his garage, then took things to the next level.

    These LED light tubes work with standard household mains AC power, so they can be wired like regular light bulbs. But instead, LeMaster Tech made them smart by wiring them through a relay board controlled by an Arduino UNO Rev3 board. That lets the Arduino safely switch each light tube on and off. LeMaster Tech gave it the ability to do that in response to voice commands by adding a DFRobot Gravity voice recognition module. That handy module works entirely offline and uses a simple AI to recognize spoken words. It has 121 built-in words and supports 17 custom words, so LeMaster Tech was able to tailor it to his needs.

    Now he can switch the lights with a simple voice command and even activate pre-programmed effects, like flashing the lights. 

    [youtube https://www.youtube.com/watch?v=L6Vg9dT7hsU?feature=oembed&w=500&h=281]

    The post Upgrade your shop with voice-controlled smart LED lighting appeared first on Arduino Blog.

    Website: LINK

  • Build a better spindle controller for your CNC mill

    Build a better spindle controller for your CNC mill

    Reading Time: 2 minutes

    Proper spindle speed control is necessary to get good CNC milling results. If your spindle speed is inconsistent, your speed and feed calculations will be wrong. That will lead to poor finishes and even broken end mills (and ruined parts) in extreme cases. But cheap CNC mills and routers often have insufficient spindle speed controllers. That’s why Joekutz’s Workbench built an improved spindle speed controller for his generic CNC 3040.

    This DIY spindle speed controller has two major improvements: more precise adjustment and closed-loop feedback.

    The original controller just had an imprecise potentiometer knob and dot markings, making it impossible to set to a specific speed. The new version lets the user set the spindle to a desired speed with a digital readout.

    It also has closed-loop feedback, so it can adjust power to the motor as necessary to maintain the set speed under load. Without that, even a light load could slow down the spindle and throw off the speed/feed balance. 

    Joekutz’s Workbench achieved this using an Arduino UNO Rev3 board. It reads input from a rotary encoder to set the motor speed, then shows that speed on a seven-segment display. It controls the motor speed via PWM through a DIY optical isolator, a transistor, and a MOSFET. At the same time, it receives feedback on the real-world motor speed using an LED and photoresistor. That measures the reflectivity of the spinning spindle, which has a piece of aluminum foil tape in one area to increase reflectivity. That lets the Arduino detect a revolution of the motor and calculate the RPM. 

    [youtube https://www.youtube.com/watch?v=_ExjwMC0-Nw?feature=oembed&w=500&h=281]

    The CNC mill uses an Arduino Mega 2560 with GRBL for controlling the axes’ stepper motors. The Arduino Uno spindle controller can receive g-code speed commands from that, or the user can set the speed using the rotary encoder dial. 

    The post Build a better spindle controller for your CNC mill appeared first on Arduino Blog.

    Website: LINK

  • Argon NEO 5 Raspberry Pi case review

    Argon NEO 5 Raspberry Pi case review

    Reading Time: 2 minutes

    The enclosure is provided with instructions. These are straightforward, although we will confess to some confusion with wiring in the fan cable. It took four attempts before the ‘ah ha!’ moment when we realised what was intended. The instructions could cover this better. The rest of the installation was painless and thermal pads are included for good contact with the heatsink. Once you have Raspberry Pi inserted, you can add the aluminium cover which gives the overall package a solid, strong feel making it more suitable for environments such as factories or classrooms. The case is held together by screws, adding to the strength of the overall package. You can choose between rubber feet (supplied) or wall-mounting using the built-in screw points.

    The case in use

    The aluminium cover looks great, but it does mean that the GPIO, PCIE, camera ports and other headers become inaccessible. You are not required to have the cover on to use your Raspberry Pi but it would be great to see alternative covers just as with the official cases. The SD card slot is exposed (which is not the case with many third-party cases) and a nice touch is a cover which can be screwed into place to protect the card from accidental removal. A welcome feature is the combo power light and switch, which links to the new on-board power switch.

    Being actively controlled by Raspberry Pi OS means that the fan is silent for the majority of the time and you’ve got to get the CPU nice and busy to get any noise out of the case, which is minimal. As the body is nearly all aluminium, there is plenty of area for soaking up heat, so this would be a great choice for Raspberry Pis under heavy load.

    With the cover removed, the NEO exposes all important headers and the GPIO

    Argon’s build quality is some of the best in Raspberry Pi’s space and this case is no exception. You get the impression that a fall off a desk (normally due to a curious cat) would do it no harm whatsoever. The plastic base has a cheaper feel, but the red accents it provides look the part.

    The NEO 5 is another excellent product from Argon that combines value and features into a hard-to-beat package.

    Verdict

    8/10

    A low-cost, good-looking case with excellent resilience and cooling options. A solid choice for any Raspberry Pi project, although some may wish to wait for the next generation of the Argon ONE.

    Specs

    Cooling: Passive and active, air intake vents

    Fan: 30mm PWM

    Materials: Aluminium, plastic

  • UNO R4 Stars: Meet Anouk Wipprecht

    UNO R4 Stars: Meet Anouk Wipprecht

    Reading Time: 3 minutes

    The launch of the Arduino UNO R4 marks a huge leap forward for our community. For us, it’s also the chance to celebrate the people who bring our ecosystem to life with their bright ideas, radiant enthusiasm, and shining insight.

    That is how the UNO R4 Stars blog post series began: to highlight makers who have not only created amazing projects with Arduino, but who are giving back to the community by sharing as they go and helping others make anything they wish.

    We invite you to discover each profile, hoping you might find a North Star to navigate around an expanding galaxy or venture into completely new universes.

    Many of us think electronics are a beautiful thing, but Anouk Wipprecht takes it to the next level. The Dutch designer creates interactive dresses that turn garments into sensorial experiences, pushing wearables into the field of robotic couture she is pioneering. Check out her YouTube or Vimeo channel to see the Spider Dress, which attacks anyone getting too close to the wearer, or the Smoke Dress, inspired by octopi’s defense mechanisms. 

    Wipprecht began exploring #FashionTech over 20 years ago, when computers were still big and bulky – and very difficult to hide in a dress. For her, everything changed when she discovered Arduino by attending an interaction design course held by our very own David Cuartielles and the Arduino team in Malmo, Sweden. That’s when she learned to leverage the technological platform Arduino provides to create increasingly smaller wearable systems, and most importantly, with that she became part of a diverse and eclectic community of makers. Using the same simple boards her teammates were working on projects ranging from RC cars to early drones. Meanwhile, following her passion for fashion, she was especially interested in the potential of smaller and more flexible hardware components to bring her creations to life.

    Over the years she has furthered her research with every new technological advancement, up to her latest creation: the Chroma dress for Chromatic 3D, which senses other people’s proximity and lights up accordingly, mimicking the bioluminescence of fireflies with LEDs embedded in an innovative elastomer mesh fabric.

    For this particular garment, Wipprecht chose the new Arduino Nano ESP32 because of its outstanding combination of small form factor – easy to integrate in the design and comfortable to wear on the body – and great power. Not to mention, the module made interconnections easier than ever and helped speed up the entire project: “The process went super rapidly from ideation to final experiment, and we were able to switch back and forth in order to optimize it.”

    “The coolest thing about Arduino is it makes working with electronics really fun,” she says. The experience is so enjoyable thanks to great ease of use and flexibility – which also allows Wipprecht to use Arduino when she teaches, encouraging a whole new generation of makers to turn their ideas into reality. 

    “The great advantage we have today is we have a lot of accessibility to really cool tools, from powerful machines, to all the latest electronics and technology, and it doesn’t cost as much as it used to. It makes it really easy to make cool stuff.”

    [youtube https://www.youtube.com/watch?v=UrxWnsEQpB0?feature=oembed&w=500&h=281]

    We asked Wipprecht, “What’s your favorite part of the UNO R4?”

    • The higher processing power: “Everyone wants better processing power, all the time!”
    • How easy it is to use: “It’s basically plug-and-play,” making it perfect for prototyping as well as teaching.

    To keep up with the latest fashion in microcontrollers, follow Wipprecht on Vimeo and LinkedIn, or bookmark her website!

    The post UNO R4 Stars: Meet Anouk Wipprecht appeared first on Arduino Blog.

    Website: LINK

  • DOS ain’t dead

    DOS ain’t dead

    Reading Time: 2 minutes

    No one really uses MS-DOS any more, but the modern, open-source FreeDOS ships with every copy of DOSBox, and you’ve quite probably used that. Most modern DOS developers use DOSBox and its forks for testing, so they can rapidly spot bugs and iterate solutions.

    The year 2023 in DOS also saw the release of Damien “Cyningstan” Walker’s stylish Barren Planet, a turn-based, space exploitation-themed strategy game in which rival mining corporations battle for control of resources, with some of the best four-colour CGA graphics we’ve ever seen. Cyningstan has also released a range of tools and libraries to support DOS games development in C, as well as open-sourcing his older games.

    Juan J. “Reidrac” Martinez, developed Gold Mine Run! in C and cross-compiled from Linux to DOS, using DJGPP to target 32-bit (i386) DOS. He also open-sourced the game’s code to help other developers.

    But you don’t have to use C. Tiny DOS city-builder Demografx was developed in Microsoft QuickBasic 4.5, an IDE released in 1990, which you can run on Raspberry Pi in DOSBox if you can find a copy. Microsoft’s more common QBASIC and GW-BASIC languages are no longer available, but PC-BASIC is a fully-compatible GW-BASIC interpreter you can install on Raspberry Pi, and there’s even a GW-BASIC extension for Visual Studio Code if you want an IDE.

    There’s an entire community of developers making wildly distinct games based on ZZT, a 1991 game creation system by Tim Sweeny, now CEO of Epic Games. ZZT spawned a vast living ecosystem of DOS games like WiL’s Galactic Foodtruck Simulator, development tools like KevEdit, and modding tools such as Weave.

    There are multiple DOS game jams to encourage would-be developers. In 2023, we saw the DOS COM jam, the DOS Games June Jam, and the DOS Games End of Year Jam.

    The DOS renaissance still has a way to go before it catches up to the C64, ZX Spectrum, and Game Boy development scenes, but the sheer range of tools available makes it a very approachable space to experiment in. If you want some inspiration, check out this DOS games we’ve created.

  • A terrifying FNAF-style Mickey Mouse animatronic

    A terrifying FNAF-style Mickey Mouse animatronic

    Reading Time: 2 minutes

    The copyright for Steamboat Willie famously expired at the beginning of this year. Steamboat Willie was the first appearance Mickey Mouse, so this copyright expiration is a big deal for Disney. Anyone will be able to use the character for the first time in history, as Mickey Mouse is now in the public domain. To celebrate this momentous occasion, Jaimie and Jay of the Wicked Makers YouTube channel built this terrifying FNAF-style Mickey Mouse animatronic.

    A few months ago, Wicked Makers built a Five Nights at Freddy’s Springtrap animatronic and the results were amazing. For this project, they took many of those same lessons, techniques, and stylistic decisions and applied them to Mickey.

    This is a full, life-saved head that can move, open and close its jaw, and direct its scary glowing gaze. The vast majority of the head’s structure is a 3D-printed shell (modeled by BeardlessProps) with a ridiculous amount of superb texturing, painting, and weathering. The ears, for example, have a coating of dark fiber that gives a felt-like appearance. The aesthetic does a fantastic job of making this look like an old and beaten animatronic from a theme park.

    The movement is all actuated by hobby servo motors controlled by an Arduino UNO R4 board. Wicked Makers added a USB host shield, which let them connect a PlayStation 4 controller. The Arduino reads the stick positions and button presses from the PS4 controller and adjusts the servo motors accordingly. That allows for nice organic control when puppeteering.

    This video ends with the animatronic dying. But from what we saw before that, it was very much a success. The Wicked Makers plan to repair the head and will post a video with updates, so be sure to subscribe to their channel.

    [youtube https://www.youtube.com/watch?v=1ZaJVcytjyQ?feature=oembed&w=500&h=281]

    The post A terrifying FNAF-style Mickey Mouse animatronic appeared first on Arduino Blog.

    Website: LINK

  • IDE 2.3 is out, and you’ll love the new debugging features in it

    IDE 2.3 is out, and you’ll love the new debugging features in it

    Reading Time: 2 minutes

    We’ve just released Arduino IDE 2.3, and along with the usual list of bug-fixes and improvements, this new version marks the end of the experimental phase for the debug feature – which is now stable and fully incorporated into the IDE!

    True to our belief in open standards and interoperability, the debug feature is now based on a standard framework documented in the new specifications and guidelines. As a result, maintainers of Arduino cores can now add debugging for any board and leverage the UI and debugging engine provided by the Arduino IDE. 

    What’s more, thanks to this new open framework, we already enabled the debug feature for all the Arduino boards based on the Mbed™ core, which include GIGA R1 WiFi, Portenta H7, Opta, Nano BLE and Nano RP2040 Connect, while the Renesas-based boards (UNO R4, Portenta C33) will follow in the next hours.

    We’ve worked on implementing debug in IDE 2 for a long time, in collaboration with the open-source community and, more recently, in close contact with Espressif to make sure that ESP32 devices would be fully supported. So keep an eye on the upcoming release of the Arduino-ESP32 core, which will support the new debug framework! 

    Want to be able to debug your favorite board using IDE 2.3?

    Get in touch with the platform developer or, even better, help them by submitting a pull request to implement the new specifications.

    We look forward to receiving your feedback on the new debugging features in the Arduino forum or, if you’re a developer and want to report a bug, directly in the GitHub repository.

    Still curious about those bug-fixes? Arduino IDE 2.3 fixes security issue CVE-2023-4863 (see details in this commit).

    Enjoy the new Arduino IDE, and help us make our development environment better than ever! 

    The post IDE 2.3 is out, and you’ll love the new debugging features in it appeared first on Arduino Blog.

    Website: LINK

  • Double Standards

    Double Standards

    Reading Time: 3 minutes

    Once people had recovered from the shock of seeing both a power button and a real-time clock on a Raspberry Pi, one of the most commented-on features of the new platform was the small, vertical, 16-way FFC (Flat Flexible Cable) connector on the left-hand side of the board, which exposes a single-lane PCI Express interface.

    PCIe of cake

    Peripheral Component Interconnect Express (PCI Express or PCIe) is, as the name suggests, a board-level interconnect that allows high-speed data transfer between a processor chip (in our case BCM2712) and external peripherals such as NVMe SSDs, Ethernet cards, or more exotic things such as AI/ML accelerators.

    PCIe works by serialising data transfers and sending one bit at a time down a single channel. Higher-capacity PCIe interfaces have more lanes (×2, ×4, ×8, ×16); on Raspberry Pi 5, BCM2712 is connected to our RP1 I/O controller via a ×4 interface. Each lane runs at 5Gbits/s for PCIe 2.0 (the fastest mode that we officially support on Raspberry Pi 5); after coding overhead, this translates into a capacity of 4Gbits/s. Even taking into account other protocol overheads, you’re likely to see ~450MBytes/sec to and from a good NVMe SSD. Pretty fast!

    Alongside the data and clock channels, the PCIe specification requires some sideband signals like reset, clock request (which does double duty as a power state signal), and wakeup. Our 16-way connector provides all these signals. We also have two pins that allow us to control board power, and to ensure that an appropriately designed PCIe peripheral is automatically detected by the Raspberry Pi firmware.

    Not an M.2

    Why didn’t we add an M.2 connector to the Raspberry Pi 5? The M.2 connector is large, relatively expensive, and would require us to provide a 3.3V, 3A power supply. Together, these preclude us offering it in the standard Raspberry Pi form factor.

    Using a small, low-cost FFC connector allowed us to provide a PCIe interface without growing the board, or imposing the cost of an M.2 connector and its supporting power-supply circuitry on every Raspberry Pi user.

    Specification the first

    One thing we did not have ready at the time of the Raspberry Pi 5 launch was a specification for how to build peripherals that attach to the 16-way PCIe connector. The interaction of PCIe peripherals with Raspberry Pi power states and firmware required detailed consideration, and we wanted to make sure we had done extensive testing of our own prototype product to make sure everything was working exactly as expected.

    Today, we’re releasing the first revision of that specification: Raspberry Pi Connector for PCIe A 16-way PCIe FFC Connector Specification. Our own M.2 M Key HAT+ is in the final stage of prototyping, and will be launched early next year.

    The 16-way FFC PCIe connector

    Specification the second

    For those of you reading closely, you’ll have noticed that we’re calling our M.2 HAT a “HAT+”. If one new specification wasn’t enough for you, today we’re also releasing a preliminary version of the new Raspberry Pi HAT+ Specification.

    The original HAT specification was written back in 2014, so it is now very overdue for an update. A lot has changed since then. The new specification simplifies certain things, including the required EEPROM contents, and pulls everything into one document in the new Raspberry Pi documentation style, along with adding a few new features.

    HAT+ on the Raspberry Pi 5 silkscreen, sort of gave the game away?

    There’s still work to be done on this standard, and our EEPROM utilities haven’t yet been updated to support the generation of the new style of EEPROMs. So this release is very much for people that want to get a feel for how the HAT standard is changing.

    We really wanted to get the HAT+ standard right, as it’s likely to be around for as long as the old HAT standard. One of the reasons for the delay in getting the PCIe connector standard published was our sense that PCIe boards that go on top, rather than boards that go beneath, should probably be HAT+ boards. Ours is going to be!

    Standards for all!

    If you want to discuss them with the community, head over to the Raspberry Pi forums, where you’ll find a dedicated area to talk about HATs, HAT+ and other peripherals.

    Watch this space for the new M.2 HAT+, and a final version of the HAT+ standard, which we’ll release alongside it in 2024.

  • Arduino Cloud Café: Let’s chat about environmental monitoring!

    Arduino Cloud Café: Let’s chat about environmental monitoring!

    Reading Time: < 1 minute

    Exciting news! We’re gearing up for the second edition of Arduino Cloud Café, and we’re thrilled to have you join us. Tune in on Tuesday, February 13th at 5pm CET for an engaging session on environmental monitoring.

    This time, we have two fantastic guests — Bill from Dronebot Workshop and Muhammad Afzal, author of “Arduino IoT Cloud: A Guide for Developers — who will be sharing their insights and connected projects. It’s an opportunity you won’t want to miss!

    Save the date and be ready to dive into the world of Arduino Cloud with us:

    The post Arduino Cloud Café: Let’s chat about environmental monitoring! appeared first on Arduino Blog.

    Website: LINK

  • UNO R4 Stars: Meet Brenda Mboya

    UNO R4 Stars: Meet Brenda Mboya

    Reading Time: 3 minutes

    The launch of the Arduino UNO R4 marks a huge leap forward for our community. For us, it’s also the chance to celebrate the people who bring our ecosystem to life with their bright ideas, radiant enthusiasm, and shining insight.

    That is how the UNO R4 Stars blog post series began: to highlight makers who have not only created amazing projects with Arduino, but who are giving back to the community by sharing as they go and helping others make anything they wish.

    We invite you to discover each profile, hoping you might find a North Star to navigate around an expanding galaxy or venture into completely new universes.

    Brenda Akoth Mboya, a trailblazing STEM educator and the co-founder of Jenga Labs Africa, embodies the spirit of Arduino-driven innovation in the realm of education and community empowerment. “My passion lies in inspiring African youth by using technology and leadership as tools,” she affirms – and we take pride in being the platform of choice for her vision. 

    Mboya’s journey with Arduino began with a revelatory moment, when she realized that technology could be both easy and fun, empowering even children under 13 to create meaningful and innovative projects of their own.

    Initiating Jenga Labs Africa in 2019, Mboya embarked on a groundbreaking venture to introduce 4th Industrial Revolution technologies to the next generation of African innovators and makers. Through collaborations with West African schools, the startup has seamlessly infused STEM activities into curricula and set up makerspaces available to all students.

    In addition, Mboya actively engages young minds in the technology space as part of the Arm Engage program and the Arduino user group in Kenya, organizing events that bring together electronics enthusiasts eager to dive into the vast potential of microcontrollers. A recent major achievement was the successful orchestration of a 12-hour hackathon in Kisumu, leveraging the capabilities of IoT to address critical agricultural challenges in western Kenya. The event showcased the exceptional talents of the local youth – something that Mboya holds dear: “Being a maker in 2023, especially in the African continent, means having the tools to create solutions tailored to African needs – thus moving away from being mere consumers of Western technologies, and towards becoming creators of solutions that address specific African use cases.”

    Indeed, the project that most deeply resonates with her vision at the moment is the one-year Leadership and Technology Program Jenga Labs is about to launch in Kibera, one of Nairobi’s largest slums. This initiative aims to empower the community by training them on Arduino technology, enabling them to create innovative solutions for the myriad problems and challenges they face every day. Mboya sees this as a transformative way to give back, fostering a sense of leadership and innovation that can spark positive change. In Mboya’s world, Arduino is not just a tool: it’s a catalyst for African youths to shape their destinies and contribute to the advancement of their communities.

    [youtube https://www.youtube.com/watch?v=10_TUOeLEEw?feature=oembed&w=500&h=281]

    We asked Mboya, “What’s your favorite part of the UNO R4?”

    • The LED matrix for quick visualization, allowing for instant satisfaction as well as clear help in debugging.
    • The USB-C connector: having this extremely popular option means “I can even use my phone’s cable to quickly do something on the Arduino.”
    • The top-notch speed and connectivity features compared to the UNO Rev3.

    Keep up with the updates on Mboya’s impact on the world by following her LinkedIn profile or visit Jenga Labs’ website!

    The post UNO R4 Stars: Meet Brenda Mboya appeared first on Arduino Blog.

    Website: LINK