Schlagwort: Accelerometer

  • 10 most popular modules and sensors for the Arduino UNO all on one board

    10 most popular modules and sensors for the Arduino UNO all on one board

    Reading Time: 2 minutes

    10 most popular modules and sensors for the Arduino UNO all on one board

    Arduino TeamDecember 1st, 2020

    Getting started with electronics and sensing the world around you is now easier than ever with the new all-in-one Arduino Sensor Kit from Arduino, in partnership with Seeed.   

    The 10 most popular modules and sensors for your Arduino UNO have been integrated onto a single board, providing plug-and-play convenience without the need for any soldering or wiring! Combining basic Grove sensors and actuators for the Arduino UNO, the kit contains a base shield featuring the following modules that can be connected either through the digital, analog, or I2C connectors:

    • An OLED screen
    • 4 digital modules (LED, button, buzzer and potentiometer)
    • 5 sensors (light, sound, air pressure, temperature, and accelerometer)

    Just plug the Arduino Sensor Kit into the Arduino UNO, then you’re ready to follow the Plug, Sketch & Play online lessons that make getting started a breeze.

    The kit is equipped with 16 Grove connectors, which when placed on the board, offer functionality to the various pins. With seven digital connections, four analog connections, four I2C connections, and a UART connection, the base shield can be easily mounted onto an Arduino UNO board and programmed through the Arduino IDE. 

    Now available from the Arduino Store, the Arduino Sensor Kit comes as a standalone kit for only €23.00 / US$23.00, or can be purchased with the Arduino UNO Rev3 board as a great value bundle for €38.70 / US$38.70. For more details, check out our website here.

    Website: LINK

  • Cabin Cloud: bump-free travel on the night bus

    Cabin Cloud: bump-free travel on the night bus

    Reading Time: 2 minutes

    Planes, trains, and automobiles — we all have our preference. And at one company in California, the team is trying to smooth bus travel to broaden commuters’ options for a blissful night’s sleep.

    Cabin bus Raspberry Pi Wired

    Leaving on a jet plane

    Not everyone wants to fly. While many enjoy the feel of take-off and landing and the high speed at which they can travel from A to B, others see planes as worrisome tin cans of doom, suspended in the air by unreliable magic. I consider myself mostly the former, with a hint of the latter for balance.

    In truth, I’d rather catch a train, where the smooth ride sends me into blissful sleep, only occasionally interrupted by a snap of “Damn, did I miss my stop?!”.

    But trains are limited to where their tracks lead, which is why so many people still opt to travel by bus. But who can sleep on a bus when the roads are dotted with potholes and cracks? I can’t, and neither can many of the 10000 passengers of the Cabin bus, an overnight service running between Los Angeles and San Francisco.

    Cabin bus travel

    To address complaints about the road conditions affecting costumers’ sleep, the Cabin team decided to challenge gravity using a Raspberry Pi and the electric motor from a hoverboard in their new venture Cabin Cloud.

    Introducing the first active suspension system designed specifically with passenger sleep in mind. Combining patent-pending software and hardware, our technology mutes ‘road turbulence’ and dramatically reduces vibration, so you can get a good night’s sleep while on a moving vehicle.

    “We can isolate a passenger’s body, and input frequencies that help people relax and fall asleep,” explains Cabin CTO Tom Currier. “We have a set of sensors that are measuring the acceleration of the vehicle, and also the bed, to compute in real time what we should be cancelling out.”

    Cabin bus Raspberry Pi Wired

    The sensors are accelerometers, two per bed, that measure the bumps from the road and adjust the bed accordingly — up to 1000 times a second. The Cabin Cloud beds only adjust for motion up and down: the team isn’t too concerned about back-and-forth movements due to breaking too hard or turning corners, since Cabin busses predominantly travel on wide, open highways.

    Delve a little deeper

    Check out this article from Wired for more about the project, and about how similar tech is implemented in trucks for long-haul drivers, and in aeroplanes for turbulence-free travel. You can also sign up for the Cabin Cloud newsletter here.

    But the big question about Cabin Cloud is…

    Does it have Bluetooth?

    Website: LINK

  • Safety first: a Raspberry Pi safety helmet

    Safety first: a Raspberry Pi safety helmet

    Reading Time: 3 minutes

    Jennifer Fox is back, this time with a Raspberry Pi Zero–controlled impact force monitor that will notify you if your collision is a worth a trip to the doctor.

    Make an Impact Force Monitor!

    Check out my latest Hacker in Residence project for SparkFun Electronics: the Helmet Guardian! It’s a Pi Zero powered impact force monitor that turns on an LED if your head/body experiences a potentially dangerous impact. Install in your sports helmets, bicycle, or car to keep track of impact and inform you when it’s time to visit the doctor.

    Concussion

    We’ve all knocked our heads at least once in our lives, maybe due to tripping over a loose paving slab, or to falling off a bike, or to walking into the corner of the overhead cupboard door for the third time this week — will I ever learn?! More often than not, even when we’re seeing stars, we brush off the accident and continue with our day, oblivious to the long-term damage we may be doing.

    Force of impact

    After some thorough research, Jennifer Fox, founder of FoxBot Industries, concluded that forces of 4 to 6 G sustained for more than a few seconds are dangerous to the human body. With this in mind, she decided to use a Raspberry Pi Zero W and an accelerometer to create helmet with an impact force monitor that notifies its wearer if this level of G-force has been met.

    Jennifer Fox Raspberry Pi Impact Force Monitor

    Obviously, if you do have a serious fall, you should always seek medical advice. This project is an example of how affordable technology can be used to create medical and citizen science builds, and not a replacement for professional medical services.

    Setting up the impact monitor

    Jennifer’s monitor requires only a few pieces of tech: a Zero W, an accelerometer and breakout board, a rechargeable USB battery, and an LED, plus the standard wires and resistors for these components.

    After installing Raspbian, Jennifer enabled SSH and I2C on the Zero W to make it run headlessly, and then accessed it from a laptop. This allows her to control the Pi without physically connecting to it, and it makes for a wireless finished project.

    Jen wired the Pi to the accelerometer breakout board and LED as shown in the schematic below.

    Jennifer Fox Raspberry Pi Impact Force Monitor

    The LED acts as a signal of significant impacts, turning on when the G-force threshold is reached, and not turning off again until the program is reset.

    Jennifer Fox Raspberry Pi Impact Force Monitor

    Make your own and more

    Jennifer’s full code for the impact monitor is on GitHub, and she’s put together a complete tutorial on SparkFun’s website.

    For more tutorials from Jennifer Fox, such as her ‘Bark Back’ IoT Pet Monitor, be sure to follow her on YouTube. And for similar projects, check out Matt’s smart bike light and Amelia Day’s physical therapy soccer ball.

    Website: LINK

  • Simulate sand with Adafruit’s newest project

    Simulate sand with Adafruit’s newest project

    Reading Time: 3 minutes

    The Ruiz brothers at Adafruit have used Phillip Burgess’s PixieDust code to turn a 64×64 LED Matrix and a Raspberry Pi Zero into an awesome sand toy that refuses to defy the laws of gravity. Here’s how to make your own.

    BIG LED Sand Toy – Raspberry Pi RGB LED Matrix

    Simulated LED Sand Physics! These LEDs interact with motion and looks like they’re affect by gravity. An Adafruit LED matrix displays the LEDs as little grains of sand which are driven by sampling an accelerometer with Raspberry Pi Zero!

    Obey gravity

    As the latest addition to their online learning system, Adafruit have produced the BIG LED Sand Toy, or as I like to call it, Have you seen this awesome thing Adafuit have made?

    Adafruit Sand Toy Raspberry Pi

    The build uses a Raspberry Pi Zero, a 64×64 LED matrix, the Adafruit RGB Matrix Bonnet, 3D-printed parts, and a few smaller peripherals. Find the entire tutorial, including downloadable STL files, on their website.

    How does it work?

    Alongside the aforementioned ingredients, the project utilises the Adafruit LIS3DH Triple-Axis Accelerometer. This sensor is packed with features, and it allows the Raspberry Pi to control the virtual sand depending on how the toy is moved.

    Adafruit Sand Toy Raspberry Pi

    The Ruiz brothers inserted an SD card loaded with Raspbian Lite into the Raspberry Pi Zero, installed the LED Matrix driver, cloned the Adafruit_PixieDust library, and then just executed the code. They created some preset modes, but once you’re comfortable with the project code, you’ll be able to add your own take on the project.

    Accelerometers and Raspberry Pi

    This isn’t the first time a Raspberry Pi has met an accelerometer: the two Raspberry Pis aboard the International Space Station for the Astro Pi mission both have accelerometers thanks to their Sense HATs.

    Comprised of a bundle of sensors, an LED matrix, and a five-point joystick, the Sense HAT is a great tool for exploring your surroundings with the Raspberry Pi, as well as for using your surroundings to control the Pi. You can find a whole variety of Sense HAT–based projects and tutorials on our website.

    Raspberry Pi Sense HAT Slug free resource

    And if you’d like to try out the Sense HAT, including its onboard accelerometer, without purchasing one, head over to our online emulator, or use the emulator preinstalled on Raspbian.

    Website: LINK