Loading...
  Show Posts
Pages: 1 ... 3 4 [5] 6 7 ... 22
61  Using Arduino / Programming Questions / Re: What sketch is loaded? on: April 25, 2013, 11:51:54 am
Actually, I am not so clear on the PROGMEM part.

If you do a serial.print(12) I am pretty sure the 12 comes form PROGMEM.

I don't know about serial.print("12").

Try serial.println(F("12"));

that will print the string "12" from Flash memory. This feature - the F() macro - was introduced with Arduino 1.0
62  Community / Gigs and Collaborations / Re: The Magic Candle on: April 25, 2013, 11:19:53 am
(...)Think of it like an open source software project except here the software will be gerber files, CNC milling files, dimension measurements and legible building instructions,(...)

FYI, that is called OSH = OpenSource Hardware.
63  Using Arduino / Project Guidance / Re: Control Arduino with 2 phones (1 conected) on: April 24, 2013, 05:03:59 pm
I have already used the MT8870DE, for the decoding, using the circuit that goes in the datasheet, and it goes bad. So I google it, and I read that the DTMF signal are only for the analog ones, that digital phones, like smartphones, didn't use it.

Well, they do, but the caller has to configure the phone to send DTMF tones. By default, they don't send DTMF.

For example, in my Galaxy S III, I go to Keypad -> (Menu) -> Call Settings -> Ringtones and keypad tones -> [check] Keytones

That will send DMTF codes with each key pressed. Since I am using the stock Android dialer, that setting will be in the same place in most Android device. I know that for most Symbian phones DTMF codes are enabled by default. For iPhones I have no idea if it is possible or where to configure it, since I don't own one nor I plan to.
64  Using Arduino / Project Guidance / Re: Control Arduino with 2 phones (1 conected) on: April 24, 2013, 03:43:52 pm
Use a HT9170 DTMF Decoder IC
65  Using Arduino / Programming Questions / Re: logic problem on: April 24, 2013, 03:38:45 pm
Is the logic that doesn't work or the compiler that won't help.

Just in case you are questioning the logic, since I had nothing better to do right now, I did the truth-table for that troublesome if-clause:



66  Community / Gigs and Collaborations / Re: The Magic Candle on: April 24, 2013, 03:04:25 pm
I still haven't seen how and why you need an Arduino. All you've done so far can be done with a NE555 for a lot less money and a lot less effort. That is not to mention that the entire 555 circuit can be enclosed in one of those tubes/rods/candles/whatever.

Take some time to study the NE555 and you'll see that it might fit your needs a lot better than the Arduino, specially when comparing costs.

67  Community / Gigs and Collaborations / Re: Arduino Water Scanner for drugs in drinks on: April 24, 2013, 02:54:10 pm
As far as I know, that start kit is not nearly enough.

First of all, you need to know what you'll be looking for, because for each kind of drug you'll need a kind of analysis: each substance affects the water in a very specific way.

My chemistry knowledge is pretty limited, and most I know nowadays I've been learning from my wife.

One such way of doing the analysis you want is through a spectrometer. This is one sensor that can interface with the arduino: http://myspectral.com

However, in order to analyze the data provided by the spectrometer, you'll have to know how each substance affects the water. You may need to have access to the substances in order to compare the results of "drugged" water against clean water and create a database from that. It is based in this database that the Arduino will know if the water being tested is clean or not, and, if not, what is the agent polluting it.

Keep in mind that a good spectrometer is pretty expensive. What it does is to break the light that goes through a substance and measure each wavelength of the broken spectrum (thus the name: spectrum + meter). Since substances in the water affects the way light goes through it, water with high levels of CO2 will give a much different spectrum of water with high levels of anthrax (for example). How these levels vary will be up to you do measure and create a database.

A more sure-proof analysis would be a chemical analysis, like the one done in labs with blood samples. They, however, not only do a chemical analysis, but they also use spectrometer. The kind of spectrometer they use, however, is called "real time PCR spectrometer" (or spectrophotometer), and it takes 1 uL (micro-liter) of prepared blood (with a UV reactant) to give you a very precise reading.

68  Using Arduino / Networking, Protocols, and Devices / Re: Arduino on the Internet. problems with port forwarding? on: April 24, 2013, 07:58:12 am
Try using an external port different from TCP 80. Try, for example, TCP 81.

Then, externally, you'll access your Arduino like this:

http://<your.ext.ip.addr>:81


Another thing: port forward may not be the only required step. It may also be necessary to explicitely open that port in the router's firewall settings, so your router can respond to requests made to it. Then it will forward request to that port from the external (WAN) clients to another port (or the same) in the internal LAN server.
69  Using Arduino / Microcontrollers / Re: Looks like we have clones that look real on: April 23, 2013, 05:55:04 pm
Alx, I like your board. Looks like you learned a lot. What are the 2 DIP8 chips, I can't make
out the labels? If one is a voltage regulator, you do seem to be missing some filter capacitors.
Not only did you build an Arduino-"compatible", but you added some extra features to it.

Thanks!

Those 2 ICs are indeed voltage regulators, for 5V (MAX603) and 3.3V (MAX604). The white jumper specifies the power source (external or from the USB adapter). That [en/dis]ables the MAX603. The MAX604 is always active to supply 3.3V to whatever needs it.

I agree some filter and bypass capacitors should have been placed. They'll be there in version 2!
70  Using Arduino / Programming Questions / Re: Not Enough Analog Out pins on: April 23, 2013, 02:29:35 pm
"Analog pin" = pin capable of PWM output.

Ok... my bad then. I always called them PWM pins. For me the analog pins are the input pins, since the PWM pins are digital.
71  Using Arduino / Installation & Troubleshooting / Re: Arduino Uno no OUTPUT on digital pins on: April 23, 2013, 02:26:40 pm
What is your setup() function like?

are the led pins set as OUTPUT, using setMode() ?
72  Using Arduino / Programming Questions / Re: Not Enough Analog Out pins on: April 23, 2013, 02:25:37 pm
I only have 3 analog outputs left but a lot of digital pins.

I am a bit lost here... what do you mean?

AFAIK, analog outputs are simply digital pins. They are the same thing.
73  Using Arduino / Networking, Protocols, and Devices / Re: Arduino on the Internet. problems with port forwarding? on: April 23, 2013, 01:35:00 pm
It is wrong.

You forwarded port 80 on protocol UDP. A web browser works on port  80 protocol TCP. Change it to TCP 80 and it should work.
74  Using Arduino / Microcontrollers / Re: Looks like we have clones that look real on: April 23, 2013, 01:29:34 pm
I got mine from china knowing it was a clone. It does NOT say Made in China. It works beautifully, so there are no complaints there.

I have however, been using a clone I built myself:

and I am very proud of my own clone. there is no USB interface on it, so I use it with a FTDI adapter.
75  Using Arduino / Programming Questions / Re: Not Enough Analog Out pins on: April 23, 2013, 01:18:21 pm
I am using the adafruit 2.8 TFT display and it uses all of the analog pins except 42, 44 and 46 so I am using one pin(44) for all four of the motor controllers. I would really like each to have its own signal. Can this be done some other way?

You have 3 available output pins, and that's excellent news!

You can wire a 74HC595 to those 3 pins and that will give you 8 output signals. In short, you'll communicate serially with the 595 (thus the need for only 3 pins) and it will give you 8 parallel outputs, or, in other words, the 595 will work as a port multiplexer.

More here:

http://arduino.cc/en/Tutorial/ShiftOut

http://www.instructables.com/id/Multiplexing-with-Arduino-and-the-74HC595/

Pages: 1 ... 3 4 [5] 6 7 ... 22