Skip to content

Instantly share code, notes, and snippets.

@ImpulseAdventure
ImpulseAdventure / rc_pwm2spi.ino
Last active February 3, 2022 18:37
RC Receiver PWM to SPI slave for ATtiny / Arduino
// RC Receiver PWM to SPI slave
// ============================
// by Calvin Hass
// http://www.impulseadventure.com/elec/
//
// This code implements a simple SPI slave receiver interface
// combined with multi-channel pulse-width modulation (PWM)
// measurement. Each channel's pulse width is measured in
// microseconds and returned in a channelized register interface.
// This code can be useful for using a remote-control transmitter
@spacehuhn
spacehuhn / arduino_flash_esp8266.md
Last active January 16, 2024 18:14
Flash ESP8266 over an Arduino

How to flash your ESP8266 without a USB-Serial adapter but with an Arduino.

First be sure everything is connected correcly:

Arduino ESP82666
TX RX
RX TX
GND GND
GND GPIO-15
@la3pna
la3pna / sweeper
Last active October 31, 2021 17:06
Si5351 Simple Sweep Generator
/*
Si5351 Simple Sweep Generator
connect Si5351 to I2C
Sweep out is on pin 5, ranging from 0-5V (3.3V).
Use a filter on sweep out voltage. 100K + 1uF should be a good start.
A op-amp can be used to improve the filtering of the DC voltage.
Copyright (c) 2016 Thomas S. Knutsen <la3pna@gmail.com>
@chaeplin
chaeplin / WPA2 -EAP-TLS.ino
Last active January 6, 2022 13:50
WPA2 -EAP-TLS.ino
/*
WPA2-ENT EAP-TLS
based on joostd's code : https://github.com/joostd/esp8266-eduroam
https://github.com/joostd/esp8266-eduroam/blob/master/gen_cert.sh
wifi_station_set_cert_key
Function: Set certificate and private key for connecting to WPA2-ENTERPRISE AP.
Note:
• Connecting to WPA2-ENTERPRISE AP needs more than 26 KB memory, please ensure enough space (system_get_free_heap_size).
@NT7S
NT7S / Si5351_VFO.ino
Last active June 1, 2023 00:06
A simple VFO for the Si5351 for either LCD or OLED
/*
Si5351 VFO
By LA3PNA 27 March 2015
Modified by NT7S 25 April 2015
Modified to be Si5351 Arduino v2 compliant by NT7S 21 Nov 2016
This version uses the new version of the Si5351 library from NT7S.
see: http://arduino.cc/en/Reference/AttachInterrupt for what pins that have interrupts.
@la3pna
la3pna / i2c_Si_VFO
Last active May 7, 2024 11:23
Si5351 VFO with I2C display
/*
VFO program for Si5351
Using I2C LCD from:
http://www.amazon.com/Huhushop-TM-Serial-Display-Arduino/dp/B00JM88A94/
Si5351 library from NT7S.
Uses the updated version of the library (master).
Display library is avaible from:
https://code.google.com/p/u8glib/
@la3pna
la3pna / Si5351_VFO
Last active November 17, 2019 06:17
Si5351 generic VFO
/*
Si5351 VFO
By LA3PNA 27 March 2015
Modified 14 February 2017
Modified 28 November 2018
This code is licenced with GNU GPL v2. Please read: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
This version uses the new version (v2) of the Si5351 library from NT7S.
@tfeldmann
tfeldmann / i2c_scanner.ino
Created April 18, 2013 09:13
A I2C Scanner for Arduino
// --------------------------------------
// i2c_scanner
//
// Version 1
// This program (or code that looks like it)
// can be found in many places.
// For example on the Arduino.cc forum.
// The original author is not known.
// Version 2, Juni 2012, Using Arduino 1.0.1
// Adapted to be as simple as possible by Arduino.cc user Krodal
@SamClarke2012
SamClarke2012 / Sat_DOPE.ino
Last active June 30, 2019 09:14
Satellite Tracking on Teensy 3 using PLAN13 and GPS
/*
_____ ___ _____ ______ ___________ _____
/ ___|/ _ \_ _| | _ \ _ | ___ \ ___|
\ `--./ /_\ \| |______| | | | | | | |_/ / |__
`--. \ _ || |______| | | | | | | __/| __|
/\__/ / | | || | | |/ /\ \_/ / | | |___
\____/\_| |_/\_/ |___/ \___/\_| \____/
[Satellite Data On Personal Eqipment]
@GavilanSteinman
GavilanSteinman / servoKey.ino
Created December 8, 2012 17:29
Servo Recorder
/* Servo Recorder
The following commands are supported:
a records the current servo position for 5 seconds
b releases the servo to record the position
c plays back the recorded position for 5 seconds
d calibrates all angles from 0...180
The minimum and maximum pulse width will vary with different servo models.