App note: Dynamic siphon steals current from USB port

rsdio tipped us to an app note on USB-port power:

Very cool! This is like an audio ducking compressor for voiceovers, but for charging.

This circuit exploits all the power available from a USB port by dynamically adjusting the amount of current delivered to the load, thereby siphoning a relatively constant (and maximum) current from the USB port. Included are a current-sense amplifier (MAX4173), voltage reference (MAX6129), and precision op amp (MAX4238).

Android Arduino MIDI sequencer

Here’s a project from SuLuLab using an Android smartphone to send commands via WiFi to an Arduino board in order to control a MIDI sequencer. It uses the new Processing 1.5 which provides Android support.

SuLuLab writes:

The first application developed to study the new Processing mode is a graphical interface for the simple MIDI Sequencer, for an Android smartphone. This application creates a grid of 8×8 squares on the smartphone screen that become sensitive areas to set up (with a tap) and display (changing the colours) the notes to play in 8 steps. The state change of the squares in the grid is sent to Arduino (equipped with an Ethernet Shield and a MIDI Shield) by OSC messages.

Arduino receives OSC messages by the network, changes its internal representation of the state of the grid, sends notes to play to the MIDI interface and sends OSC messages to the smartphone to synchronize the time step in which the note is played with the squares on the screen.

ADIS16407: Ten degrees of freedom inertial sensor

Drone writes:  This is a single part MEMS 10-DOF IMU part that will ship around 15 July 2011. OK, here’s the catch: Unless I’m missing something obvious, it looks like this device costs $605 USD each in quantity 100-499 (no, I did not forget a decimal point). There’s an EV board, but Gawd only knows what that’s going to cost.

ADIS16407:  Ten Degrees of Freedom Inertial Sensor

Analog Devices, Inc. (ADI) released for general availability today the ADIS16407 iSensor IMU (inertial measurement unit) which integrates a tri-axis gyroscope, tri-axis accelerometer, tri-axis magnetometer and a pressure sensor into a single package.

Via the contact form.

Single-chip digital IR temperature sensor

Joe writes:  TI have announced a tiny (1.6mm sq), low power and low cost (~$2) IR temperature sensor

Enables contactless temperature measurement in portable and consumer electronic applications

Developed through TI’s expertise in MEMS technology, the TMP006 is the first of a new class of ultra-small, low power, and low cost passive infrared temperature sensors. It has 90% lower power consumption and is more than 95% smaller than existing solutions, making contactless temperature measurement possible in completely new markets and applications.

Thanks Joe! Via the contact form.


Update on Arduino imaging – Processing sketch + video


Earlier this week we posted about Carlos Agell’s project which allows the acquisition of analog camera images by an Arduino. Carlos has updated this project for use with a Processing sketch instead of the costly LabVIEW required in the original design.

Here’s the link to his compressed file containing the Arduino and Processing sketches, LabVIEW drivers, images and the hardware schematics.

Carlos via the contact form.

Processing 1.5 provides Android support

Processing version 1.5 is available for download.

In addition to support for traditional desktop/web development, this release also includes an Android development mode. This should make Android development easier than using the Android SDK. For everything you need to know to start developing in Processing for Android, see the their Android Wiki page.

OpenBench Logic Sniffer release 3.08

A new software package v3.08 is available for the Logic Sniffer:

OpenBench Logic Sniffer Release 3.08 is now available for download.

Release 3.08 includes Jawi’s 0.9.4 client with the following changes:

  • Numerous Bug Fixes
  • Support for multiple “Sump” clients

Via the forum.

Get a Logic Sniffer for $50, with free worldwide shipping.

Free PCB coupon via Facebook comments

Every Friday we give away some extra PCBs via Facebook. The first few people who comment on this at Facebook get a free PCB. More PCBs via Twitter on Tuesday and the blog every Sunday.

This week we’re giving away two PCB codes. Pick your own PCB from the free PCB drawer.

Don’t forget there’s free PCBs three times a every week:

  • Free PCB Sunday. The classic. Every week, right here on the blog
  • Tweet-a-PCB Tuesday. Follow us and get boards in 144 characters or less
  • Facebook PCB Friday. Free PCBs while you wait for the weekend

Continue reading “Free PCB coupon via Facebook comments”

Introduction to the Controller Area Network (CAN)

A controller area network (CAN) is ideally suited to the many high-level industrial protocols embracing CAN and ISO-11898:1993 as their physical layer. Its cost, performance, and upgradeability provide for tremendous flexibility in system design. This application report presents an introduction to the CAN fundamentals, operating principles, and the implementation of a basic CAN bus with TI’s CAN transceivers and DSPs. The electrical layer requirements of a CAN bus are discussed along with the importance of the different features of a TI CAN transceiver.

In this app note, Steve Corrigan of TI provides a primer on Controller Area Network (CAN) basics.

Week in (p)review: June 10, 2011

Facebook free PCB Friday is on the way. Don’t forget to share your current project in the comments or the forum.

Here’s a summary of major developments over the last week:

Coming this week:

  • LeafLabs Maple conference call, delayed due to site outage
  • 100% open source PIC USB stack is crazy stable. Look for a release ASAP
  • Seeed says Bus Pirate v3.5 will ship June 15th, current v3b stock are reserve inventory held for repairs
  • More updated release packages
  • Free PCB Sunday
  • Free PCBs via Twitter on Tuesday
  • Free PCBs via Facebook on Friday
  • Weekly roundup and preview every Friday

What are you hacking this week?

1-Wire protocol doomed?

A 1-Wire potentiometer was slated for the Bus Pirate demo board, but it’s been discontinued. The DS2890 is a simple 3pin through-hole device, but Maxim’s  recommended replacement is a 16 pin chip with a 2 wire interface.

We weren’t the first to be annoyed by the recommendation, check out this comment on the replacement part:

Where’s 1-wire heading? Every time a unique 1-wire product is discontinued, you are making the entire protocol less relevant. Mentioning a 2-wire potentiometer as alternative is an insult; there are hundreds of such devices from all manufacturers but they are useless in a 1-wire network.

Do Maxim have any faith in 1-wire?

What’s up with 1-wire?

WIFI web platform design review

As promised in the review of the Sure WiFi board , a new WIFI web platform/server design is up for review in the forum.

The purpose of this board is to control a digital DSLR camera through a webpage. The device is connected by a 802.11b network, allowing lots of freedom (when in range of the accesspoint). The connection to the camera is through USB (camera is the USB slave, the board the USB host). Another goal is to make the board as small as possible/usable.

The current board has the following features:

  • 96×16 oled display (to display the Accesspoint, strength, usb status)
  • rgb led (for quick readout of the status without draining the battery much)
  • 5 button input (4 arrows and an action button)
  • LiPo charger circuit (can be charged by usb)
  • pic 24fj256gb106 (the same as BPv4)
  • MRF24WB0MA SPI wifi module
  • large SPI ROM for storing webpages.

It is just a draft of the board, perhaps some features will disappear and some other will appear. Please check it out and give us some comments.

Tiny CPU: testbed for CPLD-based processors

Tiny CPU uses an Altera CPLD to emulate a simple processor. Also included on the board: flash ROM, keyboard input, JTAG header, and more.

Tiny CPU is a custom “small CPU” design intended for implementation in a CPLD. Such soft CPU cores typically target an FPGA or large CPLD, but the target device for Tiny CPU is the Altera EPM7128, which has just 128 macrocells. This constrains the CPU to a minimal set of features in order to fit. It is an 8-bit CPU with only two registers, and a 10-bit address space. The instruction set is a subset of the 6502 instruction set, with modifications to reflect the smaller address space and number of registers.