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
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
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
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.
Most 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)
The 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.
Simon 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)
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)
Ready 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
The 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)
Just enjoy the show!!
RK-1 | Mobile Robot Build
RK-1 | Catalogue of Mobile Robot Chassis
you guys can find all those items here:http://www.etsy.com/sg-en/shop/HardResols?page=3
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 )
- 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
- 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
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.”
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.
“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.
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.
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.