How to Scroll a single LCD line – Arduino

R Jordan Kreindler show us how to scroll a single line on a LCD display.

The Liquid Crystal Library has two quite useful functions scrollDisplayLeft() and scrollDisplayRight(). These functions scroll the whole display. That is, they scroll both lines on a 1602 LCD and all four lines on a 2004 LCD. What we often need is the ability to scroll a single line on these displays rather than the whole display. Also, we often want to scroll an entire line off the screen rather than just by one position, as the functions in the Liquid Crystal Library offer. This Instructable provides functions to do just that, and so should be thought of as an addition to the scrollDisplayLeft() and scrollDisplayRight() functions in the Liquid Crystal Library.

How to Scroll a single LCD line – Arduino – [Link]

Fuel-gauge ICs help prevent battery clones

265a9c07b25a87d1ac079c6af20915a7

Maxim’s family of ModelGauge m5 standalone fuel gauges provides SHA-256 authentication with a 160-bit secret key to make it harder to clone battery packs. The ICs also implement the ModelGauge m5 algorithm, which converts raw measurements of battery voltage, current, and temperature into accurate state-of-charge (SOC%), absolute capacity (mAhr), time-to-empty, and time-to-full readings. by Susan Nordyk @ end.com:

ModelGauge m5 automatically compensates for cell aging, temperature, and discharge rate. As the battery approaches near empty, ModelGauge m5 invokes an error-correction mechanism that eliminates any error.

The MAX17201 and MAX17211 monitor a single-cell pack, while the MAX17205 and MAX17215 monitor and balance a 2S or 3S pack or monitor a multiple-series cell pack. In addition to high accuracy and age forecasting, the fuel gauges offer low power consumption. The MAX17201 and MAX17211 have a quiescent current of 18 µA when active and 9 µA in hibernate mode. The same specifications for the MAX17205 and MAX17215 are 25 µA and 12 µA, respectively.

Fuel-gauge ICs help prevent battery clones – [Link]

Ambient light and proximity sensors sense distances up to 10cm

2016-06-26-eete-jh-everlight

With its APM-16D17-05-DF8-TR8 and APM-16D17-06-DF8-TR8 ambient light and proximity sensors, Everlight aims to save energy and reduce unwanted signals and noises when used in smartphones, tablet PCs, residential smart lighting and digital signage applications. [via]

Both series use a specially coated photo diode with an optical response similar to human eyes. They have a common I²C interface allowing them to be driven with a supply voltage of only 1.7V. They are optimized to sense the ambient brightness and adjust the backlight of a screen to the most clear and comfortable settings. For example, the screen gets brighter in shining daylight but darkens in a dark environment.

Ambient light and proximity sensors sense distances up to 10cm – [Link]

EmbeddedLab introduces us TI’s Tiva C MCUs

launchpad-tivac-01-580x462

Shawon Shahryiar @ embedded-lab.com introduces us to Tiva C series microcontrollers from TI.

The Tiva C series MCUs are high performance ARM Cortex M4F micros. Now what does that mean? Generally speaking the ARM Cortex M series is meant to be used in place of (or simply replace) regular microcontrollers like PICs and AVRs while the A series and R series are designed for application-specific and real-time purposes respectively. The “4” in the “M4F” means it has all of the features of ARM Cortex-M3 along with additional features like Digital Signal Processing (DSP) extensions. Likewise the “F” indicates the presence of a Floating Point Unit (FPU). Thus Tiva C micros are high-end ARM microcontrollers with DSP and FPU support.

EmbeddedLab introduces us TI’s Tiva C MCUs – [Link]

Inside the tiny RFID chip that runs San Francisco’s race

chip-0014

Ken Shirriff teardowns an RFID chip used to track the time each runner took to run the race.

At the beginning and end of the race, the runners cross special mats that contain antennas and broadcast ultra high frequency radio signals. The runner’s RFID chip detects this signal and sends back the athlete’s ID number, which is programmed into the chip. By tracking these ID numbers, the system determines the time each runner took to run the race. The cool thing about these RFID chips is they are powered by the received radio signal; they don’t need a battery.

Inside the tiny RFID chip that runs San Francisco’s race – [Link]

World’s First 1,000-Processor Chip

kilocore_chipby Andy Fell:

A microchip containing 1,000 independent programmable processors has been designed by a team at the University of California, Davis, Department of Electrical and Computer Engineering. The energy-efficient “KiloCore” chip has a maximum computation rate of 1.78 trillion instructions per second and contains 621 million transistors. The KiloCore was presented at the 2016 Symposium on VLSI Technology and Circuits in Honolulu on June 16.

World’s First 1,000-Processor Chip – [Link]

SparkFun Battery Babysitter

The SparkFun Battery Babysitter is an all-in-one single-cell Lithium Polymer (LiPo) battery manager. It’s half battery charger, half battery monitor, and all you’ll ever need to keep your battery-powered project running safely and extensively.

The Battery Babysitter features a pair of Texas Instruments LiPo-management ICs: a BQ24075 battery charger and a BQ27441-G1A fuel gauge. The charger supports adjustable charge rates of up to 1.5A, as well as USB-compliant 100mA and 500mA options. It also features power-path management, guaranteeing power to your project even if the battery has died. The self-calibrating, I2C-based BQ27441-G1A measures your battery’s voltage to estimate its charge percentage and remaining capacity. It’s also hooked up to a current-sensing resistor, which allows it to measure current and power! It’s a handy IC to have, if you ever need to keep an extra eye on your project’s power draw.

SparkFun Battery Babysitter – [Link]

Full featured Arduino DSLR Intervalometer

FKBB8H0IPH4TJO6.MEDIUM

by aniansh @ instructables.com:

Have you ever felt like creating one of those city street time lapses that you see on the internet or recording the blooming of a flower through a time lapse or maybe create a night sky panorama of the milky way drifting in the background? Well, now you can do so with your own custom made and designed intervalometer.

Full featured Arduino DSLR Intervalometer – [Link]

Conventional Flow vs Electron Flow Explained

“baldengineer” explains which way the current flows.

A couple of weeks ago I wrote about four current flow direction myths. As a follow up to that popular post, I decided to dedicate this month’s AddOhms electronics tutorial video to Current Flow. In episode #19, I tackle the question of which way does current flow.

You might have heard about “conventional flow” and “electron flow.” In conventional flow, we assume that current flows from the positive voltage towards the negative voltage. In digital, the “negative voltage” is usually called ground. However, that’s not how the electrons move nor is it how they carry the charge around a circuit path.

Conventional Flow vs Electron Flow Explained – [Link]

Inside the SDS7012 Oscilloscope: Mainboard Analysis

main-back-block

Christer Weinigel has been tinkering with an OWON SDS7012 o’scope, including deciphering the device’s OS and even disassembling the bootloader. Now it’s time to dive in and examine the mainboard, physically, with many of the board’s sub-circuits explained. via adafruit.com

Except for soldering some wires to the JTAG and serial port on the scope, most of the things I have discoveries about the SDS7102 I have made so far has been done with just software and a bit of thinking.

Inside the SDS7012 Oscilloscope: Mainboard Analysis – [Link]