Show Posts
Pages: 1 2 [3] 4
31  Using Arduino / General Electronics / I2C of Arduino on: March 15, 2013, 02:55:20 pm
Can I connect FM radio and DS1307 on same arduino where the two component use SDA,SCL of I2C for arduino?
32  Using Arduino / General Electronics / Problem chip ds1307 with battary 3v on: March 13, 2013, 07:56:46 am
I connect the circuit as in this photo  http://tronixstuff.files.wordpress.com/2010/05/ds1307exampleuse.jpg


then I connect this circuit with TFT LCD on arduino mega 2560 , but the problem when I turn off arduino the time is kept in chip but don't move , In other words, when I turn on arduino again the time Starts from the moment that turned off arduino.
33  Using Arduino / Displays / error msg when i add image on: March 07, 2013, 04:26:19 pm
 when I check the code , msg shows [ done
 compiling ] but when I upload to arduino ,error msg show
[ avrdude : vertification error, first mismatch at a byte 0x06bc
               0x18 != 0xff
 avrdude : vertification error, content mismatc ]
this code to add image :
Code:
#include <ITDB02_Graph16.h>
#include <avr/pgmspace.h>
extern uint8_t SmallFont[];

prog_uint16_t FR[0x33BE] PROGMEM ={
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, )
0xFFFF, 0xFFFF, 0xFFFF,

.
.
.
.
.
.
.
.
.

0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x2E50 (11856)
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x2E60 (11872)
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x2E70 (11888)
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x2E80 (11904)
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x2E90 (11920)
0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDE, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,   // 0x2EA0 (11936)
0x0000, 0x0000, 0xA618, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,
};


ITDB02 myGLCD(38,39,40,41);

void setup()
{ myGLCD.InitLCD(PORTRAIT);
  myGLCD.setFont(SmallFont);
  drawDisplay();
     }

void drawDisplay()
{
myGLCD.fillScr(255,255,255);
myGLCD.drawBitmap(35, 213, 32, 32, FR);
}

void loop()
{}
34  Using Arduino / Audio / Re: Arduino wave sheild on: March 07, 2013, 07:05:06 am
thanx very much
35  Using Arduino / Displays / problem [ not maching function for call to 'UTFT::UTFT(int,int,int,int) ] on: March 07, 2013, 07:01:18 am
I bought from website [ http://www.sainsmart.com/arduino-compatibles/sainsmart-kit-1/sainsmart-mega2560-board-3-5-tft-lcd-module-display-shield-kit-for-atmel-atmega-avr-16au-atmega8u2.html ]
I I download utft library then moved to folder ((arduino 0023\libraries)) then I wrote Demo code :

#include <UTFT.h>
UTFT    myGLCD(ITDB32S,38,39,40,41);
void setup()
{
  myGLCD.InitLCD(PORTRAIT);
  drawdisplay();
}
void drawDisplay()
{  // Clear screen
myGLCD.clrScr();
// print the lines
myGLCD.setColor(0,255,0);
myGLCD.setBackColor(255,255,255);
MYGLCD.drawRect(0,0,239,319);
myGLCD.drawLine(0,50.5,239,50.5);
myGLCD.drawLine(0,100,239,100);
myGLCD.drawLine(0,130,239,130);
for(int y=1;y<6;y++)
{ myGLCD.drawLine(39.83333333333*y,100,39.83333333333*y,130); }
myGLCD.drawRect(190,50.5,239,76)
myGLCD.drawLine(0,182,319,182);
myGLCD.drawLine(0,208,239,208);
myGLCD.drawLine(0,289,239,289);
myGLCD.drawLine(30,208,30,289);
myGLCD.drawLine(209,208,209,289);
myGLCD.drawLine(119.5,130,119.5,208); // the center
myGLCD.drawCircle(197.3488,70.634,2.8488);}
void loop()
{}



but show error msg [ not maching function for call to 'UTFT::UTFT(int,int,int,int) ]
what's the problem ?
36  Using Arduino / Audio / Arduino wave sheild on: March 05, 2013, 04:48:34 pm
I want to know what the name of library for this code on the link ( http://www.elechouse.com/elechouse/images/product/Arduino%20Wave%20Module/Arduino_Wave_Code.pde )
for the ( http://www.elechouse.com/elechouse/index.php?main_page=product_info&cPath=168_170&products_id=2161 )
and I'd know if the sheild has useless pins on analog { I didn't find that in manual }because I think connect TFT lcd with sound sheild , where when I press on tft lcd write analog signal on pwm pin of arduino mega and  receive this signal analog pin of arduino uno then play audio file ?
37  Using Arduino / Interfacing w/ Software on the Computer / Re: wave sound sheild interface on: February 27, 2013, 10:31:11 am

I want to know what keypad, what wave shield, what you want to do, and what you have tried.
[/quote]

keypad :                 http://www.adafruit.com/images/large/membranekeypad34arduino_LRG.jpg
wave sound sheild :   http://www.oomlout.co.uk/images/medium/ARSH-03-WA_MED.jpg
I want to work a project similar to this video :
38  Development / Other Hardware Development / Re: Ds1307 (RTC) on: February 27, 2013, 09:17:11 am
Quote
You need to specify the I2C pins of the Arduino (and only those pins).
Thanx
39  Development / Other Hardware Development / Ds1307 (RTC) on: February 27, 2013, 06:45:58 am
I'm sorry , my question may be stupid but I am a beginner and I want to write code before the arrival of the pieces because I must deliver project for the University at a specific time.

in library ds1307 for arduino , there function is written in the begining of code [   DS1307(SDA, SCL);   ]  , if I connect the two pins () of DS1307 to the analog pin 5,6 on arduino ,
do I write replacing [SDA,SCL] : {5,6} ?
40  Using Arduino / Interfacing w/ Software on the Computer / wave sound sheild interface on: February 27, 2013, 06:30:24 am
I want example to understand how to use pins of interface for wave sound sheild with keypad .
41  Using Arduino / Displays / Re: how to use bitmap? on: February 27, 2013, 06:22:05 am
you started your talk (if you wish...), so can I  put the data of array (all hexadecimals of pixels) on the same arduino program and without using SD Card ?
42  Using Arduino / Displays / Re: how to use bitmap? on: February 26, 2013, 08:54:02 am
am I put the data of array (all hexadecimals of pixels) on the same arduino program or put the file (.c) which contains the data of array on the sd card?
43  Using Arduino / Displays / how to use bitmap? on: February 25, 2013, 02:51:41 am
For function [ drawBitmap(x, y, sx, sy, data [, scale]); ]  in library utft, do I put
replacing data the name of array or the data of array(all the
Hexadecimals of pixels ) ?
44  Using Arduino / Displays / Library UTFT on: February 24, 2013, 07:15:32 am
how to print number by certain size in library utft ?
45  Using Arduino / Displays / Q about orientation and coordinates of screen( ITDB02-3.2 ) on: February 21, 2013, 12:53:48 am
can I choose for my screen( ITDB02-3.2 ) portrait or landscape , either or each screen has special kind of orientation?

are all the sizes of screen (3.2 , 3.8 , 2.4 ....) have the same range of coordinates (x,y) between (0,0) to (239,319) ? if no , How do I know my screen coordinates  ( ITDB02-3.2 ) ؟
Pages: 1 2 [3] 4