Show Posts
Pages: 1 [2] 3 4 ... 11
16  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?
17  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?
18  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.
19  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/
20  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
21  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);
}
22  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.
23  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.
24  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 ...
25  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?
26  Using Arduino / Project Guidance / Re: Conserving Power with Arduino/GSM on: February 05, 2014, 10:15:59 pm
I run today in the same issue. Think we have to modify the hardware and make a solder bridge:

http://www.seeedstudio.com/wiki/Seeeduino_Stalker_v2.3#DS3231_Interrupts
Quote
This example is a demonstration of interrupt detection from DS3231 INT output. This feature is useful for data-logger functionality where the MCU is put to sleep mode when not in use and DS3231 INT wakes up the CPU periodically. This extends battery power. The complete operation is documented in the code.

- Solder PD2 and INT pins of INT jumper.
   This connects the DS3231 interrupt out pin to ATmega328 INT0 pin.
27  Products / Arduino Yún / Re: Serial port wifi Yun on: February 04, 2014, 09:02:08 pm
Yes, this would be interesting for me--without crunch also! I can upload sketches via Wifi but serial communication is a problem. Is the baud rate limited? Default is always 300 in the serial monitor after start it via a Wifi connection.
28  Using Arduino / Sensors / Re: Load Cell and ADS1115 as ADC, do I need an additional OpAmp (e.g. INA125P) on: January 31, 2014, 08:36:18 pm
Thanks a lot, it works. I found really helpful code for the ADS1231 in this thread
http://forum.arduino.cc/index.php?topic=131086.msg1570340#msg1570340
29  Using Arduino / Networking, Protocols, and Devices / Re: SPI Load cell chip ADS1231 on: January 31, 2014, 08:34:44 pm
Wow, that was helpful! I get now really stable readings from the load cell with your code. The number of load cells is also ok for me--I need only one atm. Also reaction time is sufficient for my purpose.

In the meantime I found an other implementation for the ADS1231: A barkeeper robot: http://barwin.suuf.cc/ You can find the code under https://github.com/rfjakob/barwin-arduino and the part for the ADS1231 under https://github.com/rfjakob/barwin-arduino/tree/master/lib/ads1231 . Unfortunately it is not a genuine implementation, it contains some stuff for the robot also. Perhaps it could help to improve your code or is at least interesting how other solved similar problems.

When someone needs advices how to wire an ADS1231 and Arduino have a look at this posting:
http://forum.arduino.cc/index.php?topic=198139.msg1567761#msg1567761

How you can find ADS1231's pin1 is shown on:
http://forum.arduino.cc/index.php?topic=213263
30  Using Arduino / Networking, Protocols, and Devices / Re: SPI Load cell chip ADS1231 on: January 29, 2014, 06:13:51 pm
I tried this code and changed

- "result1" to "result" in "unsigned int result1 = 0;" think this was a typo
- I also changed in "SPI.setDataMode(SPI_MODE0);" "SPI_MODE0" to "SPI_MODE1"[/li][/list] as reaction to one of this posts hiere.

But I got with a constant pressure something like this:

0<<93<<236<<127<<=60543
0<<93<<226<<255<<=58111
0<<93<<225<<255<<=57855
0<<93<<252<<127<<=64639
0<<93<<239<<255<<=61439
0<<93<<239<<255<<=61439
0<<93<<226<<255<<=58111
0<<93<<208<<255<<=53503
0<<94<<3<<255<<=1023
0<<93<<240<<255<<=61695
0<<93<<218<<255<<=56063
0<<93<<228<<255<<=58623

I don't know whats going on and how the output has to be interpreted. Can anyone explain what is there going on .
Pages: 1 [2] 3 4 ... 11