A Halloween Sound Trigger with Raspberry Pi and Arduino

Originally posted on MAKE:

People have been asking me about interesting applications for the Raspberry Pi, and whether Raspberry Pi is an Arduino killer of some sort. The answer to the second question is no; in fact it is an Arduino augmenter. This blog post answers the first question with another question: how about a Haunted House sound effects machine?

A new revision of the Early Release of Getting Started with Raspberry Pi came out last Friday. I read Matt Richardson’s chapter on using Pygame with the GPIO pins on the Pi, which included a simple Sound Sample player. I adapted his example to work with an Arduino that talks to the Pi over a serial connection; this skeletal (ahem) hookup could easily be incorporated into some sort of Halloween installation. I decided to use Arduino for reading the inputs because out of the box it is more robust and can handle a wider…

View original 576 more words

Working with the SainSmart 5v Relay Board

Today we are working with our SainSmart 5v Relay Board. This is a simple and inexpensive 4 port SPDT relay board (there are boards with more or less relays)  that takes a digital signal (LOW) from the Arduino, through an optoisolator, which triggers a transistor, pulling in the relay. The relay contacts are rated for 10 amps at 120/240vac, and 10 amps at 30vdc or less.
IMPORTANT!
The contact pins are not numbered, and are reversed if you go by what the schematic appears to be saying. Facing the screw terminals, with the board face up (solder side down), the screw terminals are as follows (from left to right):
K4
1 – Normally Open
2 – Common
3 – Normally Closed
K3
1 – Normally Open
2 – Common
3 – Normally Closed
K2
1 – Normally Open
2 – Common
3 – Normally Closed
K1
1 – Normally Open
2 – Common
3 – Normally Closed
When you send a logic low, that turns on the LED, and energizes the coil. However, a disconnected input will drop out the LED and the coil, as will a logic HIGH. We will send a logic HIGH in setup to ensure the relays are disabled on boot.

There is a 6 pin male header, so you will need a cable or female pins to slide over the header to connect it to your Arduino. Pin 1 connects to Arduino GND, Pins 2-5 to Digital output pins, and Pin 6 to Arduino 5v. A red LED for each relay lights when active (LOW).

int relayPin1 = 7;                 // IN1 connected to digital pin 7
int relayPin2 = 8;                 // IN2 connected to digital pin 8
int relayPin3 = 9;                 // IN3 connected to digital pin 9
int relayPin4 = 10;                // IN4 connected to digital pin 10

void setup()
{
pinMode(relayPin1, OUTPUT);      // sets the digital pin as output
pinMode(relayPin2, OUTPUT);      // sets the digital pin as output
pinMode(relayPin3, OUTPUT);      // sets the digital pin as output
pinMode(relayPin4, OUTPUT);      // sets the digital pin as output
digitalWrite(relayPin1, HIGH);        // Prevents relays from starting up engaged
digitalWrite(relayPin2, HIGH);        // Prevents relays from starting up engaged
digitalWrite(relayPin3, HIGH);        // Prevents relays from starting up engaged
digitalWrite(relayPin4, HIGH);        // Prevents relays from starting up engaged
}

void loop()
{
digitalWrite(relayPin1, LOW);   // energizes the relay and lights the LED
digitalWrite(relayPin2, LOW);   // energizes the relay and lights the LED
digitalWrite(relayPin3, LOW);   // energizes the relay and lights the LED
digitalWrite(relayPin4, LOW);   // energizes the relay and lights the LED
delay(1000);                  // waits for a second
digitalWrite(relayPin1, HIGH);    // de-energizes the relay and LED is off
digitalWrite(relayPin2, HIGH);    // de-energizes the relay and LED is off
digitalWrite(relayPin3, HIGH);    // de-energizes the relay and LED is off
digitalWrite(relayPin4, HIGH);    // de-energizes the relay and LED is off
delay(1000);                  // waits for a second
}

read more: http://arduinotronics.blogspot.com/2013/01/working-with-sainsmart-5v-relay-board.html

Bringing a Classic Marklin Z-Scale Model Railroad to Life With Arduino

Originally posted on MAKE:

Front_049
“I have this train I bought in Germany,” said Lynn, who approached me at a train show, “and I’m looking for someone to build a railroad for me.”
I visited her a few days later, and found that she had a Märklin Mini-Club Z scale train set, track, and accessories. She had purchased it in 1978 as a gift for her father. (At the time, Z scale trains were the smallest commercially available.) After he passed away, the train had come back to her. She had never seen it run, but wanted an operating railroad in time for her retirement party. I agreed to build her a 15″ x 31″ tabletop railroad, with less than five months to get it done.

Locomotive

Cleaning and testing Lynn’s locomotive, still in its very battered original box, was an early priority. How long ago had it last been operated? Had it ever been…

View original 2,141 more words

The 5 best Arduino books

Whether tackling a new hobby, prototyping a product idea, or simply satisfying your curiosity, the world of Arduino offers a wealth of possibities.  The best way to dive in is with the right resources in hand, so EngBlaze has picked five of the best Arduino books out there to help you brush up on your skills.  Each book caters to different topics and skill levels, so check out our summaries to see which one is right for you.

Beginning Arduino

Michael McRoberts

Beginning Arduino by Michael McRobertsMost Arduino books take one of two approaches.  Some treat every new concept as individual module and present examples that are effective but simple and self-contained.  These help you learn, but can be a bit dry, and often don’t include valuable real-world application notes.  Other books take the “giant staircase” approach, where they introduce concepts one by one as you construct a complex example project.  This is useful and often more fun, but what if you don’t want to end up with a tweeting, GPS-enabled, cellular connected kegerator?

Beginning Arduino is different in that each example builds off one another, but still includes new considerations that help you apply each concept to your own ideas.  The book is extremely well-reviewed on Amazon, and readers say it provides the perfect beginner angle without any coddling.  It’s also best for hackers who have never used Arduino or other microcontrollers before, but have some sort of basic programming experience (can be any language).

Get the book here: Beginning Arduino (Amazon)

Arduino Cookbook, 2nd Edition

Michael Margolis

Arduino Cookbook by Michael MargolisThe Arduino Cookbook, published by O’Reilly Media, is a huge resource for those looking for an introduction to Arduino and physical computing.  We say huge quite literally, as this tome clocks in at 680 pages in the paperback version.  It covers everything from setting up the Arduino programming environment on multiple operating systems, through tothrough basic programming concepts, Arduino shields, and various types of possible input and output.

Filled with tons of recipes and example projects that are relatively self-contained, the book is best used as a reference and as inspiration for code and project ideas.  There are illustrated examples for outputs such as lights, relays, buzzers and speakers, and inputs such as GPS, remote controls, and various sensors.  It also covers valuable communication topics such as ethernet, RFID, and wireless networks, so you can get your Arduino talking with the outside world.

If you’re already an experienced programmer and are just looking to figure out the differences between Arduino and other platforms, the Arduino Cookbook probably isn’t for you.  However, if you’re new to the awesome world of robotics, embedded systems, and DIY electronics, the Cookbook will keep you occupied for a long time.

Grab it here: Arduino Cookbook, 2nd Edition (Amazon)

This version has been updated for the Arduino 1.0 release, so it will include all the latest changes.  It was published on December 30th, 2011.

30 Arduino Projects for the Evil Genius

Simon Monk

30 Arduino Projects for the Evil Genius by Simon MonkSimon Monk gives Arduino newcomers a walkthrough that goes further than “Getting Started With Arduino”, but still covers each topic in a very accessible way.  He also takes example projects beyond the workbench and includes helpful considerations to how you might want to implement them in the real world.  For example, the book has the obligatory “blink a LED” example, but then goes on to modify the circuit for high power LED’s that you can use in various applications.

The projects are fun and creative, including a servo-controlled laser, lie detector, magnetic door lock, and more.  Each example has a full schematic, parts list, and example code to get your rolling quickly.  If you’re looking for your next step in Arduino world domination, check this book out.

Find the book here: 30 Arduino Projects for the Evil Genius (Amazon)

Getting Started with Arduino (Make: Projects)

Massimo Banzi

Authored by Massimo Banzi, a co-founder of the Arduino platform, Getting Started with Arduino provides a great answer to “What is Arduino?”, with history and a full overview of the Arduino hardware and software.  Banzi is an expert in interaction design and obviously knows the platform he invented inside and out.  You won’t find a lot of advanced programming concepts contained within, but armed with this book, an Arduino board, and some basic electronic parts, you’ll be able to get a thorough introduction to what’s possible in the the microcontroller world.  This is the 2nd edition of the book, recently updated for the release of Arduino 1.0.

Snag the book here: Getting Started with Arduino (Make: Projects) (Amazon)

Building Wireless Sensor Networks: with ZigBee, XBee, Arduino, and Processing

Robert Faludi

Building Wireless Sensor Networks: with Zigbee, Xbee, Arduino, and ProcessingReady to take your microcontroller skills to the next level?  Arduino is a fantastic platform for sensing and data collection projects.  For extremely low time and cost investment, you can monitor your home’s energy use, track weather data, record the position of a vehicle or important possession, and more.  The question is: once you collect this data, how do you get it from the Arduino back to you?

Increasingly, wireless communications are the answer.  Building Wireless Sensor Networks is a top to bottom introduction to low power and low cost wireless using Arduino.  Zigbee is a point to point wireless networking protocol that is excellent for creating mesh networks – networks where every device can communicate with every other, and don’t require a central connection point.  Xbee is a line of popular radios that use this protocol.  The book walks you through setting up a network, exploring the Xbee API and firmware options, and starts you down the road of creating your own wireless projects.  Networking is a tricky topic, with lots of obscure settings and tricks to worry about.  Armed with this book, you’ll be up and running in no time.

Buy the book here: Building Wireless Sensor Networks (Amazon)

Advanced reader bonus: Arduino + Android Projects for the Evil Genius

Simon Monk

Arduino + Android Projects for the Evil Genius by Simon MonkThe second book on this list by Simon Monk, Arduino + Android Projects is for the hacker who is ready to step into the world of advanced electronics.  Once you’ve mastered basic projects, you may want to try your hand at getting your microcontroller projects talking to another mobile device.  Maybe you have an idea for an app+sensor prototype and want to test it in the market.  Or maybe you want to build amazing robots that are controlled via your phone.  If any of this sounds appealing, this book is for you.

Written in an inventive and creative style, the book covers advanced Arduino topics and gives an introduction to the Android Open Application Development Kit (ADK) that allows your phone to talk to external devices via USB.  It also discusses wireless methods such as Bluetooth and Wifi.  The previously mentioned Building Wireless Sensor Networks will get your Arduino talking over the air, but if you want to interact with projects anywhere using mobile devices, check this one out.

Buy the book here: Arduino + Android Projects for the Evil Genius (Amazon)

Read more:http://www.engblaze.com/best-arduino-books/

Ferrofluid Arduino Project

Just enjoy the show!!

a wifi Arduino mobile robot for iOS & Android devices

RK-1 | Mobile Robot Build

 

RK-1 | Catalogue of Mobile Robot Chassis

Read more:http://www.kickstarter.com/projects/mymobilerobots/rk-1-a-wifi-arduino-mobile-robot-for-ios-and-andro

Show Time!! Have Fun with Arduino

il_570xN.402083863_olyf il_570xN.402090812_bd25 il_570xN.402121881_6zoh il_570xN.402121947_ek5z il_570xN.402128692_71ii il_570xN.402592960_tims il_570xN.429069609_fww8 il_570xN.468532182_59uu il_570xN.402592960_tims il_570xN.468532182_59uuil_570xN.511540387_mwbg

you guys can find all those items here:http://www.etsy.com/sg-en/shop/HardResols?page=3

Temperature Control (ST7735 TFT Display + Arduino + PT1000 )

This project was set up by a fan of sainsmart named Dieter. In this project, he has used the SaintSmart 1,8″ TFT.

Let’s check how did he make it.

New Project – Temperature Control (ST7735 TFT Display + Arduino

+ PT1000 )

Hi @ll,
I have started a new poject…….
A friend ask me  to build him a temperature control unit for his home brew beer production. :-)
This control unit should be able to hold the temperature of a fluid on a defined temperature level and control the heating of the fluid tank.
The heating element of the tank has a power of 1800W.
To control it, I will choose for this task a 20A relay.
My Setup:
  • SaintSmart 1,8″ TFT ( similar to the adafruit TFT) – useing the adafruit libraries (ST7735 and gfx)[click]
  • Arduino mini pro 328
  • PT1000 with a Hygrosens PT-MOD-10V-T2 0 – +160 °C converter unit
During implementation of the firmware I decided also to create a framework for this wonderfull TFT Display useing the Adafruit libs.
With this framework you will be able to setup very quick and easy complex graphic objects on your HMI ( TFT Display ) like Symbols,Textfields, Leds, Bargraphs and many more.
Each object has several defined functions to parametrization e.g foreColor, backColor,Text,max min Values, update an object, write a value to a object or toggle it synchronized by time. ( e.g the framework should have a similar usability like working in a modern IDE like Visual Studio .NET)
So a full working Bargraph is only some rows of code in your arduino sketch, because the working code is stored in a C++ class in my framework.
A little overview about this framework you can see in the enlosed video.
The next picture will give you an overview about my HMI screen (HMI HumanMachineInterface)
  • First row the Header Text is displayed – here the name of the application
  • 6 Symbol
    • R … RUN Mode => this symbol will toggle between green and black once a second(the time is variable to define )
    • P … Programm Mode => this symbol is static if you are in program mode
    • A … Automatic Mode  => this symbol is static if you are in automatic heating mode
    • m … manual Mode      => this symbol is static if you are in manual heating mode
    • H … Heating                => this symbol is static if the heating element is on
    • E … Error                   => this symbol is static and shows that warning or error  occur
  • IST Temp = actual temperature ( e.g here 51°C – its only sample  here)
  • ZIEL Temp = target temperature ( e.g here 20°C – its only a sample here )
  • dT = delta temperature – this will be the lower power up position of the heating element. If the actual temp. is bigger than the target temp. the heating element is switched of and turns on if actual temp. is lower than target temp minus dT
  • on last position a Bargraph of the actual temperature is displayed with the maximum and minimum values
I going to report more details about this and especialy the HMI Framework soon.
Enjoy it :-)

Funding to Explore & Develop 4D Printing Materials

4d Printing Research

Researchers at Harvard SEAS, the University of Illinois and the University of Pittsburgh have received a USD$855,000 grant from the United States Army Research Office to further look into and develop ’4D printing’ of functionally adaptive materials.

Imagine a garment that could respond to lighting changes to alter its colour and pattern.  Imagine a vehicle with a coating on its body that adapts to environmental conditions.

A trio of university researchers from the Harvard School of Engineering and Applied Sciences, the University of Illinois and the University of Pittsburgh Swanson School of Engineering propose to evolve Skylar Tibbits (@SkylarTibbits) 4D printing breakthrough: 3D printing materials that can exhibit behavioural changes through the traditional fourth dimension, time.

“Rather than construct a static material or one that simply changes its shape, we’re proposing the development of adaptive, biomimetic composites that reprogram their shape, properties or functionality on demand, based upon external stimuli,” says principal investigator Anna C. Balazs, Professor of Chemical Engineering at the University of Pittsburgh, who studies the computational design of chemo-mechanically responsive gels and composites. “By integrating our abilities to print precise, three-dimensional, hierarchically-structured materials, synthesize stimuli-responsive components and predict the temporal behaviour of the system, we expect to build the foundation for the new field of 4D printing.”

Co-Principle Investigator Jennifer A. Lewis, Professor of Biologically Inspired Engineering at Harvard SEAS and expert in 3D printing functional materials, explains that current 3D printing technology facilitates complex functionality at nano and micro levels within specific areas of a structure. “If you use materials that possess the ability to change their properties or shape multiple times, you don’t have to build for a specific, one-time use,” she says. “Composites that can be reconfigured in the presence of different stimuli could dramatically extend the reach of 3D printing.”

As the research will utilise responsive fillers embedded within a stimuli-responsive hydrogel, the third principle investigator, Ralph G. Nuzzo – Professor of Chemistry and Professor of Materials Science and Engineering at the University of Illinois, a synthetic chemist who has created novel stimuli-responsive materials – says this opens new routes for producing the next generation of smart sensors, coatings, textiles and structural components:

“The ability to create one fabric that responds to light by changing its colour, and to temperature by altering its permeability, and even to an external force by hardening its structure, becomes possible through the creation of responsive materials that are simultaneously adaptive, flexible, lightweight and strong. It’s this ‘complicated functionality’ that makes true 4D printing a game changer.”

the original post:http://3dprintingindustry.com/2013/10/08/funding-explore-develop-4d-printed-materials/

HUMAVIPS robot finds you in a party

What makes a good friend? All right. Ability to recognize a number of other people, from These are the social skills of a team of researchers has given operating system € 2.600.000 € of funding from the European Commission sought to create in three years for new Arduino robot.

high quality arduino robot kit,6wd robot chassis online for sale.

“Humanoids with hearing and visual abilities in populated” project to test new ways to help the autonomous mobile robots to mimic the social skills that we can “cocktail effect” or the ability of a person or a lone voice among the noise and called several other people. In the past there were many best arduino robots with any type of voice or facial recognition software, but it has a different level HUMAVIPS robot. The ability to focus on one person, this type of system a large group of data that could be something specific to focus on just the next step in the direction of anthropomorphic robots.
High quality 4wd arduino robot kit with Omni-directional wheel
Another way to understand this robot is able to communicate with friends and maybe people gestures. Project Director and Director of Research INRIA, Radu Horaud, he explained, as shown by neurophysiological experiments, exercise activates the auditory areas of the brain. Wholesale arduino robot with an emphasis on his words with gestures is one thing that is not given much importance in the past, and add an interesting dynamic interaction between humans and robots.
2wd arduino robot kit,3-wheel robot chassis
As Horaud reveals the goal of all of these studies is to determine ultimately HUMAVIPS robots in a room full of people to enter and be able to be the voice of one, select the person you want to talk to him, we are focused on themselves and go to the development of communication involved. To achieve this goal, it is much more complicated than that, but what I think people think it’s not so easy to get the other.

read more: http://www.mhobbies.com/blog/humavips-robot-finds-you-in-a-party-2/

Follow

Get every new post delivered to your Inbox.