Show Posts
Pages: [1] 2
1  Using Arduino / Motors, Mechanics, and Power / Re: Micro Metal gear motor with shaft encoder on: July 27, 2014, 04:20:44 pm
First get rid of delay commands as they are not meant to be used on real working program. If i understand correctly they pause the whole program for 1 sec. when first motor is stopped ?
2  Using Arduino / Motors, Mechanics, and Power / Re: 8 kHz power signal with Uno on: July 27, 2014, 06:30:46 am
Thank you guys. Of course the tone command is just meant for that smiley-roll
3  Using Arduino / Motors, Mechanics, and Power / 8 kHz power signal with Uno on: July 25, 2014, 02:43:44 pm
What is easiest way to create a 8 kHz output signal with Arduino Uno ? Best way i can think is just counting micros by keeping 62 micros on and another 62 micros off  smiley-roll

Any other ideas?

Meaning is drive with LM298 some 9-12VDC to perimeter wire ending to current limiting resistor.

4  Using Arduino / Installation & Troubleshooting / Re: [SOLVED] Deek/Dswy Robot Mini Pro - can't upload a sketch & bootloader on: July 16, 2014, 03:09:45 pm
Thanks to all,
I saved my Dswy_Robot this way..

* Connect Mega2560 with USB
* Choose Board-> Mega2560 , choose port
*  Open examples/ArduinoISP
* Upload
* Connect Dswy_robot   and  Mega2560 :
DSWY            Mega2560 
RES                 53
GND               GND
VCC                VCC
MIS                50
MOS              51
SCK                52

* Select Board Arduino pro or pro mini
* Burn bootloader.


So simple, so nice  smiley-grin

I fight few hours trying to download something to my Deek-Robot Nano boards but with this instruction i finally succeeded  smiley-grin
5  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
6  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
7  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

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=37&t=18183


Quote
ok well I seem to have solved the problem by renaming
arduino-1.0.1/hardware/tools/avr/bin
to
arduino-1.0.1/hardware/tools/avr/bin_old

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.
8  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:

Code:
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: http://raspberrypi.homelabs.org.uk/raspberrypi-the-arduino-development-tool/
9  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
10  Using Arduino / Motors, Mechanics, and Power / SSR question on: February 07, 2013, 02:45:11 pm
Hi,

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

http://www.buyincoins.com/new_en/details/ssr-25-da-solid-state-relay-for-pid-temperature-controller-25a-output-24v-380v-product-9224.html

Seems to be very affordable   smiley-money
11  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 ?


12  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 ?
13  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
14  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


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

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  ?
Pages: [1] 2