Go to advanced search

by blushi
Wed Mar 30, 2016 7:20 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SPI bus and distance
Replies: 4
Views: 2213

Re: SPI bus and distance

I knew SPI was not designed for long distance communication but I actually did not really know what "long distance" could mean in this case. Thanks for your answers guys. This is what I needed: external opinions to know if it was worth it to try to start working on solutions to fix the problem in it...
by blushi
Tue Mar 29, 2016 5:43 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: More than 2 SPI slaves
Replies: 19
Views: 9215

Re: More than 2 SPI slaves

Just wondering if anyone has done anything with more than 2 slaves using daisy chaining or the like? I'm looking to wire up around 6 colour oleds using SPI I did actually. See my post: https://www.raspberrypi.org/forums/viewtopic.php?p=940975#p940975 (even though I am facing now some issues, you ca...
by blushi
Tue Mar 29, 2016 5:41 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SPI bus and distance
Replies: 4
Views: 2213

SPI bus and distance

Hello everyone, My project includes 4 RFID-RC522 that have to be read at the same time by one single Raspberry Pi, I disable the pin CE0, CE01 that are usually used for slave select and I use instead regular GPIO pins set as outputs. I put them in low state to read/write and them put them back in hi...
by blushi
Fri Sep 18, 2015 9:14 am
Forum: Other projects
Topic: >3.3V Illuminated toggle switch (solved)
Replies: 12
Views: 2658

Re: >3.3V Illuminated toggle switch

Works like a charm, thanks again :mrgreen:
by blushi
Thu Sep 17, 2015 12:16 pm
Forum: Other projects
Topic: >3.3V Illuminated toggle switch (solved)
Replies: 12
Views: 2658

Re: >3.3V Illuminated toggle switch

Yes, the circuit is okay, but either draw your LED like a lamp, (circle with diagonal cross through it), or add a series resistor to your drawing! Nitpicking I know! Also, the lamp would only light if you push the button, not sure if that is what you intended. Was just a quick schema but sure, you'...
by blushi
Thu Sep 17, 2015 9:52 am
Forum: Other projects
Topic: >3.3V Illuminated toggle switch (solved)
Replies: 12
Views: 2658

Re: >3.3V Illuminated toggle switch

It does seem like a voltage divider is the way to go with regards to interfacing the switch to the Pi. Given the intended use I presume the LED has an inbuilt series resistor. If the series resistor is sized for 12V then the LED will likely be much dimmer than it would be on a 12V system. May well ...
by blushi
Wed Sep 16, 2015 2:05 pm
Forum: Other projects
Topic: >3.3V Illuminated toggle switch (solved)
Replies: 12
Views: 2658

>3.3V Illuminated toggle switch (solved)

Hello everyone, I have to read input from these illuminated switches http://www.amazon.com/Baomain-Racing-Automotive-Illuminated-Toggle/dp/B013HK684Q/ref=sr_1_34?ie=UTF8&qid=1440063006&sr=8-34 and the LED should be on when switch closed. They have 3 pins: +, light and ground. Connecting + to power s...
by blushi
Thu Aug 20, 2015 10:57 am
Forum: Other projects
Topic: Illuminated momentary switches
Replies: 39
Views: 8524

Re: Illuminated momentary switches

As they are for use in cars both the switch and LED will be rated at 12V. The LED will have a resistor to make it suitable for 12V use. Ok thanks. If I decide to use this 12V LED switch, I will need some additional setup such as the one suggested in this post: https://www.queryxchange.com/q/26_1774...
by blushi
Thu Aug 20, 2015 7:41 am
Forum: Other projects
Topic: Illuminated momentary switches
Replies: 39
Views: 8524

Re: Illuminated momentary switches

The question isn't so much if your switch is appropriate but more whether you're qualified to do what you're planning with it, by asking the questions you're asking you don't appear to have a clue. Mains voltages can kill. Ok thanks for saving my life :P I am indeed a noob, but have no other choice...
by blushi
Wed Aug 19, 2015 4:00 pm
Forum: Other projects
Topic: Illuminated momentary switches
Replies: 39
Views: 8524

Re: Illuminated momentary switches

I have pretty much the same questions, but I would like to use this blue illuminated rocket switch http://de.rs-online.com/web/p/wippschalter/5287858/. It has 4 terminals. 2 are labelled N and I figured out it was for the ON/OFF function. The other 2 are labelled L and I guess it is for the light. ...
by blushi
Wed Aug 19, 2015 3:29 pm
Forum: Other projects
Topic: Illuminated momentary switches
Replies: 39
Views: 8524

Re: Illuminated momentary switches

up! I have pretty much the same questions, but I would like to use this blue illuminated rocket switch http://de.rs-online.com/web/p/wippschalter/5287858/. It has 4 terminals. 2 are labelled N and I figured out it was for the ON/OFF function. The other 2 are labelled L and I guess it is for the ligh...
by blushi
Tue Aug 11, 2015 3:16 pm
Forum: Beginners
Topic: How to connect 2 RFID readers (RC522)
Replies: 44
Views: 32178

Re: How to connect 2 RFID readers (RC522)

Hi! Is anyone has a good script for that especially with a mysql connection? (for reports) To be fair what I want to achieve is have an RPI with 2 readers what going to log every entry and send it out in an e-mail every 24 hours. If any of you has a good idea for that it would be much appreciated! ...
by blushi
Tue Aug 11, 2015 2:37 pm
Forum: Troubleshooting
Topic: Using SPI GPIO extension board
Replies: 2
Views: 1148

Re: Using SPI GPIO extension board

Here are some additional information: - The power jumper is correctly positioned (the board is powered by the RPi) - Same problem with different boards of the same model tested with the same RPi - SPI signal test running this http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/plain/Docum...
by blushi
Tue Aug 11, 2015 12:49 pm
Forum: Automation, sensing and robotics
Topic: Raspberry PI 2 and RC522 Problem reading data
Replies: 41
Views: 33920

Re: Raspberry PI 2 and RC522 Problem reading data

BMS Doug wrote:
DougieLawson wrote: That's very likely (as in 100%) to be the source of all of your troubles.
Really Dougie, I wouldn't expect you to offer such an absolute. surely no more than 99.999999999999999999999%.
This was indeed 100% the source of my troubles :D
by blushi
Mon Aug 10, 2015 3:42 pm
Forum: Troubleshooting
Topic: Using SPI GPIO extension board
Replies: 2
Views: 1148

Using SPI GPIO extension board

Hi guys, I am using the following SPI GPIO extension board http://www.pridopia.co.uk/pi-23s17-8-v2.html along with a RPi 2 B. Initially, the board is made for older model of the RPi and does not fit on the RPi 2 B. Therefore, I am using pin header extenders to put in between the RPi pins and the ext...
by blushi
Tue Jul 21, 2015 2:06 pm
Forum: Automation, sensing and robotics
Topic: Raspberry PI 2 and RC522 Problem reading data
Replies: 41
Views: 33920

Re: Raspberry PI 2 and RC522 Problem reading data

Since I was only testing the RFID readers until now, I did not solder the pinouts to the header, that might actually be the cause of the problem (see this blog post update: https://sixohthree.com/upcoming-rfid-on-raspberry-pi). Hope it'll work once the pins are soldered!
by blushi
Tue Jul 21, 2015 10:06 am
Forum: Automation, sensing and robotics
Topic: Raspberry PI 2 and RC522 Problem reading data
Replies: 41
Views: 33920

Re: Raspberry PI 2 and RC522 Problem reading data

Hi, I have the same problem running the simple Read.py script from https://github.com/mxgxw/MFRC522-python: it is running but no card detected. First I enabled spi using raspi-config and reboot. Then I tried to set /boot/config.txt as suggested by chanchailim (both spi-bcm2708 and spi-bcm2832), same...
by blushi
Wed Jul 15, 2015 1:27 pm
Forum: Beginners
Topic: Adding arcade push buttons to gpio pins
Replies: 19
Views: 5573

Re: Adding arcade push buttons to gpio pins

Thank you very much, it's working fine now :)
by blushi
Tue Jul 14, 2015 4:25 pm
Forum: Beginners
Topic: Adding arcade push buttons to gpio pins
Replies: 19
Views: 5573

Re: Adding arcade push buttons to gpio pins

Hello guys, I have quite a similar issue so I decided to continue the conversation instead of posting a new subject. I would like to use joysticks as GPIO inputs: Johnson Electric S722001 (see documentation: http://docs-europe.electrocomponents.com/webdocs/00a9/0900766b800a9b2b.pdf ). They are basic...

Go to advanced search