Go to advanced search

by Fan174
Fri Feb 07, 2020 12:07 pm
Forum: General discussion
Topic: 6DOF MPU-6050 3 Axis Gyro With Accelerometer Sensor Module
Replies: 3
Views: 174

Re: 6DOF MPU-6050 3 Axis Gyro With Accelerometer Sensor Module

Have you read the data sheet for it, the link is in one of the answered questions on banggood . “ MPU-60X0 collects gyroscope and accelerometer data while synchronizing data sampling at a user defined rate.” It uses I2C or SPI interface to the raspberry pi. yes I have been read but I didn't underst...
by Fan174
Fri Feb 07, 2020 9:44 am
Forum: General discussion
Topic: 6DOF MPU-6050 3 Axis Gyro With Accelerometer Sensor Module
Replies: 3
Views: 174

6DOF MPU-6050 3 Axis Gyro With Accelerometer Sensor Module

I need help to understand model given the link https://www.banggood.in/6DOF-MPU-6050-3-Axis-Gyro-With-Accelerometer-Sensor-Module-p-80862.html? akmClientCountry=IN&akmClientCountry=IN&utm_source=youtube&utm_medium=liangzhenhua&utm_campaign=MertArduino&utm_content=liangzhenhua&cur_warehouse=CN This i...
by Fan174
Wed Jan 15, 2020 5:16 am
Forum: Beginners
Topic: How does PI send data to database server
Replies: 4
Views: 255

Re: How does PI send data to database server

Since, from the nature of the questions, I assume this is for a class, your instructor should be the one to tell you what is intended to be between the routers, or else you should have taken a networking course before this one. I asked this question to clear my doubt I am planning to take networkin...
by Fan174
Wed Jan 15, 2020 1:26 am
Forum: Beginners
Topic: How does PI send data to database server
Replies: 4
Views: 255

How does PI send data to database server

I need your help to understand the project I have shown in below diagram what is being processed. Tempr.jpg 1. thermocouple 2. Raspberry pi 3 running test.py program 3. ADC 4. PC running MS SQL server sensor sense the temperature and sends its output to ADC and output of ADC will goes to at input pi...
by Fan174
Wed Nov 13, 2019 3:51 am
Forum: Python
Topic: Which type of protocol being used between PI and PC in program
Replies: 10
Views: 600

Re: Which type of protocol being used between PI and PC in program

For both Question Marks in your summary the answer is The Internet Protocol. You thrown me back to first question http://ecomputernotes.com/computernetworkingnotes/computer-network/protocol Types of internet protocols • TCP/IP (Transmission Control Protocol/Internet Protocol) • ARP (Address Resolut...
by Fan174
Tue Nov 12, 2019 11:08 pm
Forum: Python
Topic: Which type of protocol being used between PI and PC in program
Replies: 10
Views: 600

Re: Which type of protocol being used between PI and PC in program

I found that Pi act like client that send data to PC running MS SQL server via TCP/IP My understanding that if two devices are communicating they must follow the some rule of logic called as protocols ADC to PI via I2C Pi to Router via ? Router to PC via ? wifi router only use to connect two or more...
by Fan174
Tue Nov 12, 2019 2:50 pm
Forum: Python
Topic: Which type of protocol being used between PI and PC in program
Replies: 10
Views: 600

Which type of protocol being used between PI and PC in program

Hi Program read the data from sensor via ADC and Pi send it to database. There is one I2C protocols that communicate between PI and ADC. Pi sending data to another PC via wifi router with internet connection. I don't understand which type of protocol being used in program when PI talk to other devic...
by Fan174
Tue Oct 29, 2019 3:23 pm
Forum: General discussion
Topic: record of temperature. to IoT services
Replies: 2
Views: 263

record of temperature. to IoT services

Hi there

I want keep the record of temperature. I have DHT22 sensor is connected to Raspberry Pi3 Raspberry Pi should push data to cloud to an IoT service, Fansoluation.com and to a mobile App (Fan)

I have done some research work and found it can be done via MQTT protocol. would it work ?
by Fan174
Thu Jan 31, 2019 11:32 am
Forum: General discussion
Topic: Is it safe to power raspberry pi from 24, 5 V SMPS
Replies: 6
Views: 731

Re: Is it safe to power raspberry pi from 24, 5 V SMPS

The 5V output is only 1.5A which may not be enough depending on what else is connected to the RPi. Thanks to all of you load 24V DC Fan http://shop.rabtron.co.za/catalog/80x80x25-p-137.html I don't want to damage raspberry Pi and other devices as shown in the image, Is it a safe connection?
by Fan174
Wed Jan 30, 2019 12:08 pm
Forum: General discussion
Topic: Is it safe to power raspberry pi from 24, 5 V SMPS
Replies: 6
Views: 731

Is it safe to power raspberry pi from 24, 5 V SMPS

I have the following components and trying to connect all each other Raspberry Pi 3 SSR https://www.indiamart.com/proddetail/5amp-model-704-dc-to-dc-mosfet-ssr-20061643930.html SMPS https://www.amazon.in/Shavison-SMPS-Dual-output-G31-70-24-05/dp/B01MXZDXTN i am afraid from 24v dc smps, need help for...
by Fan174
Sat Jan 12, 2019 10:53 am
Forum: General discussion
Topic: How to get IP address of PI in GUI
Replies: 7
Views: 822

Re: How to get IP address of PI in GUI

Change your create_entries function Hi DougieLawson thank you very much I can show IP, I have modified code to get host name but I am not getting host name what's the wrong in my code import tkinter as tk from urllib.request import urlopen import json import socket class MainApplication(tk.Frame): ...
by Fan174
Sat Jan 12, 2019 5:46 am
Forum: General discussion
Topic: How to get IP address of PI in GUI
Replies: 7
Views: 822

Re: How to get IP address of PI in GUI

This TKinter program shows your LAN and public IP addresses. #!/usr/bin/python3 from urllib.request import urlopen import json import socket from tkinter import * rootWindow = Tk() rootWindow.title('IP Addresses') localIP = Label(rootWindow, font = ('fixed', 20),) localIP.grid(sticky = N, row = 2, ...
by Fan174
Fri Jan 11, 2019 2:02 pm
Forum: General discussion
Topic: How to get IP address of PI in GUI
Replies: 7
Views: 822

How to get IP address of PI in GUI

Hello everyone

I would like to get IP address of raspberry in GUI

You can get it simple.

1. Open the Terminal
2. Type in: ifconfig

I am looking python script with GUI that can get IP address of Pi automatically

any idea how it can be done
by Fan174
Sat Jan 05, 2019 4:28 pm
Forum: General discussion
Topic: Relay output to Raspberry
Replies: 13
Views: 1099

Re: Relay output to Raspberry

The relay you show has a 5V coil. You cannot (easily) use that to monitor a 24V supply. The relay contacts (output, to Pi) are on the blue terminal block. NC and NO are labelled, the third will be COM. I can't read the labels on the pin connector for the coil (input) side. There are three signals (...
by Fan174
Fri Jan 04, 2019 2:57 pm
Forum: General discussion
Topic: Relay output to Raspberry
Replies: 13
Views: 1099

Re: Relay output to Raspberry

Your code is written to look for a falling edge but your relay is wired with a pull down on the gpio pin. so you have 2 choices change you code to GPIO.add_event_detect(channel, GPIO.RISING) . I have modified my code from time import sleep import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) ...
by Fan174
Fri Jan 04, 2019 10:16 am
Forum: General discussion
Topic: Relay output to Raspberry
Replies: 13
Views: 1099

Re: Relay output to Raspberry

What may be wrong from time import sleep import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setup(16, GPIO.IN) def callback1(channel): print("interrupt detected") GPIO.add_event_detect(16, GPIO.FALLING, callback=callback1, bouncetime=2500 ) if I sort pin 16 it give interrupt detected I ...
by Fan174
Fri Jan 04, 2019 7:34 am
Forum: General discussion
Topic: Sample program for Camera with simpleCV
Replies: 0
Views: 118

Sample program for Camera with simpleCV

I have been tried to run the example project for pi camera but I couldn't get success I tried in this thread https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=228108&p=1399332#p1399332 but here program is not working anyone have a working program? I just want to test camera to scan barcode
by Fan174
Wed Jan 02, 2019 11:28 am
Forum: General discussion
Topic: Relay output to Raspberry
Replies: 13
Views: 1099

Re: Relay output to Raspberry

Should be OK but you probably will want a pull down resistor on the GPIO pin 7. I think I can set pull-down resistor in program 1. Will work OK if the relay and RPi are not too far apart. Expect problems if they at opposite ends of the house. 2. Depending on what the RPi is destined to do with the ...
by Fan174
Fri Dec 21, 2018 4:12 am
Forum: General discussion
Topic: Relay output to Raspberry
Replies: 13
Views: 1099

Re: Relay output to Raspberry

klricks wrote:
Fri Dec 21, 2018 3:58 am
Should be OK but you probably will want a pull down resistor on the GPIO pin 7.
I think I can set pull-down resistor in program

Code: Select all

GPIO.setmode(GPIO.BOARD) # Use physical pin numbering
GPIO.setup(7, GPIO.IN, pull_up_down=GPIO.PUD_DOWN) # Set pin 7 to be an input pin and set
by Fan174
Fri Dec 21, 2018 3:22 am
Forum: General discussion
Topic: Relay output to Raspberry
Replies: 13
Views: 1099

Relay output to Raspberry

I want to connect relay as input for raspberry pi.

can we connect as shown here

Will it damage to raspberry Pi ?
relay connection.jpg
relay connection.jpg (56.12 KiB) Viewed 1096 times
by Fan174
Wed Dec 19, 2018 6:07 pm
Forum: General discussion
Topic: WCF and Python
Replies: 1
Views: 701

Re: WCF and Python

Any help would be appreciated I was searching on the forum looked this link https://www.raspberrypi.org/forums/viewtopic.php?t=222499 You can expose any data in Raspberry Pi you intended via a self-hosted web service written using C#. You can use WCF (Tcp binding only for Raspberry Pi) or Owin. Goog...
by Fan174
Tue Dec 18, 2018 11:02 am
Forum: General discussion
Topic: WCF and Python
Replies: 1
Views: 701

WCF and Python

can anybody help to understand information in link https://code.i-harness.com/en/q/436d8 script from suds.client import Client print "Connecting to Service..." wsdl = "http://serviceurl.com/service.svc?WSDL" client = Client(wsdl) result = client.service.Method(variable1, variable2) print result
by Fan174
Mon Dec 10, 2018 11:33 am
Forum: General discussion
Topic: sending alerts to many one or more people
Replies: 16
Views: 1020

Re: sending alerts to many one or more people

If you want something to happen (send an SMS) based on the GPIO pin, you'd need to add code to the "FAULTbuttonPressed" function which is called by the GPIO callback. You don't need an "if" when you are using the "add_event_detect" method of the GPIO library. At the moment your code just sends the ...
by Fan174
Mon Dec 10, 2018 10:42 am
Forum: General discussion
Topic: sending alerts to many one or more people
Replies: 16
Views: 1020

Re: sending alerts to many one or more people

.(Not sure why would have two counts SensorHigh and TOTAL given that they are both updated at the same time...) When I run following program I am getting message on mobile #!/usr/bin/env python from tkinter import * import RPi.GPIO as GPIO import urllib.request import urllib.parse def sendSMS(apike...
by Fan174
Sat Dec 08, 2018 9:47 am
Forum: General discussion
Topic: sending alerts to many one or more people
Replies: 16
Views: 1020

Re: sending alerts to many one or more people

scotty101 wrote:
Thu Dec 06, 2018 4:48 pm
Does this work? I've tested as much as i can without actually making the urllib request.
I testd,It gives this error
{"errors":[{"code":80,"message":"invalid template"}],"status":"failure"}

Go to advanced search