Tag Archives: arduino

Using an Arduino as a TOTP Token

TOTP (time-based One-Time-Passwords) as super neat and widely supported. I will not go into the background or theory, but it is possible to use an Arduino and a RTC module as a TOTP token for your email provider. DISCLAIMER: STORING … Continue reading

Posted in Arduino | Tagged | Comments Off on Using an Arduino as a TOTP Token

Arduino: Real-Time Clock Module (DS3231)

Real-Time Clock module running over I2C. You will need to give it a CR2032 battery so it retains the time when the power is removed from the Arduino. DEVICE NANO GND Ground VCC +5V/+3.3V SCL A5 SDA A4 You will … Continue reading

Posted in Arduino | Tagged | Comments Off on Arduino: Real-Time Clock Module (DS3231)

Arduino: Digital Current Sensor (INA219)

Chip which will reach current in a circuit and report it to Arduino via I2C. DEVICE NANO LOAD Power Supply VCC 5V GND GND Negative Terminal Negative Terminal SCL A5 SDA A4 VIN- Positive Terminal VIN+ Positive Terminal The default … Continue reading

Posted in Arduino | Tagged | Comments Off on Arduino: Digital Current Sensor (INA219)

Arduino: OLED Display (SSD1306)

The ones I got were 126×64 displays powered by SSD1306 chips. They run over I2C so they are pretty easy to wire up: DEVICE NANO GND Ground VCC +5V SCL A5 SDA A4 You do have to make sure you … Continue reading

Posted in Arduino | Tagged | Comments Off on Arduino: OLED Display (SSD1306)

Arduino: Relays

Opens and closes a circuit that’s “air-gapped” from the Arduino, allowing you to open/close circuits of much higher voltages (like 120V). Not sure how how good of an idea that is, considering the quality of these boards. DEVICE NANO DC+ … Continue reading

Posted in Arduino | Tagged | Comments Off on Arduino: Relays

Arduino: Capacitive Touch Switch (TTP223B)

It operates as any other momentary switch (in that it “closes” when you are touching it, and “opens” when you let go. As opposed to “toggling” between “on” and “off.”) DEVICE NANO VCC +5V GND Ground SIG D2 On these … Continue reading

Posted in Arduino | Tagged | Comments Off on Arduino: Capacitive Touch Switch (TTP223B)

Returning to Arduinos

I recently bought some Arduino Nano clones. The clones are vastly cheaper, but they are clearly not as well made, and sometimes you might end up with slightly different versions of things. The official Arduinos also help fund the Arduino … Continue reading

Posted in Arduino | Tagged | Comments Off on Returning to Arduinos