Go to advanced search

by dlink377
Thu Aug 06, 2015 4:52 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Remove interference from long GPIO wire
Replies: 22
Views: 6700

Re: Remove interference from long GPIO wire

Hello, for the optocoupler, there is a pi-side and a remote side. pi-side you have 10kOhm, 16 times is 5mA. Not a problem. Remote side you have 10 to 20 mA current, which is by 16 times 160 to 320mA. You could take this from the 5V-rail (but provide current limiting resistors for the LED). Although...
by dlink377
Thu Aug 06, 2015 4:10 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Remove interference from long GPIO wire
Replies: 22
Views: 6700

Re: Remove interference from long GPIO wire

I end up throw the old board and create a new one, because desoldering all the LEDs takes too much effort for me, and I happens to drive near the electronic components shop and surprisingly they had optocoupler (LTV-817) although a bit expensive (around $0.1 each). Until now, I already soldered four...
by dlink377
Wed Aug 05, 2015 6:22 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Remove interference from long GPIO wire
Replies: 22
Views: 6700

Re: Remove interference from long GPIO wire

imho in the schema RemSwitch.png the connection to +5V should be to +3.3V. Well take a look at the link to my blog a few posts back. You have to make up your own mind, but the gpio does appear to be "5Volt safe". I would not recommend using the 3.3V supply from the Pi. There is more chance of coupl...
by dlink377
Tue Aug 04, 2015 7:12 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Remove interference from long GPIO wire
Replies: 22
Views: 6700

Re: Remove interference from long GPIO wire

OK, now I understand. You don't really have a circuit without the Pi connected. The two 10k resistors don't have a path back to 0Volts, so there is no current flow, making all voltage readings wrong. I suppose you could fit the LED in place of the gpio (i.e. from the left hand resistor down to 0V) ...
by dlink377
Tue Aug 04, 2015 6:40 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Remove interference from long GPIO wire
Replies: 22
Views: 6700

Re: Remove interference from long GPIO wire

I'm sorry but I've read your post a few times but just can't make much sense of it. Thank you for your reply. I'm sorry for my bad English :D . If you have connected a voltmeter (+) from the junction of the 2 resistors, to 0V (-) and connected a closed switch or link across the same 2 points, you m...
by dlink377
Tue Aug 04, 2015 10:44 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Remove interference from long GPIO wire
Replies: 22
Views: 6700

Re: Remove interference from long GPIO wire

... fitting a capacitor across the gpio input at the Pi end of the wires... Looking at your post again this morning on a sensible screen (instead of my stupid phone) I now realise that the components are local to the Pi, not the switch. So try something like this:- RemSwitch.png With the switch "of...
by dlink377
Mon Sep 29, 2014 1:44 pm
Forum: Automation, sensing and robotics
Topic: [?] Light Switch
Replies: 37
Views: 12062

Re: [?] Light Switch

After few months abandoning this project, particularly because no extra money to spend on this fun-project, I've decided to continue this project. I've ordered some PLC relay for reasonable price, SGD 25 for both 24VDC (PLC-BSC-24DC) and 230VAC (PLC-BSP-230UC) coil PLC relay, Phoenix Connect brand (...
by dlink377
Mon May 05, 2014 10:40 am
Forum: Automation, sensing and robotics
Topic: [?] Light Switch
Replies: 37
Views: 12062

Re: [?] Light Switch

Hi Well I suggest the Finder Series 46 with a series 97 base. 46.52 Choose 230/240v AC coil voltage. • 2 Pole CO, 8 A • Plug-in/Solder terminals 46.52 Choose 12v DC coil voltage. • 2 Pole CO, 8 A • Plug-in/Solder terminals 2 Bases, they should have a din rail capability and screw mount also. 97-02 ...
by dlink377
Mon May 05, 2014 10:01 am
Forum: Automation, sensing and robotics
Topic: [?] Light Switch
Replies: 37
Views: 12062

Re: [?] Light Switch

I've tried create a simple schematic (?) that I understand until now. Please advise is anything is wrong or can be improved. I still don't know how to wire the photoresistor to Pi. http://cdn.rendyair.com/schema001.gif Sorry for the bad drawing, I don't know any software to draw electrical circuit, ...
by dlink377
Mon May 05, 2014 3:56 am
Forum: Automation, sensing and robotics
Topic: [?] Light Switch
Replies: 37
Views: 12062

Re: [?] Light Switch

I don't see why it would. If the loop that you use to read the ADC includes a sleep statement (so it's not constantly running but takes a break after reading) it should be fine. You probably only need to read it before you switch the relay, right? I think I will go with AC small LED and Light Senso...
by dlink377
Sun May 04, 2014 6:27 pm
Forum: Automation, sensing and robotics
Topic: [?] Light Switch
Replies: 37
Views: 12062

Re: [?] Light Switch

I decided not to use Relay for monitoring the AC. I will probably use 5V Adaptor and step it down to 3.3V for Pi usage. However, to find cheap phone adapter that have good quality to use 24hrs probably not easy at all. Or maybe use AC small LED and a light sensor in a very small black box? The LED I...
by dlink377
Sun May 04, 2014 5:53 pm
Forum: Automation, sensing and robotics
Topic: [?] Light Switch
Replies: 37
Views: 12062

Re: [?] Light Switch

Warning, I suggest any con troll between the Pi And electronics containing MAINS voltage You use Opto Isolators , this will give you total Isolation between the low volts and the mains Voltage also noise feed back, Also you will have No need to common the 0v (Ground) Take great care when working wi...
by dlink377
Sun May 04, 2014 2:17 pm
Forum: Automation, sensing and robotics
Topic: [?] Light Switch
Replies: 37
Views: 12062

Re: [?] Light Switch

Hi Well I can hopefully help. You need 2 relays with bases and a box to put them in. http://en.indotrading.com/relay_166/ 44 Series Page 55 Plug-In Pcb Relays Finder [Feb 10 , 2014] Relay Price : IDR CALL Min Order: 0 Schneider Relay 230V 50/60Hz Available In Pd. Anugerah Sejati Is Located At Ltc G...
by dlink377
Sun May 04, 2014 6:54 am
Forum: Automation, sensing and robotics
Topic: [?] Light Switch
Replies: 37
Views: 12062

Re: [?] Light Switch

Because you are having an enclosure we can use din rail and and mount the relays, pi power supply and pi onto that. Alternatively we could design a bespoke circuit board for the application and solder the relays to it. (This would be fairly simple to design and could be printed quite cheaply). whic...
by dlink377
Sat May 03, 2014 6:56 am
Forum: Automation, sensing and robotics
Topic: [?] Light Switch
Replies: 37
Views: 12062

Re: [?] Light Switch

Glad to help. For the relay I would look for an industrial design, but that's me (I don't normal deal with domestic scale electrical wiring). The monitoring relay should be a single pole (one contact) single throw (common to normally open or common to normally closed, either one would suit your pur...
by dlink377
Fri May 02, 2014 5:14 pm
Forum: Automation, sensing and robotics
Topic: [?] Light Switch
Replies: 37
Views: 12062

Re: [?] Light Switch

Use a solid state relay for controlling mains (120-240) voltages. Get the correct one and no special interfacing is required. Just hook up to a GPIO pin and go. The Solid State Relay doesn't have any NC or NO state connector? How do I connect to the second switch for failover? For the LED lights wi...
by dlink377
Fri May 02, 2014 11:36 am
Forum: Automation, sensing and robotics
Topic: [?] Light Switch
Replies: 37
Views: 12062

Re: [?] Light Switch

you need a relay with common, normally open and normally closed positions, replace one of the switches in the diagram (below) with the relay. Connect the common position of the relay where the common position of the switch is, run two wires to the other light switch (one to each of the switch conta...
by dlink377
Fri May 02, 2014 10:52 am
Forum: Automation, sensing and robotics
Topic: [?] Light Switch
Replies: 37
Views: 12062

[?] Light Switch

Hi, After successfully controlling my TV, STB, and AC system with IR blaster, I want to improve my home automation Pi to control the light switches. From what I learn I can just bought cheap 5V relay board from eBay and connect the wire directly. But this solution doesn't give any override / manual ...
by dlink377
Sat Apr 12, 2014 7:40 am
Forum: Graphics, sound and multimedia
Topic: Fast Remote desktop using H.264
Replies: 18
Views: 42323

Re: Fast Remote desktop using H.264

Hello, Thanks for your reply. I checked their solution and it is actually quite similar. They use the hardware decoder of the Raspberry PI and they have a very fluent video. I have been trying to set up the remote desktop in a virtual machine, but the only problem is to have access to an hardware e...
by dlink377
Sat Apr 05, 2014 6:55 am
Forum: Graphics, sound and multimedia
Topic: Fast Remote desktop using H.264
Replies: 18
Views: 42323

Re: Fast Remote desktop using H.264

Hi, This method is almost same with Citrix XenDesktop solution, although it is not free (The XenDesktop is required and not free at all). Please check this URL: http://blogs.citrix.com/2013/12/13/raspberry-pi-xendesktop-pt-2-build-your-own-all-in-one-personal-thin-client-for-150/ I am quite interest...
by dlink377
Thu Mar 21, 2013 3:39 pm
Forum: General discussion
Topic: Remote Desktop from Rasberry PI to Server 2012 (RDS)
Replies: 10
Views: 11305

Re: Remote Desktop from Rasberry PI to Server 2012 (RDS)

Well, I dont know if this is me but it does not work well for me tbh. Yes it can connect, yes you can run software and move windows just about fine but the minute you open IE or Firefox and try to browse any website it just slows down. I dont know if this is "normal" but in my environment it is not...

Go to advanced search