Go to advanced search

by d82k
Fri Oct 16, 2020 3:46 pm
Forum: Networking and servers
Topic: Network failure
Replies: 4
Views: 162

Re: Network failure

I cannot really explain. Also used different cable and different switch port. Still blinking both leds on eth0 port and switch port led. I also switched the sd card. With the desktop version or RaspiOS nothing. I added a usb-eth adaptor nothing. I connected the laptop to the same cable and it worked...
by d82k
Fri Oct 16, 2020 2:55 pm
Forum: Networking and servers
Topic: Network failure
Replies: 4
Views: 162

Re: Network failure

@jvrodrigues if I assign a static IP eth0 has an IP assigned but I cannot ping the gateway. If I enable dhcp a random IP (outside my network) is assigned, this means that is not able to reach the DHCP server (which is also the gateway).

Any other ideas?
by d82k
Fri Oct 16, 2020 1:04 pm
Forum: Networking and servers
Topic: Network failure
Replies: 4
Views: 162

Network failure

Dear all, I'm currently running a RPi 2 with pi-hole since more than a year an it is regularly updated. Suddenly DNS resolution was not working and I realized I could not ping/ssh my RPi though it was on and the leds of the eth port were blinking. Attaching a monitor I can login normally there is no...
by d82k
Tue Jun 09, 2020 8:28 pm
Forum: Automation, sensing and robotics
Topic: Bistable solenoid valve control and safety backup
Replies: 11
Views: 794

Re: Bistable solenoid valve control and safety backup

You haven't mentioned your solenoid valve currents but if it is less than 1A then yes, that board should be fine. Yes, still I don't have a mean to measure it. Ok so are both good. As soon as I get one I will try. Regarding the step down buck converter... I can not tell. The sellers generally tend ...
by d82k
Tue Jun 09, 2020 3:14 pm
Forum: Automation, sensing and robotics
Topic: Bistable solenoid valve control and safety backup
Replies: 11
Views: 794

Re: Bistable solenoid valve control and safety backup

You-re cheaper off with a low power H-bridge motor driver like L9110S . One able to source 1A or whatever the solenoid valve needs. Most of them work with 3.3V level commands. This is an alternative idea! I did not thought about this... I could use one of those two: Dual Motor Driver 1A TB6612FNG h...
by d82k
Mon Jun 08, 2020 10:44 pm
Forum: Automation, sensing and robotics
Topic: Bistable solenoid valve control and safety backup
Replies: 11
Views: 794

Re: Bistable solenoid valve control and safety backup

Bear in mind that I2C is intended for use over short distances (nominally, one large PCB), and could be sensitive to noise. You would do far better, IMO, to send 9 volts or more to your solenoid location, and generate the 3.3 volts there. The other option would have been to put an Arduino connected...
by d82k
Mon Jun 08, 2020 5:55 pm
Forum: Automation, sensing and robotics
Topic: Bistable solenoid valve control and safety backup
Replies: 11
Views: 794

Re: Bistable solenoid valve control and safety backup

Clear, I see the point now. Unfortunately I don't know yet, don't have a way to measure at the moment the current draw by the solenoid. What if I use a step down breakout from 9V to 3.3V. I have a limited number of wires which can go from the RPi to where the solenoid is. The idea is to use a MCP230...
by d82k
Sun Jun 07, 2020 2:17 pm
Forum: Automation, sensing and robotics
Topic: Bistable solenoid valve control and safety backup
Replies: 11
Views: 794

Re: Bistable solenoid valve control and safety backup

Both relays need are not mounted, in house I have those which operates at 5V: Finder relay 36.11.9.005.4001 ( https://gfinder.findernet.com//assets/Series/356/S36EN.pdf ) The idea is to connect those either with option 1 or option 2, still need to understand the pros and cons of the options, and the...
by d82k
Sun Jun 07, 2020 1:15 pm
Forum: Automation, sensing and robotics
Topic: Bistable solenoid valve control and safety backup
Replies: 11
Views: 794

Bistable solenoid valve control and safety backup

Dear all, I would like to connect my RPi to a solenoid valve. Unfortunately I just realized it is a bistable model therefore I need to reverse the polarity to open and close it. I thought of doing this with two relays as shown in the picture below. In normal conditions both relays are off (NC), when...
by d82k
Fri May 08, 2020 2:47 pm
Forum: Automation, sensing and robotics
Topic: Extend IR Led Range
Replies: 16
Views: 1157

Re: Extend IR Led Range

Understood, I appreciate the answer. Yes actually it's just pulsing a couple of times per day for a limited time. I have found I have another ir led with peak current higher as well i will do some tests. Have a good day
by d82k
Thu May 07, 2020 7:30 pm
Forum: Automation, sensing and robotics
Topic: Extend IR Led Range
Replies: 16
Views: 1157

Re: Extend IR Led Range

So a quick and simple way to get the resistor value for an LED is to use a site like this http://ledcalc.com/ This helps! So based on your numbers if I use a 2N2222 I can reduce the resistor to raise the led current up to 200mA. To extend the range I could put in serie 2 other IR led with different...
by d82k
Sat May 02, 2020 11:04 am
Forum: Automation, sensing and robotics
Topic: Extend IR Led Range
Replies: 16
Views: 1157

Re: Extend IR Led Range

Yes changing to the 2N2222 would help if you had smaller value resistors, as you can actually drive the LED at a peak of 200mA, which your existing transistor can't support , If you are only pulsing the LED and not switching it on constantly. Have you thought about putting resistors in parallel to ...
by d82k
Fri May 01, 2020 3:08 pm
Forum: Automation, sensing and robotics
Topic: Extend IR Led Range
Replies: 16
Views: 1157

Re: Extend IR Led Range

Great advice all of you! I improved the range: use the 5V change the resistor from 10K to 1K changed the 200 ohm resistor with a 51 ohm (I don't have a smaller one) Need to repeat the signal few times to make it work but is an improvement already. The only other transistor I have is a 2N2222A, would...
by d82k
Fri May 01, 2020 12:31 pm
Forum: Automation, sensing and robotics
Topic: Extend IR Led Range
Replies: 16
Views: 1157

Re: Extend IR Led Range

I appreciate all your messages So the new configuration to try is: use the 5V instead of 3.3V (no impact on the GPIO since is at 3.3V? ) change the resistor from 10K to 1K the 200 resistor can i also drop it to 130? In case not sufficient Swap to using a MOSFET rather than NPN transistor. use a IRLZ...
by d82k
Fri May 01, 2020 10:41 am
Forum: Automation, sensing and robotics
Topic: Extend IR Led Range
Replies: 16
Views: 1157

Extend IR Led Range

Dear all, I would like to build an IR remote using LIRC. I connected the IR Led as shown below. IR LED.jpg I am currently using a TSAL5300 (950nm) as IR led and planning to replace it with a TSAL4400 (http://www.vishay.com/docs/81006/tsal4400.pdf) Currently the range max is 2.5m max, I need at least...
by d82k
Sun Dec 01, 2019 5:23 pm
Forum: Other projects
Topic: Network UPS Tools (NUT) master -> RPi slave with apcupsd
Replies: 1
Views: 468

Network UPS Tools (NUT) master -> RPi slave with apcupsd

Dear All, My Qnap nas TS-210 is connected to a UPS, recognized and working fine. I just enabled the network UPS master option and added 192.168.1.100 as IP address to be notified. 1.100 is a rpi with apcupsd configured as follow (1.200 is the QNAP): UPSNAME qnapups UPSCABLE ether UPSTYPE net DEVICE ...
by d82k
Sat May 02, 2015 10:17 am
Forum: Automation, sensing and robotics
Topic: Using a 433 transmitter powered at 5V
Replies: 1
Views: 910

Using a 433 transmitter powered at 5V

Dear All, I would like to connect my 433mhz transmitter (CHJ-FST1000M http://www.dx.com/p/zndiy-bry-433mhz-rf-transmitter-module-for-arduino-arm-mcu-wl-green-334387#.VUSiSTgfqM8 ) to my RPi (Model B Revision 2.0). Now I would like to connect it like this: VCC -> 5V RPi GND -> GND RPi DATA -> GPIO-4 ...
by d82k
Fri May 01, 2015 12:00 pm
Forum: Automation, sensing and robotics
Topic: 5V relay - Is this a safe connection?
Replies: 7
Views: 1940

Re: 5V relay - Is this a safe connection?

Dear all, thank you for your kind replies. Here some additional details on the relay: It is a finder 36.11.9.005.4001 (http://gfinder.findernet.com//assets/Series/356/S36EN.pdf) It says "Minimum switching load mW (V/mA): 500 (5/100)" Currently it seems working... :| I did not understand if I have to...
by d82k
Sun Apr 26, 2015 7:19 pm
Forum: Automation, sensing and robotics
Topic: 5V relay - Is this a safe connection?
Replies: 7
Views: 1940

5V relay - Is this a safe connection?

Dear all, I would like to connect a realy to my RPi. Having only one working at 5V, here is how I have connected it: 5V | | ---- | | | ----S Relay Diode | S 1N4004 A ----S | | ---- | GPIO |c 17 ---/\/\/\---|< Transistor R 1K |e 2N3904 NPN | | GND Since GPIOs are 3.3V is this a safe connection, can t...
by d82k
Mon Jan 05, 2015 11:21 am
Forum: General programming discussion
Topic: Plotting with highcharts Xively feeds
Replies: 2
Views: 770

Re: Plotting with highcharts Xively feeds

Dear iinnovations,
thank you for your repy.
I think that for non-commercial use ihighcharts is free.. I will doublecheck and look to your advices and code.

What else is necessary beside a webserver (like apache)? jQuery? is it heavy for raspberry?
Thank you,
dk
by d82k
Sat Jan 03, 2015 10:29 pm
Forum: General programming discussion
Topic: Plotting with highcharts Xively feeds
Replies: 2
Views: 770

Plotting with highcharts Xively feeds

Dear all, I would like to plot using highcharts, on a webpage hosted on the RPi, Xively feeds of a private device, possibly dynamic that generate the graph of the last 24h getting live data. Does anyone already did something similar? I found something on the web but I was not able to make it work. T...
by d82k
Sat Dec 27, 2014 9:05 pm
Forum: Automation, sensing and robotics
Topic: Serial communication RPi - Arduino via USB
Replies: 2
Views: 1327

Serial communication RPi - Arduino via USB

Dear all, For my project I need to interface RPi with arduino. Reading online the best would be to connect the two via USB. I was thinking about using a python script to interact via serial, but I have two use cases: 1. RPi sends a value, and based on that value the arduino replys 2. When arduino re...
by d82k
Thu Aug 01, 2013 4:20 pm
Forum: Automation, sensing and robotics
Topic: RPi reading serial and store values received in a databse
Replies: 3
Views: 5795

Re: RPi reading serial and store values received in a databs

Thank you both for your answers.

thepatman, really interesting, and similar to something I would like todo too. Would you be so kind to share some code such as the script to listen the serial port please?
thank you,
dk
by d82k
Sat Jul 13, 2013 5:03 pm
Forum: Automation, sensing and robotics
Topic: RPi reading serial and store values received in a databse
Replies: 3
Views: 5795

RPi reading serial and store values received in a databse

Dear All, I have attached an Arduino to my RPi. Arduino has some sensors and some buttons attached to it, I can manage them through the serial interface. Now, I would like to have sensors data, as well as button status, saved on a database, so that for instance I can read temperature each hour or ch...
by d82k
Sun May 12, 2013 8:27 pm
Forum: Automation, sensing and robotics
Topic: Freedomotic Home Automation on Raspberry
Replies: 78
Views: 47932

Re: Freedomotic Home Automation on Raspberry

Hello,
Is it possible to configure to make it work with 433 MHz transmitter and receiver connected to RPi gpio?
I actually use the transmitter to control my remote switches Elro and Intertechno, just wondering if it can be used for these too.

Thank you,
dk

Go to advanced search