Show Posts
Pages: [1] 2 3 ... 10
1  Using Arduino / Project Guidance / Re: 7 segment serial display + ATtiny85 + i2c/serial uart on: July 31, 2013, 08:11:48 pm
That makes sense. Thanks.
2  Using Arduino / Project Guidance / 7 segment serial display + ATtiny85 + i2c/serial uart on: July 31, 2013, 05:21:58 pm
I am trying to make a project with the smallest project controller (an Arduino Uno would be overkill). I was planning to use an ATtiny85, but was not sure whether I would be able to properly communicate between a 7 segment serial display using Serial UART or I2C. Does anyone know whether either of those would work or have any experience doing so?

I have reviewed Sparkfuns tutorial, but since not all functions that work on an Arduino work on an ATtiny85 I wasn't sure whether this project would work

7 segment serial display:
https://www.sparkfun.com/products/11443

Sparkfun tutorial
https://www.sparkfun.com/tutorials/407
3  Using Arduino / General Electronics / Re: Potentiometer with LM317 on: July 30, 2013, 06:27:17 pm
last try...
Thanks for your help.
4  Using Arduino / General Electronics / Re: Potentiometer with LM317 on: July 30, 2013, 01:28:15 pm
So like this?
5  Using Arduino / General Electronics / Potentiometer with LM317 on: July 30, 2013, 12:40:03 pm
I am trying to make an adjustable power supply with an LM 371 and a potentiometer. The only problem was that there were some conflicting schematic online about how to connect everything. Attached is a schematic. Can some please verify that it is correct or identify what I need to change? Thanks so much.
6  Using Arduino / Microcontrollers / Re: Invalid Device Signature on: July 20, 2013, 09:08:02 am
I don't know what it is referring to. I assume it has something to do with the ATtiny85?
7  Using Arduino / Microcontrollers / Invalid Device Signature on: July 20, 2013, 08:31:58 am
I am trying to program ATtiny84 and ATtiny85 chips and bought some from Digikey. When I tried programming them with the Arduino ISP sketch I keep getting the error:
Code:
avrdude: Yikes!  Invalid device signature.
         Double check connections and try again, or use -F to override
         this check.
I have checked to make sure that the correct board is selected and have not touched avrdude as the Arduino help section thought might be one of the problems.

Previously I have succesfully programmed other ATtiny85 chips. For some reason this batch is not working. I am running Arduino 1.0.5

I am using the ATtiny85 with a possible model # of 1252. Does anyone have any ideas about how to fix this?
8  Using Arduino / General Electronics / Re: Weird Resistor on: July 03, 2013, 10:51:49 am
Thanks. I will redesign this to run at 12V.
9  Using Arduino / General Electronics / Weird Resistor on: July 03, 2013, 10:34:02 am
I just put together a circuit board and am having some unexpected issues. I first built the board on a breadboard to test that everything would work and it seemed to do so. I have narrowed down the issue at hand to the attached part of the schematic.

Can someone please verify that this schematic should work? When the Arduino pin writes HIGH to (Pump6) it should allow enough current to flow through the NPN transistor and cause the relay to move allowing 240VAC to flow through it.

I am using a Spakfun SPDT relay https://www.sparkfun.com/products/100

The odd thing and possible the issue is that current flows from the Arduino pin to the 330 Ohm resistor but there is not enough current coming out of the resistor to light up an LED. Perhaps a case of a dead resistor? I am trying to switch it out.
10  Using Arduino / Motors, Mechanics, and Power / Re: Control stepper motor with 2 pins - 1 direction only on: June 25, 2013, 01:27:58 pm
Cool. Thanks.
11  Using Arduino / Motors, Mechanics, and Power / Control stepper motor with 2 pins - 1 direction only on: June 25, 2013, 12:37:58 pm
Does anyone know of a way to control a stepper motor with just 2 pins? It only needs to turn 1 direction. Thanks.
12  Using Arduino / Programming Questions / Re: Store and output sensor values from array on: May 24, 2013, 05:51:19 pm
When I try to compile it I get the error:
Code:
call of overloaded 'println(int [8])' is ambiguous
13  Using Arduino / Programming Questions / Store and output sensor values from array on: May 24, 2013, 05:39:36 pm
There are 8 potentiometers that I want to take the readings from and output using an XBee to another Arduino. I thought that storing the values in an array would be a good way to collect their new postions every 50ms and output that to the other Arduino. Clearly it is not. Does anyone have any suggestions about the best way to do this?

Code:
const int analogIn1 = A15;//a potentiometer is connected here
const int analogIn2 = A14;
const int analogIn3 = A13;
const int analogIn4 = A12;
const int analogIn5 = A11;
const int analogIn6 = A10;
const int analogIn7 = A9; 
const int analogIn8 = A8;

int Input1 = 0;
int Input2 = 0;
int Input3 = 0;
int Input4 = 0;
int Input5 = 0;
int Input6 = 0;
int Input7 = 0;
int Input8 = 0;

int New_Readings[8] = {Input1,Input2,Input3,Input4,Input5,Input6,Input7,Input8};

void setup(){
  Serial.begin(9600);
}

void loop(){
  Input1 = analogRead(analogIn1);//new potentiometer position
  Input2 = analogRead(analogIn2);
  Input3 = analogRead(analogIn3);
  Input4 = analogRead(analogIn4);
  Input5 = analogRead(analogIn5);
  Input6 = analogRead(analogIn6);
  Input7 = analogRead(analogIn7);
  Input8 = analogRead(analogIn8);

  Serial.println(New_Readings);//send array to other Arduino
 
  delay(50);
}
14  Using Arduino / Motors, Mechanics, and Power / Re: 270-360 degree servo on: May 21, 2013, 02:58:30 pm
Sorry. A total of 270 to 360 degrees. So from 0-270 or 0-360.
15  Using Arduino / Motors, Mechanics, and Power / Re: 270-360 degree servo on: May 21, 2013, 02:06:46 pm
No, a 270-360 degree servo. .75-1 rotation of a full circle.
Pages: [1] 2 3 ... 10