Go to advanced search

by samip537
Fri Oct 19, 2018 11:18 pm
Forum: Camera board
Topic: Streaming the RPi-camera feed
Replies: 2
Views: 1381

Streaming the RPi-camera feed

Hello everyone, I'm trying to stream the video from the Raspi camera, but having no luck. Any ideas on how to get it working? I would need the stream to be viewable though OBS so I can add it as a source there. Hardware in use: Raspberry Pi Zero W Raspberry Pi Official Camera Module I have tried to ...
by samip537
Wed Feb 15, 2017 8:35 am
Forum: Other languages
Topic: Finnish
Replies: 19
Views: 21642

Re: Finnish

Samassa softassa on myös junien pysäkkejä ympäri Suomea: Junat.png Helsingin paikallisjunia HKIjunat.png Busseja Bussit.png Kyseessä on Kivy ohjelma. Kirjoitettu pythonilla ja käyttää Digitransitin uutta GraphQL rajapintaa jossa näkyy koko Suomen julkinen liikenne. Saiskos lähdekoodin? Olisin haluk...
by samip537
Sat Jan 14, 2017 3:46 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: DS18B20 Max Distance
Replies: 44
Views: 46914

Re: DS18B20 Max Distance

I'm also managing multi-10m distance but I'm using a proper 1-wire driver i.e. http://www.sheepwalkelectronics.co.uk/product_info.php?products_id=30 I'm also using a 1-wire hub so I have multiple 10m+ sensors. Could I have a picture of how are you using the 1-wire driver via possible RJ11 or RJ12 o...
by samip537
Wed Oct 07, 2015 12:12 pm
Forum: Advanced users
Topic: Representation platform/use case for Raspberry Pi 2
Replies: 2
Views: 757

Re: Representation platform/use case for Raspberry Pi 2

Hello, The main plan is to use an Raspberry Pi 2 to represent content like slideshow(in a loop), video (looped), etc. The existing laptop needs to be replaced with an RPi2 and the use case is for showing school library opening/closing times, etc. Currently, there's an laptop running Windows 7. Just...
by samip537
Wed Oct 07, 2015 11:48 am
Forum: Advanced users
Topic: Representation platform/use case for Raspberry Pi 2
Replies: 2
Views: 757

Representation platform/use case for Raspberry Pi 2

Hello, The main plan is to use an Raspberry Pi 2 to represent content like slideshow(in a loop), video (looped), etc. The existing laptop needs to be replaced with an RPi2 and the use case is for showing school library opening/closing times, etc. Currently, there's an laptop running Windows 7. Just ...
by samip537
Sat Jun 13, 2015 6:51 pm
Forum: Python
Topic: DHT11 readings onto a web page!
Replies: 254
Views: 68265

Re: DHT11 readings onto a web page!

https://dl.dropboxusercontent.com/u/48891705/rpi/DS18B20/ds18b20Breadboard.png I mark all the row which are connect together! Row 27 which all pins connected together is where your sensor is. All wires of the sensor together and not connected anywhere else. Row 26 which is the Resistor and a yellow...
by samip537
Sat Jun 13, 2015 3:46 pm
Forum: Python
Topic: DHT11 readings onto a web page!
Replies: 254
Views: 68265

Re: DHT11 readings onto a web page!

It will never work! I wonder why your raspberry pi is still working! Normal breadboard have abcde connect together and each numbers correspond to a new set of pins connect together. It is the same for the fghij! check this website! https://learn.sparkfun.com/tutorials/how-to-use-a-breadboard Umm, c...
by samip537
Sat Jun 13, 2015 12:59 pm
Forum: Python
Topic: DHT11 readings onto a web page!
Replies: 254
Views: 68265

Re: DHT11 readings onto a web page!

The setup: http://sami-mantysaari.com/wp-content/uploads/2015/06/20150613_142841.jpg GPIO: http://sami-mantysaari.com/wp-content/uploads/2015/06/20150613_142859.jpg It's currently connected to GPIO Pin 4 as I need to show the seller as I'm relally positive that it's faulty. If you want a video versi...
by samip537
Sat Jun 13, 2015 12:09 am
Forum: Python
Topic: DHT11 readings onto a web page!
Replies: 254
Views: 68265

Re: DHT11 readings onto a web page!

Could you post a picture of your setup! On My Pi2 it works! [email protected] ~/BitBangingDS18B20 $ sudo ./DS18B20Scan -gpio 22 28-000004575F0A : 12 bits Temperature: 21.25 +/- 0.06 Celsius [email protected] ~/BitBangingDS18B20 $ sudo ./DS18B20Scan -gpio 22 28-000004575F0A : 12 bits Temperature: 21.25 +/- 0.06 Celsius p...
by samip537
Fri Jun 12, 2015 10:43 pm
Forum: Python
Topic: DHT11 readings onto a web page!
Replies: 254
Views: 68265

Re: DHT11 readings onto a web page!

danjperron wrote:Replace

#define BCM2708_PERI_BASE 0x20000000

with


#define BCM2708_PERI_BASE 0x3F000000
Okey, changed & compiled and tested.

Result:

Code: Select all

[email protected] ~/BitBangingDS18B20 $ sudo ./DS18B20Scan -gpio 22
*** Error Unable to detect any DS18B20 sensor
EDIT: The sensor seems to be dead.
by samip537
Fri Jun 12, 2015 8:40 pm
Forum: Python
Topic: DHT11 readings onto a web page!
Replies: 254
Views: 68265

Re: DHT11 readings onto a web page!

You could use my C code to check if your DS18B20 sensor is working, If the pull up resistor doesn't work the ds18B20Scan application will complain. Clone the github into your Pi. git clone https://github.com/danjperron/BitBangingDS18B20 and compile it cd BitBangingDS18B20 gcc -o DS18B20Scan DS18B20...
by samip537
Wed Jun 10, 2015 9:23 pm
Forum: Python
Topic: DHT11 readings onto a web page!
Replies: 254
Views: 68265

Re: DHT11 readings onto a web page!

For webdata you should check if you have it into the fstab. Item 6 on this post https://www.raspberrypi.org/forums/viewtopic.php?p=672576#p672576 P.S. Please correct your BBCode in your previous post. One quote missing the square and one quote too much! I do: proc /proc proc defaults 0 0 /dev/mmcbl...
by samip537
Wed Jun 10, 2015 7:40 pm
Forum: Python
Topic: DHT11 readings onto a web page!
Replies: 254
Views: 68265

Re: DHT11 readings onto a web page!

I'll check the timestamps of the files when I need the next time power it down. I did check that my settings are okey, but I'm using the one with the metal casing aka http://www.reuk.co.uk/OtherImages/dallas-ds18b20-waterproof-temperature-sensors.jpg . I don't know what could be the problem then, sh...
by samip537
Wed Jun 10, 2015 5:29 pm
Forum: Python
Topic: DHT11 readings onto a web page!
Replies: 254
Views: 68265

Re: DHT11 readings onto a web page!

All depends on how many process write to the sd cards. This is why I wrote the dynamic webpage into ram. This way I don't use the SD card. My first trial was on my pond temperature controller. I use pratically the same setup with 5 DS18B20 sensors. But I mount the SD card read only. The /var was on...
by samip537
Wed Jun 03, 2015 4:26 pm
Forum: Python
Topic: DHT11 readings onto a web page!
Replies: 254
Views: 68265

Re: DHT11 readings onto a web page!

I was wondering that as the Pi is storing the data for the readings to /webdata which is inside RAM. How long can it be without power without the data being corrupted/decated?
by samip537
Wed May 27, 2015 6:41 am
Forum: Python
Topic: DHT11 readings onto a web page!
Replies: 254
Views: 68265

Re: DHT11 readings onto a web page!

@samip537 I took out my old script which use 5 DS18B20 sensors The code is different since it does create some html frame and transfer data into my WD NAS using ftp. I put the code into my google drive since it is not exactly related to this post. StampTemp.py https://drive.google.com/file/d/0B9H9n...
by samip537
Tue May 26, 2015 6:43 pm
Forum: Python
Topic: DHT11 readings onto a web page!
Replies: 254
Views: 68265

Re: DHT11 readings onto a web page!

Like I said , I use the same code with a slightly modified python code. https://dl.dropboxusercontent.com/u/48891705/Lastw_7feb20013.png Could you tell me what kind of modifications have you made to the Python code? P.S I'm waiting on the sensor to arrive. This is my setup. https://www.youtube.com/...
by samip537
Mon May 25, 2015 6:10 pm
Forum: Python
Topic: DHT11 readings onto a web page!
Replies: 254
Views: 68265

Re: DHT11 readings onto a web page!

There is a lot of chat about the best way to connect the DS18B20 with the PI. Personnally I use a small veroboard with separate screwable wire connectors for each sensor. https://dl.dropboxusercontent.com/u/48891705/DSC00957.JPG Open the image only and zoom in the left box. The resistor is on the v...
by samip537
Mon May 25, 2015 5:45 pm
Forum: Python
Topic: DHT11 readings onto a web page!
Replies: 254
Views: 68265

Re: DHT11 readings onto a web page!

The thing is that is not so messy but use a lot of application to make it right. The python code job is 1- Capture sensors data. 2- Store it into a rrdtool database. 3- Extract a text format using different timing from the database. The python has no stuff for html. Then a simple html server is nee...
by samip537
Mon May 25, 2015 5:31 pm
Forum: Python
Topic: DHT11 readings onto a web page!
Replies: 254
Views: 68265

Re: DHT11 readings onto a web page!

danjperron wrote:Don't forget the pull up resistor. 4K7 like the one for the DHT22 will do.
Does DS18B20 need the pull up resistor too?
by samip537
Mon May 25, 2015 3:43 pm
Forum: Python
Topic: DHT11 readings onto a web page!
Replies: 254
Views: 68265

Re: DHT11 readings onto a web page!

Some message post before your first one explain how to add another sensor. So maybe you should read the post fully from start! I explain How to add a DS18B20 , use a DHT22 and later what to do if you want to add another DHT sensor. You will need to figure out. No brain no gain! That thing about "No...
by samip537
Sun May 24, 2015 8:17 pm
Forum: Python
Topic: DHT11 readings onto a web page!
Replies: 254
Views: 68265

Re: DHT11 readings onto a web page!

Well you will have to figure another way since HighCharts is javascript! You could create a Chart in jpeg. But sincerely javascript is the way to go. Also there is some HighCharts PHP . Your could use webiopi and create your graphic in python. I do not have any clue how to do it! Recently I'm using...
by samip537
Sun May 24, 2015 5:11 pm
Forum: Python
Topic: DHT11 readings onto a web page!
Replies: 254
Views: 68265

Re: DHT11 readings onto a web page!

danjperron wrote:I think you mix java and javascript!

Javascript is still a building block in html5.
Actaully no, I just wish to avoid the use of javascript whenever possible.
by samip537
Sun May 24, 2015 4:24 pm
Forum: Python
Topic: DHT11 readings onto a web page!
Replies: 254
Views: 68265

Re: DHT11 readings onto a web page!

That web page is already with multiple sensors. You only have to add sensor into the rrd documents. look at the post completely and start to go step by step. 1- check how to script read each sensor. 2- look how we create a rrd database file. 3- How we push each sensor to the database. 4- How we use...
by samip537
Sat May 23, 2015 3:04 pm
Forum: Python
Topic: DHT11 readings onto a web page!
Replies: 254
Views: 68265

Re: DHT11 readings onto a web page!

How should I be able to include multiple sensors to that web page?

I'm kinda out of talent as I would also need to automate the pulling of it too. :/

Go to advanced search