background preloader

Playground - InterfacingWithHardware

Playground - InterfacingWithHardware
These topics cover the hardware and software setup required to connect an Arduino device with a variety of electronic parts, chips and devices. A related topic not covered under this section is the shield, boards that plug directly into an Arduino's pin layout. Information on the creation and use of specific shields belongs in that section. Information on shields in general and their creation belongs here. See here for a table of shields and the Arduino pins they use. Arduino has limits on how much current can be sourced or sunk by its I/O pins. Navigation Output Input User interface Buttons,Encoders,Keypads Unified Input InterfaceText-based user interfacemicroBox Linux Shell look and feel for Arduino Phi_prompt user interface LibraryMenuSamplePhi_prompt glcd user interface Library This is being planned. Communication General Common Pinouts Examples and information for specific output devices and peripherals: How to connect and wire up devices and code to drive them. Visual Audio Output Bar Codes

Arduino and GSM Cellular – Part One Connect your Arduino Uno or compatible to the cellular network with the SM5100 GSM module shield. This is chapter twenty-six of a series originally titled “Getting Started/Moving Forward with Arduino!” by John Boxall – A tutorial on the Arduino universe. The first chapter is here, the complete series is detailed here. If you are looking for tutorials using the SIMCOM SIM900 GSM module, click here, and here if you have an Arduino Mega. Updated 15/01/2014 Introduction The purpose of this tutorial is to have your Arduino to communicate over a GSM mobile telephone network using the SM5100B GSM Cellular Shield: My goal is to illustrate various methods of interaction between an Arduino and the GSM cellular network using the SM5100B GSM shield from Sparkfun, with which you can then use your existing knowledge to build upon those methods. Stop! It is assumed that you have a solid understanding of how to program your Arduino. Getting started However your Arduino board can only supply just under 1A.

View topic - Method for stacking two Motor Shields to control 4 steppers I'm sharing a successful method for controlling 4 steppers from Arduino using two Motor Shields from AdafruitThis is so I can control the X Y and Z axis stepper motors of a CNC from one single arduino and can avoid a synchronized communication network and multiple Arduinos. The fourth motor control will be reserved for tool adjustments if needed, it is extra for now. I needed to be able to allow all the motors to hold while others were running. We are going to stack two motor shields on top of the Arduino. So here comes the very subtle and elegant hack! With the stack, one board will use the latch on pin 12, and the other on pin 13.All the commands/pins are sent to both boards, one board ignores (never latches) the commands for the other. You need separate function versions that use the different latch pins. Copy the AFMotor directory in the arduino/libraries directory to AFMotorA. Wish I could post the whole modified library, it is on my blog ...

How to Connect Multiple Arduino Microcontrollers with I2C Use I2c to connect several Arduinos together to combine their power. I2C stands for the Inter Integrated Circuits and is one of the best Multi Master Serial Computer Bus technologies used in different systems to connect the peripherals of low speed data transmission. The technology was invented by Philips for TVs but is used in all sorts of applications including our Wiimote and Arduino tutorial. The I2C circuits follow a standard operational procedure where only two bi-directional lines, a serial clock, and a serial data systems are used.  There are recently improved versions of I2Cs available on the market which can hold a higher number of nodes and can perform faster than the rest. Don’t miss: Top 40 Arduino Projects of the Web You can use I2C then you will be able to connect more than one Arduino to a robot or other application and you can easily establish a network of sensors. How To Set Up Your I2C

GPRS Shield GPRS Shield [SLD33149P] - $59.90 Dimitri kolotauri | 2014-01-21 Hello, we've have hardware flow control problem. we've set the 10K resistor between RTS and VCC and also 10k resistor between DTR and GND. we've set AT+IFC=2,2 (for hardware flow control) RTS line is working properly. problem is that the CTS line isn't working and also DCD line isn't working. (we've set AT&C1 for DCD function). we want to know this two things: first: when is sim900 free to receive data and I think for this is CTS line, isn't it? second: we want to know. when serial communication is paused and if there is received some data, we want to know this and I think for this is DCD line, isn't it? Could you please help me figure out how to receive a SMS and save it as an array in the arduino to use for conditional programming? Answered by Terry Chen | 2013-07-29 Was this useful? The shield don't find the network, and i don't know why . Hi,You can refer to this page( please scan the example-6.3!

Some extra information before we proceed From both sensor we can measure the angle but using two distinct technique. To measure the angle using the gyro we have to integrate the signal.But why we have to do this? Because the gyro give us the angular rate, so a simple way to get the angle is have the angular rate multiplied by the time [angle = angle + w * dt] To measure the angle using an accelerometer we have to sense the gravity in each axis of the accelerometer, what it means, the projection of the gravity acceleration on each direction of the sensor give us an idea about the angle. So why we gonna use two sensor instead one? And how to merge both signal? filtered_angle = HPF*( filtered_angle + w* dt) + LPF*(angle_accel); where HPF + LPF = 1 The values of HPF and LPF can be found at this link, on the filter.pdf file.

Storing WiFi configuration in EEPROM on Arduino - Zero Brane The Arduino streaming using AJAX example provides a simple way to access analog and digital ports on Arduino over WiFi, but one of its deficiencies is the challenge of configuring WiFi. It establishes its own network, but is not able to connect to any of the existing network, which may be the configuration you prefer. It is easy to modify the code to make it connect to an access point, but the configuration would be hardcoded and any change would require a new firmware upload. Since the example already provides a simple web interface, wouldn't it be convenient to have a way to update board's WiFi configuration from a browser and make the board to store and use that configuration? This is exactly what I am about to discuss. Storing to and retrieving configuration from EEPROM First, we need a way to store and retrieve data to and from EEPROM. Note that both loadConfig and saveConfig simply read or write a specific number of char values starting at configured CONFIG_START position.

Easy Driver Examples Easy Driver Examples Sample code and projects to get your stepper running! Lots of folks buy EasyDrivers or BigEasyDrivers and then get them to work just fine in their project. But some don't, and so I thought it would be a good idea to write down some simple instructions for getting your Easy Driver working as quickly and easily as possible. All of these examples are going to be done with my Easy Driver and Big Easy Driver stepper motor driver boards driving several different random stepper motors I have lying around the lab. And don't forget to read Dan Thompson's excellent Easy Driver tutorial blog post if you want to read more up on this stuff. Note1: All examples will work equally well with Easy Drivers or Big Easy Drivers. This is the most basic example you can have with an Arduino, an Easy Driver, and a stepper motor. Then load this sketch and run it on your Arduino or chipKIT: It doesn't get much simpler than that. So how fast is this code going to run the stepper? Questions?

Related: