-
Evaluation ^2 with Managed Serial Bus Shields
04/09/2018 at 07:56 • 0 commentsRPUpi moved to the new RPUlux^2 and put a RPUadpt^5 on the PUlux^1.
The Pi Zero has a WiFi dongle so I can SSH into it remotely. The RPUbus goes over the ubiquitous CAT5 cable wired for ethernet (not the crossover variant).
Headless computers are a paradigm shift, I worry about how I will fix it if something goes wrong, but after switching from Raspbian Jessie to Stretch by way of a clean install I guess in the worst case it is easy enough to sanitize.
Notes firmware could be written to shutdown the battery backed Pi if the power is out for an extended period. The Wifi and network services (DHCP,DNS Host Mapping) also need to be battery backed for a laptop to be able to access them.
-
AVR weak pull-up and AL8805 analog CTRL
03/28/2018 at 20:11 • 0 commentsI was having problems with my SelfTest where I was only seeing about half the expected current from an AL8805.
An 8.45k Ohm pull-down was used to turn off the LED's during boot loading and when the AVR is in RESET. Form the AL8805 CTRL perspective the pull-down sums a divided amount from the AVR 5V through a 35k Ohm (weak pull-up mode) and from the 2.5V reference on AL8805 through 50k Ohm.
With a 3.74k Ohm pull-down and a weak pull-up from the AVR the switch mode converter runs with an analog setting in the range 50mA to 150mA (approximate).
When the AVR pin is in the push-pull mode and set HIGH the constant current converter provides the expected amount of current. The weak pull-up mode from the AVR set an analog voltage on the AL8805 CTRL pin that allows it to run at a reduced current without any audible switching noise (e.g. the 500Hz).
-
Continuous Integration (CI) with AVR
03/09/2018 at 23:27 • 0 commentsI am trying out Travis CI with the firmware for this board, having never used CI before I was fairly clueless, and mostly still am. From what I can see, a push to Github notifies Travis which starts a fresh instance of Ubuntu 14.04 (that seems a little old to me) then pulls a clone of the repo and looks at the config file ".travis.yml" inside to tell it what to do. Basically, I followed an [example] I found.
[example]: https://github.com/willglynn/travis-avr-gcc
Another example I found made me think this was going to be too difficult, but it did clue me in about how to use a matrix with the Travis system so I added that to the setup I could follow.
This is what it looks like