Go to advanced search

by Veeej
Wed Apr 24, 2019 2:11 pm
Forum: Beginners
Topic: Using Sensor and Pi outside
Replies: 22
Views: 909

Re: Using Sensor and Pi outside

by Veeej
Wed Apr 24, 2019 1:11 pm
Forum: Beginners
Topic: Using Sensor and Pi outside
Replies: 22
Views: 909

Re: Using Sensor and Pi outside

So the values that I am getting are in %? :|
Looking at the datasheet I understand that the output should in from 200 onwards and in three digits compared to a single digit with decimal
by Veeej
Sun Apr 21, 2019 9:07 am
Forum: Beginners
Topic: Using Sensor and Pi outside
Replies: 22
Views: 909

Re: Using Sensor and Pi outside

Hi So i changed the code and still get the same exact results Its currently hanging outside my window and I'm getting results like 3.93...ppm voltage around 20-25 Trying to put the wiring but it won't let me Check out the website circuit.io/app?components=9443,200000,398790 It isn't shown but the AO...
by Veeej
Thu Apr 18, 2019 12:56 pm
Forum: Beginners
Topic: Using Sensor and Pi outside
Replies: 22
Views: 909

Re: Using Sensor and Pi outside

Hi all! Thank you pcmanbob for your help - it gave me a good kick start again. I managed to do some more research and what not and finally got it to work! :D I'm getting results such as and along the lines of 3.26576265473 as ppm for CO2, is that correct?? i'm currently working from a pc so it is in...
by Veeej
Mon Apr 15, 2019 11:48 am
Forum: Beginners
Topic: Using Sensor and Pi outside
Replies: 22
Views: 909

Re: Using Sensor and Pi outside

Yes definitely need some help! import spidev import time spi = spidev.SpiDev() spi.open(0, 0) def ReadChannel(channel): adc = spi.xfer2([1, (8 + channel) << 4, 0]) data = ((adc[1] & 3) << 8 | adc[2] return data while True: channel0 = ReadChannel(0) channel0_perc = format(channel0 * 4.7 * '.2f') chan...
by Veeej
Thu Apr 11, 2019 6:37 pm
Forum: Beginners
Topic: Using Sensor and Pi outside
Replies: 22
Views: 909

Using Sensor and Pi outside

Hi all again! I'm sorry if this is a silly question but I'm new to Raspberry-pi so trying to learn about it all. So I'm in the process off creating a CO2 sensor. To get the ppm levels I do need to go outside as inside is only showing me 0ppm constantly. How do I do this is my question? The code is o...
by Veeej
Thu Apr 11, 2019 12:47 pm
Forum: Beginners
Topic: MQ135 - on Raspberry Pi
Replies: 2
Views: 521

Re: MQ135 - on Raspberry Pi

oh sorry
*I tried to attach a picture of my new wiring but it says the file is too big.

I removed the \n but still no luck.

do you think there is something wrong with the code itself?
by Veeej
Mon Apr 08, 2019 5:44 pm
Forum: Beginners
Topic: MQ135 - on Raspberry Pi
Replies: 2
Views: 521

MQ135 - on Raspberry Pi

Hey all So i am trying to build a sensor mainly for C02 using a mq135 sensor with Raspberry-Pi. I've seen some examples but they don't seem to be working for me. So far I've connected the VCC from the sensor to 5v GPIO pin and GND to the GND. I've also hooked the AO to the breadboard so that it is a...
by Veeej
Mon Apr 08, 2019 12:38 pm
Forum: Beginners
Topic: MySQL root password?
Replies: 11
Views: 22743

Re: MySQL root password?

Hey So i had the same issue and nothing really worked for me. So i simply uninstalled it using: [sudo apt-get remove --purge mysql\* re installed it using: sudo apt-get install mysql-server sudo apt-get install mysql-client mysql -uroot -p when prompted for a password i entered mysql (which i did th...
by Veeej
Tue Mar 05, 2019 4:10 pm
Forum: Python
Topic: Printing time left on web page - Traffic Light System Python
Replies: 1
Views: 209

Printing time left on web page - Traffic Light System Python

Hi, i'm not a pro and its the first time i'm coding on Python. I am creating a program on Python - Geany, in order to make a traffic light system which can be accessed over the networks - which is simply over a webpage and on there it just shows how long left till the light changes. I have two Pi-St...

Go to advanced search