Show Posts
Pages: 1 ... 10 11 [12] 13 14 ... 35
166  Using Arduino / Project Guidance / Re: Selection of the right Ethernet Shield AND Library on: December 16, 2013, 09:26:52 pm
Look at this site, onewire and EtherCard library able to work together, you need to watch out on your RAM usage.
http://myarduinotoy.blogspot.sg/2013/01/a-basic-temperature-web-server.html
167  Using Arduino / General Electronics / Re: Powering arduino Pro Mini with 7,4V Lipo battery on: December 16, 2013, 06:55:10 pm
You can use this step-up/step-down voltage regulator to output fixed 3.3 V  through its whole discharge cycle of your battery.
http://www.pololu.com/product/2122
and it will cut off at 2.7V
My mistake on assumption that the regulator will cut off below 2.7V

This regulator will NOT protect a LiPo from overdischarging and that a separate protection circuit is therefore required.
It does not enter shutdown mode until the input drops to around 1.8 to 2.2V, it is possible to continue draining your battery when the voltage drops below 2.7V.
168  Using Arduino / General Electronics / Re: Powering arduino Pro Mini with 7,4V Lipo battery on: December 16, 2013, 06:29:04 pm
You can use this step-up/step-down voltage regulator to output fixed 3.3 V  through its whole discharge cycle of your battery.
http://www.pololu.com/product/2122
and it will cut off at 2.7V

Hello.

You should not count on this regulator to prevent your LiPo battery from over-discharging.  You can find out more information about this here:

http://forum.pololu.com/viewtopic.php?f=3&t=7917

- Ben
Thanks for the info
169  Using Arduino / Project Guidance / Re: GLCD_libraries_problem on: December 16, 2013, 10:48:54 am
glcd v3 Forum discussion
170  Using Arduino / Project Guidance / Re: GLCD_libraries_problem on: December 16, 2013, 10:11:41 am
Quote
Troubleshooting

No pixels visible on the display

Check +5v and Gnd connections between Arduino and GLCD panel
Check that all data and command pins are wired correctly
Check contrast voltage (typically between -3 and -4 volts) on contrast-in pin of LCD panel. While the sketch is operating, try gradually adjusting the pot through its range. Some displays are very sensitive to this setting.
Check sketch has compiled ok and downloaded to the arduino.

Contrast Pot NOTE:
Play close attention for how to wire up the contrast pot. ks0108 modules do not wire up their contrast pot the same way as a typical hd44780 lcd. A hd44780 typically hooks its contrast pot legs to +5v and GND. On a ks0108, the pot, which is typically between 10-20k, is used to create a varying negative voltage from Vee up to GND that is used to feed to the Vo input signal. In order to do this, one leg of the pot needs to hook to ground, one leg needs to hook to the Vee negative voltage output pin and then the wiper (middle pin of the pot) will have the variable voltage output that can be fed to the Vo contrast control input pin.
171  Using Arduino / Project Guidance / Re: GLCD_libraries_problem on: December 16, 2013, 09:03:41 am
Library ks0108 which the version 2 of the GLCD library was not design to support for Arduino 1.x
You should use version 3  of the GLCD library.
try to run the example code in the glcd library name: ks0108 GLCDexample

If you still want to use the version 2 Library ks0108, the libraries folder will named it as 'ks0108'  and add this to top line of the ks0108.h include file.
Code:
// Arduino versioning.
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif

to clear the out of scope error.
172  Using Arduino / Project Guidance / Re: GLCD_libraries_problem on: December 16, 2013, 08:21:11 am
Are you using this example code?

Code:
  #include <ks0108.h>  // library header
  #include <Arial14.h>  // font definition for 14 point Arial font.
  #include "SystemFont5x7.h"   // system font
  #include "ArduinoIcon.h"     // bitmap 
  unsigned long startMillis;
  unsigned int iter = 0;
void setup(){

  GLCD.Init(NON_INVERTED);   // initialise the library
  GLCD.ClearScreen(); 
  GLCD.DrawBitmap(ArduinoIcon, 32,0, BLACK); //draw the bitmap at the given x,y position
  delay(3000);
  GLCD.ClearScreen();
  GLCD.SelectFont(System5x7);       // select fixed width system font
}

void loop(){ // run over and over again

  startMillis = millis();
  while( millis() - startMillis < 1000){ // loop for one second
    GLCD.DrawRect(0, 0, 64, 61, BLACK); // rectangle in left side of screen
    GLCD.DrawRoundRect(68, 0, 58, 61, 5, BLACK);  // rounded rectangle around text area   
    for(int i=0; i < 62; i += 4)
      GLCD.DrawLine(1,1,63,i, BLACK);  // draw lines from upper left down right side of rectangle 
    GLCD.DrawCircle(32,31,30,BLACK);   // draw circle centered in the left side of screen 
    GLCD.FillRect(92,40,16,16, WHITE); // clear previous spinner position 
    GLCD.CursorTo(5,5);               // locate curser for printing text
    GLCD.PrintNumber(++iter);         // print current iteration at the current cursor position
  }
  // display number of iterations in one second
  GLCD.ClearScreen();               // clear the screen 
  GLCD.CursorTo(13,2);              // positon cursor 
  GLCD.Puts("FPS= ");               // print a text string 
  GLCD.PrintNumber(iter);           // print a number
 }
 
This code was looking for library ks0108 which the version 2 of the GLCD library.

try to run the example code in the glcd name: ks0108 GLCDexample

173  Using Arduino / General Electronics / Re: my display lights some LED's very lightly and it should'nt do that on: December 15, 2013, 09:39:32 pm
360 LED in 4 digits of 7 segment in common anode, so how many LED per segment? how these LED connected?
174  Using Arduino / General Electronics / Re: Huge voltage drop across transistor H bridge on: December 15, 2013, 07:57:03 pm
Is it possible for you to link me to a recommended circuit diagram or show me how to set up a system with all n channel  mosfets?
Thank you
The circuit show at reply #6 was using all N channel MOSFET.
175  Using Arduino / General Electronics / Re: Huge voltage drop across transistor H bridge on: December 15, 2013, 11:46:12 am
You may read this circuit-Using the high-low side driver IR2110 to drive the MOSFET

http://tahmidmc.blogspot.sg/2013/01/using-high-low-side-driver-ir2110-with.html
176  Using Arduino / General Electronics / Re: Ohms Law Confusion in Arduino on: December 15, 2013, 11:12:33 am
Your voltage source was not a ideal voltage source, it have internal resistance too, it drop some voltage.
177  Using Arduino / Project Guidance / Re: C# for Arduino on: December 15, 2013, 10:21:21 am
Yes, will do. let us the out come.
178  Using Arduino / General Electronics / Re: Huge voltage drop across transistor H bridge on: December 15, 2013, 09:29:50 am
For BC327 PNP transistor you will need about 50mA to drive to saturation, but the circuit used 1K base resistor can only supply about 1.5mA, so the transistor was not in saturation therefore high voltage drop.
179  Using Arduino / General Electronics / Re: Powering arduino Pro Mini with 7,4V Lipo battery on: December 15, 2013, 09:01:23 am
You can use this step-up/step-down voltage regulator to output fixed 3.3 V  through its whole discharge cycle of your battery.
http://www.pololu.com/product/2122
and it will cut off at 2.7V
180  Using Arduino / Project Guidance / Re: GLCD_libraries_problem on: December 15, 2013, 02:51:07 am
Show us which libraries and sample code you used.
have you copy the libraries in to the correct directory?
Pages: 1 ... 10 11 [12] 13 14 ... 35