loading
6 Comments

Tell us about yourself!

Complete Your Profile
  • Rainbowfish commented on SimonM83's instructable Improved Arduino Rotary Encoder Reading2 months ago
    Improved Arduino Rotary Encoder Reading

    Thanks Simon, that works great :)

    View Instructable »
  • Rainbowfish commented on SimonM83's instructable Improved Arduino Rotary Encoder Reading3 months ago
    Improved Arduino Rotary Encoder Reading

    Hi Simon, thanks for your great instructable. Is there a way to limit the reading from 0-255. As I would like to have the minimum 0 and maximum 100.Kind regards

    View Instructable »
  • DS3231 OLED alarm clock with 2-button menu setting and temperature display

    Thanks df99 for your fantastic alarm clock, great job. I have integrated the DS18B20 with this and I am not sure if the libraries are the cause of the slowness or if it is just the DS18B20 ? // Below is snippets of the "additions" made, I moved the analog clock to the far right, using the no animation clock, the rest of the code is standard.#include <SPI.h> //Library for Adafruit communication to OLED display#include <Wire.h> //I2C communication library#include "ds3231.h" //Real Time Clock library#include <Adafruit_GFX.h> //Graphics library#include <Adafruit_SSD1306.h> //OLED display library#include <OneWire.h> // addition#include <DallasTemperature.h> // addition#define DS18B20 11 //the pin you connect the ds18b20 to //additionO...see more »Thanks df99 for your fantastic alarm clock, great job. I have integrated the DS18B20 with this and I am not sure if the libraries are the cause of the slowness or if it is just the DS18B20 ? // Below is snippets of the "additions" made, I moved the analog clock to the far right, using the no animation clock, the rest of the code is standard.#include <SPI.h> //Library for Adafruit communication to OLED display#include <Wire.h> //I2C communication library#include "ds3231.h" //Real Time Clock library#include <Adafruit_GFX.h> //Graphics library#include <Adafruit_SSD1306.h> //OLED display library#include <OneWire.h> // addition#include <DallasTemperature.h> // addition#define DS18B20 11 //the pin you connect the ds18b20 to //additionOneWire ourWire(DS18B20); // additionDallasTemperature sensors(&ourWire); // addition////////////////////////////////////void setup(){Serial.begin(9600); //Initialize serial port, if needed (not used)sensors.begin(); // additionWire.begin(); //Initialize I2C communication libraryDS3231_init(0x00); //Initialize Real Time Clock for 1Hz square wave output (no RTC alarms on output pin)pinMode(8, INPUT); //Set pin for time/date mode button to inputdigitalWrite(8, HIGH); //Turn on pullup resistors///////////////////////////////////////////////void loop(){sensors.requestTemperatures(); // additionchar tempF[6]; //Local variable to store converted temperature reading from Real Time Clock module//////////////////////////////////////////////NOTE: Alarm indicators are overwritten in display buffer if full-screen animation is displayed, so no check for thatif (mode <= 7){ //Alarm indicators and actions in normal and time set display mode onlyif (wake_SET){ //Display alarm on indicator if alarm turned ondisplay.setCursor(83, 55); //Position text cursor for alarm on indicatordisplay.print("A"); //Print character inside lower left corner of analog clock if alarm ondisplay.setCursor(0, 25); // additiondisplay.print("IP:10.0.0.49"); // additiondisplay.setCursor(0, 35); // additiondisplay.print("Geyser"); // additiondisplay.setCursor(45, 35); // additiondisplay.println(sensors.getTempCByIndex(0)); // additiondisplay.setCursor(0, 45); // additiondisplay.print("Set for 45 C"); // additiondisplay.setCursor(0, 55); // additiondisplay.print("Geyser ON"); // addition}}if(wake_SET && DS3231_triggered_a1()){ //Display/sound alarm if enabled and triggeredbeepcount = beepcount + 1;

    View Instructable »
  • Rainbowfish commented on sspence's instructable DIY Amp / Watt Hour Volt Meter - Arduino5 months ago
    DIY Amp / Watt Hour Volt Meter - Arduino

    Got your code working on OLEDThanks

    View Instructable »