Skip to content

alexwebgr/arduino

Repository files navigation

Adventures in Arduino land

A series of arduino sketches along with some integrations and testing in ruby and arduino.

Activity Validator

Simulate sensor input by using the Serial class. Push fake sensor data with a ruby script to the arduino sketch to test the business logic not just component integrity.

Temperature Logging with LM35

A simpler logger for the LM35 analog sensor that includes

LM35

3 LED fade in and out

Using 3 LEDs and a potentiometer to dim the lights on and off

DigitalReadSerial

Read the button's state

Sending bytes to Serial

  • sketch serial_chars.ino
  • use arduino-cli monitor -p /dev/ttyACM0 -c baudrate=9600 --raw to open the monitor and type any character
  • or screen /dev/ttyACM0 9600

Led blinking

Loop digitalWrite with LOW and HIGH for one second

Turn on led with button

Push the button and the light will go on

Running factory tests on GitHub actions

Add a self-hosted runner to run the factory tests on GitHub source

Running locally

Developed on Ubuntu 24.

You will need ruby installed matching the version in .ruby-version and arduino-cli

Then bundle install for the ruby dependencies.

Having arduino ide installed is helpful.

About

Adventures in Arduino land

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors