Grove - Mini Fan

Introduction

The Grove - Mini Fan module is a DC motor driver based on the AVR Atmega168 microcontroller. The module also provides a breakout through which you can change the microcontroller code. For example, the code can be changed so that the module can be used to drive a servomotor. By default, the module is set up to run the DC motor that is included in your mixer pack. The soft-leaved fan also included in the pack can be attached to the motor to make a fun project with kids. Being soft-leaved, the fan is completely safe and there is no chance of any injury even if it is moving at a high speed.

Features


  • User friendly output module that triggers a DC motor into operation based on signal received from an input sensor or switching module
  • Used in conjunction with DC motor included with the pack
  • JST 2.0 Interface used to connect to the motor
  • DC motor comes with a colorful soft-leaved fan accessory (as shown in the picture)
  • On-board micro-controller can be re-programmed to change module operation
  • Micro-controller runs Arduino Compatible code
  • Change code to drive Servo motors instead of DC motors
  • Uses Standard 4-pin Grove Cables to connect to other Grove modules
  • Note:for latest version(v1.1), the output voltage for motor is updated to 3.3 volts.

Interface Function


① UartSBee Interface: Use this interface to change the microcontroller code. Use a [UartSBee](/UartSBee_V4) module to connect to the microcontroller using the Uart interface.
② JST 2.0 Interface: Used to connect to a 3.3 volts DC motor(only 3.3 volts)
③ Grove Interface
④ ICSP Interface
⑤ Atmega168 Microcontroller
⑥ Servo Interface

Usage


Follow these steps to build a sample circuit using this module:

1.First connect the DC motor to the Grove - Mini Fan module using the JST2.0 two-wire interface.

2.Connect the Mini Fan module to the output side of your circuit (to the right of the power module). On the input side of the circuit, you may use a range of sensor based input modules (Grove - Light Sensor, Grove - Sound Sensor, Grove - Button or Grove - Slide Potentiometer).

3.Power up the circuit.

4.The DC motor starts to rotate when the input module supplies a trigger:

  • If using with a momentary switch like the one on the Grove - Button module, simply press the button to turn ON the motor.

  • If using with a Grove - Slide Potentiometer, move the slider from the GND position to VCC and see the speed of the motor increase as the supplied voltage increases. Attach the soft-leaved fan and you have a variable speed personal fan that you can run at whichever speed you desire to fight the heat!

  • If using with a Grove - Light Sensor connected directly to the input side of the circuit, you should see that the motor runs in bright light and stops in the dark:

  • If you want the motor to run only in the dark, add a Grove - NOT module between the light sensor and the power module.
  • If using with a Grove - Sound Sensor, you should see that the motor runs on detecting sound. Again, if you want to reverse the function, or in other words, if you want that the motor should be ON at all times except when there is a sound, add a Grove - NOT module between the sound sensor and the power module.

You can use either the Grove - USB Power module or the Grove - DC Jack Power module for the Grove circuit.

For building a circuit that controls a servomotor using a potentiometer, follow the steps below:

  1. Open the code directly to the path: \libraries\Servo\examples\Knob

  2. Upload your code to the on-board MCU. Ensure that you select the correct board type and COM port when uploading.

  3. Now you should be able to control your servomotor with a potentiometer

Availability


This Grove module is available as part of the following Grove Kit Series:

Alternatively, it can be bought stand-alone at the Seeed Studio Bazaar.

Resources


Help us make it better

Thank you for choosing Seeed. A couple of months ago we initiated a project to improve our documentation system. What you are looking at now is the first edition of the new documentation system. Comparing to the old one, here is the progresses that we made:

  • Replaced the old documentation system with a new one that was developed from Mkdocs, a more widely used and cooler tool to develop documentation system.
  • Integrated the documentation system with our official website, now you can go to Bazaar and other section like Forum and Community more conveniently.
  • Reviewed and rewrote documents for hundreds of products for the system’s first edition, and will continue migrate documents from old wiki to the new one.

An easy-to-use instruction is as important as the product itself. We are expecting this new system will improve your experience when using Seeed’s products. However since this is the first edition, there are still many things need to improve, if you have any suggestions or findings, you are most welcome to submit the amended version as our contributor or give us suggestions in the survey below, Please don’t forget to leave your email address so that we can reply.

Happy hacking