Skip to content

Instantly share code, notes, and snippets.

View mattrude's full-sized avatar

Matt Rude mattrude

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mattrude
mattrude / _The_Things_Network_coding_data.md
Last active July 23, 2020 21:18
This is the decoder/converter/validator code used in my "The Things Network" Applications Payload Formats

This is the decoder/converter/validator code used in my "The Things Network" Applications Payload Formats

GNU Screen Cheat Sheet

Basics

  • ctrl a c -> cre­ate new win­dow
  • ctrl a A -> set win­dow name
  • ctrl a w -> show all win­dow
  • ctrl a 1|2|3|… -> switch to win­dow n
  • ctrl a " -> choose win­dow
  • ctrl a ctrl a -> switch between win­dow
  • ctrl a d -> detach win­dow
@mattrude
mattrude / AdvancedTrafficLight.c
Last active March 20, 2020 06:56
ATtiny85, 74HC959 Traffic Light program written for Atmel Studio 7
/* ATtiny85 - Advanced Traffic Stop Light - Version 0.1.1 - 2020-03-20
* Copyright (c) 2020 Matt Rude <matt@mattrude.com>
*
* *********************************************************************************
*
* This is the Advanced Traffic Stop Light program written for an ATtiny85 using
* Atmel Studio 7: https://www.microchip.com/mplab/avr-support/atmel-studio-7
*
* For more on the ATtiny85, see: https://www.microchip.com/wwwproducts/en/ATtiny85
*
/* SolarBear MPPT Controller - Version 6.3
* Copyright (c) December 2017 - Sergey Vekli, Ted Luginbuhl, & Matt Rude
*
* https://www.rcgroups.com/forums/showthread.php?3007750-BNF-SolarBear-pure-solar-powered-32-wing-Free-plans
*
* **************************************************************************************
*
* Solar Cells
*
* The solar cells are soldered in series with a piece of 29guage magnet wire going to each pad on the
@mattrude
mattrude / ATtiny85_TrafficStopLight.c
Last active March 7, 2020 22:14
ATtiny85 Traffic Stop Light - Written with the Atmel Studio 7 - This program turns on (in order) the Red LED, waits for 5 seconds, then turns on the Green LED, waits for 5 seconds, then turns on the Yellow LED, waits for 2.5 seconds and repeats cycle.
/* ATtiny85 Traffic Stop Light - Version 0.2.0 - 2020-03-07
* Copyright (c) 2020 Matt Rude <matt@mattrude.com>
*
* *********************************************************************************
*
* This is a simple Traffic Stop Light program written for an ATtiny85 using
* Atmel Studio 7: https://www.microchip.com/mplab/avr-support/atmel-studio-7
*
* For more on the ATtiny85, see: https://www.microchip.com/wwwproducts/en/ATtiny85
*
@mattrude
mattrude / ATtiny85_AdvancedTrafficStopLight.c
Last active August 26, 2021 01:27
This is a Advanced Traffic Stop Light program written for an ATtiny85 & 74HC595, using Atmel Studio 7.
/* ATtiny85 - Advanced Traffic Stop Light - Version 0.1.1 - 2020-03-20
* Copyright (c) 2020 Matt Rude <matt@mattrude.com>
*
* *********************************************************************************
*
* This is the Advanced Traffic Stop Light program written for an ATtiny85 using
* Atmel Studio 7: https://www.microchip.com/mplab/avr-support/atmel-studio-7
*
* For more on the ATtiny85, see: https://www.microchip.com/wwwproducts/en/ATtiny85
*
@mattrude
mattrude / ATtiny85_PhotoresistorRelay.ino
Created February 17, 2020 00:12
ATtiny85 Photoresistor / Relay program - This is a simple program, using an ATtiny85, that turns on and off a relay when a photoresistor detects light above a programmed value.
/* ATtiny85 Photoresistor / Relay - Version 0.1.0 - 2020-02-16
* Copyright (c) 2020 Matt Rude <matt@mattrude.com>
*
* *********************************************************************************
*
* This is a simple program, using an ATtiny85, that turns on and off a relay when
* a photoresistor detects light above a programmed value.
*
* The program was written for an ATtiny85 using Arduino IDE and the 'ATTinyCore'
* board found at: https://github.com/SpenceKonde/ATTinyCore
@mattrude
mattrude / ATtiny85_TrafficStopLight.ino
Created February 15, 2020 18:54
ATtiny85 Traffic Stop Light - This program turns on (in order) the Red LED, waits for 5 seconds, then turns on the Green LED, waits for 5 seconds, then turns on the Yellow LED, waits for 2.5 seconds and repeats cycle.
/* ATtiny85 Traffic Stop Light - Version 0.1.2 - 2020-02-15
* Copyright (c) 2020 Matt Rude <matt@mattrude.com>
*
* *********************************************************************************
*
* This is a simple Traffic Stop Light program written for an ATtiny85 using
* Arduino IDE and the 'attiny' board found at: https://github.com/damellis/attiny
*
* For more on the ATtiny85, see: https://www.microchip.com/wwwproducts/en/ATtiny85
*