Posts with «arduino» label

Jackpot!: The Trials And Tribulations Of Turning A Slot Machine Into An ATM

Have you ever wished that slot machines dispensed money as easily as an ATM? Well so did [Scotty Allen] from Strange Parts, so in collaboration with his friend [Matt] decided to combine the two. After a four-month journey fraught with magic smoke and frustration, they managed to build a fully functional ATM slot machine.

The basic idea is that you insert your card and enter your pin like on a normal ATM, select your winning amount, and pull the lever. This sets wheels spinning, which come to a stop with three-of-a-kind every time, and you win your own money as a bucket load of coins with all the accompanying fanfare. The project took way longer than [Scotty] expected, and he ended up missing his original deadline to show off the machine at DEF CON.

They started with an old broken Japanese slot machine, and replaced the control board with an Arduino Due after a lot of reverse engineering and hacking. [Scotty] did a cool video just on getting the original vacuum fluorescent display working. Integrating the ATM parts proved to be the biggest challenge, with number of very expensive parts releasing their magic smoke or getting bricked in the process. [Scotty] came up with an ingeniously simple hack to interface the ATM hardware with the Arduino. The cash note dispenser uses multiple sensors to detect if there are notes loaded and if one is successfully dispensed. These were spoofed by the Arduino, which controls two coin hoppers instead to dispense appropriate amount of quarters or pennies. The build was rounded off with some very neat custom graphics on the glass panels, and the machine was finally showed off at a local arcade.

This was an awesome project, and we can appreciate the fact that [Scotty] made no attempt to hide the real emotional roller coaster that anyone who has worked on a large project knows, but is rarely documented in logs. [Scotty] has made a name for himself by building his own iPhone from parts and touring Shenzhen’s many factories. Check out the videos after the break

The Science Kit is now available in Italian and Spanish editions.

Launched back in January 2019 in partnership with Google, the Arduino Science Kit Physics Lab is designed for middle school students (aged 11 to 14) to explore science. It is  now available with Italian and Spanish  course content, making it more accessible than ever.

“You discovered it yourself, so it was really fun doing that” UK Student from ARK Burlington Danes Academy.

The Arduino Science Kit Physics Lab, requires no prior electronics knowledge.  It features online course content and equipment to conduct and test the fundamental laws of traditional physics through nine exciting science projects inspired by popular fairground rides like the Gravitron and Pirate Ship.  It is perfect for developing transferable skills such as critical thinking and problem solving through an inquiry-based learning approach. Students will experiment with forces, motion, magnetism, and conductivity – making their own hypothesis like real scientists, checking their assumptions, and logging data in real-time using Google’s Science Journal for Android.

“Makes it more accessible for students to do practical physics” – Graeme Wood, UK – Physics teacher, ARK Burlington Danes Academy. 

Incredibly easy to get started, students simply connect their Android mobile device to the board, build their project, and then use the onboard sensor and plug-and-play modules to simulate the rides’ dynamics. Data is transmitted from the experiment to the student’s mobile device via Bluetooth, where they can analyse and record their results in Google’s Science Journal App or worksheets.

The Arduino Education  Science Kit Physics Lab isn’t confined to the classroom. In fact, students can use the kit outdoors to turn the playground into their very own fairground by applying the concepts they’ve learned to design and test their own rides. Based upon the Arduino MKR WiFi 1010, it is a fully portable lab including a range of sensors to measure light, temperature, motion, and magnetic fields, and much more… that come in a protective Gratnells classroom tray.

Arduino Education aims to assist educators by providing our programs, online course content and worksheets in as many languages as possible: not only relevant European languages, but for example,  Arabic and Japanese are also planned for future release. Next in line for the Science Kit Physics Lab will be German, Hungarian and Portuguese so watch this space.

MORE INFO


Ya están disponibles las ediciones de Science kit en Italiano y en Español

Lanzado en Enero de 2019 en colaboración con Google, Arduino Science Kit Physics Lab está diseñado para estudiantes de primaria ( de 11 a 14 años ) para aprender sobre ciencia. Ahora el contenido está disponible en Italiano y Español, haciéndolo aún más accesible que nunca.

“Lo vas descubriendo todo tú mismo, fue muy divertido” Estudiante de Reino Unido de ARK Burlington Danes Academy

Arduino Science Kit Physics Lab, no necesita conocimientos previos sobre electrónica. Incluye un curso online  y equipamiento para llevar a cabo y probar las leyes fundamentales de la física tradicional a través de 9 proyectos científicos excitantes inspirados en atracciones populares de las ferias como el Gravitron y el Barco Pirata. Es perfecta para desarrollar habilidades como el pensamiento crítico y la resolución de problemas, a través de un aprendizaje mediante enseñanza reflexiva. Los alumnos experimentaran con fuerzas, movimientos, magnetismo y conductividad – haciendo sus propias hipótesis como científicos de verdad, probando sus suposiciones y recogiendo información en tiempo real usando la app de Google “Science Journal” para Android.

“Hace que la física práctica sea más accesible para los estudiantes” Graeme Wood, UK – Profesor de física, ARK Burlington Danes Academy. 

Increiblemente facil de empezar a usar, los alumnos simplemente tienen que conectar el dispositivo Android a la placa, montar el proyecto, y después usa los sensores que contiene la shield y los módulos plug-and-play  para simular las atracciones. Los datos son transmitidos del experimento a el dispositivo móvil del alumno via Bluetooth, donde se puede ver y analizar el resultado obtenido en la app Science Journal de Google o en las fichas de los alumnos.

Arduino Education  Science Kit Physics Lab  no está pensado para usarse únicamente en clase. De hecho, los alumnos pueden usar el kit en exteriores para convertir su recreo en su propia feria de ciencia aplicando los conceptos que han aprendido, y así, diseñar y probar sus propias atracciones. Basado en el uso de Arduino MKR WiFi 1010 , que es un laboratorio portátil incluyendo un grupo de sensores para medir luminosidad, temperatura, movimiento, campos magnéticos y mucho más… todo esto en una caja Gratnells protectora.

Arduino Education apunta a apoyar a los profesores proporcionando nuestros programas, contenido online y las hojas del alumno en el mayor número de idiomas posible: no solo en los idiomas Europeos relevantes, por ejemplo, Árabe y Japonés están planeados para futuras actualizaciones. Lo siguientes idiomas para Science Kit Physics Lab serán Alemán, Húngaro y Portugués.

MÁS INFORMACIÓN


Da oggi Science Kit è disponibile anche in italiano e spagnolo.

Nel Gennaio 2019, in collaborazione con Google, Arduino Science Kit Physics Lab è stato lanciato sul mercato, per studenti di scuola media (tra 11 e 14 anni) e non solo, con l’obiettivo di esplorare la scienza, divertendosi.

Da oggi, i contenuti del corso sono disponibili in italiano e spagnolo, rendendolo ancora più accessibile.

“Sei tu che esperimenti in prima persona, ed è stato davvero divertente poterlo fare” ha commentato uno studente inglese dell’accademia di ARK Burlington Danes.

Arduino Science Kit Physics Lab non richiede nessuna conoscenza pregressa in elettronica. Possiede un corso online con tutti i contenuti e gli strumenti per poterli condurre e testare le leggi fondamentali della fisica classica attraverso nove esperimenti di scienza, ispirati dalle attrazioni più popolari nei parchi divertimento, come la nave pirata o il Gravitron. E’ un prodotto ideale per poter sviluppare competenze come l’abilità di saper risolvere problemi e il pensiero critico, attraverso un metodo di apprendimento basato sull’indagine pratica. Gli studenti sperimentano con le forze, il moto, il magnetismo e la conduttività; creando le loro ipotesi come veri scienziati, verificando le loro supposizioni, e prendendo nota dei dati in tempo reale usando il Google Science Journal per Android.

“Rende molto più accessibile agli studenti praticare la fisica” Graeme Wood, docente di fisica, presso ARK Burlington Danes Academy.

E’ incredibilmente facile da avviare, gli studenti connettono semplicemente il loro dispositivo mobile Android alla scheda, costruiscono il progetto, e dopo, usano i sensori installati e i moduli plug-and-play per simulare le dinamiche dei dati. I dati sono trasmessi dall’esperimento al dispositivo mobile via Bluetooth, dove possono analizzare, registrare i risultati nel loro Google Science Journal oppure nelle loro schede di lavoro.

Arduino Education Science Kit Physics Lab non si limita soltanto alla classe. Infatti, gli studenti possono usare il kit anche fuori all’aperto, trasformando il cortile della scuola in un luna-park, applicando i concetti che hanno imparato e progettando e testando le loro attrazioni. Basato su Arduino MKR WiFi 1010, è un laboratorio portatile completo, che include vari sensori per misurare la luce, la temperatura, il moto, i campi magnetici e molto altro…tutto incluso in una comoda e sicura scatola.

Arduino Education mira ad assistere gli insegnanti sostenendo i corsi, i contenuti online e le schede per gli studenti, in più’ lingue possibili: non soltanto lingue europee, ma anche per esempio arabo e giapponese sono in programma per il futuro. Prossimamente, Science Kit Physics Lab verrà rilasciato in tedesco, ungherese e portoghese, perciò continuate a seguirci per restare informati.

INFORMAZIONI QUI

Arduino Does Multitouch

A lot of consumer gadgets use touch sensors now. It is a cheap and reliable way to replace a variety of knobs and switches on everything from headphones to automobiles. However, creating a custom touch controller for a one-off project can be daunting. A recent ACM paper shows how just about any capacitive sensor can work as a multitouch sensor with nothing more than an Arduino although a PC running processing interprets the data for higher-level functions.

The key is that the Arduino excites the grid using PWM and then examines the signal coming out of the grid. Finger poking changes the response quite a bit and the Arduino can sense it using the analog to digital converters onboard. You can find the actual software kit online. The tutorial document is probably more interesting than the ACM paper if you only want to use the kit.

The optimum drive frequency is 10 MHz. The examples rely on harmonics of a lower frequency PWM signal to get there. The analog conversion, of course, isn’t that fast but since your finger touch rate is relatively slow, they treat the signal as an amplitude-modulated input which is very easy to decode.

The sensors can be conductive ink, thread, or copper strips. There are several example applications, including a 3D printed bunny you can pet, a control panel on a sleeve, and an interactive greeting card.

The sensor forms an image and OpenCV detects the actual touch configuration. It appears you can use the raw data from the Arduino, too, but it might be a little harder.

We imagine aluminum foil would work with this technique. If you get to the point of laying out a PCB, this might come in handy.

Arduino on GitHub Actions

This post is from Massimiliano Pippi, Senior Software Engineer at Arduino.

GitHub Actions is the name of the SDLC (Software Development Life Cycle) system introduced by GitHub about a year ago, currently in public beta and now approaching the general availability status. When you read SDLC, think about some sort of CI/CD system that’s generic enough to let you define a sequence of operations not necessarily limited to build, test, and deploy code: GitHub Actions can help you automate processes in code reviews, issue triaging, and repository management.

GitHub Actions have been part of the tools we use at Arduino for a while now; helping us solve a wide range of problems from automating workflows within our backend infrastructure, to managing the release process of our open source software. In the spirit of giving back to the community, we started publishing some of the Actions we developed internally so that they can be used right ahead from any GitHub account that’s been granted access to the public beta of GitHub Actions, and eventually in any GitHub repository.

Our Actions are available from this repository and there’s one in particular we think the Arduino community will be happy to have – it’s called setup-arduino-cli and under the hood it takes all the steps necessary to have the `arduino-cli` binary available in a Workflow.  This means that in any step of your Workflow you can leverage the long list of features of the Arduino CLI.

# This is the name of the workflow, visible on GitHub UI.
name: test
 
# Here we tell GitHub to run the workflow when a commit
# is pushed or a Pull Request is opened.
on: [push, pull_request]
 
# This is the list of jobs that will be run concurrently.
# Since we use a build matrix, the actual number of jobs
# started depends on how many configurations the matrix
# will produce.
jobs:
  # This is the name of the job - can be whatever.
  test-matrix:
 
    # Here we tell GitHub that the jobs must be determined
    # dynamically depending on a matrix configuration.
    strategy:
      matrix:
        # The matrix will produce one job for each configuration
        # parameter of type arduino-platform, in this case a
        # total of 2.
        arduino-platform: ["arduino:samd", "arduino:avr"]
        # This is usually optional but we need to statically define the
        # FQBN of the boards we want to test for each platform. In the
        # future the CLI might automatically detect and download the core
        # needed to compile against a certain FQBN, at that point the
        # following include section will be useless.
        include:
          # This works like this: when the platform is "arduino:samd", the
          # variable fqbn is set to "arduino:samd:nano_33_iot".
          - arduino-platform: "arduino:samd"
            fqbn: "arduino:samd:nano_33_iot"
          - arduino-platform: "arduino:avr"
            fqbn: "arduino:avr:uno"
 
    # This is the platform GitHub will use to run our workflow, we
    # pick Windows for no particular reason.
    runs-on: windows-latest
 
    # This is the list of steps this job will run.
    steps:
      # First of all, we clone the repo using the checkout action.
      - name: Checkout
        uses: actions/checkout@master
 
      # We use the arduino/setup-arduino-cli action to install and
      # configure the Arduino CLI on the system.
      - name: Setup Arduino CLI
        uses: arduino/setup-arduino-cli@v1.0.0
 
      # We then install the platform, which one will be determined
      # dynamically by the build matrix.
      - name: Install platform
        run: |
          arduino-cli core update-index
          arduino-cli core install ${{ matrix.arduino-platform }}
 
      # Finally, we compile the sketch, using the FQBN that was set
      # in the build matrix.
      - name: Compile Sketch
        run: arduino-cli compile --fqbn ${{ matrix.fqbn }} ./blink

Example

Let’s say you keep your sketches in a GitHub repository, and you want to be sure that every time you push a git commit or you merge a pull request, the sketches compile correctly on certain boards you own, for example a Nano 33 IoT and a Uno. To keep the configuration at minimum, we can use a “build matrix”, so that GitHub will start a different job for each one of the platforms we list in the matrix, without the need to configure them explicitly.

You can find a working example here: https://github.com/arduino/arduino-cli-example

You can find more info and docs for the Action on the GitHub Marketplace: if you like it, please leave us a star!
We’re eager to hear your feedback, feel free to hit the Action repository and open an issue should you find any problem, or a feature request in case you want more from the action.

Arduino Blog 14 Nov 11:32

This Arduino Keeps Its Eyes On You

[Will] wanted to build some animatronic eyes that didn’t require high-precision 3D printing. He wound up with a forgiving design that uses an Arduino and six servo motors. You can see the video of the eyes moving around in the video below.

The bill of materials is pretty simple and features an Arduino, a driver board, and a joystick. The 3D printing parts are easy to print with no supports, and will work with PLA. Other than opening up holes there wasn’t much post-processing required, though he did sand the actual eyeballs which sounds painful.

The result is a nice tight package to hold six motors, and the response time of the eye motion is very impressive. This would be great as part of a prop or even a robot in place of the conventional googly eyes.

While the joystick is nice, we’d like to see an ultrasonic sensor connected so the eyes track you as you walk across the room. Maybe they could be mounted behind an old portrait for next Halloween. Then again, perhaps a skull would be even better. If you want a refresher about servos, start with a laser turret tutorial.

James Bruton’s 512 LED DJ helmet adds more glow to his Performance Robots show

If you’ve ever thought that your musical performance needed more LEDs, then James Bruton’s DJ helmet may be just the thing for you.

The YouTuber’s wearable device is built on the base of a protective face shield, substituting in a 3D-printed support for an 8×32 LED matrix, as well as four smaller 8×8 LED matrices arranged above and below the main section.

The 512 LEDs are powered using a portable LiPo battery and a 10A power regulator. Control is via an Arduino Mega, which is connected to an RJ45 jack that enables it to work with DMX lighting data. 

The result is a spectacular display, shown off nicely in an electronic concert (with his barcode guitar) starting at around 8:20 in the video below!

Arduino Blog 13 Nov 16:07

Rapidly create your own capacitive multi-touch sensors with this kit

You likely use touchscreens every day when interacting with your phone — perhaps even to read this article — but prototyping your own capacitive matrix is unfortunately out of reach for most makers and electronics novices. As seen here, researchers have devised a new technique that will allow for easier prototyping of this type of interface, which can function on both flat and curved surfaces, over a variety of materials.

To accomplish this, the team developed an Arduino library, as well as one for Processing, and used OpenCV to track multiple finger positions. Interactions have been tested with an Uno, Mega and LilyPad, and would presumably work with almost any other Arduino board as needed!

We introduce Multi-Touch Kit, a low-cost do­ it-yourself technique to enable interaction designers, makers, and electronics novices alike to rapidly create and experiment with high-resolution multi-touch sensors of custom sizes, ge­ometries, and materials. 

In contrast to existing solutions, the Multi-Touch Kit is the first technique that works with a commodity microcontroller (our implementation uses a standard Arduino) and does not require any specialized hardware. As a technical enabler, we contribute a modified multi-touch sensing scheme that lever­ ages the human body as a transmission channel of MHz range signals through a capacitive near-field coupling mechanism. This leads to a clean signal that can be readily processed with the Arduino’s built-in analog-to-digital converter, resulting in a sensing accuracy comparable to industrial multi-touch con­ trollers. Only a standard multiplexer and resistors are required alongside the Arduino to drive and read out a touch sensor matrix. 

The technique is versatile and compatible with many types of multi-touch sensor matrices, including flexible sensor films on paper or PET, sensors on textiles, and sensors on 3D printed objects. Furthermore, the technique is compatible with sensors of various scale, curvature, and electrode materials (silver, copper, conductive yarn) fabricated using conductive printing, hand-drawing with a conductive pen, cutting, or stitching. 

Simulate City Blocks With Circuit Blocks In A LEGO Box

Have you ever looked around your city’s layout and thought you could do better? Maybe you’ve always wanted to see how she’d run on nuclear or wind power, or just play around with civic amenities and see how your choices affect the citizens.

[Robbe Nagel] made this physical-digital simulator for a Creative Programming class within an industrial design program. We don’t have all the details, but as [Robbe] explains in the video after the break, each block has a resistor on the bottom, and each cubbyhole has a pair of contacts ready to mate with it. An Arduino nestled safely in the LEGO bunker below reads the different resistance values to determine what block was placed where.

[Robbe] wrote a program that evaluates various layouts and provides statistics for things like population, overall health, education level, pollution, etc. As you can see after the break, these values change as soon as blocks are added or removed. Part of what makes this simulator so cool is that it could be used for serious purposes, or it could be totally gamified.

It’s no secret that we like LEGO, especially as an enclosure material. Dress it up or dress it down, just don’t leave any pieces on the floor.

Via r/Arduino

An IMU ring for low-latency mixed reality input

Because of their ability to visually sense the environment, head-mounted mixed reality (MR) systems can detect when a user touches a wall or other surface. These surfaces can then become interactive panels, with the small caveat that they traditionally treat a finger coming within 10mm of the surface as a touch. 

While this leads to sometimes inaccurate readings, researchers at Tsinghua University in Beijing have implemented an inertial measurement unit (IMU) ring apparatus for contact sensing to increase precision from around 85% to just under 99%. 

The experimental setup for this exercise used an Arduino Uno to read accelerometer data, along with a capacitive arrangement to confirm when a touch actually took place. Accelerometer data was compared with readings from a Leap Motion optical sensor, which in addition to greater accuracy, also reduced latency.

Arduino Blog 12 Nov 21:20

This suitcase game lets you bring the escape room experience anywhere

To experience an escape room, you normally need a rather large dedicated space. This project, however, by creator Jason R, takes this physical clue-solving concept and shrinks it down to fit within a small suitcase!

To play, participants have to work their way through a series of problems, supplied in the ‘TOP SECRET’ documentation attached to and inside the device, connecting jumpers, flipping switches, and turning knobs as needed. 

A computerized voice guides you along the way, with LEDs and an LCD panel providing visual output as you save the day. The game is controlled via an Arduino Mega, while power supplied by a rechargeable USB power bank.

I created an “escape room-esque” game that is contained within a small suitcase. In total, there are about 15-20 puzzles and sub-puzzles that need to be solved in order to disarm the “explosives”. Players are given 60 minutes to arrange puzzles, decipher clues hidden in QR codes, connect cities in maps to form numbers, decode morse signals, and other similar things. 

Arduino Blog 12 Nov 18:03
arduino  escape room  game  mega