Show Posts
Pages: 1 ... 139 140 [141] 142 143 ... 314
2101  International / Deutsch / Re: Atmega UNO on: March 12, 2013, 12:19:24 pm
Klar kannst Du auch einige Teile weglassen (z.B. den ATmega16U2 für das USB2Serial inkl. "Umgebungsmaterial"), aber der grosse Brocken (der SAM) bleibt trotzdem und das ist mit dem Lötkolben definitiv keine Anfängerarbeit.
2102  International / Deutsch / Re: Temperaturmessung mit NTC nur in Bereich möglich? on: March 12, 2013, 12:05:13 pm
   r2=10000;            //NTC Temp.-Widerstand mit 4,7k bei 25°C

Du widersprichst Dir hier etwas. Entscheide Dich, ob Du mit Integer oder Floats rechnen willst, bei dem Durcheinander ist es unheimlich schwierig, zu ermitteln, ob nicht vielleicht irgendwo die Nachkommastellen abgeschnitten werden und womöglich ein Integer-Überlauf auftritt.
2103  Using Arduino / Project Guidance / Re: Switching on DC loads through LCD menu? on: March 12, 2013, 11:51:05 am
The two loads i want to switch are:
One 9" monitor    aprox. not more than 1A
One Wireless Video reciever   aprox. 100mA

I guess both devices are run by DC current. You can use both, MOSFETs or relays to drive such a load. The MOSFETs have the advantage that they are silent when switching while the relays have the advantage of being cheap. My preference would be the MOSFETs.
2104  Using Arduino / Programming Questions / Re: RTC RESET via software on: March 12, 2013, 11:46:11 am
Ok, well it seems to work ok the way that it is.  Are you saying the OP doesn't even need a wire.endTransmission() at the end of his reads?  Doesn't that just leave the bus hanging?

No, I'm saying the OP needs the Wire.endTransmission() exactly where it is in his posted code, after the Wire.write(), before the Wire.requestFrom(). After the he doesn't need it (he must not use it there) because the Wire.requestFrom() specifies how many bytes should be read from the device.
2105  Using Arduino / Programming Questions / Re: RTC RESET via software on: March 12, 2013, 11:20:02 am
I'd move that wire.endTransmission() to the end of the lines.

This is wrong. The wire.endTransmission finished a write operation. The write has to be done before the read to set the register address to read from. The original code is correct in this regard.
2106  Using Arduino / LEDs and Multiplexing / Re: Mix and match HT1632C based LED Boards on: March 12, 2013, 10:49:23 am
I have such a LED matrix display working with 4 modules 24x16. The CS1-CS4 are the CS lines for the HT1632Cs, on every module you select the appropriate CS line by using a DIP switch.

You'll find the library for up to four modules on my Arduino page:
2107  Using Arduino / Programming Questions / Re: RTC RESET via software on: March 12, 2013, 10:44:57 am
I have used external reset pin to reset RTC it worked.

The DS1307 doesn't have a RESET pin. How do you reset it by hardware? Why is it necessary to reset the chip?

The DS1307 is quite sensible to voltage drifts. Ensure you have a stable power source and your problems probably go away.
2108  Using Arduino / Programming Questions / Re: What's the mean of "f" in this Code on: March 12, 2013, 10:39:31 am
Possibly "float" but it depends how the definitions are used later on. In this code it's just definition for the precompiler.
2109  Using Arduino / Programming Questions / Re: adressing MPR121 sensors through PCF8575 breakoutboard on: March 12, 2013, 10:37:33 am
Therefore I would like to alter the arduino code, so the status for each sensor get continuously updated.

Just remove the check for checkInterrupt() and you have a continuous update.

My opinion: fix the serial communication issue and don't introduce much unnecessary traffic.
2110  Using Arduino / Networking, Protocols, and Devices / Re: How to send iPhone location data to Arduino Ethernet? on: March 12, 2013, 10:16:41 am
Where is the link to that app? What kind of server does it expect? A webserver?

Do you know how port forwarding and DynDNS works so your Arduino is visible from the Internet? Did you already study the manual of your router about these topics?
2111  Using Arduino / Networking, Protocols, and Devices / Re: rs232 converter 2.8v on: March 12, 2013, 10:12:49 am
RS232 is +/- 15V.

should it works fine?

If you connected it properly it should. If you draw us a schematics how you wired everything we might check your setup.
2112  Using Arduino / Networking, Protocols, and Devices / Re: Ethernet UDP or TCPIP examples on: March 12, 2013, 10:09:33 am
Leave the TP-Link router configured as it is, you don't want to have two separate WiFi networks in your home.

The app on the iPad asks for the IP # of the data source

This sound to me like your iPad application is not a server but needs a server as it's data source. This means you have to install server software on your Arduino. So might have to have a look at the ChatServer example, maybe the WebServer example also give you some insights.
2113  International / Deutsch / Re: Flash over IP on: March 12, 2013, 09:50:52 am
Und dann fürchte ich, dass mir wohl bald der Speicher zu klein wird. Das FileUpload hat jetzt 26k. Wenn ich dann noch den Hex-Uploader dazuwerfe, dann wirds wohl eng.
Vllt. kann man das FileUpload ja noch etwas abspecken, aber dazu muss ich es erst mal verstehen. Und da ich nicht so der Profi bin, klappt so was erst, wenn ich es mal am Laufen habe.

Ich glaube, sowohl der FileUpload (bzw. der TinyWebServer) als auch der Hex-Programmer lassen sich noch tüchtig verkleinern, sollte also hinzukriegen sein.
2114  Using Arduino / LEDs and Multiplexing / Re: Mix and match HT1632C based LED Boards on: March 12, 2013, 09:31:50 am
So for each CS line I need one connector from Arduino, right?

One pin of a connector but I guess you meant that. So: yes.

That solves the hardware side but as I already wrote, you still have some work to do on the software side.
2115  Using Arduino / Project Guidance / Re: Switching on DC loads trhough LCD menu? on: March 12, 2013, 09:02:27 am
What is the difference between a serial enabled LCD, and a standard (exept for the connections), is it easier to use the serial enabled, or vice versa?

The number of necessary pins on the Arduino. The serial enabled LCDs have a separate processor (often an ATmega or something similar) that converts the serial commands into the parallel instructions the Hitachi chipset understands.

What should i use for switching my loads? a relay, or can i use something like a MOSFET?

What are your loads? Your question is as general as "what car should I buy?".

I looked at this Serial Enabled LCD Kit from SparkFun, and it has it own ATMega328 on the back.
 Is it possible for me to use this as the main controller, and connect the buttons and relays to this and run everything from this without the need for a separate arduino?

Yes, this is possible but not very convenient. It's easier to buy an Arduino and use a cheap parallel LCD display because there you have the convenience of the Arduino platform and you can program it without a separate programmer (needed if you wanna reprogram the SparkFun kit).
Pages: 1 ... 139 140 [141] 142 143 ... 314