Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save jforge/44f6ae4e790fe9c60f3a9455f1764a6a to your computer and use it in GitHub Desktop.

Select an option

Save jforge/44f6ae4e790fe9c60f3a9455f1764a6a to your computer and use it in GitHub Desktop.
Attraktor-Arduino-Day-2017 - Arduino-based Gas Sensor
ref:
- https://www.meetup.com/de-DE/attraktor/events/238182737/
- https://wiki.attraktor.org/RGB_Moodlight
res:
- https://www.arduino.cc/en/main/software
- http://zadig.akeo.ie/
# Setup Arduino IDE and solve the basic issues for your OS.
https://wiki.attraktor.org/RGB_Moodlight#Programmierung
-> Visit MIT Media Lab and follow instructions
http://highlowtech.org/?p=1695
# Copy the Url:
https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json
# set this as Additional BoardManager Urls in Arduino IDE -> Settings
we use an ATtiny and some resources are required for Arduino
https://github.com/damellis/attiny
ATtiny44 -> https://learn.sparkfun.com/tutorials/tiny-avr-programmer-hookup-guide
# we use a USBASP driver with the USBASP Programmer (http://eecs.oregonstate.edu/education/docs/ece375/USBASP-UG.pdf):
- no action required for MacOS
- windows -> use the generic driver tool and load usbap (libkasp, use the above mentioned Zadig tool for driver installation)
- linux -> a bit weird: http://lazyzero.de/elektronik/avr/usbasplinux
# Load and Upload the sketches from attraktor to test this
https://wiki.attraktor.org/RGB_Moodlight
- Connected sensors:
Infos zum Alkohol-Sensor MQ-3: https://www.pololu.com/file/0J310/MQ3.pdf
Infos zum VOC-Sensor MQ-135: https://www.olimex.com/Products/Components/Sensors/SNS-MQ135/resources/SNS-MQ135.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment