Arduino & embedded
The Virtuabotix years, firsthand. Tutorials written 2013–2014 while designing, manufacturing, and shipping Arduino-ecosystem hardware — serial packet protocols, sensors, servos, and the Versalino product line in use. Restored from the original josephdattilo.com blog with original publish dates; the DHT11 guide is by the author of the DHT11 Arduino library everyone ended up using.
The posts
- February 18, 2014
How to control Temperature & humidity levels with a DHT11/DHT22 relays and a FAN & Heater
Arduino/Versalino sketch that reads a DHT11 or DHT22 and switches relay-driven fan and heater to hold humidity and temperature thresholds. (from the 2013–2016 archive)
- October 29, 2013
How to translate Virtuabotix Accelerometer G Forces to Degrees on the Arduino or Versalino
Turning Virtuabotix Accelerometer G-force readings into 0-360 degree angles with arctangent and quadrant corrections on the Arduino or Versalino. (from the 2013–2016 archive)
- October 3, 2013
Controlling the Virtuabotix Pan & Tilt with your Arduino or Versalino
Sweeping the Virtuabotix Pan & Tilt with calibrated degrees on an Arduino or Versalino: servo calibration arrays and a degrees-to-servo mapping function. (from the 2013–2016 archive)
- September 29, 2013
Code for Arduino/Versalino Ultrasonic distance triggered Art Gallery audio
Arduino/Versalino sketch that fires a Sparkfun MP3 trigger when gallery visitors come within six feet of a Virtuabotix Ultrasonic sensor. (from the 2013–2016 archive)
- September 2, 2013
Writing a Bluetooth Packet based Arduino sketch for the Versalino Control board
Building the joystick-to-rover control sketch for the Versalino Control: analog mapping, dead zones, and VirtuabotixPacket commands over a BT2S link. (from the 2013–2016 archive)
- September 1, 2013
Converting ASCII to Integer in your Arduino or other C code (specifically in a VirtuabotixPacket)
Using atoi and a null-terminated buffer to turn ASCII packet bytes into integers on an Arduino, and why the null character matters. (from the 2013–2016 archive)
- August 31, 2013
Passing your own data packets over Serial Port (Changing packet size)
How to grow the VirtuabotixPacket from 3 to 4 message bytes — the struct, parser, and processing changes needed on the receive side. (from the 2013–2016 archive)
- August 25, 2013
Passing your own data packets over Serial Port (Transmit side)
Building sendPacket() with sprintf formatting and function overloads to transmit fixed-length serial packets from an Arduino or Versalino. (from the 2013–2016 archive)
- August 22, 2013
Passing your own data packets over Serial Port (Receive side)
A small struct and parser for receiving pipe-delimited command packets on an Arduino or Versalino serial port, with a working LED-control example. (from the 2013–2016 archive)