Go to advanced search

by eqooo
Mon Jul 22, 2013 12:26 pm
Forum: C/C++
Topic: Serial Receive Interrupt ???
Replies: 1
Views: 1392

Serial Receive Interrupt ???

Hi everyone.
I need to learn about interrupts. How can I do an interrupt when data is receive to RPi ? I'm using Raspbian.
Has any idea about it?
by eqooo
Thu Jul 11, 2013 6:48 pm
Forum: C/C++
Topic: UART RX TX problem
Replies: 8
Views: 3785

UART RX TX problem

Hi everyone.. I have some question. I'm using RPi rev2 and I generally write code with wiringPi library on C language. So I write a simple serial code and checked. Firstly I used P1 header RX and TX pins to communicate with Desktop. When the code is working, I had some trouble on communication. When...
by eqooo
Mon Jul 01, 2013 7:10 am
Forum: C/C++
Topic: Serial Communication with Ethernet
Replies: 8
Views: 12861

Re: Serial Communication with Ethernet

Thanks so much your answers.
if I connect to internet , I need to socket programming with TCP/IP or UDP or others.
But I want to say there is no internet. so I want to connect Pc to RPi direct connection wit Ethernet cable.
How can I do?
by eqooo
Sat Jun 29, 2013 7:07 am
Forum: C/C++
Topic: Serial Communication with Ethernet
Replies: 8
Views: 12861

Re: Serial Communication with Ethernet

I want to create GUI with C# on PC. For example; LED ON and LED OFF butons are on GUI. I want to control leds with GUI applications so I want to try ethernet cable to communicate.
by eqooo
Fri Jun 28, 2013 2:25 pm
Forum: C/C++
Topic: Serial Communication with Ethernet
Replies: 8
Views: 12861

Serial Communication with Ethernet

Hi everyone,
I want to use ethernet communication on my desktop with my pi. I want to learn how to do "ethernet to ethernet communication" . How can I send a data from pc to RPi ? I'm using Debian for RPi.
Thanks.
by eqooo
Tue Jun 18, 2013 1:00 pm
Forum: Beginners
Topic: Autorun C code Help
Replies: 0
Views: 240

Autorun C code Help

I'm trying to work on Pi about startup C code working. I wrote a C blink code and tried to this subject http://www.raspberry-projects.com/pi/pi ... an/scripts but I didn't take solution. when my Pi reboot myLed will blink . How can I do?
by eqooo
Fri May 24, 2013 8:01 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: HELP I2C and DS1307
Replies: 25
Views: 4570

Re: HELP I2C and DS1307

thanks a lot Joan I'm immediately triying now :) I will back soon :)
by eqooo
Fri May 24, 2013 6:51 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: HELP I2C and DS1307
Replies: 25
Views: 4570

Re: HELP I2C and DS1307

Thanks for writing.
So how can I set this pins ? I don't know how to do this?
by eqooo
Thu May 23, 2013 2:02 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: HELP I2C and DS1307
Replies: 25
Views: 4570

Re: HELP I2C and DS1307

Thanks for your answer. I will resource and come again :)
by eqooo
Thu May 23, 2013 1:26 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: HELP I2C and DS1307
Replies: 25
Views: 4570

Re: HELP I2C and DS1307

I checked my connection so all is done. But I can't see any adresses ..

sorry about my terrible questions,but this is all new to me.
by eqooo
Thu May 23, 2013 1:07 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: HELP I2C and DS1307
Replies: 25
Views: 4570

Re: HELP I2C and DS1307

Now I have some problem about P5 header pins. so I did P1 headers i2c and used RTCds1307 ,this is alright.But I want to connect P5 header pins so I connected cables P5 pins but the reason is empty.

Code: Select all

sudo i2cdetect -y 1 
sudo i2cdetect -y 0 
I wrote this codes but I couldn't see anything...
by eqooo
Thu May 23, 2013 9:18 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: HELP I2C and DS1307
Replies: 25
Views: 4570

Re: HELP I2C and DS1307

This problem is solved . thanks a lot for answers. RTC circuit connection was wrong and fix it and see 68 and using sudo hwclock -r and see Sat 01 Jan 2000 00.00.09 like that.
by eqooo
Thu May 23, 2013 8:50 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: HELP I2C and DS1307
Replies: 25
Views: 4570

Re: HELP I2C and DS1307

Thanks a lot joan so now I will check my devices connection and I will come again :)
by eqooo
Thu May 23, 2013 8:44 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: HELP I2C and DS1307
Replies: 25
Views: 4570

Re: HELP I2C and DS1307

Yes I did but I have no reason. So can I ask something? I want to learn if the rtc is working I will see e.g 0x68 when I use i2cdetect -y 1 or 0 ? or if I don't connect rtc ,can I see some adress when i2cdetect -y 1 or 0 ?

thanks joan.
by eqooo
Thu May 23, 2013 8:36 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: HELP I2C and DS1307
Replies: 25
Views: 4570

Re: HELP I2C and DS1307

so I have to do all grounds will be connect i2c devices and Pi?? I understand right?
by eqooo
Thu May 23, 2013 8:02 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: HELP I2C and DS1307
Replies: 25
Views: 4570

Re: HELP I2C and DS1307

Ground is near the GPIO4 ... is this so important case ?
by eqooo
Thu May 23, 2013 7:38 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: HELP I2C and DS1307
Replies: 25
Views: 4570

Re: HELP I2C and DS1307

I have rtc ds1307 module. the pins are GPIO 0 (SDA) and GPIO 1 (SCL) on RPi.
by eqooo
Thu May 23, 2013 7:23 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: HELP I2C and DS1307
Replies: 25
Views: 4570

Re: HELP I2C and DS1307

( i2cdetect -y 0 ) is the same effect.
by eqooo
Thu May 23, 2013 6:47 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: HELP I2C and DS1307
Replies: 25
Views: 4570

HELP I2C and DS1307

Hi everyone. I'm using rev2 for Pi and I have some trouble about I2C ports.I did http://learn.adafruit.com/adding-a-real-time-clock-to-raspberry-pi/set-rtc-time this documents so my Pi has no effect. I'm writing i2cdetect -y 1 ,there are no numbers. [email protected]:/sys/class/gpio# i2cdetect -y 1 0...

Go to advanced search