Show Posts
Pages: [1] 2
1  Using Arduino / Programming Questions / Re: comparison between pointer and integer ? on: March 29, 2013, 10:35:38 am
Thank you, no more error messages when compiling but still no sense in that comparation. ... just a stupid spelling mistake...
And yes, data types are as you wrote. Some small rounding tolerances of temperature data can be accepted when just controlling the circulation pump of sun collectors smiley-mr-green

Btw what was the idea of that added * ?  smiley-red
2  Using Arduino / Programming Questions / comparison between pointer and integer ? on: March 29, 2013, 09:09:46 am

How should i wrote comparison to get it work without error message:
(now error: ISO C++ forbids comparison between pointer and integer)

      if ((tuloLampo)+5 > (int)(VS)) {

Value for tuloLampo is read from DS1820 sensor using OneWire.h and DallasTemperature.h library
Value for VS (float) is calculated from analog input:    VS =  ((analogRead(VSPin) - 102 )/ 6.14 );

I just can't find any solution for that smiley-cry
3  Using Arduino / Installation & Troubleshooting / Re: Error: "avr-g++: cannot execute binary file" on: March 25, 2013, 03:59:29 pm
I found a working solution from another forum. Thanks for watching  smiley-mr-green

ok well I seem to have solved the problem by renaming

Apparently this forces Arduino to compile using the system avr routines instead of the ones installed with Arduino.

Hopefully this helps someone else with the same problem.
4  Using Arduino / Installation & Troubleshooting / Error: "avr-g++: cannot execute binary file" on: March 25, 2013, 02:56:52 pm
I just have Arduino1.0.4 installed on my Raspberry Pi. I wrote program for Arduino Uno originally with Windows arduino022.
With new installed Windows version of Arduino1.0.4 the program verifies ok but Raspberry Arduino1.0.4 gives me an error
message so i think the problem is on my Linux installation, probably   smiley-eek-blue   Message:

Error compiling:
/home/pi/arduino-1.0.4/hardware/tools/avr/bin/avr-g++: line 3: /home/pi/arduino-1.0.4/hardware/tools/avr/bin/../bin.gcc/avr-g++: cannot execute binary file
/home/pi/arduino-1.0.4/hardware/tools/avr/bin/avr-g++: line 3: /home/pi/arduino-1.0.4/hardware/tools/avr/bin/../bin.gcc/avr-g++: Success
/home/pi/arduino-1.0.4/hardware/tools/avr/bin/avr-g++ returned 126

I'm a newbie with Linux so i have no glue what's the problem. Please give me a good glue   smiley-confuse

Installation instructions i followed:
5  Using Arduino / Motors, Mechanics, and Power / Re: SSR question on: February 08, 2013, 02:45:42 pm

Thank you, i'll give them a try.

btw "brand new and high quality"  smiley-cool
6  Using Arduino / Motors, Mechanics, and Power / SSR question on: February 07, 2013, 02:45:11 pm

Can i really connect this one direct to Arduino output without additional circuitry needed for using 70 Watt 230VAC waterpump ?

Seems to be very affordable   smiley-money
7  Using Arduino / General Electronics / SSR load to Arduino ? on: April 08, 2012, 06:50:19 am
I am going to control a 230VAC water circulation pump with Arduino.

I did find from a surplus store a suitable "Teledyne relays" SSR 615-2H with
control voltage 3-32 VDC and load 250VAC 10A, but just can't find a datasheet
for circuit to see how much power it draws from Arduino. Anyone familiar with that ?
How could i measure it with my lousy Fluke ?

8  Using Arduino / Sensors / Re: Taos TCS3404 TCS3414 digital color sensors on: January 18, 2012, 03:20:41 pm

Just searched TCS3414 from forum, and this is the only hit i got ?

Would like to have some pieces for evaluation too but only seller i found was mouser with 20€ handling fees  smiley-eek-blue
Any hint of other sellers ?
9  Using Arduino / Sensors / Re: DS18B20 - occassional zero temp readings on: January 18, 2012, 01:58:49 pm
I had same problem occasionally too, i suppose that was because of long wires to sensors. Problem was solved by adding a 2k2 resistor between signal and ground (if remembered correct. Resistor still exists in bread board, no more wires connected)  smiley-roll
10  Using Arduino / Sensors / Re: Problem with DS18B20 sensors on: July 31, 2011, 07:33:40 am
No more problems!

Did some searching about old messages and find one advice, so i did replac the 4k7
resistor with 2k2 and now it works fine ! No more 0-values, only correct ones  smiley-cool

11  Using Arduino / Sensors / Problem with DS18B20 sensors on: July 31, 2011, 07:09:14 am

I have 3 pcs of DS18B20 sensors connected to Arduino with about 20 meter 3-wire cable to my DIY solar collector.

When all sensors were located onto the protoboard they worked fine and correct, but when connected with 20+ m
cable all temperature readings are all the time 0 degrees celsius?  Must be because of the distance, but how can i help it  ?
12  Using Arduino / General Electronics / Re: Arduino analog out to 2V-10V ? on: July 19, 2011, 04:48:20 pm
Just what i needed, thank you !
13  Using Arduino / General Electronics / Arduino analog out to 2V-10V ? on: July 17, 2011, 03:44:47 pm

I have a 12 VDC power supply for Arduino, and 24 VAC power supply what my valve needs, but it also needs a control signal 2-10 VDC.
What is easiest way to get correct voltage to control that valve with Arduino ?

Not very much knowledge about analog electronics, so far mostly digital  smiley-razz
14  Using Arduino / General Electronics / Re: pulling out atmega chip on: June 15, 2011, 01:31:51 pm
How about that kind of connection (Does it really work ?  smiley-razz )
15  Using Arduino / Motors, Mechanics, and Power / Re: Measuring h-bridge current? on: June 15, 2011, 07:19:43 am
Thank's for answers!

So my possibilities seems to be to use some separate measuring circuits or two separate L293's
with one for both motor and little bigger resistors like 1 ohm ?

I re-measured the stall current of the motor more exactly but it's difficult because axle seems still be slipping in wheels... smiley-lol
Current is very near 1A and current on "normal drive" <150 mA so with 12VDC and 1 ohm resistor by normal
drive voltage drops 1 ohm * 0.15A =0.15V , and when stalled 1 ohm * 1A = 1.0V if i did understand this right way ?
But that makes one watt so can my 1/4 watt resistor handle it for a very short period ? (only those i have now)

What about the VCC voltage of the L293?  If the "earth" is +1V there will still be 4 Volts difference in circuit inputs 
so i think i don't have to worry about that ?
Pages: [1] 2