-
Recent Posts
Recent Comments
Archives
- May 2022
- December 2021
- September 2021
- July 2021
- May 2021
- April 2021
- October 2019
- August 2019
- April 2019
- February 2019
- January 2019
- May 2018
- January 2018
- November 2017
- May 2017
- January 2017
- December 2016
- November 2016
- May 2016
- April 2016
- March 2016
- February 2016
- January 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- July 2014
- June 2014
- May 2014
- April 2014
- November 2013
- October 2013
- September 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- December 2012
- November 2012
- October 2012
- August 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
Categories
Meta
Category Archives: arduino
Arduino GPS-based Lap Timer Revisited
GPS-based lap timing code is located here. The source code provided is an MSVC program used for testing purposes. This is simply the basic algorithms needed to function. Very little error checking is performed by the program. It can easily … Continue reading
Arduino BBQ Fan Temperature Controller
Commercially sourced BBQ temperature controllers are expensive. They start at about US $200 and average well above $300. Most include WIFI interfaces too. So I thought I could do better. This is the first step in making a BBQ temperature … Continue reading
Blynk-ing an ANAVI Light Controller
The ANAVI Light Controller is an open source hardware WiFi development board. As the name suggests it controls 12V RGB LED strip lights and can retrieve data from various I2C sensor modules for temperature, humidity, light and gestures. In this … Continue reading
Using a Sonoff S31 with Blynk
This post will describe how the Itead Sonofff S31 can control a household AC electric device with a cellphone loaded with the Blynk application. Additionally, we can use the S31 to monitor energy usage by keeping track of real-time power, … Continue reading
Blynk & Amazon Echo (Alexa) Controlled Lights via Smart Wall Switch
Works like a charm. See this post for a discussion about reverse-engineering the wifi smart wall switch and how to program it. The Blynk application uploaded to the Lyasi smart switch is below.
Re-programming a Lyasi ESP-8285 WiFi Wall Switch
I purchased a couple of Lyasi wall switches from amazon.com for $24.99 USD. There are several versions (GresaTek, Jesiya, NewRice, etc) available through amazon, ebay and various other web outlets, however they appear to be very similar with only minor … Continue reading
Modify Arduino Optimization Levels on the Fly
Do you know and understand how compiler optimization is altering your code? Higher optimization levels can reveal problems in some programs that are not apparent at lower optimization levels. Volatility One method to prevent optimization issues with variables is to … Continue reading
ATMEL Studio 7 Does Blink in Assembly Language
See the previous post (here) for detailed information on AS7 installation and simulating of an Arduino program execution. As an exercise to gain familiarity with AS7, lets make an assembly language project using the below Blink code: • Select “File>New>Project”. … Continue reading
Posted in arduino, assembly language
Tagged arduino, asm, assembler, assembly, atmel, atmel studio, avr, inline
Leave a comment
Using ATMEL Studio 7 for Arduino Development
While installing ATMEL Studio 7 (AS7) is not required in order to learn inline assembly language programming, it has worthwhile advantages. The ability to compile code for the Arduino, run it inside the included Simulator and immediately debug it will … Continue reading
My Cup Overflows
When performing math (even basic addition and subtraction) with signed numbers an overflow problem sometimes arises. The Arduino microcontroller indicates the existence of an overflow error by setting the overflow flag in the SREG. Here’s a demonstration of the overflow … Continue reading
Posted in arduino, assembly language, avr, avr inline assenbly
Tagged arduino, asm, assembler, assembly, avr, inline
Leave a comment