Schlagwort: automation

  • Can I build my own robot with Arduino?

    Can I build my own robot with Arduino?

    Reading Time: 5 minutes

    When you think of automation, what’s the first image that comes to mind?

    For many of us, it’s a robot. From the blocky, square-headed characters of sci-fi comic fame to household more complex creations like the Replicants of Blade Runner — robots have captured our collective imagination for a long time.

    It’s no surprise, then, that lots of Arduino users eventually set out to build a robot of their own.

    In this article, we’ll look at how to build your own robot with Arduino and share some project examples from other makers.

    What exactly is a robot?

    The term “robot” can cover a lot of potential meanings, so let’s agree on a definition.

    Here’s what the Oxford Dictionary says:

    “(especially in science fiction) a machine resembling a human being and able to replicate certain human movements and functions automatically.”

    It’s a good start, but do all robots resemble humans? Here’s Oxford’s second definition:

    “a machine capable of carrying out a complex series of actions automatically, especially one programmable by a computer.”

    This seems more accurate since it encompasses things like construction robots, robotic pets, and robotic vehicles.

    Humans have been attempting to build robots for centuries, although most of our success has taken place within the last few decades. Today, thanks to advancements in hardware and automation technology, almost anyone can build their own robots at home.

    What do you need to build a robot?

    Building your own robot might seem like an unimaginably complex task. After all, aren’t robots the stuff of sci-fi movies and leaked military prototypes?

    The good news is that building a robot doesn’t have to be a monumental undertaking, and can in fact be done with some fairly simple and easily obtained components.

    Here’s what you’ll need:

    • Some simple components like wheels, sensors, and switches (this will vary greatly depending on the type of robot you’re planning to build)
    • Some basic coding and automation skills (you don’t need to be a coding wizard)
    • A microcontroller like the Arduino UNO R4, for example.

    This is, of course, just a starting point. You can build a fairly simple robot, or you can ramp up the complexity and sophistication as much as you like — the sky really is the limit here. For beginners, though, you can find everything you need at the hardware store.

    Explore Arduino robots

    With Arduino’s products and other components, it’s possible to build your own robots more easily than ever before.

    We need to look no further than the Arduino Project Hub to find a ton of inspiring ideas. Let’s explore a few.

    Line-following robot

    Robots don’t have to be ultra-complex humanoid feats of engineering.

    In fact, if you’re just getting started with robotics, it helps to keep things simple. Check out this great example — it’s a simple, car-shaped robot designed to follow a colored line on the floor.

    The robot constantly monitors data from its infrared sensors in real time and adjusts movement based on feedback, ensuring it never strays from the line.

    If this kind of project interests you, you’ll love the upcoming Arduino Alvik, which will have a line-follower functionality. Alvik’s user-friendly interface makes MicroPython coding and robotics project development easier than ever, making learning and creating a breeze. 

    Alvik is also equipped with a range of sensors including a ToF distance sensor, line follower array, color sensor, and more. It’s especially impressive when it comes to swiftly detecting and navigating obstacles and colors.

    Join the waiting list here to be first in line for updates about Arduino Alvik.

    A piano-playing robot

    Did you think playing music was a uniquely human trait?

    Well… think again — this musically-inclined robot is capable of controlling piano keys automatically. The device was able to play piano keys 1,875 times in the space of a minute, beating the human world record by a significant margin.

    The project used a range of tools including solenoids and a custom-designed Java software interface.

    A chess-playing robot arm

    Robots have been giving us humans a run for our money in the world of chess for quite some time.

    For a new spin on the machines vs. humans saga, take a look at this robotic arm capable of physically moving the chess pieces.

    The arm was created using a 3D printer and works by using a visual recognition system to watch the opponent’s move and then formulate a response. 

    One of the most interesting things about this robot is the code used for move recognition. Because the robot uses visual recognition to follow the human’s moves, there’s no need for additional complex hardware like reed switches to be built into the chessboard, unlike other chess-playing robots.

    Stay tuned for Robotics Week!

    If you have a passion for building robots or just want to learn more about this topic, you’ll love Robotics Week, which takes place this year from April 6th-13th.

    It’s a full week of events — many of which are virtual — all centered around robotics and STEM.

    And if that’s not enough for you, this year’s Control Automation Day will focus on the theme of robotics: register today to see Arduino’s session on March 26th, “Arduino Pro Opens the Door to Robot Control for Agriculture, Biotech, and Manufacturing,” showcasing a success story based on the Portenta Machine Control by “Robotics for the Real World” provider R2 labs.

    In the meantime, visit our Project Hub for more inspiration — where you can search by category and difficulty level. And don’t forget to share your own projects with our community!

    The post Can I build my own robot with Arduino? appeared first on Arduino Blog.

    Website: LINK

  • Autochef-9000 can cook an entire breakfast automatically

    Autochef-9000 can cook an entire breakfast automatically

    Reading Time: 2 minutes

    Fans off Wallace and Gromit will all remember two things about the franchise: the sort of creepy — but mostly delightful — stop-motion animation and Wallace’s Rube Goldberg-esque inventions. YouTuber Gregulations was inspired by Wallace’s Autochef breakfast-cooking contraption and decided to build his own robot to prepare morning meals.

    Gregulations wanted his Autochef-9000 to churn out traditional full British breakfasts consisted of buttered toast, eggs, beans, and sausage. That was an ambitious goal, because each of those foods requires several steps to prepare. Gregulations’ solution was to, essentially, create one large machine that contains several smaller CNC machines. Each one is distinct and tailored to suit a particular food. In total — if you add up all of the different sections — this is a 12-axis CNC machine.

    The Autochef-9000’s central controller is an Arduino Mega 2560 board. But even with the power and number of pins available, that wouldn’t have been able to handle everything. So it divvies out some tasks to Arduino UNO Rev3 boards.

    As you would expect, this takes quite a lot of heat to cook everything. That’s why the Autochef-9000 contains several electric heating elements, which the Arduinos control via relays.

    Users can order food using a touchscreen menu system or a smartphone interface. Autochef-9000 will then whir to life. It will open and heat a tin of beans, grab and heat a sausage, hard boil an egg, and toast and then butter bread fed from a magazine. Finally, it will deposit all of those items onto a plate.

    There is a lot going on inside of this machine and Gregulations breezes past a lot of the technical details, but it is a joy to see in action. And unlike Wallace’s inventions, this one hasn’t caused any serious disasters (yet).

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

    The post Autochef-9000 can cook an entire breakfast automatically appeared first on Arduino Blog.

    Website: LINK

  • Brenda is classic automata nightmare fuel

    Brenda is classic automata nightmare fuel

    Reading Time: 2 minutes

    Arduino TeamJuly 5th, 2022

    Art is a strange thing. Sometimes its purpose is purely aesthetic. Sometimes it makes a statement. And sometimes it exists to disturb. Kinetic art is no different and some robots fall into this category. Graham Asker’s art elicits pondering on the relationship between humans and robots, as well as the relationships between different robots. But as Brenda, a classical-style automaton, demonstrates, Asker’s art can also induce nightmares.

    Brenda and her companion Brian are strange, bodiless robots designed to mimic the aesthetics of automatons from myth and history. Each robot is a construction of beautiful brass, mechanical joints, linkages, and cables. Servos hidden inside the bases of the robots actuate the various joints, giving Brenda and Brian the ability to emote. Most of their “facial” movement is in their eyes. Lifelike eyeballs look around from within heavy eyelids, while pivoting eyebrows help to convey expressions.

    Arduino boards, also hidden within the robots’ bases, control the servos that actuate the joints. Asker programmed the Sketches with a variety of different servo movements that correspond to facial expressions and eye movements. Brenda even received lips, so she can smile – or frown. Both robots’ bases rotate, so the robots can turn to look at their surroundings. Brenda and Brian do not have any communications hardware and so they can’t interact with each other, but Asker can sync their pre-coded movements to create the illusion that they do.

    Asker, who is a retired engineer with a Master’s degree in fine art, displayed Brenda at London’s Espacio Gallery and on the Walthamstow Art Trail.

    Website: LINK

  • Protect your veggies from hail with a Raspberry Pi Zero W

    Protect your veggies from hail with a Raspberry Pi Zero W

    Reading Time: 2 minutes

    Tired of losing vegetable crops to frequent summertime hail storms, Nick Rogness decided to build something to protect them. And the result is brilliant!

    Digital Garden with hail protection

    Tired of getting your garden destroyed by hail storms? I was, so I did something about it…maker style!

    “I live in a part of the country where hail and severe weather are commonplace during the summer months,” Nick explains in his Hackster tutorial. “I was getting frustrated every year when my wife’s garden was get demolished by the nightly hail storms losing our entire haul of vegetable goodies!”

    Nick drew up plans for a solution to his hail problem, incorporating liner actuators bolted to a 12ft × 12ft frame that surrounds the vegetable patch. When a storm is on the horizon, the actuators pull a heavy-duty tarp over the garden.

    Nick connected two motor controllers to a Raspberry Pi Zero W. The Raspberry Pi then controls the actuators to pull the tarp, either when a manual rocker switch is flipped or when it’s told to do so via weather-controlled software.

    “Software control of the garden was accomplished by using a Raspberry Pi and MQTT to communicate via Adafruit IO to reach the mobile app on my phone,” Nick explains. The whole build is powered by a 12V Marine deep-cycle battery that’s charged using a solar panel.

    You can view the full tutorial on Hackster, including the code for the project.

    Website: LINK

  • The grilled cheese-making robot of your dreams

    The grilled cheese-making robot of your dreams

    Reading Time: 3 minutes

    Ummm…YES PLEASE!

    Cheeseborg: The Grilled Cheese Robot!

    More cool stuff at http://www.tabb.me and http://www.evankhill.com Cheeseborg has one purpose: to create the best grilled cheese it possibly can! Cheeseborg is fully automated, voice activated, and easy to move. With Google Assistant SDK integration, Cheeseborg can even be used as a part of your smart home.

    Does it use a Raspberry Pi, please?

    Sometimes we’ll see a project online and find ourselves hoping and praying that it uses a Raspberry Pi, just so we have a reason to share it with you all.

    That’s how it was when I saw Cheeseborg, the grilled cheese robot, earlier this week. “Please, please, please…” I prayed to the robot gods, as I chowed down on a grilled cheese at my desk (true story), and, by the grace of all that is good in this world, my plea was answered.

    Cheeseborg: the grilled cheese robot

    Cheeseborg uses both an Arduino Mega and a Raspberry Pi 3 in its quest to be the best ever automated chef in the world. The Arduino handles the mechanics, while our deliciously green wonder board runs the Google Assistant SDK, allowing you to make grilled cheese via voice command.

    Saying “Google, make me a grilled cheese” will set in motion a series of events leading to the production of a perfectly pressed sammie, ideal for soup dunking or solo snacking.

    The robot uses a vacuum lifter to pick up a slice of bread, dropping it onto an acrylic tray before repeating the process with a slice of cheese and then a second slice of bread. Then the whole thing is pushed into a panini press that has been liberally coated in butter spray (not shown for video aesthetics), and the sandwich is toasted, producing delicious ooey-gooey numminess out the other side.

    Pareidolia much?

    Here at Raspberry Pi, we give the Cheeseborg five slices out of five, and look forward to one day meeting Cheeseborg for real, so we can try out its scrummy wares.

    ooooey-gooey numminess

    You can find out more about Cheeseborg here.

    Toastie or grilled cheese

    Yes, there’s a difference: but which do you prefer? What makes them different? And what’s your favourite filling for this crispy, cheesy delight?

    Website: LINK

  • Motion-controlled water fountain…for cats!

    Motion-controlled water fountain…for cats!

    Reading Time: 2 minutes

    Tired of the constant trickle of your cat’s water fountain? Set up motion detection and put your cat in control.


    Cats are fickle

    My cat, Jimmy, loves drinking from running water. Or from the sink. Or from whatever glass I am currently using. Basically, my cat loves drinking out of anything that isn’t his water bowl…because like all cats, he’s fickle and lives to cause his humans as much aggravation as possible.

    Here’s a photo of my gorgeous boy, because what cat owner doesn’t like showing off their cat at the slightest opportunity?

    Jimmy’s getting better now, thanks to the introduction of a pet water fountain in the kitchen, and we’ve somehow tricked him into using it — but what I don’t like is how the constant trickle of water makes me want to pee all the time.

    Thankfully, this motion-controlled water foundation from Hackster.io maker vladimirm is here to save the day by only turning on the fountain when his cat approached it.

    Motion-controlled pet water foundation

    So how does it work? Vladimir explains:

    When the PIR sensor detects movement, it sends a message to the radio dongle plugged to the Raspberry Pi, which sends the message to the MQTT server. On the other side, the MQTT message is processed by the Home Assistant, which then, using the automation, triggers the smart plug and starts the configured countdown.

    The build uses an old Raspberry Pi 1 Model B, and a BigClown Motion Detector Kit, alongside a TP-Link smart plug and an open-source Home Assistant. The Home Assistant smartphone app documents when the smart plug is activated, and for how long, which also means you can track when your pet is drinking and check they’re getting enough water.

    Vladimir goes into far more detail in the project tutorial. Now go help your cat stay hydrated!

    Website: LINK

  • Automated plant tending with Arduino

    Automated plant tending with Arduino

    Reading Time: 2 minutes

    Automated plant tending with Arduino

    Arduino TeamMay 8th, 2019

    Do you like plants, but not so much tending to and watering them? If that sounds like you, then you might be interested in your own CNC growing machine. The system—created by 15-year-old maker “daily3dprinting”—is controlled by an Arduino Uno, and uses a single stepper motor to pull a watering head into position based on hygrometer readings.

    A relay is used to turn the grow light on at 6am and off at 8pm, and another to activate the unit’s water pump. A third relay is employed to power off the L298N stepper driver when not needed. 

    The project took home second place in the math and engineering category at daily3dprinting’s high school science fair, and more info on the build is available in its write-up here.

    Website: LINK

  • Clap on, clap off with the Raspberry Pi Clapper 👏👏

    Clap on, clap off with the Raspberry Pi Clapper 👏👏

    Reading Time: 2 minutes

    While many people use off-the-shelf automation setups for their electrical appliances, Ash Puckett’s Raspberry Pi Clapper pays homage to the king of infomercial classics.

    Remember this?

    The Clapper (1989)

    Uploaded by Travis Doucette on 2013-06-03.

    Build your own Raspberry Pi Clapper

    Sometimes, the best Raspberry Pi projects don’t need thousands of lines of code and a makerspace full of tech to make an impact: Ash Puckett‘s Clapper uses only a Raspberry Pi and a USB microphone as a basis. After that, it’s up to you to integrate the device into whatever project you wish, from home lighting and security systems to entertainment consoles — really anything you can switch from one state to another, including a Raspberry Pi!

    GitHub user nikhiljohn10’s clap detection script allows the USB mic to pick up the control clap. With the help of the RPi.GPIO and PyAudio libraries, Ash demonstrates that the Clapper works by turning on and off a red LED attached to the Pi.

    You will find instructions for putting together the code and running it on your Pi on the project’s Howchoo page. Howchoo also hosts some of Ash’s other Raspberry Pi projects, including a music streaming device, a smart clock, and a Pi-powered calendar.

    Try the Clapper

    Why not give the Clapper a go, and let us know what you decide to use it for!

    I, for one, will secretly set one up to mess with all the lights in the office — what could possibly go wrong?

    Website: LINK

  • Winners of the Arduino/Distrelec Automation & Robotics Contest announced!

    Winners of the Arduino/Distrelec Automation & Robotics Contest announced!

    Reading Time: 3 minutes

    Winners of the Arduino/Distrelec Automation & Robotics Contest announced!

    Arduino TeamOctober 2nd, 2018

    Earlier this year, Distrelec launched an Automation & Robotics Contest that invited our community to help advance Industry 4.0 leveraging the Arduino ecosystem. Submissions were required to use Arduino hardware—ranging from WiFi (MKR1000 and Yún Rev2) to GSM/narrowband (MKR FOX 1200, MKR WAN 1300, and MKR GSM 1400) to feature-rich boards like the popular Mega and Due—along with Arduino Create to set up, control, and connect their devices.

    Fast forward five months and the winning entries have now been selected, with the top project receiving a Keithley DMM6500 Bench Top Multimeter and a trip to Maker Faire Rome to showcase their work. Other prizes included a Weller WT1010 Set (2nd place) and Grove Starter Kits for Arduino (3rd-10th).

    So without further ado, let’s take a look at the winners!

    1st Place: Arduino Data Glasses for My Multimeter

    2nd Place: Industrial Line Follower for Supplying Materials

    Runner-Up: Accessibility Controls for Droids

    Runner-Up: Skating Robot  

    Runner-Up: Autonomous Home Assistant Robot

    Runner-Up: Object Avoiding FSM Robot Arm

    Runner-Up: Automatic Monorail Control

    Runner-Up: Smart Crops: Implementing IoT in Conventional Agriculture

    Runner-Up: Building a Sensor Network for an 18th Century Gristmill

    Runner-Up: Robot Arm Controlled Through Ethernet

    Congratulations to everyone! Be sure to also check out the contest page to browse through several other projects, such as an IoT platform for vehicles, a universal CNC machine, a gesture-controlled robotic arm, and more!

    Website: LINK

  • Eight(ish) Raspberry Pi projects for the summer

    Eight(ish) Raspberry Pi projects for the summer

    Reading Time: 4 minutes

    The sun is actually shining here in Cambridge, and with it, summer-themed Raspberry Pi projects are sprouting like mushrooms across our UK-based community (even though mushrooms don’t like hot weather…). So we thought we’d gather some of our favourite Pi-powered projects perfect for the sun-drenched outdoors.

    Air quality monitors and solar radiation

    With the sun out in all its glory, we’re spending far more time outside than is usual for UK summer. To protect yourself and your adventurous loved ones, you might want to build a Raspberry Pi device to monitor solar radiation.

    Raspberry Pi summer project

    “Solar radiation is the radiation, or energy, we get from the sun.” explains project designer Uladzislau Bayouski. “Measurements for solar radiation are higher on clear, sunny day and usually low on cloudy days. When the sun is down, or there are heavy clouds blocking the sun, solar radiation is measured at zero.”

    To measure more health-related environmental conditions, you could build this air quality monitor and keep an eye on local pollution.

    Particulater air quality Oliver Crask Raspberry Pi summer project

    Maker Oliver Crask describes the project:

    Data is collected by the particulates sensor and is combined with readings of temperature, humidity, and air pressure. This data is then transferred to the cloud, where it is visualised on a dashboard.

    If you’ve been building your own hackable weather station using our free guide, these are also great add-ons to integrate into that project.

    Build Your Own weather station kit assembled Raspberry Pi summer project

    Automatic pet and plant feeders

    While we’re spending our days out in the sun, we need to ensure that our pets and plants are still getting all the attention they need.

    This automatic chicken feeder by Instructables user Bertil Vandekerkhove uses a Raspberry Pi to remotely control the release of chicken feed. No more rushing to get home to feed your feathered friends!

    Raspberry Pi summer project

    And while we’re automating our homes, let us not forget the plants! iPlanty is an automated plant-watering system that will ensure your favourite plant babies get all the moisture they need while you’re away from your home or office.

    Planty Project

    An automated Plant watering solution that waters my plant every day at 8:30

    Electromagnetic bike shed lock

    If, like me, you live in constant fear that your beloved bike may be stolen, this electromagnetic bike shed lock is the solution you need.

    Raspberry Pi summer project

    The lock system allows for only one user per lock at any one time, meaning that your bike needs to be removed before anyone else can use their RFID card to access the shed.

    Time-lapse cameras

    With so much sunlight available, now is the perfect time to build a time-lapse camera for your garden or local beauty spot. Alex D’s Zero W time-lapse HAT allows for some glorious cinematic sliding that’s really impressed us.

    Slider Test Sunset

    Slider settings: -960 mm drive distance -400 steps -28 seconds interval Camera settings (Canon EOS 550D): – Magic Lantern auto ettr – max ISO 1600 – max Exposure 10 seconds

    If you don’t think you can match Alex’s PCB milling skills, you can combine our free Raspberry Pi timelapse resource and Adafruit’s motorised camera slider for a similar project!

    Infrared laser tag

    Raspberry Pi summer project

    While it’s sunny and warm, why not make this Raspberry Pi Zero W laser tag for the kids…

    …and then lock them outside, and enjoy a Pimms and a sit-down in peace. We’re here for you, suffering summer holiday parents. We understand.

    Self-weighing smart suitcase

    “We’re all going on a summer holiday”, and pj_dc’s smart suitcase will not only help you track of your case’s location, it’ll also weigh your baggage.

    Raspberry Pi summer project

    Four 50kg load cells built into the base of the case allow for weight measurement of its contents, while a GPS breakout board and antenna let you track where it is.

    Our free resources

    While they’re not all summer-themed, our free Raspberry Pi, Code Club, and CoderDojo resources will keep you and your family occupied over the summer months whenever you’ve had a little too much of the great outdoors. From simple Scratch projects through to Python and digital making builds, we’ve got something for makers of all levels and tastes!

    Getting started with Raspberry Pi summmer projects

    If you’re new to Raspberry Pi, begin with our Getting started guide. And if you’re looking for even more projects to try, our online community shares a sea of tutorials on Twitter every week.

    Website: LINK

  • Hacker House’s Zero W–powered automated gardener

    Hacker House’s Zero W–powered automated gardener

    Reading Time: 3 minutes

    Are the plants in your home or office looking somewhat neglected? Then build an automated gardener using a Raspberry Pi Zero W, with help from the team at Hacker House.

    Make a Raspberry Pi Automated Gardener

    See how we built it, including our materials, code, and supplemental instructions, on Hackster.io: https://www.hackster.io/hackerhouse/automated-indoor-gardener-a90907 With how busy our lives are, it’s sometimes easy to forget to pay a little attention to your thirsty indoor plants until it’s too late and you are left with a crusty pile of yellow carcasses.

    Building an automated gardener

    Tired of their plants looking a little too ‘crispy’, Hacker House have created an automated gardener using a Raspberry Pi Zero W alongside some 3D-printed parts, a 5v USB grow light, and a peristaltic pump.

    Hacker House Automated Gardener Raspberry Pi

    They designed and 3D printed a PLA casing for the project, allowing enough space within for the Raspberry Pi Zero W, the pump, and the added electronics including soldered wiring and two N-channel power MOSFETs. The MOSFETs serve to switch the light and the pump on and off.

    Hacker House Automated Gardener Raspberry Pi

    Due to the amount of power the light and pump need, the team replaced the Pi’s standard micro USB power supply with a 12v switching supply.

    Coding an automated gardener

    All the code for the project — a fairly basic Python script —is on the Hacker House GitHub repository. To fit it to your requirements, you may need to edit a few lines of the code, and Hacker House provides information on how to do this. You can also find more details of the build on the hackster.io project page.

    Hacker House Automated Gardener Raspberry Pi

    While the project runs with preset timings, there’s no reason why you couldn’t upgrade it to be app-based, for example to set a watering schedule when you’re away on holiday.

    To see more for the Hacker House team, be sure to follow them on YouTube. You can also check out some of their previous Raspberry Pi projects featured on our blog, such as the smartphone-connected door lock and gesture-controlled holographic visualiser.

    Raspberry Pi and your home garden

    Raspberry Pis make great babysitters for your favourite plants, both inside and outside your home. Here at Pi Towers, we have Bert, our Slack- and Twitter-connected potted plant who reminds us when he’s thirsty and in need of water.

    Bert Plant on Twitter

    I’m good. There’s plenty to drink!

    And outside of the office, we’ve seen plenty of your vegetation-focused projects using Raspberry Pi for planting, monitoring or, well, commenting on social and political events within the media.

    If you use a Raspberry Pi within your home gardening projects, we’d love to see how you’ve done it. So be sure to share a link with us either in the comments below, or via our social media channels.

    Website: LINK