Show Posts
Pages: [1] 2 3 ... 15
1  Using Arduino / Project Guidance / Re: portable ledstrip project on: September 15, 2014, 06:23:05 am
First figure what the total current draw of the LEDs will be, then how long you wish to run them.
Example: 1A draw x 2h run time = 2Ah @ 12V. So for that example a 4Ah or larger 12V rechargeable battery will do.
If your into lugging around a bulky 12V battery.
Also, you must use a linear or buck regulator to power the ATTiny85 from 12V.
Simpler to get 5V LED strips and run the whole thing from 3.7V LiPo batteries or AA batteries and boost to 5V.

2  Using Arduino / Sensors / Re: calibrationg sensor value on: September 08, 2014, 11:42:08 am
Your best bet is to use a constant current source like this or this, set it to 100mA and calibrate the ACS712 board to that.
Then raise and lower the constant current source and test.
For reference:
Referring to the ACS712 schematic.
After calibration.
My no load voltage at the output of trimpot R4 is 2.529V - 2.53V, my no load voltage at the junction of R2 and trimpot R3 is 2.551V - 2.552V.
With the code I posted I get a 2mA - 3mA variance from my Mastech MS8268 multimeter.

Tips:
The code I posted keeps all the unused pins on the Arduino board from floating.
Also, place a .1uF cap from the AREF to the GND pin, cut the leads on the capacitor so that it fits snug with no part of the leads exposed beyond the pins.
Keep all wires from the Arduino board to the ACS712 board as short as possible, don't use the ground pin that is right next to the 5V pin use the one that is closest to the VIN pin.
Keep USB cord, mouse, PC power cord or any other power cords and anything that is magnetic or electromagnetic away from the ACS712 board.
3  Using Arduino / Displays / Re: touchscreen for 2.2" tft display on: September 08, 2014, 10:25:12 am
This one does.
If it is from this link or if the place you bought it from state this in the product description-"Type: touch panel" then it does.
4  Using Arduino / Displays / Re: touchscreen for 2.2" tft display on: September 08, 2014, 07:49:42 am
Casemod,
 Thanks for clearing that up. Never knew about the bit-bang technique for controlling touch, after reading about it I can see why it's not a popular method.

arduino123456789,
I was referring to the 5 pins on the module board that are connected to the touch panel. There are 14 pins on the modules header and 5 pins are consumed/used by the touch panel.
Compared to the other 2.4" TFT module without the touch panel that still has the pins present but they are not consumed/used because of no touch panel.
5  Using Arduino / Project Guidance / Re: mini wind turbine project advice on: September 07, 2014, 11:46:03 am
Really can't see a motor that small producing enough mAs to power a few RGB LEDs, even one with more than one color on at a time would be a challenge. If the motor needs 1.3V whats the mA draw? You won't get that out of it as a turbine.
What will power the Arduino?
Diode, super cap,  joule thief and a white LED maybe?
6  Using Arduino / Displays / Re: touchscreen for 2.2" tft display on: September 07, 2014, 07:08:52 am
Only one extra pin on the Arduino board, 5 pins on the module.
Casemod, do you not have to connect the remaining SPI pins on this module? Just connect the CS pin and let the rest float?
I was under the impression that all SPI device pins must connect to the Arduino board with each device having it's own CS pin.


It was mentioned that the touch "consumes" 5 pins.
I clarified it only "consumes" only one additional pin as the interface itself is the same .

I don't recall having seen or debated anything about how it should be wired, right?
My fault, I didn't use "consume" with enough detail, I was referring to the touch screen consuming 5 pins on the module board it and the screen are attached to. Apposed to the module without a touch screen which the pictures show the touch screen pins on the module but they are not used/consumed because of no touch screen present.

No, not discussed it's wiring I was just asking you for my own clarification as I do not own this particular TFT screen module and you do.
As for my questions, what I'm getting at is this:
Is the SPI for the screen and touch function internally connected in the module except for the CS pins?
Or do the SPI pins have to externally share the Arduino board SPI pins except for individual CS pins? Like the SD card slot.

That's all.  smiley-wink
7  Using Arduino / Sensors / Re: calibrationg sensor value on: September 06, 2014, 08:43:07 am
This is your 3rd thread dealing with your ACS712 module.
Staying on one thread is the way to go. You will get the most help that way.
The way your doing it is bound to erk a few people.
Here is a great link for calibrating the module.
The code I posted in the your other merged thread works great once the module is calibrated.
Did you try it?
I have accuracy down to 2mA - 3mA in certain ranges. Not really going to get much better, the ACS712 is a bit noisy.
No load readings can be 10mA+.
8  Using Arduino / Displays / Re: touchscreen for 2.2" tft display on: September 05, 2014, 08:35:43 pm
Only one extra pin on the Arduino board, 5 pins on the module.
Casemod, do you not have to connect the remaining SPI pins on this module? Just connect the CS pin and let the rest float?
I was under the impression that all SPI device pins must connect to the Arduino board with each device having it's own CS pin.
9  Using Arduino / Displays / Re: touchscreen for 2.2" tft display on: September 05, 2014, 01:53:23 pm
Site says -"5V compatible, use with 3.3V or 5V logic"
Don't see why they would purposely lie.
The link to the TFT screen and driver info is on the product page it is labeled "Download" in a purple blue color.
Though there is nothing related directly to the completed module in there.
10  Using Arduino / Displays / Re: touchscreen for 2.2" tft display on: September 05, 2014, 08:09:57 am
Looks like the touch function consumes 5 pins.
11  Using Arduino / Project Guidance / Re: ACS712 sensor testing on: September 05, 2014, 08:02:45 am
If your using the ACS712 low current module try using this sketch for testing:
Code:
const byte unusedAnaPins[] = {
  A1, A2, A3, A4, A5
};

const byte unusedDigPins[] = {
  2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
};

float offSet = 2.44009; // ACS712 low current board unloaded output voltage

void setup() {
  for (byte i = 0; i < 5; i++) {
    pinMode(unusedAnaPins[i], INPUT_PULLUP);
  }

  for (byte i = 0; i < 11; i++) {
    pinMode(unusedDigPins[i], INPUT_PULLUP);
  }
  Serial.begin(9600);
}

void loop() {
  float sample2SolCrnt = 0.0;
  float solar_crnt = 0.0; // Solar panel current variable
  float solarCrntVal = 0.0; // Current callibration variable
  for (int i = 0; i < 1000; i++)
  {
    sample2SolCrnt += analogRead(A0);
    delay(1);
  }
  sample2SolCrnt = sample2SolCrnt / 1000;
  solar_crnt = sample2SolCrnt / 1023.0 * 4.995117 + 0.002441;
  solarCrntVal = solar_crnt - offSet; // Subtract offset voltage here
  Serial.print("A = ");
  if (solarCrntVal > -.015 && solarCrntVal < .015) {
    Serial.println("0.00");
  }
  else {
    Serial.println(solarCrntVal * -1, 2); // Multiply by -1 to inverse reading
  }
  delay(500);
}
12  Using Arduino / Displays / Re: touchscreen for 2.2" tft display on: September 04, 2014, 08:45:17 pm
Photo shows it has. What makes it so apparent it doesnt?
Scroll down to the description, it states this - "Type: without touch panel"
Now on the link I posted the description states -"Type: touch panel"
13  Community / Exhibition / Gallery / Re: Use Sublime Text 2 to Replace Arduino IDE on: September 04, 2014, 07:35:50 am
This looks interesting, would like to try it but the Sublime Text 2 link is not working.
It loads a page stating "Nothing Found".

***Here is the working link Sublime Text 2
This is the corrected code for direction 1.6:
Code:
import urllib2,os;pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();os.makedirs(ipp) if not os.path.exists(ipp) else None;open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read())

Also, this is an evaluation copy, $70 for the license  smiley-money
14  Using Arduino / Displays / Re: touchscreen for 2.2" tft display on: September 04, 2014, 06:36:45 am
The screen in that link has no touch capability included.
This one does.
15  Using Arduino / Audio / Re: Does anyone here have an EasyVR Shield 2.0 + Arduino UNO R3 ??? on: September 02, 2014, 07:24:58 am
In detail what is your problem?
What have you done to try and solve your problem?
Have you installed the libraries?
Have you read the manual?
Do you have the EasVR commander installed on your PC?
Can you post the sketch you are using? (Please use code tags to post sketch)


Pages: [1] 2 3 ... 15