While trying out a Ubiquiti wifi solution, I ran into one AP not getting installed correctly. It was showing as either
pending authorization - the latter I think means that it was trying to connect to a wifi netowork rather than the ethernet network it was plugged into.
In order to get Platformio to build a project based on ESP8266 release candidate, I had to do the following - basically these instructions:
These are the settings that got me up and going- before this I was getting
warning: espcomm_sync failed
error: espcomm_open failed error
While looking around for a good library to parse JSON on an Arduino, I bumped into PlatformIO. This seems to address a problem I’ve been struggling with – library / board management.
Here’s a quick (couple hours with my sloppy mistakes) mashup of two Arduino examples - the ES8266 (HUZZAH from Adafruit) WiFi controller and a DHT22 temperature and humidity sensor. This is the start of a bigger project which tells outdoor and indoor temperature along with accurate time (more on that to come), and probably wind speed, etc…
I’m continuing to try and ‘cheap-ify’ my per effect cost for my Halloween decorations. I ran into some issues last night trying to get an Arduino sketch that used the Adafruit Neopixel library and ran on a Trinket to run on a straight ATtiny85. The solution was to select the chip in the Arduino IDE and using an AVR programmer, burn the ‘bootloader’.
I’m digging up some old code that I did a long time ago - It’s a software-based pulse width modulator (PWM) for AVR microprocessors. The basics came from this technote, and the code was based on this sample project from AVR.
To get a Adafruit Trinket Arduino sketch running on a straight-up ATtiny85, I did the following:
I added the following to
/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/programmers.txt and restarted the Arduino IDE and magically, this seemed to work for me.
I’ve been inspired by my 4yo son to get back into some electronics for a spooky Halloween display we’re planning on setting up this year. Who am I kidding, my son has nothing to do with it. Anyway, I want to make a few cheap, but hopefully terrifying, effects for the yard and inside.