Schlagwort: AWS S3

  • Export data from Arduino Cloud to AWS S3

    Export data from Arduino Cloud to AWS S3

    Reading Time: 3 minutes

    Managing your IoT data just got a whole lot easier — Arduino Cloud, now lets you send your time series data straight to AWS S3. With this seamless connection, organizing and analyzing your data is a breeze.

    In case you don’t know, Arduino Cloud is a robust, integrated platform that simplifies the development and lifecycle management of IoT and industrial products at scale. Today, we’re very excited to share its integration with AWS S3 storage.

    This is all part of our ongoing work with AWS, which also brings you Arduino Cloud licenses on the AWS Marketplace and soon, support for AWS IoT SiteWise. Stay tuned for more!

    New feature spotlight: AWS S3 integration

    If you’re familiar with the AWS ecosystem and you’ve started using Arduino Cloud, you can now extract time series data and publish it directly to Amazon S3 buckets. This new feature uses AWS’s scalable storage system and helps you access, manage, and analyze your IoT data easily.

    You can now extract data at scheduled intervals, aggregate, and store it in CSV files within S3; which is a huge step to connect your Arduino devices with your current AWS setup. This functionality is available to all users on premium Arduino Cloud plans that support API access: Entry, Maker, Maker Plus, School and Business, . Whether you’re tracking environmental data from a smart garden or monitoring industrial equipment, the AWS S3 integration provides a straightforward way to manage large datasets.

    Check out this Github link to learn how to extract time series samples from Arduino cloud and publish them to a AWS S3 destination bucket. 

    Seamless experience with AWS Marketplace

    The new S3 integration feature is even more powerful when combined with the availability of Arduino Cloud licenses on the AWS Marketplace. By purchasing licenses through AWS, there is no need for separate billing platforms, you benefit from unified billing. This makes it easier to manage subscriptions and simplify accounting, especially for organizations that are s already using AWS. They can get started with Arduino Cloud without the hassle of separate billing platforms. You can learn more about it here

    With this new AWS S3 integration, Arduino Cloud keeps growing its ecosystem. This makes it easier for developers to create and expand IoT solutions. 

    Get started with the new AWS S3 and Marketplace integration 

    With the new AWS integrations, you can:

    • Take control of your IoT data with our new AWS S3 integration. Check out the documentation to learn more details.
    • Simplify your billing by purchasing Arduino Cloud licenses directly through the AWS Marketplace. Explore the available plans on our AWS Marketplace listing.

    This is just the beginning. We’re also adding support for AWS IoT SiteWise, bringing even more capabilities to your IoT projects. Stay updated by following the Arduino blog.

    If you have questions or need support, visit our contact page. We’re here to help you get the most out of Arduino Cloud. Get started today!

    The post Export data from Arduino Cloud to AWS S3 appeared first on Arduino Blog.

    Website: LINK

  • Magic: The Gathering card scanner with Raspberry Pi and Lego

    Magic: The Gathering card scanner with Raspberry Pi and Lego

    Reading Time: 4 minutes

    Michael Portera‘s trading card scanner uses LEGO, servo motors, and a Raspberry Pi and Camera Module to scan Magic: The Gathering cards and look up their prices online. This is a neat and easy-to-recreate project that you can adapt for whatever your, or your younger self’s, favourite trading cards are.

    MTG Card Organizer II

    Uploaded by Michael Portera on 2018-04-25.

    “Magic: The What Now?”

    For those of you who aren’t this nerdy [Janina is 100% this nerdy – Ed.], Magic: The Gathering (or MTG for short) is a trading card game first launched in 1993. It’s based on a sprawling fantasy multiverse storyline, and is very heavy on mechanics — the current comprehensive rules fill 228 pages! You can imagine it as being a bit like Dungeons and Dragons, with less role-playing and more of a chess vibe. Unlike in chess, however, you can beat your MTG opponent in one turn with just the right combination of cards. If that’s your style of play, that is.

    Magic: The Gathering card scanner with Raspberry Pi

    Scanning trading cards

    So far, there are around 20000 official MTG cards, and, as with other types of trading cards, some of them are worth a lot of money.

    Michael is one of the many people who were keen MTG players in their youth. Here’s how he came up with his project idea:

    I was really into trading cards as a kid. I recently came across a lot of Magic: The Gathering cards in a box and thought to myself — I wonder how many cards I have and how much they’re worth?! Logging and looking these up manually would take a while, so I decided to see if I could automate some of the process. Somehow, the process led to building a platform out of Lego and leveraging AWS S3 and Rekognition.

    LEGO, servos and camera

    To build the housing of the scanner, Michael used LEGO, stating “I’m not good at wood working, and I thought that it might be rough on the cards.” While he doesn’t provide a build plan for the housing, Michael only used bricks from in the LEGO Medium Creative Brick Box he bought for the project. In addition, his tutorial includes a lot of pictures to guide you.

    Magic: The Gathering card scanner with Raspberry Pi

    Servo motors spin plastic wheels to move single cards from a stack set into the scanner. Michael positioned a Raspberry Pi Camera Module so that it can take a picture of the title of each card as it is set before the lens. The length of the camera’s ribbon cable gave Michael a little difficulty, so he recommends getting an extension for it if you’re planning to recreate the build.

    Magic: The Gathering card scanner with Raspberry Pi

    Optical character recognition and MTG card price API

    On the software side, Michael wrote three scripts. One is a Python script to control the servos and take pictures. This, he says, “[records] about 20–25 cards a minute.”

    Another script identifies the cards and looks up their prices automatically. Michael tried out OpenCV and Tesseract for optical character recognition (OCR) first, before settling on AWS S3 and Rekognition for storing and processing images, respectively. You’ll need an AWS account to do this — Michael used the free tier, which he says allows him to process 5000 pictures per month.

    Raspberry Pi Magic The Gathering card scanner

    A sizeable collection

    Finally, the data that Rekognition sends back gets processed by another Python script that looks up the identified cards on the TCGplayer API to find their price.

    Michael says he’s very satisfied with the accuracy of the project’s OCR. He found out that the 920 Magic: The Gathering cards he scanned are worth about $275 in total. He provides a full write-up plus code over on hackster.io.

    And for my next trick…

    You might be thinking what I’m thinking: the logical next step for this project is to turn it into a card sorter. Then you could input a list of the card deck you want to put together, and presto! The device picks out the right cards from your collection. Building a Commander deck just became a little easier!

    What trading cards would you use this project with, and how would you extend it? Also, what’s your favourite commander? Let me know in the comments!

    Website: LINK