Show Posts
Pages: 1 [2] 3 4 ... 10
16  Using Arduino / LEDs and Multiplexing / Re: Help with transistor and resistor selection for LED array on: May 09, 2013, 09:00:04 am
Use this link, will be very helpful next time. smiley
http://ledcalculator.net/
17  Using Arduino / Microcontrollers / Re: Decreasing the baud rate of Serial communication. on: March 21, 2013, 06:30:39 pm
Do you have to use the serial library???? I've personally used the Manchester library together with RF Link transmitter/receiver.. Without any issues.. I had the transmitter connected to the Attiny85 and the receiver to a atmega328p.. Here is the library if you want to try it out:
https://github.com/mchr3k/arduino-libs-manchester/

Never heard of it before! Thanks, I will check it out!

18  Using Arduino / Microcontrollers / Decreasing the baud rate of Serial communication. on: March 21, 2013, 06:05:12 pm
Hi Arduino Forum. Recently I've got my Attiny85 talking to the Computer through an Arduino UNO. I followed the tutorial here:
http://www.instructables.com/id/Attiny-serial-monitor-using-arduino-walkthrough/?ALLSTEPS

Everything worked perfect. I just had to connect one of the pins on the Attiny85 to the TX pin on the Arduino board. However I need to extend the capabilities of Serial communication between the Arduino and Attiny85. I want to go wireless with these RX linkers from SparkFun:

https://www.sparkfun.com/products/10534 - RF Link Transmitter (434MHz) from SparkFun for about 4$
https://www.sparkfun.com/products/10532 - RF Link Receiver (434MHz) from SparkFun for about 5$

I have them already, but they require a baud rate of less than 4800bps. I don't know why, but when I change the number in the Serial.begin() function from 9600 to some less number, it gives me an error. It says that its possible only to have a 9600, 32300 or 110000bps baud rate.

Is it possible to fix this problem, or can you suggest a way on how to get the communication working.
19  Using Arduino / Installation & Troubleshooting / Re: Installing driver for UNO on: March 20, 2013, 03:37:34 pm
Thanks to Apple for creating such simple machines that allow to avoid these kinds of problems smiley
20  Using Arduino / Networking, Protocols, and Devices / Re: Two arduino communication (serial) on: March 20, 2013, 02:05:03 pm
You should consider the Wire library as well.
http://arduino.cc/en/Reference/Wire
21  Using Arduino / Project Guidance / Re: RF transmitter and reciver on: March 20, 2013, 02:03:05 pm
Or these:
https://www.sparkfun.com/products/10532
https://www.sparkfun.com/products/10534
22  Using Arduino / Interfacing w/ Software on the Computer / Re: Serial port prints on one line! How to solve? on: March 20, 2013, 10:56:55 am
alternative is the use of \n

Serial.print("first line\n second line\n");

Besides \n the \t (tab is also interesting as it allows to columnize numbers and text in the output (copy to Excel is a breeze;).

Thanks robtillaart! In fact I was doing a temperature logging project a while ago and I couldn't understand what "/n" means in other people's code examples. I worked with Excel as well in my project so your comment is very useful to me.
I didn't know nothing about "\t" at all, I always was searching for something similar to it.
Appreciate your help!
23  Using Arduino / Microcontrollers / Re: Why an Attiny85 running at 8MHz is under clocked when programming with Arduino. on: March 19, 2013, 10:07:16 pm
Tips here for minimal boards: http://www.gammon.com.au/forum/?id=11637

Those chips ship by default with the "divide by 8" fuse set.

Wow! Thanks for the link. I love your site by the way, Its very helpful smiley
24  Using Arduino / Programming Questions / Re: Serial.Begin statements on: March 19, 2013, 03:41:51 pm
Not in hardware.  

There is still SoftwareSerial available.  Depending on the device, this may be sufficient.

Didn't know that it is possible through software, but here is what the Library also says:

Quote
Not all pins on the Mega and Mega 2560 support change interrupts, so only the following can be used for RX: 10, 11, 12, 13, 50, 51, 52, 53, 62, 63, 64, 65, 66, 67, 68, 69
Not all pins on the Leonardo support change interrupts, so only the following can be used for RX: 8, 9, 10, 11, 14 (MISO), 15 (SCK), 16 (MOSI).

It talks about the Mega and the Leonardo but not about Arduino UNO for example. So is it actually not compatible with all models?
25  Using Arduino / General Electronics / Re: How to control very very really very high currents with arduino? on: March 19, 2013, 02:22:44 pm
Using a relay:
https://www.sparkfun.com/products/100
26  Using Arduino / General Electronics / Re: how to reduce the electrical noise on: March 19, 2013, 02:22:02 pm
I think a pull–up resistor between a pin and VCC would help.


Which pin and VCC ? sorry im very new to arduino land.

For example: If you are using a wire (you would actually be using at least two in this case) to communicate with another Arduino. And you would want to reduce the noise, consider connecting a part of the wire to the vcc through a pull-up resistor. Connect the end of the wire to the final destination.
27  Using Arduino / General Electronics / Re: how to reduce the electrical noise on: March 19, 2013, 02:03:05 pm
I think a pull–up resistor between a pin and VCC would help.
28  Using Arduino / Interfacing w/ Software on the Computer / Re: Serial port prints on one line! How to solve? on: March 19, 2013, 01:55:40 pm
Well perhaps you could try using:

Serial.println(reading); instead of Serial.print(reading);

Lefty

Thanks for the post, exactly what I needed! smiley
29  Using Arduino / Programming Questions / Re: Map button matrix to integers on: March 19, 2013, 01:51:11 pm
That does not make sense either. You cannot read 2 pins at the sametime with just one digital read. I don't know, maybe we finally can, and I just didn't get the memo.

Maybee, we both didn't get the memo smiley-grin But what I meant in my code is reading the value of a button that is on a specific X Y coordinate. A 2D array must be used for this to work.
30  Using Arduino / LEDs and Multiplexing / Re: Resistors? on: March 19, 2013, 01:16:04 pm
Consider that the RGB leds have a common Anode+ instead of a common Cathode-. Try finding an RGB LED with an common Cathode-, it would be much easier to configure the LED that way.
Pages: 1 [2] 3 4 ... 10