Go to advanced search

by mignev
Wed Dec 18, 2013 8:33 am
Forum: Python
Topic: Shift register and Python...
Replies: 6
Views: 9904

Re: Shift register and Python...

Hi,
see if this library can help you: https://github.com/mignev/shiftpi

I hope I helped :)
by mignev
Wed Dec 18, 2013 8:33 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: 74HC595 shift register and RPi.GPIO
Replies: 6
Views: 10216

Re: 74HC595 shift register and RPi.GPIO

Hi,
see if this library can help you: https://github.com/mignev/shiftpi

I hope I helped :)
by mignev
Wed Dec 18, 2013 8:32 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Shift register help!
Replies: 13
Views: 6646

Re: Shift register help!

Hi,
see if this library can help you: https://github.com/mignev/shiftpi

I hope I helped :)
by mignev
Mon Jan 28, 2013 10:25 am
Forum: Python
Topic: Raspberry Pi and 74HC595 shift registers the easiest way
Replies: 9
Views: 6694

Re: Raspberry Pi and 74HC595 shift registers the easiest way

Nice idea :)) Just send me a Pull Request :))) Thanks :) Nice .... it reminds me of the time I designed a flash memory programmer using a computers parallel port to output and then shift registers to load the sequence. One thing that might be useful is a routine to load and entire byte and output th...
by mignev
Fri Jan 25, 2013 6:20 pm
Forum: Python
Topic: Raspberry Pi and 74HC595 shift registers the easiest way
Replies: 9
Views: 6694

Re: Raspberry Pi and 74HC595 shift registers the easiest way

I am not sure ... but may be you are right :) but thanks for your share :)
by mignev
Fri Jan 25, 2013 12:57 am
Forum: Python
Topic: Raspberry Pi and 74HC595 shift registers the easiest way
Replies: 9
Views: 6694

Re: Raspberry Pi and 74HC595 shift registers the easiest way

This is not true! You can use any digital pin to control the shift register :)) As you can see i don't use SPI pins to control the shift register :)
by mignev
Thu Jan 24, 2013 8:39 pm
Forum: Python
Topic: Raspberry Pi and 74HC595 shift registers the easiest way
Replies: 9
Views: 6694

Re: Raspberry Pi and 74HC595 shift registers the easiest way

Hi,
nice lib but what is common between shift registers and SPI?
by mignev
Thu Jan 24, 2013 6:32 pm
Forum: Python
Topic: Raspberry Pi and 74HC595 shift registers the easiest way
Replies: 9
Views: 6694

Raspberry Pi and 74HC595 shift registers the easiest way

Hi guys, these days I had to get some work done with some shift registers but i can't find easy way to do it ... Few hours later i wrote simple python library that helped me to do my job with ease and love :) https://github.com/mignev/shiftpi every pull request with bugfix or new feature is welcome ...
by mignev
Thu Jan 24, 2013 5:01 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: i2c between Raspberry Pi and Arduino 5v
Replies: 15
Views: 14241

Re: i2c between Raspberry Pi and Arduino 5v

Hi guys, i found what the stupid problem is? :) After 2 days of reading the internet and testing a lot of stupid things, in one moment i just decide to view the schematic of the level shifter. This one: http://www.sparkfun.com/datasheets/BreakoutBoards/Level-Converter-v10.pdf And .... what my eyes s...
by mignev
Wed Jan 23, 2013 9:53 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: i2c between Raspberry Pi and Arduino 5v
Replies: 15
Views: 14241

Re: i2c between Raspberry Pi and Arduino 5v

Hm i did one arduino to work with 3.3v and and everything runs at once :) and in the same time i can't see my 5 volt's Arduino. May be the problem is in the level shifter but when i try with another level shifter from sparkfun nothing different happens! I have no nmos transistors to assemble one lev...
by mignev
Wed Jan 23, 2013 8:24 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: i2c between Raspberry Pi and Arduino 5v
Replies: 15
Views: 14241

Re: i2c between Raspberry Pi and Arduino 5v

Hi guys today i bought one i2c sensor that works in 3 volts. Immediately when i connect it to SDA and SCL of the Pi and type in the terminal i2cdetect bla bla ... i saw him in the found devices, but still can do not see the arduino which is connected behind the logic level coverter!

Stupid thing!
by mignev
Tue Jan 22, 2013 10:25 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: i2c between Raspberry Pi and Arduino 5v
Replies: 15
Views: 14241

Re: i2c between Raspberry Pi and Arduino 5v

Hi Guys thanks for your help :) @Gordon - I'll go to buy a sensor to test with, as you suggested. Btw I tried without pull-up but still does not work. @aboudou - analog pins 4 and 5 are really correct. ( http://arduino.cc/en/Reference/Wire ). The SDA and SCL pins were added for compatibility with le...
by mignev
Mon Jan 21, 2013 7:43 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: i2c between Raspberry Pi and Arduino 5v
Replies: 15
Views: 14241

i2c between Raspberry Pi and Arduino 5v

Hi guys, from several hours i try to connect i2c between arduino and raspberry but without any success! This image below is mock of my breadboard: https://dl.dropbox.com/u/4710119/mess/rasp_ard_i2c_bb.png Full image: https://dl.dropbox.com/u/4710119/mess/rasp_ard_i2c_bb.png I try with this snippet o...
by mignev
Tue Dec 04, 2012 7:32 pm
Forum: Python
Topic: Communication with Arduino problem with pyserial
Replies: 17
Views: 6996

Re: Communication with Arduino problem with pyserial

Hi guys,
i am very confused ... this stinker works whenever it wants ... I just pull the cable and after few seconds i push it back ... and works, but from time to time it breaks and from time to time fix by itself ... i dont know !?! I really am very confused
by mignev
Tue Dec 04, 2012 2:37 pm
Forum: Python
Topic: Communication with Arduino problem with pyserial
Replies: 17
Views: 6996

Re: Communication with Arduino problem with pyserial

interesting discussion is formed here :)

I tried to add pi user dialout group but nothing different happens, also i tried and with root user but is the same ....

About the Arduino actualy is UNO.
by mignev
Tue Dec 04, 2012 11:53 am
Forum: Python
Topic: Communication with Arduino problem with pyserial
Replies: 17
Views: 6996

Re: Communication with Arduino problem with pyserial

Nice idea Paul :)) Thanks :)
by mignev
Tue Dec 04, 2012 10:25 am
Forum: Python
Topic: Communication with Arduino problem with pyserial
Replies: 17
Views: 6996

Re: Communication with Arduino problem with pyserial

One way of seeing what your Arduino is appearing as is: ls /dev/tty* Plug in you Arduino ls /dev/tty* Look at the difference. It is possible your Arduino is appearing as /dev/ttyUSB0 or /dev/ttyACM1 instead. Hi Croston, my Arduino is on ACM0 :) make sure yourself: @pi on #raspberrypi in ~ # ls /dev...
by mignev
Tue Dec 04, 2012 10:22 am
Forum: Python
Topic: Communication with Arduino problem with pyserial
Replies: 17
Views: 6996

Re: Communication with Arduino problem with pyserial

Hi :),
thank you very much for fast answer. In this link are some many different cases, problems with USB hubs, problem with drivers and so on. Tonight after i get home i will try all of them and i will write what is happened :)
by mignev
Tue Dec 04, 2012 9:48 am
Forum: Python
Topic: Communication with Arduino problem with pyserial
Replies: 17
Views: 6996

Re: Communication with Arduino problem with pyserial

Hi, thank you very much about the advice, i wasn't, but now there is another problem: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "relay.py", line 5, in send_cmd arduino = serial.Serial('/dev/ttyACM0', 9600) File "/usr/lib/python2.6/dist-packages/serial/serialutil.py"...
by mignev
Mon Dec 03, 2012 1:36 pm
Forum: Python
Topic: Communication with Arduino problem with pyserial
Replies: 17
Views: 6996

Communication with Arduino problem with pyserial

Hi Guys, I have the following stupid problem: I'm trying to communicate with one (or more but now only with one) Arduino over USB via pySerial lib, but when i type this: $ python >>> import serial >>> arduino = serial.Serial('/dev/ttyACM0', 9600) It takes a few seconds at least 5-6 to connect and af...

Go to advanced search