Go to advanced search

by isuru_dhana
Wed Jun 20, 2018 6:00 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: trying to use ATM90E26 energy sensor with Rpi zero with SPI
Replies: 1
Views: 411

trying to use ATM90E26 energy sensor with Rpi zero with SPI

Hey,
I am trying to get energy sensing data from ATM90E26 IC using SPI to raspberry pi zero using wiringPiSPI library.
Does anyone have already implemented library for raspberry pi zero?

can we use SPI speed as 200kHz?
by isuru_dhana
Wed Jun 20, 2018 3:14 am
Forum: General discussion
Topic: trying to use ATM90E26 energy sensor with Rpi zero with SPI
Replies: 0
Views: 180

trying to use ATM90E26 energy sensor with Rpi zero with SPI

Hey,
I am trying to get energy sensing data from ATM90E26 IC using SPI to raspberry pi zero using wiringPiSPI library.
Does anyone have already implemented library for raspberry pi zero?

can we use SPI speed as 200kHz?
by isuru_dhana
Wed Jun 13, 2018 6:38 am
Forum: Beginners
Topic: How to change the baud rate of UART in raspberry pi zero
Replies: 0
Views: 545

How to change the baud rate of UART in raspberry pi zero

Hello , I enabled uart port of rpi using the below link and it was working fine in 9600 baud rate. https://community.particle.io/t/tutorial-enable-gpio-serial-on-rpi-3/30194 I used the below line to initialize the uart port in 9600 baud rate int fd = serialOpen("/dev/ttyS0",9600); I am using Uart to...
by isuru_dhana
Tue Jun 12, 2018 10:18 am
Forum: Troubleshooting
Topic: Can not write to mounted USB drive in Raspberry pi zero
Replies: 5
Views: 560

Re: Can not write to mounted USB drive in Raspberry pi zero

ahh sorry. I didn't include the whole program. I think just solved the issue. I think that it is a pen drive formatting issue. When I formatted the pen drive in Windows OS using fat32 it worked. I will test it again and comment on that.

Thank you.
by isuru_dhana
Tue Jun 12, 2018 9:56 am
Forum: Troubleshooting
Topic: Can not write to mounted USB drive in Raspberry pi zero
Replies: 5
Views: 560

Re: Can not write to mounted USB drive in Raspberry pi zero

int main() { int file_descriptor = gps_init(); start_time = time(NULL); FILE *f1,*f2, *fp; printf("updating RTC using GPS...\n"); UpdateRTCTime(file_descriptor); //setting the file path name sprintf(filename,"/media/pi/DATA/BSID_17_%s.txt", getRTCdatetime()); cout << filename << endl; printf("writi...
by isuru_dhana
Tue Jun 12, 2018 9:40 am
Forum: Troubleshooting
Topic: Can not write to mounted USB drive in Raspberry pi zero
Replies: 5
Views: 560

Can not write to mounted USB drive in Raspberry pi zero

Hello, I mounted USB pen drive to raspberry pi zero and it is detecting in /media/pi. I can make a text file using command prompt in the pen drive but I cannot make a text file using a binary file. In the C code I have given the path to pen drive (/media/pi/USBpen) correctly, but it is giving segmen...
by isuru_dhana
Wed May 30, 2018 12:36 pm
Forum: Networking and servers
Topic: Setting up an access point in Raspberry pi 3
Replies: 8
Views: 1130

Re: Setting up an access point in Raspberry pi 3

Thank you i will check it.
by isuru_dhana
Wed May 30, 2018 11:01 am
Forum: Networking and servers
Topic: Setting up an access point in Raspberry pi 3
Replies: 8
Views: 1130

Re: Setting up an access point in Raspberry pi 3

Ok I will check.

https://www.raspberrypi.org/documentati ... s-point.md

If I follow the exact same procedure in the above link, it should work for Raspberry pi 3 also right?
Because I tried the exact same link with Raspberry pi zero and it worked properly. :roll: :roll:
by isuru_dhana
Wed May 30, 2018 9:52 am
Forum: Networking and servers
Topic: Setting up an access point in Raspberry pi 3
Replies: 8
Views: 1130

Re: Setting up an access point in Raspberry pi 3

Thank you for the quick response.

The access point was setup. It was showing the 2 arrows in the Desktop. And I could see the AP using other devices also. But when I was trying to connect to it, it said that failed to obtain IP address.

Is this something wrong with the DHCP server setup?
by isuru_dhana
Wed May 30, 2018 7:42 am
Forum: Networking and servers
Topic: Setting up an access point in Raspberry pi 3
Replies: 8
Views: 1130

Setting up an access point in Raspberry pi 3

I tried to setup an AP in Rpi3 following the guidelines in the raspberry pi page. https://www.raspberrypi.org/documentati ... s-point.md
But it didn't work. Please send me a proper guideline to follow.
Thank you :roll: :roll:

Go to advanced search