Pages

Tampilkan postingan dengan label motor. Tampilkan semua postingan
Tampilkan postingan dengan label motor. Tampilkan semua postingan

Sabtu, 30 April 2016

Arc Controller Motor Shield More Power!!

The August 21 article "Arduino Motor Shield, Arc-Controller Launched By Arc Robotics" gave me a good reason to do a little research on microcontroller (MCU) motor control and motor shields.
Arc-Controller motor shield

The article covers the Arc-Controller, a new high capacity motor shield that has a Kickstarter campaign in progress, telling us:
"Maker, developers and hobbyists that enjoy building Arduino platform based projects might be interested in a new Arduino Motor Shield called the Arc controller which has been created by Arc Robotics...“There have been a lot of amazing projects come out of the Maker revolution, however, many are limited by the capability of their motor controller. We want to change that. The Arc-Controller is a bridge to bring high Amp motor control to your projects, up to 43 amps with a heat sink. It is capable of variable speed and direction control over a single Stepper Motor or two DC motors, because when do you only need one motor. The Arc-Controller is compatible with about any Arduino, or other micro controller such as Raspberry Pi. It runs an ATMega328, and is user programmable via the Arduino IDE."
The Kickstarter campaign still has 36 days to go, but it has gotten off to a very slow start, with only $927 pledged of the $41,500 funding goal. According to the Arc-Controller Kickstarter page,
"The Arc-Controller built around two H-Bridges. Each one can supply 43 amps of continuous current, with a properly mounted heat shield. The dual H-Bridges run separately, controlling two high-end DC Motors or as one controlling a single stepper motor. Built into the H-Bridges are current and temperature fail-safes.  If they begin to get too hot, or if they exceed the maximum current levels, current limiting will take affect. They will automatically shut down until they cool off, or until conditions are safe to operate. We also have included a reverse polarity protection...There is an integrated circuit on board that gives a current reading from the H-Brides to see how much current each individual motor is using. This gives you the option to write your sketches to react under certain loads, detect shorts and over heating states...We are creating a simple library that can be used to easily send commands to the Arc Controller. These commands can configure the Arc Controller to run a stepper motor, drive two brushed DC motors, and even an integrated an XY thumb stick “Arcade Drive”. The interface library will take input from you and transmit it to any number of connected Arc Controllers...We have had lots of success with tank style robots to the point that we made it run on two wheels until you want it to act like a tank. then it will lay down and drive like a tank. We have many theoretical uses, that we are eager to try such as: home made Segways, drive-by-wire go-karts, RC lawn mowers..."
There are a fair number of existing motor controllers for Arduinos if the Arc-Controller is overkill
for your needs. Here is a sampling of whats available for Arduino:
Adafruit motor shield V2
  1. Adafruit Motor Shield V2 for Arduino -- $19.95 -- "We kept the ability to drive up to 4 DC motors or 2 stepper motors, but added many improvements...Instead of a L293D darlington driver, we now have the TB6612 MOSFET driver: with 1.2A per channel and 3A peak current capability. It also has much lower voltage drops across the motor so you get more torque out of your batteries...Instead of using a latch and the Arduinos PWM pins, we have a fully-dedicated PWM driver chip onboard. This chip handles all the motor and speed controls over I2C...5 address-select pins means up to 32 stackable shields: thats 64 steppers or 128 DC motors!"
  2. Pololu Dual MC33926 Motor Driver Shield for Arduino -- $29.95 -- "This shield makes it easy to control two brushed DC motors with your Arduino or Arduino-compatible board. Its dual MC33926 motor drivers operate from 5 to 28 V and can deliver a continuous 3 A per motor. These great drivers also offer current-sense feedback and accept ultrasonic PWM frequencies for quieter operation."
  3. Ardumoto - Motor Driver Shield -- $24.95 -- "This is a motor shield for Arduino that will
    Ardumotor from SparkFun
    control two DC motors. Based on the L298 H-bridge, the Ardumoto can drive up to 2 amps per channel. The board takes its power from the same Vin line as the Arduino board, includes blue and yellow LEDs to indicate active direction, and all driver lines are diode protected from back EMF
    ."
  4. Monster Moto Shield -- $69.95 -- "This is essentially a ramped up version of our Ardumoto motor driver shield. For this monster shield we’ve replaced the L298 H-bridge with a pair of VNH2SP30 full-bridge motor drivers. We’ve also beefed up the support circuitry so this board is capable of driving a pair of high-current motors!"
  5. EasyDriver Stepper Motor Driver -- $14.95 -- "The EasyDriver is a simple to use stepper motor driver, compatible with anything that can output a digital 0 to 5V pulse (or 0 to 3.3V pulse if you solder SJ2 closed on the EasyDriver). EasyDriver requires a 7V to 20V supply to power the motor and can power any voltage of stepper motor."
If you use large motors or lots of motors on your MCU projects and could really use the Arc-Controller, you may want to head over to their Kickstarter page and support their campaign. If you know of other motor shields that do pretty much the same thing, send an email to arcatabob (at) gmail {dott} com and let me know what you use or recommend, and Ill update the post with that info.

**********
Read More..

Sabtu, 26 Maret 2016

MCU Music Home Multi zone Arduino Audio

Members of the Humboldt Microcontrollers Group have a more than average interest in microcontrollers (MCUs) and music, e.g. the Humboldt Laser Harp (HLH) and Raspberry Pi music systems.

Weve got the proof-of-concept HLH working, but we need to take the next step in expanding the musical capabilities of the HLH. After I talk with Ed, Nick and others in the MCU group about how to most cost effectively improve the music from the harp, Ill write a post about electronic music component options. In the meantime, heres an MCU music topic I read about in an August 2014 Atmel blog post.
Custom PCB fabbed by OSH Park

The Atmel post points to an Instructables titled "The Smartphone Operated House-Wide Audio System" that talks about a system that:
"...solves the seemingly ubiquitous problem of being able to listen to your music from anywhere in your house. Say goodbye to a separate iPod dock in each room! This instructable will show you step-by-step how to build a house wide, multi zone audio system which can be entirely controlled from your Smartphone or computer (really anything with a web browser) from anywhere in your house which you have a Wifi connection...its also expandable to however many zones you need...this system allows you to use speakers and amps of your choosing and at a fraction of the cost of a Sonos system. In this project we will be making use of an Arduino uno with an ethernet shield and a custom PCB which can be ordered from your favorite PCB manufacturer (I recommend OSH Park). The central component of the PCB is the PT2258 IC. This IC allows for volume control of 6 audio channels and communicates with the Arduino over the I2C bus."
Arduino with Ethernet shield and custom PCB with PT2258 IC
The Princeton Technology datasheet for the PT2258 IC shows the block diagram and pin configuration for this component. Reading over the Tutorialsto.com write-up about the IC will give you a general understanding of the component if you dont already know what it is.

Lepai LP-2020A+ amplifier
This MCU project is more complicated than some projects in other posts Ive written, but it will give you good experience in doing activities like ordering a custom PCB (printed circuit board), soldering components on the custom PCB, and hooking up your fabbed and assembled custom PCB with a 6-channel amp and power supply. The Instructables has a pretty good set of photos showing how to solder the components on the PCB, so dont worry about that step if you havent assembled many, or any, PCBs. The two amplifier options listed in the project write-up both look fun to work with; a Lepai LP-2020A+ for about $20 or a Parts Express AA-AB34181 for about $60.

The Instructables project author describes using the finished audio system this way:
Parts Express AA-AB34181 amplifier
"In order to maintain the idea of being able to control the system from a smartphone, I used a Chromecast with an HDMI audio extractor. This allows us to take the audio the Chromecast outputs and plug it into our PT2258 control board. Thus we can simply cast our favorite Pandora station or music from Google Play Music to the Chromecast and control the volume from our Arduino. Simply plug the Chromecast into a TV and set it up on your home network, then unplug it from the tv and plug it into the HDMI audio extractor. Using a RCA to 3.5mm cable, plug the HDMI audio extractor into the input of the PT2258 board...The system can be controlled by anything which has a web browser and is connected to your home network. All you have to do is type in the IP address of the arduino followed by "/?app" (i.e. 192.168.1.199/?app) and you will be brought to the control app for the system...The greatest limitation of this system is the fact that there is only one audio input for the entire system. That means you have to listen to the same song throughout the entire house."
This system costs about $300 to build, so I wont be putting one together any time soon, but the project gives a good overview of setting up a pretty versatile home audio system from scratch.

**********
Read More..