Code Monkey home page Code Monkey logo

arduino-ride-on's Introduction

Arduino-powered Ride-On

Maker: Brian Gershon, Jan 2014

We inherited an older version of a Disney Princess Activity Ride-On toy that was in good shape, but the electronics didn't work.

I tried to get things working, but wires were frail and battery wires were fried.

I decided to rip out the old electronics and wires, add an Arduino Pro Mini and a lot of solder and rewiring, and was able to repurpose its 6 buttons/switches/levers, 2 LEDs blinkers and speaker.

Hardware

The Arduino Pro Mini was ideal because:

  • It supports a generous power-saving mode, uses 3V (instead of 5V) and is small.

Software

This Arduino code does three things:

  • Support Arduino Mini Pro sleep mode to conserve battery. Powers down after about 30 seconds of no use.

  • Toy's ignition switch powers it back up

  • The main loop flashes the left/right blinkers slowly, then speeds up when a button pressed

  • Keypress, power-up and power-down make different sound. Several buttons trigger more elaborate songs.

Special thanks to these authors:

Future improvements

  • I used two different sound implementations, these could be merged.

  • I'd like to spend more time hunting down better sounds, maybe leveraging Play RTTTL Sounds with Arduino or even a more sophisticated sound system (SD card with sound files).

  • A pressure sensor under the seat might be a fun addition, as well as adding more LEDs.

arduino-ride-on's People

Contributors

briangershon avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.