Go to advanced search

by pierpa86
Fri Feb 17, 2017 5:22 pm
Forum: Advanced users
Topic: Adafruit-Powerboost-1000c
Replies: 2
Views: 819

Re: Adafruit-Powerboost-1000c

Hey man no one can tell me if is safe use this battery with that powerboost ? :?:
by pierpa86
Thu Feb 16, 2017 7:24 pm
Forum: Advanced users
Topic: Adafruit-Powerboost-1000c
Replies: 2
Views: 819

Adafruit-Powerboost-1000c

Hi at all ! :) I need some help on this chip, you think I can use it to charge this battery consists of 2 blocks of 5100 mAh 3.7V, 3.9V tester says ? or it can explode :lol: ? battery on the right of first photo is the old one used with powerboost 1000c On official document i can read: "The charger ...
by pierpa86
Wed Jan 18, 2017 10:18 pm
Forum: Troubleshooting
Topic: Rasp pi3 and MCP3008 + Joystick
Replies: 8
Views: 2866

Re: Rasp pi3 and MCP3008 + Joystick

Enjoy, this is my code, virtual GamePad with Analog Joystick X and Y axis and 12 buttons: - from MCP3008 Channel 0 to 5 used for Buttons - MCP3008 Channel 6 and 7 used for Joystick axis X - Y - GPIO pin 21, 20, 16, 26, 19, 13 (with GRD pin) other 6 buttons :mrgreen: #MCP3008 Analog X Y BTN 0-5 #GPIO...
by pierpa86
Wed May 25, 2016 8:10 pm
Forum: Troubleshooting
Topic: Very strange blank screen issue
Replies: 2
Views: 1659

Re: Very strange blank screen issue

have you overclock your retropie without a correct dissipation ?
by pierpa86
Wed May 18, 2016 9:18 am
Forum: Gaming
Topic: Retropie Movie player
Replies: 5
Views: 9716

Re: Retropie Movie player

i try the code without screen program and it's working for 1 time before apt-get upgrade | retropie tool you can try to do it without screen
by pierpa86
Sat May 14, 2016 10:22 pm
Forum: Gaming
Topic: Retropie Movie player
Replies: 5
Views: 9716

Re: Retropie Movie player

:o i try your code and for 1 time all work, but after i run "retropie upgrade" and now dont work... :evil:
by pierpa86
Fri May 13, 2016 9:47 am
Forum: Troubleshooting
Topic: Rasp pi3 and MCP3008 + Joystick
Replies: 8
Views: 2866

Re: Rasp pi3 and MCP3008 + Joystick

solved, i coded a driver in python using uinput, next time i make a guide for this problem for all ppl like me. thz for all :)
by pierpa86
Fri May 13, 2016 9:43 am
Forum: Python
Topic: Python Uinput
Replies: 5
Views: 1725

Re: Python Uinput

Solved by me :lol: ( emulation station can't detect a Joypad without buttons, you need at least 1 button )
by pierpa86
Mon May 09, 2016 4:46 pm
Forum: Python
Topic: Python Uinput
Replies: 5
Views: 1725

Re: Python Uinput

i see that with "jstest /dev/input/js0"

Joystick (python-uinput) has 2 axes (X, Y)
and 0 buttons ().
Testing ... (interrupt to exit)
Axes: 0: 5097 1: 5752

is that a virtual keyboard ? or is a joystick ?
by pierpa86
Mon May 09, 2016 3:36 pm
Forum: Python
Topic: Python Uinput
Replies: 5
Views: 1725

Python Uinput

Hello, i try to make working a joystick with uinput and now it's work with this code : #!/usr/bin/python import spidev import time import os import uinput # Open SPI bus spi = spidev.SpiDev() spi.open(0,0) # Function to read SPI data from MCP3008 chip # Channel must be an integer 0-7 def ReadChannel...
by pierpa86
Sun May 08, 2016 8:58 pm
Forum: Troubleshooting
Topic: Rasp pi3 and MCP3008 + Joystick
Replies: 8
Views: 2866

Re: Rasp pi3 and MCP3008 + Joystick

thz for all that's work i can read value and are correct but now the question is what driver i can use for use with retropie as controller ?
by pierpa86
Sun May 08, 2016 2:54 pm
Forum: Advanced users
Topic: SPI / Joystick
Replies: 0
Views: 494

SPI / Joystick

hi at all, i finish my hardware for make a retropie portable and now i have to setup the software and the question is... i make a controller for play with 1 Analog Joystick with his A/D converter, the MCP3008 ( http://www.raspberrypi-spy.co.uk/2014/04/using-a-joystick-on-the-raspberry-pi-using-an-mc...
by pierpa86
Mon Apr 25, 2016 7:40 pm
Forum: Troubleshooting
Topic: Rasp pi3 and MCP3008 + Joystick
Replies: 8
Views: 2866

Re: Rasp pi3 and MCP3008 + Joystick

thz a lot man, you have solved my problem :D my error is the choise of GPIO pin, i see now the right pin for Spi interface, but now the question is, if i already using the Spi pin for the touch panel i can use the same for the analog convert ? two device for the same pin ?
by pierpa86
Mon Apr 18, 2016 8:02 am
Forum: Troubleshooting
Topic: Rasp pi3 and MCP3008 + Joystick
Replies: 8
Views: 2866

Re: Rasp pi3 and MCP3008 + Joystick

no one ? :lol:
by pierpa86
Sat Apr 16, 2016 8:54 am
Forum: Troubleshooting
Topic: Rasp pi3 and MCP3008 + Joystick
Replies: 8
Views: 2866

Rasp pi3 and MCP3008 + Joystick

Hi at all man, i try to follow this tutorial " http://www.raspberrypi-spy.co.uk/2014/04/using-a-joystick-on-the-raspberry-pi-using-an-mcp3008/ " but i make a mistake and i have used 5v and not 3.3V, can i have broke the MCP3008? another question = I have to use the same GPIO pin ? or can I use what ...

Go to advanced search