Go to advanced search

by vishnu92narayanan
Fri Sep 08, 2017 6:20 am
Forum: Beginners
Topic: Wifi Direct communication between a raspberry pi and a sniffing device that operates in Wifi
Replies: 1
Views: 884

Wifi Direct communication between a raspberry pi and a sniffing device that operates in Wifi

I am using a raspberry pi 3 with wifi dongle in it. It is not connected to any internet source. I just want to establish communication with a sniffing device that communicates through wifi. The communication will be like that of wifi Direct as there is no access point. Raspberry pi has to request da...
by vishnu92narayanan
Wed Jun 07, 2017 2:31 pm
Forum: Automation, sensing and robotics
Topic: T6713 CO2 Sensor wiring help
Replies: 9
Views: 2963

Re: T6713 CO2 Sensor wiring help

@ dgordon42 : Ya..it shows up and I tried with 5v too.. no response.. but the LED in the device glows.. Is there any sleep/wake up condition to be met? like does it require repetitive start within a specific milli sec or so ?? (but such info is not there in data sheet) Also, what should be the rate ...
by vishnu92narayanan
Wed Jun 07, 2017 7:13 am
Forum: Automation, sensing and robotics
Topic: T6713 CO2 Sensor wiring help
Replies: 9
Views: 2963

Re: T6713 CO2 Sensor wiring help

Hi..good to see people have discussed on the relevant topic to mine. Upon using T6713, I could not able to get slave acknowledgement. Tried with address 0x14 (write) and 0x15 (read), baudrate is 100kbits/sec... I also tried repetitve start within few micro second.. that also didnt work.. I am using ...
by vishnu92narayanan
Mon May 23, 2016 5:19 am
Forum: Beginners
Topic: Eclipse asking for sudo (wiringPi)
Replies: 3
Views: 1108

Re: Eclipse asking for sudo (wiringPi)

Ya exactly. I need to change the run command. But could'nt possibly find where it is exactly. I tried running the binary file through terminal. It is running fine. But,I require running the code from eclipse itself
by vishnu92narayanan
Mon May 23, 2016 4:40 am
Forum: Beginners
Topic: Eclipse asking for sudo (wiringPi)
Replies: 3
Views: 1108

Eclipse asking for sudo (wiringPi)

I have written a c code employing wiringpi. I have used eclipse platform for it. I could able to build and binary file is being generated. Once I run the project, it is showing "wiringPiSetup: Must be root. (Did you forget sudo?)" It will usually happen even while running through terminal. But I don...
by vishnu92narayanan
Thu May 05, 2016 3:38 am
Forum: Beginners
Topic: Code for creating process scheduling
Replies: 0
Views: 293

Code for creating process scheduling

I am an amateur in linux. I want to do task scheduling based on some policy (say Round Robin) for various tasks. I have separate program codes for these tasks (say UART, I2C etc). I want to now create these as my tasks and schedule them. I found various materials for this, but a complete program wit...
by vishnu92narayanan
Thu Apr 28, 2016 3:57 am
Forum: Beginners
Topic: I2C read starts from arbitary register
Replies: 10
Views: 2214

Re: I2C read starts from arbitary register

@vishnu92narayanan, AFAICT (unless I've missed something in your posts) you haven't stated what (type of) device you're trying to read from. Can you post more details please? Hopefully, someone who is more familiar with that sort of device (or has a better understanding of any associated datasheet)...
by vishnu92narayanan
Wed Apr 27, 2016 10:40 am
Forum: Beginners
Topic: I2C read starts from arbitary register
Replies: 10
Views: 2214

Re: I2C read starts from arbitary register

I have written a separate code for writing, could able to read the written values using linux eeprog command. It works fine. But through program, read is showing error as I mentioned Can you post your separate code for writing the value. My guess is what Joan says: immediately before doing the read...
by vishnu92narayanan
Wed Apr 27, 2016 9:06 am
Forum: Beginners
Topic: I2C read starts from arbitary register
Replies: 10
Views: 2214

Re: I2C read starts from arbitary register

Thank you for the response. Could you brief me on how that would help? because I have completely checked on the write protect thing, I2C Wirings etc, I could able to read only from 0016 even using i2cdump command.
by vishnu92narayanan
Wed Apr 27, 2016 7:47 am
Forum: Beginners
Topic: I2C read starts from arbitary register
Replies: 10
Views: 2214

Re: I2C read starts from arbitary register

I have written a separate code for writing, could able to read the written values using linux eeprog command. It works fine. But through program, read is showing error as I mentioned
by vishnu92narayanan
Wed Apr 27, 2016 4:30 am
Forum: Beginners
Topic: I2C read starts from arbitary register
Replies: 10
Views: 2214

I2C read starts from arbitary register

When I run the following I2C code, it do not start reading the register from 0x0000 (from EEPROM M24128), but it starts from some arbitary location (but the same location everytime (0x0016)). I want the program to read from 0x0000. What should I do? #include<stdio.h> #include<stdlib.h> #include <uni...
by vishnu92narayanan
Tue Apr 19, 2016 11:19 am
Forum: Beginners
Topic: I2C Communication
Replies: 2
Views: 488

I2C Communication

The following program for I2C communication showing some random values even there is no device in the prescribed address (in the program). Also, the values that we are willing to write is not written correctly, but some other values are being written. What could be the possible problems. The slave i...
by vishnu92narayanan
Tue Apr 19, 2016 6:24 am
Forum: Beginners
Topic: Can I use a SMPS for powering pi and sensors connected to it
Replies: 2
Views: 1374

Re: Can I use a SMPS for powering pi and sensors connected t

Thanks for the response. Yes, I just want to ensure SMPS in specific can cater that, that is why I reposted it altering few things. Ya SMPS I referred to is similar to ATX. Will it hold any dedicated protection circuit? say in the form of fuse (as in the case of 5V USB power supply to pi) or do we n...
by vishnu92narayanan
Tue Apr 19, 2016 3:48 am
Forum: Beginners
Topic: I want to use a common power supply to pi and sensors BME280
Replies: 5
Views: 920

Re: I want to use a common power supply to pi and sensors BM

Thank you for the response. BME280, BMA180 and BMP180 are the sensors that I am going to connect with pi via I2C. Can I use SMPS for powering both pi and sensors (as a common power source). If yes, how can it be done?
voltage range of sensors is around 3.3V and current drawn is around 600 micro Amps
by vishnu92narayanan
Tue Apr 19, 2016 3:47 am
Forum: Beginners
Topic: Can I use a SMPS for powering pi and sensors connected to it
Replies: 2
Views: 1374

Can I use a SMPS for powering pi and sensors connected to it

BME280, BMA180 and BMP180 are the sensors that I am going to connect with pi via I2C. Can I use SMPS for powering both pi and sensors (as a common power source). If yes, how can it be done?
voltage range of sensors is around 3.3V and current drawn is around 600 micro Amps
by vishnu92narayanan
Mon Apr 18, 2016 4:45 am
Forum: Beginners
Topic: i2c write/ i2cset not working (data mismatch)
Replies: 0
Views: 632

i2c write/ i2cset not working (data mismatch)

Using i2cset I tried to set data 0x01 in the register 0x00 but it is showing data mismatch. I am using M24128 EEPROM as slave.

[email protected]:~ $ i2cset -f -y -r 1 0x54 0x00 0x01
Warning - data mismatch - wrote 0x01, read back 0x31

What could be the problem
by vishnu92narayanan
Wed Apr 13, 2016 8:38 am
Forum: Beginners
Topic: I want to use a common power supply to pi and sensors BME280
Replies: 5
Views: 920

Re: I want to use a common power supply to pi and sensors BM

Thank you so much for the response. I am now concerned regarding the current magnitude. As the sensor module draws only around 600 micro Amps , is it fine to connect it directly to pi?? Moreover, if I want to give a common power source for both pi and sensor means , how can it be done (without drivi...
by vishnu92narayanan
Wed Apr 13, 2016 4:56 am
Forum: Beginners
Topic: I want to use a common power supply to pi and sensors BME280
Replies: 5
Views: 920

I want to use a common power supply to pi and sensors BME280

How can I accommodate between the difference in voltage and current levels with a single power source
by vishnu92narayanan
Mon Apr 11, 2016 10:14 am
Forum: Beginners
Topic: UART print is not functioning in pi 3 but functions in pi 1
Replies: 1
Views: 386

Re: UART print is not functioning in pi 3 but functions in p

I changed from ttyAMA0 to ttyS0 it works fine
by vishnu92narayanan
Mon Apr 11, 2016 9:17 am
Forum: Beginners
Topic: UART print is not functioning in pi 3 but functions in pi 1
Replies: 1
Views: 386

UART print is not functioning in pi 3 but functions in pi 1

I have 1.disabled the serial communication using raspi-config 2.edited console=tty with /boot/cmdline.txt 3.wrote python code for both read and write (with 9600 baudrate) in both pi 1 and pi 3 It is working perfectly fine in pi 1 but printing is not happening in pi 3 (it does not return any error) W...
by vishnu92narayanan
Wed Apr 06, 2016 5:27 am
Forum: Beginners
Topic: Couldnt able to write in EEPROM
Replies: 0
Views: 321

Couldnt able to write in EEPROM

While trying to write in EEPROM it is not getting written nor showing any error. I could able to detect the end device at 0x54, so that is not a problem. What else could be the problem? [email protected]:~/eeprog-0.7.6-tear12 $ ./eeprog /dev/i2c-1 0x54 -fxr 0:32 eeprog 0.7.6-tear12, a 24Cxx EEPROM read...
by vishnu92narayanan
Wed Apr 06, 2016 4:32 am
Forum: Beginners
Topic: Installing eeprog for raspberry pi
Replies: 4
Views: 1885

Re: Installing eeprog for raspberry pi

Using this command - sudo ./eeprog -f /dev/i2c-1 0x54 -w 0x0 I am getting following response : eeprog 0.7.6-tear12, a 24Cxx EEPROM reader/writer Copyright (c) 2003-2004 by Stefano Barbato - All rights reserved. Copyright (c) 2011 by Kris Rusocki - All rights reserved. Bus: /dev/i2c-1, Address: 0x54,...
by vishnu92narayanan
Wed Apr 06, 2016 4:18 am
Forum: Beginners
Topic: Installing eeprog for raspberry pi
Replies: 4
Views: 1885

Re: Installing eeprog for raspberry pi

Thank you for the response. While I attempt to write using following command [email protected]:~/eeprog-0.7.6-tear12 $ sudo ./eeprog -f -16 -w 0 -t 5 /dev/i2c-1 0x54 I get following response : eeprog 0.7.6-tear12, a 24Cxx EEPROM reader/writer Copyright (c) 2003-2004 by Stefano Barbato - All rights rese...
by vishnu92narayanan
Tue Apr 05, 2016 11:40 am
Forum: Beginners
Topic: Installing eeprog for raspberry pi
Replies: 4
Views: 1885

Installing eeprog for raspberry pi

I am trying to communicate through i2c between pi 3 and M24128 EEPROM. command " ./eeprog -f -16 -w 0 -t 5 /dev/i2c-1 0x54 " shows , No such file or directory i2cdump -y 1 0x54 i , I am getting all " ff " How can I install the eeprog package from raspberry pi. What is the commands and procedure.
by vishnu92narayanan
Mon Apr 04, 2016 7:41 am
Forum: Beginners
Topic: Code and Configuration for I2C communication
Replies: 0
Views: 238

Code and Configuration for I2C communication

I want to communicate from Raspberry pi 3 to a board having V850 Controller and M24128 EEPROM. I want to communicate through EEPROM, where pi will act as master. I have Removed I2C from Blacklist Loaded I2C-dev Installed I2C-tools When I load i2cdetect command , it shows the device connected in i2c ...

Go to advanced search