Show Posts
Pages: 1 ... 6 7 [8] 9 10
106  Forum 2005-2010 (read only) / Troubleshooting / Re: RS232 issue on: November 11, 2009, 08:32:35 am
I hope I can answer that question properly as I am not a real expert on that.

I connected the Arduino via USB to my Laptop (the laptop does not have a 9 PIN RS232). I did not use any Arduino pin. So I suspect I have 5V TTL.

My understanding (and please correct me if I am wrong) is that the FTDI chip is taking the serial data and converts is to a USB "readable" format- that's why I can read the data in the Arduino programmning software. So I thought the data where in the correct form to be read by other software.

107  Forum 2005-2010 (read only) / Troubleshooting / Re: Data submission issue on: November 11, 2009, 02:21:54 am
Please bear in mind that I do receive data but:
- Arduino shows what I expect
- Logview is showing strange things

I suspect I did not really understand the Terminal part of both programs or the coding does not work.  :-[

I think Logview is  a very valuable tool as it shows all measurement data and can record it very easy! ;D

I need help to understand why those strange data are received by Logview and not in Arduino...heeeeelp!
108  Forum 2005-2010 (read only) / Troubleshooting / Re: RS232 issue on: November 10, 2009, 01:02:46 am
thanks for the unerstanding. I connected the board via USB to the PC. So I used TTL serial...
109  Forum 2005-2010 (read only) / Troubleshooting / RS232 issue on: November 09, 2009, 11:17:16 am
I try to get the software logview ( reading my output and showin it on the screen graphically.

I started by sending a "$" which is the first thing to submit.
I did it with the code:
void setup()   {                
 Serial.begin(9600);      // open the serial port at 9600 bps:    

 void loop(){
Serial.print("$");  //$

Looking to the debugging of Logiview the system only shows:

Daten als ASCII = '<NUL>€€'
Daten als HEX = '008080'

The .ini file explains the adjustments in Logview:

Name                            = test
Hersteller                      = faust
Gruppe                          = 09
Device_ID                       = ID_OPENFORMAT
Used                            = 1
Abbildung                       = OpenFormat.jpg
ChangeSettings                  = 1
HerstellerLink1                 =
HerstellerLink2                 =
LogViewLink                     =
TimeStep_ms                     = 1000
TimeGiven                       = 0
KanalAnzahl                     = 1
WerteFormat                     = ASCII
Prüfsummenberechnung            = keine
PrüfsummenFormat                = ASCII

StatiAnzahl                     = 1
001                             = test

[serielle Schnittstelle]
Port                            = COM1
Baudrate                        = 9600
Datenbits                       = 8
Stopbits                        = 1
Parität                         = 0
Flusskontrolle                  = 0
ClusterSize                     = -10
SetDTR                          = 0
SetRTS                          = 0

[Schnittstelle TimeOuts]
RTOCharDelayTime                = 290
RTOExtraDelayTime               = 100
WTOCharDelayTime                = 290
WTOExtraDelayTime               = 100

[Anzeige Einstellungen Kanal 01]
Zeitbasis                       = Zeit
Einheit                         = s
Symbol                          = t
WerteAnzahl                     = 2

Messgröße1                      = voltager
Einheit1                        = vgt
Symbol1                         =
Faktor1                         = 1.0
OffsetWert1                     = 0.0
OffsetSumme1                    = 0.0

What did I do wrong?
110  Forum 2005-2010 (read only) / Interfacing / SHT 1x/7x humidity in sensor low resolution mode? on: July 22, 2010, 01:41:19 pm
Hi there,
I need to say I am not a professional in shifting bits to sensors but more on the library application side of the game...   :-[
However I am using Sensirion SHT75 sensors with the library from Marcus Schatzl (see playground) and it works brilliant! The sensor works in full resolution but it takes about 320mS to give a result.
Has anyone an idea (or seen a script) how to readout the sensor in lower resolution ? Using the sensor with 12 instead of 14 bits resolution doesn't take 320mS but 80 which is of advance for me.
111  Forum 2005-2010 (read only) / Interfacing / VDIP not robust? on: July 14, 2010, 04:27:50 am
I use a Mega to drive a VDIP. I am collecting some data with the arduino and ut the into a buffer valls Pstring. Pstring counts the bytes to be send as well. The calculation works pretty well- I counted the bytes by hand...

So I send the message (around 360 bytes) every 2,5 seconds to the VDIP which works pretty fine.

But sometimes- and I do not know when and why- the VDIP ignores some data sent but writes CLF... and OPW... to the stick until the number of bytes received as announced . I checked the CTS and no buffer overflow is shown. The failure occurs sometimes after 10 lines up to every 250 lines of recorded data.

It looks something like that:
data,data,data,data,data,data,da(here it stops)
CLF Filename.csv

May do I send too many data to get a robust recording? What is the limit?

P.S. Sorry not putting any code into the text , but this is a quite branched 1000 lines code...
112  Forum 2005-2010 (read only) / Interfacing / Re: TX3 on Mega board? on: May 13, 2010, 03:31:51 am
Fu*?%&- I did not look poperly into the Reference. Thanks for help! I was using the Duemilanove only and got confused...
113  Forum 2005-2010 (read only) / Interfacing / TX3 on Mega board? on: May 13, 2010, 03:15:17 am
I am asking myself why there are TX1-> TX3 and RX1-RX3 on the MEGA board. I thought I can generate software serial ports as many I want to.

If TX3/ RX3 is a dedicated RX/TX how can I access it?

Can someone explain to me?  :-/
114  Forum 2005-2010 (read only) / Interfacing / 74HC595B1R->ULN2803A on: April 23, 2010, 09:23:44 am
I want to connect a 74HC595 shift our register to the ULN2803. Do I need to use resistor between output shitft register and Darlington array?

 I am a little bit confused, because I found some sketches without resistors between them, but as the 74HC595 is limited in current and the Darlington transistor traditionally needs to have a resistor at the base NOT to draw too much current,,,  
115  Forum 2005-2010 (read only) / Interfacing / Re: Driving a 12 volt fan on: April 01, 2010, 05:58:35 am
I faced similar issues. Take a look to the BTS555 or BTS441, which are capable to do the job.
Features like Overload protection, Overtemperature protection,  Fast deenergizing of inductive loads (dump load) will help easy usage.

They are not cheap, but a lot of functions included!
116  Forum 2005-2010 (read only) / Interfacing / Re: Maybe an easy questions to MOSFET on: March 26, 2010, 04:06:06 pm
Mhhh- I see... :-[

I do not fully understand how to differenciate a Mosfet from a IC containing a FET. I read "Reverse battery protection by self turn on of power MOSFET".

Anyhow I used a 5cent BC639 to drive the BTS6143 and now it works...

Thanks for the help!
117  Forum 2005-2010 (read only) / Interfacing / Re: Maybe an easy questions to MOSFET on: March 25, 2010, 03:49:20 pm
Hi Grumpy_Mike,
yes you are right- MOSFET is the wrong description.

As proposed I changed the code to:
int ledPin =  13;    // LED connected to digital pin 13

void setup()   {                
  // initialize the digital pin as an output:
//  pinMode(ledPin, OUTPUT);    

// the loop() method runs over and over again,
// as long as the Arduino has power

void loop()                    
 pinMode(ledPin, INPUT);
 pinMode(ledPin, OUTPUT);
 digitalWrite(ledPin, LOW);

The LED doesn't light up if the HEXFET is not connected. If the signal line is connected, the LED start blinking (not very bright) but the HEXFET doesn't stop leading current unless I disconnect....

When you don't ground it does it go off?
Yes you are right
118  Forum 2005-2010 (read only) / Interfacing / Re: Maybe an easy questions to MOSFET on: March 25, 2010, 03:18:32 pm
here is the code:
 Turns on an LED on for one second, then off for one second, repeatedly.
 The circuit:
 * LED connected from digital pin 13 to ground.
 * Note: On most Arduino boards, there is already an LED on the board
 connected to pin 13, so you don't need any extra components for this example.
 Created 1 June 2005
 By David Cuartielles
 based on an orginal by H. Barragan for the Wiring i/o board

int ledPin =  13;    // LED connected to digital pin 13

// The setup() method runs once, when the sketch starts

void setup()   {                
  // initialize the digital pin as an output:
  pinMode(ledPin, OUTPUT);    

// the loop() method runs over and over again,
// as long as the Arduino has power

void loop()                    
  digitalWrite(ledPin, HIGH);   // set the LED on
  delay(500);                  // wait for a second
  digitalWrite(ledPin, LOW);    // set the LED off
  delay(500);                  // wait for a second

Can you guido me how to set the output to high impedance?
119  Forum 2005-2010 (read only) / Interfacing / Maybe an easy questions to MOSFET on: March 25, 2010, 03:01:27 pm
I bought a few BTS 6143 D ( from Pollin (  in order to drive some 21W bulbs.

Now I connected the FET in as per datasheet. Grounding the signal line puts the bulb to light up smiley- so far so good!
But putting signal line to PIN 13 (where I asked the LED to flash with 1Hz) the bulb remains always on  :o ...Why???And what can I do against that?
120  Forum 2005-2010 (read only) / Interfacing / Re: Ideas for data logging on: March 25, 2010, 03:22:37 pm
An easy way is Openlog. It log up to 115200 baud via serial port. See here ( and the homepage of Openlog here
Pages: 1 ... 6 7 [8] 9 10