Go to advanced search

by Givi
Sat Nov 11, 2017 10:46 pm
Forum: General discussion
Topic: OpenVpn Access Server
Replies: 9
Views: 7990

Re: OpenVpn Access Server

Guys, I installed the openvpn on my RPi-3 and now I am getting below error messages connecting to it from my Win-10 box. Also, Below URL is a good site to follow and the instructions are explained well. Not sure this is a Firewall issue on the wIn-10 or RPi, because I have not set one up to block VP...
by Givi
Sat Aug 19, 2017 2:15 pm
Forum: Beginners
Topic: "Failed to start load kernel modules" when booting
Replies: 14
Views: 4302

Re: "Failed to start load kernel modules" when booting

Hi, I just put a Pi-3 together and I see the same Failed message when Pi boots up. Below are the error and failed messages. I looked in both 'config.txt' and /etc/modules. I activated SPI, ssh and I2C, I also installed vsftpd service, changed the Pi host name and configured root login access. These ...
by Givi
Mon Jul 31, 2017 2:55 pm
Forum: General discussion
Topic: Artificial Intelegence, "AI" programing Libraries and Compiler
Replies: 1
Views: 301

Artificial Intelegence, "AI" programing Libraries and Compiler

Guys/Girls,

Is there a Compiler and library available for RPi to start programing in 'AI'?!
by Givi
Tue Jul 25, 2017 4:12 pm
Forum: Advanced users
Topic: Cross Compilation cannot find resources
Replies: 11
Views: 2220

Re: Cross Compilation cannot find resources

Guys/Girls, Is it possible to compile with gcc C codes that we then can burn into a Microchip Microcontrollers? I am working with "Gordon Project" and its libraries. How do I generate the code that can go on a Microchip? I fount some AVR programing, but can't find how to compile a C code using gcc a...
by Givi
Sun Nov 20, 2016 5:28 pm
Forum: Linux Kernel
Topic: I2C repeated starts implemented in the kernel
Replies: 2
Views: 2552

Re: I2C repeated starts implemented in the kernel

Hi, I wondered if you can help me with Reading a Microcontroller using 'WiringPi'. In my simple I2C program I can send Binary digit from RPi to 18f2525 Microchip. However, I have not been able to do the reverse. Does WiringPi provides a 'stop' or 'start' function in I2C as well ? Do I need it? Regar...
by Givi
Sun Jul 24, 2016 10:30 pm
Forum: Troubleshooting
Topic: How i2cdetect works or what it needs to see to detect a Dev.
Replies: 9
Views: 2544

Re: How i2cdetect works or what it needs to see to detect a

HI, I finally got the PIC Slave address '34' for I2C to appear on the 'i2cdetect -y 1'. I Removed all the Library calls etc. However, I am still having problem to get anything across, PIC to RPi or vice versa. I attached the codes on the PIC and the RPi for any comment. # i2cdetect -y 1 0 1 2 3 4 5 ...
by Givi
Thu Jul 14, 2016 2:58 pm
Forum: Troubleshooting
Topic: How i2cdetect works or what it needs to see to detect a Dev.
Replies: 9
Views: 2544

Re: How i2cdetect works or what it needs to see to detect a

Guys, I have a typo in previous couple of posts. The output form 'i2cdetect -y -1" was posted with label "Below is the output without the Quick2Wire MCP23017 board attached:", Which is incorrect and it should read as "Below is the output with the Quick2Wire MCP23017 board attached:". Sorry about tha...
by Givi
Thu Jul 14, 2016 2:49 pm
Forum: Troubleshooting
Topic: How i2cdetect works or what it needs to see to detect a Dev.
Replies: 9
Views: 2544

Re: How i2cdetect works or what it needs to see to detect a

HI Gavinmc42, Thanks for your reply. Yes, PIC 18F2525 is programmed as a Slave and has a Slave address (I have used range 15 to 69 Hex). in one piece of code I use the I2C Library functions, Mikroelektronika Version 6.5 MikroC Pro for PIC. It is connected to the GPIO pins on RPi. While it is powered...
by Givi
Thu Jul 14, 2016 2:37 am
Forum: Troubleshooting
Topic: How i2cdetect works or what it needs to see to detect a Dev.
Replies: 9
Views: 2544

Re: How i2cdetect works or what it needs to see to detect a

Hi Joan, Thank you for your reply. I get address '20' appear on the output of the 'i2cdetect -y 1' when I have the Quick2Wire MCP23017 IO Port Expander v0.4 attached to the GPIO. However, when I attach the PIC 18F2525 by itself I am not seeing any address appearing in the output (there is more to it...
by Givi
Wed Jul 13, 2016 1:32 pm
Forum: Troubleshooting
Topic: How i2cdetect works or what it needs to see to detect a Dev.
Replies: 9
Views: 2544

How i2cdetect works or what it needs to see to detect a Dev.

Hi, I like to know if there is any documentation on What 'i2cdetect' needs or looks for on the GPIO to detect a device? What makes 'i2cdetect' to see an address or how it decides what address to assign? Other than connecting the "SCL, SDA" and power pins to another device, what else GPIO/RPi will lo...
by Givi
Tue Mar 15, 2016 2:30 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C address Format on RPi
Replies: 8
Views: 1100

Re: I2C address Format on RPi

Hi Joan,

Thank you for all your help.

Regards,

Givi :D
by Givi
Tue Mar 15, 2016 1:25 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C address Format on RPi
Replies: 8
Views: 1100

Re: I2C address Format on RPi

Hi Joan, Yes, that is correct. But please see below documents on I2C protocol spec. Then see pages "15-32" and you'll see what I am concern about. I am using the PIC as a Slave, so I need to know what RPi is sending, then I can program the PIC to be ready for that many 'bits' etc. pages: "15-32" UM1...
by Givi
Mon Mar 14, 2016 10:46 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C address Format on RPi
Replies: 8
Views: 1100

Re: I2C address Format on RPi

Hi Joan,

Ok, if you look at any PIC with I2C, such as PIC18F2525, under the MSSP, Register SSPCON1, it will show in the specs bits "3-0" determine these settings for the Microcontroller. If you pull up the PDF on this PIC you'll see it on page "172".


Thanks again.

Regards,

Givi
by Givi
Mon Mar 14, 2016 6:16 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C address Format on RPi
Replies: 8
Views: 1100

Re: I2C address Format on RPi

Hi Joan,

Is that with Start and Stop bit interrupts enabled? Thank you for your reply.


Regards, :)

Givi
by Givi
Sat Mar 05, 2016 3:45 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C address Format on RPi
Replies: 8
Views: 1100

I2C address Format on RPi

Hi,

Like to know where I can find the bit set format of I2C as a Master on RPi? Is it 10bits or 7 Bits address etc.


Regards
Givi
by Givi
Sat Feb 20, 2016 3:14 am
Forum: Beginners
Topic: gpio load i2c
Replies: 1
Views: 1569

gpio load i2c

Hi, I had to add the below lines to /boot/config.txt to get the "i2cdetect" working, but now I have a different issue with 'gpio load 12c' not working. I commented these out and followed the URL mentioned in th emessage, but can't get the 'gpio load i2c' working. dtparam=i2c=on dtparam=i2c_arm=on dt...
by Givi
Sun Feb 14, 2016 3:38 pm
Forum: Automation, sensing and robotics
Topic: Quick2Wire
Replies: 0
Views: 179

Quick2Wire

Hello,
Has Anyone had a good luck getting the Quick2Wire install working on RPI? If you know how and have been successful in getting it working please let me know. :roll:

Regards,

Givi
by Givi
Sat Feb 13, 2016 10:53 pm
Forum: Automation, sensing and robotics
Topic: I2C not working
Replies: 5
Views: 15066

Re: I2C not working

Hi, After searching some more, came across below Web page by Adafruits and after modifying the '/boot/config.txt' and adding suggested entries, I was able to run 'i2cdetect -y 1' successfully. Not sure this is the end of it. https://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/confi...
by Givi
Sat Feb 13, 2016 7:03 pm
Forum: Automation, sensing and robotics
Topic: I2C not working
Replies: 5
Views: 15066

Re: I2C not working

Hi, I have the same issue now. I was working with Banana PI, but there was no support to get the I2C and Quick2Wire software working on that. So, I started to work with a Raspberry PI instead. Some how I am getting the following error messages when I run 'i2cdetect', which surprisingly it was workin...
by Givi
Sun Jul 20, 2014 3:24 pm
Forum: C/C++
Topic: Starter; too many questions ;-]
Replies: 5
Views: 1044

Re: Starter; too many questions ;-]

Thanks again. I'll go over that URL.

egards,

Givi
by Givi
Sun Jul 20, 2014 3:01 pm
Forum: C/C++
Topic: Starter; too many questions ;-]
Replies: 5
Views: 1044

Re: Starter; too many questions ;-]

Thank you for a quick reply. I am trying to use the "RISC".
by Givi
Sun Jul 20, 2014 2:39 pm
Forum: C/C++
Topic: Starter; too many questions ;-]
Replies: 5
Views: 1044

Starter; too many questions ;-]

I am trying to learn how the file system is setup. where I can open and save a "C" file, what should the file extension be, and how to go about compiling etc. Then I like to know how to access the GPIO with the "C" code. DO I need to download the compiler? A right click on the Fist icon gives a lot ...

Go to advanced search