Skip to content

baracudaz/usb-sht

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Name: USB-SHT
Author: Stanislav Likavcan (likavcan@gmail.com)

Project is to demonstrate Atmel AVR ATmega8 Microcontroller running V-USB stack communication with Sensirion SHT-1x Humidity and Temperature Sensor

Once you build the circuit according the schematics, and upload the firmware using "make flash", then you can run python script with various parameters and watch the output.

This whole project is really simple and meant to be a starting point for more complex projects. If you find it useful, let me know. :-)  

Echo test
=========
$ cd python
$ ./usbsht.py echo
Echo test successful!

Reading values from SHT-1x Sensor
=================================
$ ./usbsht.py temp
Temperature : 24.38
$ ./usbsht.py hum
Relative Humidity : 50.21
$ ./usbsht.py dew
Dew Point : 13.26

Turning the LED on/off
======================
$ ./usbsht.py on
$ ./usbsht.py status
LED is on
$ ./usbsht.py off
$ ./usbsht.py status
LED is off

About

Project is to demonstrate AVR ATmega8 running V-USB stack communication with Sensirion SHT-1x Humidity and Temperature Sensor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published