Posts

Interesting Chips and Sensors

Image
3D Hall Effect Sensors   The 3mm long TLE493D I2C interface 3D Hall Effect Sensor $1.97  The Infineon TLE493D is a bit of a cost breakthrough at under $2. Using 3 Hall Effect sensors in a single package, this chip can identify the position of a near magnetic field, that can for example make a longer lifespan replacement for precision continuous rotation potentiometers, that I used to see in aerospace surplus.  There is an Arduino support library available for the I2C interface devices (be sure you know the version your working with ), there are 4 different part numbers for the TLE493D-W2B6 fast wake-up chip, whose only difference is their I2C address, allows 4 of the 6 pin sensors to be used on a single bus.  • 3D magnetic flux density sensing of ±160 mT   (1 miliTeslas = 10 gauss).  • Programmable flux resolution down to 65 μT (typ.)   (Earth is 35-70  μT).  • X-Y angular measurement mode.  • 12-bit data resolution. ...

Song Melody Recognition Research

Image
Make your Arduino dance to a little tune (or just pass on the message)  Someone with a Samsung washing machine wanted to be able to receive the "all done" notification from the other end of their house.  Here's a video sample with some owners interacting with their washes.   I didn't turn up a straightforward solution that I could easily implement (it's a lot easier to get music converted to drive a MIDI keyboard) there is plenty of reference material that should lea someone else to a solution .  Considering the usage time saving to code development time, it might be most practical to just put a wireless baby monitor near the washer. After glancing though some example projects and academic papers, I concluded that my solution would simply use a tempo-measuring-like setup measuring the interval between notes, if the sound impulses matched the tempo of the song I would call it a match (on review, the notes are not as staccato and easy to separate as a mu...

Another Cool Board Maker, New to Me

Image
     I just ran across the Odroid Computer family, by a company in business for some years. Made by hardkernel.com ((South Korea) Their Raspberrry Pi-like boards run Linux and Arduino . (fun to have a Gigahertz speed Arduino , hopefully in Arduino mode, real time code execution is predictable) Their newest model the ODROID-XU4 has an ARM® big.LITTLE Octa core processor. It runs Ubuntu 16.04 and Android 4.4 KitKat, 5.0 Lollipop and 7.1 Nougat.  (You can make a multi-system boot setup.)  Benchmarks show the processor to be 7+ X faster than a Rasberry Pi 3.  Due to the 2 Ghz.  Cortex-A15 cores on the $49 board.  ( 2 - Big 2 Ghz cores,  2 - little 1.4 Ghz cores) While the Ras Pi System on Chip components are made by Broadcom (Irvine) the Odroid chip is made by Samsung (South Korea)  Their Raspberry Pi like boards have a 40 pin GPO connector with Power, Ground and some signals matching the Pi's. See their Wiki p...

Technical Information Sources

Image
This is the start of an occasionally updated info link list..    Some links are to sites that somehow are providing access to academic papers that are usually sold at a significant cost, it is annoying to have to pay $15-$50 for a decade old article on some obscure algorithm development at a taxpayer funded facility.    There is a documentary on one guy (who contributed to the development of the internet) who was an advocate for freedom of information, he ended up caught in legal action that did not go well for him. "The Internet's Own Boy: The Story of Aaron Swartz"    (Prosecuted by MIT for Scholarly Journal “Piracy”) The full 1:45 documentary is on Youtube  (His speech on the subject is at @37.34) Academic Papers Sites :  hobbydocbox.com (google search finds 111,000 docs)                            ...

E-Paper Displays, Pros and Cons

Image
I got an e-Paper display to experiment with, the  2.9" SPI module I choose, the Amazon warehouse price turned out to be near $2 cheaper than the Chinese maker's store price , strange...  E-Paper technology uses no backlight, it gives the appearance of paper using colored particles suspended in oil, they are low power devices, in fact they retain an image with no electrical connection.  The disadvantage of this sort of electro-mechanical thing moving around particles is a slow update rate, standard black and white displays like used in ebook readers update a page in about 2 seconds. which is tolarable for just advancing an ebook page, but the slow responce makes normal user interface designs clumsy. Waveshare.com is a big supplier of raw displays an display modules in several forms.  The generic SPI module I chose was about $5 less than the Raspberry Pi hat version and is compatible with several devices. The various waveshare modules appear to use the same basic c...

Using Video Wall LED Panels

Image
 Some followup information on a recent discussion... Chinese made video wall LED matrix panels is a well established industry, while being replaced in some cases by new large scale Organic LED and Micro LED panels, the traditional LED Matrix Panels still have their place. Here is the 64x32 (2048) LED Panel recently demonstrated, that may be purchased for $17.88 with free shipping.     https://www.aliexpress.com/item/32902068286.html Using the industry standard HUB-75 interface and a 16/1 scan ( only 1/16 of the LED rows are on at any time) 1/5 to 1/32 scans are commonly used, with brighter, outdoor panels using lower scan divisions. When used in large video walls these 4mm resolution panels are rated to consume about 500W per sq meter under typical conditions and up to 1200 Watts when displaying solid white (all LEDs on) this is something to consider before setting up a giant home video screen. Here's an example of a flexible panel, costing about twice...

Whacky LED Applications

Image
Some odd LED based product offerings Infinity Mirror Dress offered for $1800 on Etsy LED Nightclub Eye Lashes $6.99  @ Amazon  Motion sensor in controler worn on head effects lights. Hair Growth Hat with 272 Lazer Diodes -  $2,999 capilluspro (There are cheaper models with fewer lazers for the less "faithful") Persistence of vision displays Cleverly engineered, this technique makes the most of a relatively small number of LEDs, most commonly seen in sl called "Holographic LED Projectors" that show floating sneakers in malls and "Poy Sticks" spun on a rope by artists to make pretty patterns in place of the original flame pot. A fun concept, imagine an alternate universe where engineering innovation stopped before developing raster scan or LCD style displays, where they may still be watching electro-mechanical TVs, like this 1928 toy for the wealthy using a slotted spinning disk. .    ...

Kendryte IoT AI processor summary

Image
Kendryte K210 dual Risk-V, 400 Mhz core IoT AI processor KPU, a general-purpose neural network processor, inference engine with built-in convolution, batch normalization, activation, and pooling operations. 230 Gops, 84 GB/S @ 400 Mhs Overclocked up to 800MHz (0.5 Tops), for object recognition @ 60fps with VGA res. (Reported to have impractival overheating) APU handles up to 8 digital mic inputs at high data rates, Hardware FFT for audio processing: Cooley–Tukey_FFT_algorithm, up to 512 points radix-2 decimation-in-time (DIT) 8 gig RAM (2 gigs dedicatd to KPU), 16 gig Flash * Tensorflow (lite), (tiny) Yolo2, Mobilenet-v1, OpenMV (no kpu) Micropython preinstalled Demos running NES, Quake, Doom games MicroPython, Arduino IDE, Windows, Ubunto tool chains and standalone development environments Some sort of benchmark comparison from this lecture slide-show https://de.slideshare.net/inovex/ai-auf-edgegerten ...