Coder Social home page Coder Social logo

sunfounder_sensorkit_for_rpi2's Introduction

SunFounder Sensor Kit V2.0 for RPi 2

SunFounder Sensor Kit V2.0 for RaspberryPi 2B, compatible for Rev.1 Module B/B+, Rev 3 Module B

Quick Links:

About SunFounder Sensor Kit V2.0:

This is a kit with whole bunch of sensors and activaters, provided by SunFounder. The code here contains C and Python and are both for Raspberry Pi. If any error or BUGs, wellcom to post issus in Github, or Email us.

Update:

2020.8.13:

  • add a new method of install system
  • Replace the Raspbian to Raspberry Pi OS
  • Add a way to manually update the wiringPi to 2.52

2020-1-3:

  • Replace the 5v to 3.3V in the user manual.
  • update the English user manual for Raspberry Pi 4.

2019-10-12:

  • add in the German version of user manual.
  • update the English user manual for Raspberry Pi 4.

2019-09-06:

  • fix the bugs of print function for python3
  • fix the bus of ds1302, Barometer,ds18b20.

2016-10-09:

  • Add BMP280 both C and Python
    • Add BMP280 for the Newest kit.

About SunFounder

SunFounder is a technology company focused on Raspberry Pi and Arduino open source community development. Committed to the promotion of open source culture, we strives to bring the fun of electronics making to people all around the world and enable everyone to be a maker. Our products include learning kits, development boards, robots, sensor modules and development tools. In addition to high quality products, SunFounder also offers video tutorials to help you make your own project. If you have interest in open source or making something cool, welcome to join us!


License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied wa rranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

{Repository Name} comes with ABSOLUTELY NO WARRANTY; for details run ./show w. This is free software, and you are welcome to redistribute it under certain conditions; run ./show c for details.

SunFounder, Inc., hereby disclaims all copyright interest in the program '{Repository Name}' (which makes passes at compilers).

Mike Huang, 21 August 2015

Mike Huang, Chief Executive Officer

Email: [email protected], [email protected]


Contact us:

website: www.sunfounder.com

E-mail: [email protected], [email protected]

sunfounder_sensorkit_for_rpi2's People

Contributors

cavonlee avatar cqusers avatar xiemeiping avatar zhen-upup avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sunfounder_sensorkit_for_rpi2's Issues

28_humiture.py convert to F

i have tried putting in temperature = temperature * 9/5.0 + 32 but dont know where exactly it goes.
I keep breaking the script when i put it in
any help is greatly appreciated!

Problem with lcd 1602

30_i2c_lcd1602.py

LCD1602.init(0x27, 1) # init(slave address, background light)
Until this line, all things are fine, because when I change it to LCD1602.init(0x27, 0) background light is closed.
So I think the address and connection is right.

but the characters are not showing on the screen.
Could you please check it?

22_gas_sensor

  • Python code: Buzzer works, high values displays danger gas.
  • C code: "Saft" is printed, should be "Safe" i guess. Buzzer does not work.

How come Python script says danger on higher numbers while C says safe, C also does not trigger the buzzer. Think there is an issue somewhere in the code.

For anyone having issues, you need to turn the shaft of the pontetiometer to raise and reduce the concentration level, mine was on max and printed 255 all the time. This needs to be turned on the PCF8591 not on the gas sensor. Maybe update this in the description as it was not perfectly clear.

No module named Adafruit_BMP

Hi, I'm using a BMP180 sensor with a Raspberry Pi3 and the sample python program works ok in Python 2, but I get this error in Python 3:

import Adafruit_BMP.BMP085 as BMP085
ImportError: No module named 'Adafruit_BMP'

I'm new this; is it possible to get it working in Python 3? TIA

Raspberry Pi3 B+ Problem with BMP280

Hi, I've a problem with the connection of my Pi3 B+ with SunFounder Module BMP280
Thx for your help. Here is the error message:

pi@raspberrypi:~/SunFounder_SensorKit_for_RPi2/Python $ sudo python 31_bmp280.py
Traceback (most recent call last):
File "31_bmp280.py", line 250, in
main()
File "31_bmp280.py", line 231, in main
bmp = BMP280()
File "31_bmp280.py", line 108, in init
self.bus_number = self._get_bus_number()
File "31_bmp280.py", line 133, in _get_bus_number
raise ValueError('Reading Pi type error, Your Pi "{0}"" is not in the list.\ n Please post an Issus at our Github Page or contract us\n Github page: http s://github.com/sunfounder/Sunfounder_Smart_Video_Car_Kit_for_RaspberryPi/issues\ n Email: [email protected]\n SunFounder'.format(pi_type))
ValueError: Reading Pi type error, Your Pi "Unknown"" is not in the list.
Please post an Issus at our Github Page or contract us
Github page: https://github.com/sunfounder/Sunfounder_Smart_Video_Car_Kit_fo r_RaspberryPi/issues
Email: [email protected]
SunFounder

pi@raspberrypi:/SunFounder_SensorKit_for_RPi2/Python $ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- 77
pi@raspberrypi:
/SunFounder_SensorKit_for_RPi2/Python $

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.