I wanted to connect arduino mega with GSM shield(mounting) and a ultrasound sensor with a battery(9V) to post data and send SMS. but it was working for 10 minutes and stops working i.e the lights are on but the signal is not constant(checked with all the networks and signal strengths : no issues there). It is working properly with new battery for 10 minutes(tested with several new batteries)Is this power issue. If yes, please help me resolve this issue.
-Is GSM shield mounting creating the problem?
-how to get a long battery life with arduino and GSM shield.
Thanks,
Sandeep
This is power issue, GSM modem uses 1W (200mA at 5V) of power on 850/900 MHz, and 2W on 1800/1900 MHz, and GSM shield requires peaks of up to 2A current.
You need more batteries or dc power supply.
Related
I'm doing a project in which I have to constantly monitor the acceleration, gyroscope and heart pulse rate and based on that I have to send location info to particular numbers. Apart from this, I have to send the pulse rate & location info to Google firebase.
Components required:
Arduino Uno
GPS Module
GSM Module
Accelerometer/Gyroscope sensor
ESP8266 01 WIFI Module
Pulse Oximeter sensor
I'm new to Arduino environment. I don't know if I can use all these peripherals simultaneously. Can you please let me know.
Thanks in advance
Arduino Uno has
2(SDK,scl) for I2C
1 spi,
1 UART
most of the above module supports I2C. you can connect multiple slaves to the single master.
you can make Arduino as a master and others as slave
I am trying to do a project based on arduino and Android in which I want to use ultrasonic sensors and Bluetooth module hc-05 . I want to detect any obstacle using ultrasonic and send it's distance to Android app using Bluetooth. I am completely new to arduino and have never used it before . How could I connect both the Bluetooth and ultrasonic sensor to arduino uno board without using breadboard? Is it possible to connect both of them without using breadboard and just the jumper wires?
You can connect the Bluetooth Module and Ultrasonic Sensor with jumper wires directly to the Arduino.
Depending upon the Ultrasonic Sensor you are interfacing, there must be a library or a sample code. You can tweak the code to get the distance in your desired format or variable.
As far as the Bluetooth is concerned, you can operate it at 3.3v or 5v depending upon the module you use. Most of the Bluetooth module support both 3.3v and 5v - as they have voltage regulators on their break out. I have used these and they work on 3.3v as well as 5v
For instance, check the Bluetooth HC - 05 Module in the below link :
http://www.amazon.in/Verve-VTA009-Bluetooth-Module-HC-05/dp/B00S15XTG8?tag=googinhydr18418-21&tag=googinkenshoo-21&ascsubtag=7a58e842-4c10-40bf-a48f-339edef372a7
For implementing the Bluetooth communication, prefer using the Software Serial. If you connect the Bluetooth HC 05's Rx and Tx to the Arduino's Hardware UART Pins, there can be unpredictable results. I have experienced that using HC05 with Software Serial is reliable. Additionally, you can use the Serial Monitor to debug your code at the same time. I mean, you can send the same data on Software Serial and the Serial port and check if things are as desired.
You can implement, the HC-05 Software Serial at 9600 baudrate. 9600 is the default baudrate on most HC 05 Modules.
For developing the Arduino code and testing it, you can use a terminal client like PuTTY on you computer. You need to establish a bluetooth connection between your computer and HC 05.
HC-05 runs at 3.3V, make sure you do level conversion from 5V to 3.3V using a zener diode. Or buy a level converter if you are new to electronics. If you don't, there is a good chance you will blow up the HC-05. If you could add a photo we can see if its already done on the Bluetooth module, then you need not worry about level conversion
HC-05 is basically a wireless serial port over bluetooh. On arduino create a software serial post using the library SoftwareSerial and send the sensor data to that serial port
There are libraries available for popular HC-SR04 ultrasonic sensor, if that is the sensor you are using.
For testing on android many app are availables like Bluetooh Terminal, you can receive the data sent from arduino.
Yes the whole project can be done without breadboard using connecting wires.
I am using a four relay shield to power solenoids, however every time a solenoid is used the Arduino reboots immediately.
We have done this for two different projects with the same type of shield and both cause the same problem.
I am having some trouble figuring out what is causing the system reboot. Any ideas?
The shield is the Catalex relay Shield.
It sounds like driving a relay coil is causing the voltage to drop. After the voltage recovers, the Arduino reboots like it was just turned on.
What happens when you disconnect the solenoids? Does the same behavior happen? These are relays, so the circuit on the relay side should be isolated.
Are you powering the Arduino from a power supply, or the USB port?
Oddly, if you look up the data sheet for the HLS8L-DC5V-S-C:
http://www.dipmicro.com/?datasheet=HLS8L.pdf
it says a 5V relay (L type) should have a coil resistance of 70 Ohms , for 0.35 W, so you should need 70 mA to drive it; I think there is a small transistor that drives that from the pins, but you still need the 70 mA from somewhere to close each relay.
Which version of the board do you have?
http://seeedstudio.com/wiki/Relay_Shield
My search on the Catalex Relay Shield pointed to the Seeedstudio version, but it could be that your board needs to be externally powered.
I'm just starting out some studies with XBee S2 and Arduino and I'm not sure if I'm doing what I actually planned.
My idea was to use just one Arduino with one XBee (Coordinator) that would receive the DHT11 data from just Router XBee (without another arduino to process the DHT data) and save the Coordinator temperature and humidity in a database.
Searching for some results I found out that XBee is unable to send DHT11 Sensor signal to another XBee ( thought I could send the DHT data through some router XBee Pin).
So do you guys have any ideas on how I could fix this? Because using another arduino into my Router XBee would be a waste of battery, losing the purpose of a sensor network right? Do you guys recommend me to change the sensor or what?
Besides I'm using Arduino Uno, Libellium XBee Shield, XBee S2 and of course DHT11.
Based on the DHT11 Adafruit page, I'd say you'll need an extra processor to read the data:
...and spits out a digital signal on the data pin (no analog input
pins needed). Its fairly simple to use, but requires careful timing to
grab data.
You may want to consider one of Digi's Programmable XBee products, which includes an additional 8-bit Freescale processor on the radio module, which you could program to read the DHT11 and relay its data to your coordinator. Certainly a less-expensive solution than having an Arduino make that conversion.
Or, switch to a humidity sensor with an analog output that doesn't require digital conversion. SparkFun has a Honeywell HIH-4030 Breakout board that looks appropriate.
If your goal is to just have a remote humidity sensor, one last option would be to purchase a standalone, battery-powered sensor from Digi. They have a light/temperature/humidity sensor (here's the datasheet) with an XBee inside that should be easy to interface to your Arduino. It's been designed to run efficiently on batteries for an extended period of time. My understanding is that it uses the analog inputs of the XBee to relay the sensor readings.
As I am thinking to do a Home automation using Arduino, using Light sensor, temperature control , motion sensor , gas leakage sensor , fire detection sensor , hall effect sensor for Light on/off , fan on/off and fan speed control , motion detection , alarm for gas / fire detection , door open/close respectively.
But my question is how many sensors will work at a time in at an Arduino board?
And is it possible to control Arduino by using PIC or i.MX6 Dual Lite/Solo?
If the sensors use I2C then the limit is 128 devices on the bus, but they each have to have a unique address which are sometimes "hard-coded" on the device by the manufacturer. The Arduino Wired library is used to read/write I2C and it only takes two pins. I2C is also sometimes called TWI (Two Wire Interface). The PIC can do I2C, not so sure about the i.MX6 but I've controlled an Arduino over I2C using a Raspberry Pi.
For the Arduino Uno go here to find the specifications of the open source design:
http://arduino.cc/en/Main/arduinoBoardUno
There you will read that the Arduino Uno has 14 digital and 6 analog I/O pins.
Note, you are not limited to the number of sensors based on the number of I/O pins.
Example:
Any processor has a limited number of I/O pins. You can add hardware to multiplex external signals before they get to these I/O pins. For example, say the processor has 4 I/O pins. You can devote 3 to control a multiplexer selecting 1 of 8 signals to route to the 4th processor I/O pin. Thereby doubling the number of inputs you can sample.
You can use many number of sensors as you wish. But your board need to have that much I/O pins. Try to get mega Arduino board. Arduino Mega 2560 has 54 pins totally. So in the mega board you can connect many sensors.
You can also control the board by PIC, Arduino sketch and so on.