Show Posts
Pages: [1] 2
1  Topics / Product Design / Arduino Air Ray and a Arduino DragonFly on: April 07, 2013, 11:41:09 am
Hello guys! (Nick if i posted this wrong please put it in the right map, i just dont know where to put it)

I wonder if people are doing something like this project i saw on Festo Youtube.


I think its easy to make with some balsawood and Plastic wrap Foil for some Sturdity and lift. Maybe some Helium as well

and how about this!?
http://www.youtube.com/watch?feature=player_embedded&v=nj1yhz5io20
Check the mechanism in the first few seconds. Some rotary motors and a real challenge. It reminds me of Dune's Ornichopter.

smiley

2  Topics / Science and Measurement / Re: Problems using the DUE DACs to drive a difference amplifier on: April 07, 2013, 11:31:32 am
Hello,

I had some similar problems with recording data over a analog Pins

the analog pins arent that stable so by taking some samples and average it we can improve the sensors quality. For my Voltagedivider I used only one pin, First i wanted to measure over a Difference Amp but that involves extra 7805 Voltage regulator. By boosting the signal youll also improve the signals you dont want. So i left the Amp out of my design.

secondly i used 1 for loop for the calculation of a voltage divider and sampled it around 750x. the code is added in the lower section of the screen.
you can place it in the top of the Void loop.

int vn=0;
 for(vn=0;vn<MAX_AV_READ_VOLTAGE;vn++)
     {
     Volt +=analogRead(pin2);
     }
     
     
     Volt/=MAX_AV_READ_VOLTAGE;
 
     VCalc = Volt * 0.054985713;


more is less.

sincerly yours

B
3  Using Arduino / Programming Questions / Uno_SD_Shield_5sensors_No_write_to_File on: March 31, 2013, 12:50:26 pm
Hello guys,

I am trying to figure out a problem or 2. i have arduino uno with a SD Card reader from Ladyada. with 5 sensors.

  • internal Temp from the uC
    Ds18S20,
    LM35 Fullscale
    ACS709
    Voltagedivider

singely each sensors works fine, now the problem is when i connect the SD cardreader to my Arduino Uno, i cant read a bit/byte of what i am picking up from the sensorreadings. If i leave out the DS18S20 from my code it starts to work fine. the SPI Protocoll and oneWire, based on the story i read from BrentT which had almost the same problem, has nothing to do which each other. so what is going on? should i check the Memory? because i am doing for each sensor a for loop of 200 to get an average. secondly i read then write at a pace of 10ms towards 1000s whereby i write to the File.

i included 2 files wereby the first one is the total code and the second the Lm35 and DS18S20.

i would really appreciate it if someone tells me what i am doing wrong, or should improve/change to check the Buffer, because i think that thats where the problem lies.

sincerly Yours

Evermore99

4  Using Arduino / Programming Questions / SD Shield Problem with DS18S20 or Visa Versa on: March 05, 2013, 07:00:23 am
Hello Fellow Arduinoids,


i encountered a nice problem with my Arduino Uno, and 2 DS18S20 sensors and a SD Shield.

for some reason which i dont understand, the communication between the SD Shield and writing data to a SDcard works flawlessly, but without the DS18S20. I tried them on the Digital pin 7 on a ladyada SD Shield. It creates a file then stops and doesnt show the data being written to a file. if i comment out the DS18S20 part the SD Shield will work flawlessly again. so i started looking on the Forum about the 1 Wire, and 4 Wire protocols. What i noticed is that the are included on different pins, but for some reason they still communicate with each other.

The question is how can i log data from my Temperature sensors, and show them on the Serial Monitor?

elsewise i have to go back to the all consuming pin configuration of the LM35s which will chew up 4 analog pins for a full scale measurement.
and use a not so accurate SRTC(software Real Time Clock).

I really would like to know the answers to the problem and how it can be solved. Because i think the DS18S20 are more reliable and have less heat disturbances compared to the Full scale LM35 schematics/configuration.

Tx for the replies and answers.

sincerly Yours

B
5  Using Arduino / General Electronics / Electro Magnetic Interference Arduino Uno, where? on: February 27, 2013, 08:57:23 am
Hello Arduino Folks,


i am building a own circuitboard LM35s and a Voltage devider from 40 to 5V ,10mm below an arduino Uno, and i was wondering where the most  EMI (electro magnetic Interference) occur on the Arduino board. so that i can place strategically the  Temperature sensors and  Voltage devider

tx for the replies and reading.

sincerly yours

Ever
6  Development / Other Software Development / stopping the i2c on: February 24, 2013, 03:01:36 pm
hello fellow arduinoids.

i have a arduino Uno, and a ladyada SD Shield with a Realtime clock on it that communicates on the pins A4,A5.

but now i changed the code using the Software realtime clock and am logging it without using the pins A4,5. the question is how do i stop the communication on the pins A4, A5? so that i can use them as analog inputs.?

secondly i removed all the code about wire.h and the rtc 1307, including the void loop and in the void setup(). but still after uploading i get 5.06V on the pins A4, and A5.

any help would be greatly appreciated.
7  Using Arduino / Project Guidance / Re: LM35 longwires and range -55 to 150C on: February 24, 2013, 01:52:51 pm
thanks a lot. that info was hard to get on the Internet.

tx!
8  Using Arduino / Networking, Protocols, and Devices / Re: I2c on: February 24, 2013, 01:50:47 pm
I commented it at first but now i removed all the library code for the RTC, the code in the setup and in the void loop. but still i get a Positiv voltage 5.07V on both of the pins A4,A5.

9  Using Arduino / Project Guidance / LM35 longwires and range -55 to 150C on: February 24, 2013, 01:10:02 pm
Hello guys,

recently if been reading about the LM35s to get a full range out of it.(check the datasheet on LM35 with full range using 2 Zdiodes.) but now the following question: if i use a Cat 5 cable do i still need 2 capacitors of 0.1uF on the 55mV pin and 150mV pin?
do i have to flip one of the capacitors?

and is there a possibility to only use one wire for the sensor in stead of using two?

sincerly yours

B
10  Using Arduino / Networking, Protocols, and Devices / I2c on: February 24, 2013, 01:01:05 pm
Hello Guys,


I have a full running arduino UNO rev3 + SD card Logger from ladyada with a 16Gigabyte SD card. and i want to connect to sensors Lm35s with a range -55 to 150 degrees, and a ACS709 Current sensor and a Voltage devider 40 to 5V for the analog input.

so this brings me to the total of 4 pins just for the 2 lm35s. + the current sensor and Voltage sensor (which i fool the arduino with saying that 5V--> 40V), i hope everybody is following all of this. brings me up to 6 sensor pins which i definitely need. i found out about the Software Realtimeclock and tinkered with it to get it running in my program and it works, which leaves me the 2 pins A4 and A5 free.

so i measured the A4 and A5 pins and still there is a voltage on it... which i dont like. so how do i stop the I2C communication. i tried pulling out the DC1307 and the Battery but to no avail.

how do i stop the I2C bus? and keep it free for my sensors?

sincerly yours

B
11  International / Nederlands / Re: BT en SD te gelijktijdig. on: January 02, 2013, 07:57:44 am
Hallo Jan, en Beste wensen Mensen!

dank je wel voor je antwoord, het heeft me wel wat dingen opgeklaard, en je hebt me in de goede richting laten denken.
alleen roept me het nog meer vragen op...waar jij misschien antwoordt op hebt.

Goed  de vraag luid: Stel je voor ik maak een scheiding in de code door software.serial op te nemen voor de BTshield de (code is identisch voor het schrijven naar een File, alleen andere Pins, de data van de Sensoren datum/tijd/spanning/stroom/Temperatuur lopen op hetzelfde moment, hoe schrijf ik dit in een Buffer? en in welke Mem sla ik dit op?   

2 Hoe zit dat met het schrijven naar een File schrijf met File.flush();?  deze heeft toch ook een beperkte buffer memory nodig voor het schrijven naar een File, en of kan ik dan beide buffers als 1 buffer gebruiken? zodat ik werk geheugen bespaar/ en geen Mem konflikten heb?/ en of zijn hier nog andere mogelijkheden? en wat is het limiet van het schrijven naar een Memory en welke is het snelste?
 
3 En kan ├ťberhaupt de BT Shield deze data van 2500bytes aan?

4 Wat moet ik alles veranderen? zodat het op zijn snelst loopt?

Tevens heb ik wel wat Tutorials gevonden voor snellere Data Processing en een klein beetje Memory.

Dank je wel voor de moeite en het lezen van de vragen!

12  International / Nederlands / Re: BT en SD te gelijktijdig. on: December 30, 2012, 06:48:08 am
Hallo,

Ik heb de Code nog eens na gekeken en dat bleek dat ik de Pins 0,1 zowel voor BT als SD gebruik...
Dat schiet natuurlijk niet op...

Oplossing was SoftwareSerial.h te implementeren. en Software matig de Pins in te stellen...

--------------

Andere vraag hoe kan ik 50 regels data van 50 bytes in 1x oversturen en is dat ├╝berhaupt mogelijk?
Of moet ik gedeeltelijke memory daarvoor reserveren?


Beste Wensen al vast!!!
en tot in het nieuwe Jaar!!!

13  Using Arduino / Programming Questions / Re: SD and BT at the same time on: December 16, 2012, 08:10:08 am
Solved the problem guys, i mixed up some BT Program, but i actually needed just the Software Serial.h and create a virtual port called BTSerial.print(values) + a Delay(100); you all put this below the Serial.flush();

ill give the example code as well so check it out.


14  Using Arduino / Programming Questions / Re: SD and BT at the same time on: December 15, 2012, 09:06:35 am
1 I compared with the Bluetooth code i had, then changed it to void init_timer2()
2 I am aware that bluetooth connection is being established in the beginning, with the baudrates and so on.
3 that code of the Pin fiddling was removed.
4 the thing is that the softwareserial should make a different connection to the board over the pins 2,3, i checked this also on the Hardware of the BT shield V2.2.
5 secondly where do i start... and do i have to work with interrupts?
6 the thing is that the code that writes to the file also should write to the BTSerial that i can take from there to the screen with my Terra Term logging program.
7 this is what i have understood of the SoftwareSerial

I really really appreciated your critism. the new file is also included.

tx.
15  Using Arduino / Programming Questions / Re: SD and BT at the same time on: December 15, 2012, 07:44:45 am

The thing is i just dont understand, i am still getting Jibber/jabber on the BLuetooth screen on my computer.

i checked the code of the BT the thing you meant about the void, i had to correct it, there's no char init_timer2

secondly i thought it went automatic because of the function serial.print, and or BTSerial.print, i thought that if i split the signals with different Baudrates things would make a difference.

any further suggestions?



Pages: [1] 2