Show Posts
Pages: [1] 2 3 ... 10
1  Topics / Home Automation and Networked Objects / Re: Arduino GSM Module from ITead Studio on: April 17, 2014, 03:19:12 am
You are using NOT the GSM Module from ITead Studio. It is from Linksprite, so have a look at this tutoria:
http://tronixstuff.com/2014/01/08/tutorial-arduino-and-sim900-gsm-modules/

And switch power on/off via pin 9 for the Linksprite (documented in the tutorial's code).
2  Using Arduino / Programming Questions / Re: [Solved] Using "setScale" Function on: April 05, 2014, 05:26:31 pm
Hi Jack, it is not necessary to change the value in the lib file. You can simply call this function in your Arduino sketch:. You have to do it in the setup section:

Code:
#include <Hx711.h>
Hx711 scale(A2, A3);

void setup() {
  scale.setScale(2450);
}
3  Using Arduino / Sensors / Re: ADS1231 vs. HX711 as ADC for load cells on: April 04, 2014, 07:24:24 pm
First of all: I wrote the initial post some days ago. In the meantime I have a DFRobot kit on my desk also.

It is interesting that the sketch I use for the ADS1231 (based on the lib attached to this post http://forum.arduino.cc/index.php?topic=131086.msg1570340#msg1570340) is also working for the HX711. So the protocol seems to be quite the same (I did not check this via datasheet till now). I did not check it vice versa for the ADS123 and the HX lib. I also noticed in the datasheets that the HX711 needs a bit more power. On the other hand the gain is fixed 128 on the ADS and at least one channel of the HX711 is customizable relating to gain. And of cause the HX711 has two channels while the ADS1231 has only one. But in case you need a second channel take the ADS1232

But my initial question refers more to the accuracy and sensitivity. In the ADS1231 datasheet you can read

- Input EMI Filter
and
- External Voltage Reference

what I could not find for the HX711. So my question would be::Is there a quality difference on the data with noisy power / wabby battery source or other disturbances?
4  Using Arduino / General Electronics / Re: 1 gram scale on: April 04, 2014, 02:46:02 pm
I think the INA125P blows only the signal up but you have in the best case still the 10bit resolution of the Arduino. If you boost with the wrong gain you can not use the full range and you have less than 10bit

It should help to use an external ADC (with integrated op amp). I have used the ADS1231, a 24bit ADC and also the HX711 successful with a load cell. For the HX711 have a look at this break out board http://www.dfrobot.com/index.php?route=product/product&filter_name=load%20cell&product_id=1031#.Uz8NRh75FTs

It is also a good idea to smooth the readings by a running media, see http://playground.arduino.cc/Main/RunningMedian but this will not help if the raw value altered +/-1 around.
5  International / Deutsch / Re: Waage on: March 25, 2014, 05:04:18 pm
Ich habe erfolgreich eine Load Cell mit einem ADS1231 http://www.ti.com/lit/ds/symlink/ads1231.pdf zum laufen gebracht:

- wiring wird hier in Teilen beschrieben
http://forum.arduino.cc/index.php?topic=198139.msg1567761#msg1567761
- die lib dazu gibt es hier:
http://forum.arduino.cc/index.php?topic=131086.msg1570340#msg1570340

Von DFRobot gibt es auch eine Set Wägezelle / Platine mit einem HX711
http://www.dfrobot.com/image/data/SEN0160/hx711_english.pdf
das set im Original:http://www.dfrobot.com/index.php?route=product/product&filter_name=Weight%20Sensor&product_id=1031#.UzHzOh4VdTs

gibt es aber auch bei resellern in Deutschland: http://www.komputer.de/zen/index.php?main_page=product_info&cPath=24&products_id=284
6  Using Arduino / Sensors / ADS1231 vs. HX711 as ADC for load cells on: March 24, 2014, 06:07:34 pm
I found this DFRobot load cell kit: http://www.komputer.de/zen/index.php?main_page=product_info&cPath=24&products_id=284 It uses a HX711 as ADC: http://www.aviaic.com/UpLoadFile/hx711_brief_en.pdf

I made good experiences with the ADS1231 http://www.ti.com/lit/ds/symlink/ads1231.pdf as ADC for a load cell. Now I wonder what the main differences are between ADS1231 and HX711 ? Has someone compared results from both chips?
7  Using Arduino / Project Guidance / Re: HaCking a TK102b GPS.GSM.GPRS Tracker "Coban" and using the goodies of it on: February 19, 2014, 05:01:46 pm
Did you get the GSM.GPRS module working?
8  Using Arduino / Project Guidance / Wireless Sensor Network Framework? on: February 17, 2014, 07:39:38 pm
I'm a bit unsure how to realize this project:

(1) I'd like to monitor bee hives, e.g. weight, temperature, bees flying in and out, ... 
(2) Then send this locally collected data from different bee hives wireless to a central unit, this unit has GSM/GPRS attached
(3) Now sending once a day the in the field stored data via GSM/GPRS to a webserver
(4) On the Server archive the data and produce interactive charts that are accesible via a HTML interface 

ad (1) For monitoring data I'd like to use a power efficient solution like Seeeduino Stalker
ad (2) The central base in the field with "GPRS umbilical" can be a GBoard--if you have power and WiFi nearby--a YUN

After this start my question marks:

ad (3)
- What is the best way to transfer data: FTP, REST API, how can I check integrity of the transferred files?
ad (4)
- Is there a framework what handles collecting and archiving of data or engaging user with graphical data?
I don't want to relay on external services like xively or temboo where you not know whether the name exists still tomorrow or your banking account is plundered after some internet connections.
9  Topics / Home Automation and Networked Objects / Re: Best cheap and simple 433MHz modules with good range on: February 13, 2014, 09:46:03 pm
Have a look at the RFM69HW (or RFM12B and RFM69) transceiver http://lowpowerlab.com/shop/RFM69HW Lib: http://lowpowerlab.com/blog/2013/06/20/rfm69-library/

There are also tiny sweet Arduino-Boards with soldered RF modules available called "Moteino" http://lowpowerlab.com/moteino/
10  Topics / Home Automation and Networked Objects / Re: Arduino GSM Module from ITead Studio on: February 13, 2014, 09:38:45 pm
Solved: It was an error in declaring my switching pin as output! grmpl
11  Using Arduino / Networking, Protocols, and Devices / Re: How to switch SIM900 on by software @GSM Board "GBoard" on: February 13, 2014, 06:52:54 pm
How stupid! Something went wrong in my code by declaring my switching pin as output! So it is working!!

Code:
void setup() {
  //Use D6 to power up the SIM900
  pinMode(6, OUTPUT);

  digitalWrite(6, HIGH);
  delay(1500);
  digitalWrite(6, LOW);
}
12  Topics / Home Automation and Networked Objects / Re: Arduino GSM Module from ITead Studio on: February 12, 2014, 04:44:59 pm
Has someone success switching the SIM900 module on the GBoard (also made by iTead) on/off by software and if so what pin / pulse length did you use? Any suggestion how to debug are also welcome. See also this post http://forum.arduino.cc/index.php?topic=217384.0 for details.
13  Using Arduino / Networking, Protocols, and Devices / How to switch SIM900 on by software @GSM Board "GBoard" on: February 12, 2014, 04:35:34 pm
I have this Arduino clone with integrated GSM SIM900 module "GBoard": http://imall.iteadstudio.com/im120411004.html

I can switch the SIM900 module on and off by pressing the onboard hardware button. The "Status" LED is then on and it is also possible to send SMS or make an internet connection via different sketches. So all seems to work.

Normally you can power on or off the SIM900 module via software by a about 1500 ms pulse over the PWR pin. the documentation says
http://ftp://imall.iteadstudio.com/IM120411004_GBoard/Documents/DS_IM120411004_GBoard.pdf
it is pin D6 an the GBoard/Arduino.

So I tried
Code:
    digitalWrite(6, HIGH);
    delay(1500);
    digitalWrite(6, LOW);

but nothing happened. I tried also a pulse of 3000 ms and also pin 6 to 10 because it seems there are different or wrong pin numbers on a GSM shield from the same vendor http://forum.arduino.cc/index.php?topic=80645.0 SIM900 TX/RX was connected via 2/3 and SoftSerial but I don't think that matter for this issue.

Same pulse on the Seeeduino Stalker with the GPRSBee http://www.gprsbee.com and also a SIM900 module (here you have to wire an Arduino pin to SIM900's DTR pin) is working and switch the GSM module on.

So my question: Has someone success switching the SIM900 module on by software and if so: What pin / pulse length did you use? Any suggestion how to debug are also welcome.
14  Using Arduino / Networking, Protocols, and Devices / Re: (GSM)-GPRSBee and SeeeduinoStalker on: February 06, 2014, 09:33:29 pm
I got some information from the support (inline), it has helped a bit but it is still not running :-(

I connected the GPRSBee and the Seeeduino Stalker as described on the page http://www.gprsbee.com/ > Examples > Connecting the GPRSbee to the Stalker board. But power only via USB, no LiPo.

BUT I did NOT wire Arduino D6 to XBee 9/DTR.

Then I connected the Seeeduino Stalker as described here:
http://www.seeedstudio.com/wiki/Seeeduino_Stalker_v2.3#Step_2:_Installing_the_drivers_and_plugging_in_the_hardware to the computer's USB port.


GPRSBee -Support wrote:

> 2. DTR
> To swithc the GPRS on in software you have to wire a digital line to the
> DTR port of the bee slot. In the example we have used pin 6
>
> If you have the dtr line wired, you can switch it on by software, otherwise
> you have to switch it on manually.


Did I get this right I have to _solder_ a wire from XBee 9/DTR to Arduino D6?? I am really surprised about that because I thought GPRSBee was assembled especially for the Stalker and now I need flying wires to get the most basic thing--switching on--done! I would have expected a out of the box working unit. Pfff, interesting! I had now a look at the Seeduino Eagle files and really nearly no pin from the XBee socket is connected to any Arduino pin. I don't understand this. You could work with solder bridges to make it flexible if you not like to use it but in this case it is odd.

So I took a piece of wire and mad a physical connection. Now really software "switching on" is possible, wow! But the next headache came:

void GPRS_software_on_off(){
  digitalWrite(PWR,HIGH);
  delay(2500);
  digitalWrite(PWR,LOW);
}

means not to switch the SIM900 on, if it is already running it is a "off switch" instead of "on". Should I simply check with AT > OK if GPRS is still running? Or is there a better way?

I thought about using Arduino's pin D5, on the Stalker it is prepared to switch VCC for the XBee socket, you can enable it with a solder bridge:

http://www.seeedstudio.com/wiki/Seeeduino_Stalker_v2.3#Bee_Module_Related

> By default EN is connected to VCC to always power xbee. If you want to control the xbee power with digital pin 5(PD5) of microcontroller, just put a solder blob between EN and PD5. Conversely, if you want xbee is always available default to be powered, cut the solder you had put.


But in this case the GPRSBee has to be on as it gets powered and has not to wait for DTR to start. Can I program the GPRSBee / SIM900 to react in this case. This would be also a super default setting so annoying "switching on problems" would not appear.



> Here are a couple of hints:
>
> 1. The RX/TX pin of the Stalkerboard are shared with the UART programming
> port (pin 0 and 1). This means that you can not use the uart interface for
> debugging, but rather should you use a software serial.
>
> (in the above sketch we use pin 7 and smiley-cool.


Sorry, nothing happened! Hardware setting as described above. I use the sketch http://www.gprsbee.com/ > Examples > Test Sketch.


> If the LED flashes the GPRSbee is on. You can then send AT commands to it,
> to which it should respond.


LED is flashing, means GPRSBee is ready, or?


> just sending AT should echo an OK.
>
> Note that the first AT command you send should be in capitals (we normally
> use capitals for all AT commands).


I open the Arduino's serial monitor, baud rate is same as in the sketch and I type "AT" but I get no "OK", no other feedback! No ""GPRS on/off".

- Are the pins ok for the Stalker? There are limitations for the Mega:
http://arduino.cc/en/Reference/SoftwareSerial
- Do I have to specify the linebreak? do I have to enter something like \n?
- can an IDE >= 1.0 can this be the problem?? I used 1.5.5
- Do I need to wire additional pins? In your lib there is use of the CTS pin, Do I use solder this or any other pin?

Do someone have any idea? I do not understand why it is not working while it is "Compatible with Seeedstudio Stalker" and I really use only the provided code, no modifications, no tweaks ...
15  Using Arduino / Networking, Protocols, and Devices / (GSM)-GPRSBee and SeeeduinoStalker on: February 05, 2014, 10:49:36 pm
Had someone luck and got the GPRSbee http://www.gprsbee.com/#!stalker/c159h with the Seeeduino Stalker
http://www.seeedstudio.com/wiki/Seeeduino_Stalker_v2.3 working?

I powered the Stalker vie USB but disconnected all pins beside V+ and GND after uploading the FTP example sketch  https://github.com/SodaqMoja/GPRSbee/tree/master/examples/test_ftp because there was an advice. But I do not really understand why I have to do this! Isn't SoftSerial for this case to avoid conflicts between USB RX/TX and other devices?

Nothing also on the test sketch http://www.gprsbee.com/#!test-sketch/c10sq it is not working--with or without disconnected USB.

It seems the GPRSBee is not switched on by the sketch: No LED lightning, nothing. When I press the button on the GPRSBee the LED is flashing, sometimes 3x up to 7x but after this nothing happened.

The both other example codes in the "quality code"-Lib are also poorly. They do not compile and need other libs, but nothing documented. :-(

Can someone say how I can debug this stepp by step. I have no glue what the problem could be. I think pins are ok because this lib is recommended and designed for this board and GPRSBee. SIM has also worked in an other device and pin is disabled. I wonder in the FTP example why the lib has only #define APN and no user and pw. there is only something for the FTP server.

I'm using IDE 1.5.5 can this be the problem? I thought there was something with SoftwareSerial?
Pages: [1] 2 3 ... 10