Advertisements

Power Manager: Soft Power Control of USB and Low Voltage Devices

One frustrating aspect of firmware or kernel development on commodity hardware, such as cheap evaluation board or production devices, is the necessity of power-cycling the target device to reboot it every time the developer needs to load and run a new software build.

It sometimes happens that a development board is designed with proper management electronics to ease software development or automated testing, but in most cases the developer has reset the board manually, and sadly quite often reset buttons are unaccessible or just non-existent, requiring the developer to unplug and replug the power cable. If this ends up in your workflow and at the end of the day your fingers hurt, something is wrong.

This project is a small AVR/V-USB based board to control the power supply of development boards and other low voltage and USB powered devices. It allows to program a sequence of events for the output ports, has LED indicators for port status, and additionally provides power measurement on both USB and main power channels, and uses a bootloader for easy firmware upgrade… All in a solid and funny looking Hammond blue box!


https://fabiobaltieri.files.wordpress.com/2013/03/pm-intro1.jpg


https://fabiobaltieri.files.wordpress.com/2013/03/pm-intro2.jpg

Read more of this post

Advertisements

HP Wi-Fi Direct Mouse Teardown

Wi-Fi Direct (also known as Wi-Fi P2P) is an extension of the 802.11 stack, allowing compliant devices to communicate directly, without requiring their disconnection from the main access point. The technology re-uses many existing standards and can be seen as the capability of a wireless device to have multiple logical interfaces in different modes, including some in master/softAP mode with WPS.

Wi-Fi Direct attracted the interest of gadget device makers, as it allows to re-use existing network cards to connect external devices wirelessly and without the need for an additional dongle.

One of the first device to appear on the market is the HP Wi-Fi Direct Mouse… Want to see what makes it tick? Keep reading!


https://fabiobaltieri.files.wordpress.com/2013/01/hp-wifi-ghost.jpg

Read more of this post

Eagle Library for Hammond 1551 Boxes

Hammond Mfg is an American company who makes many different product boxes, mostly famous for their aluminum “Stomp Box” series, widely used for both DIY and commercial guitar effects units.

Browsing through the company’s products, you can find a whole range of small translucent plastic boxes that are really well suited for small electronic PCBs, and can give a good product-ish look to any hobby project.

In this post you’ll find some hints for designing PCBs for Hammond boxes, and an Eagle library with PCB outlines for some of them.

https://fabiobaltieri.files.wordpress.com/2012/11/hammond-intro1.jpg
Read more of this post

USB Current Meter

…or USB power meter?
…or USB KEY AVR Tiny split core interface?

Call it however you want, this project is a small USB key sized circuit to interface an USB system with a single split core current sensor using an ATtiny85.

These non-invasive sensors are widely available on eBay and similar for a reasonable price (around USD$ 30 for the one I used) and let you measure the current flowing through an alternate voltage line, like house mains. This can be used to get a gross measure of instantaneous power consumption, allowing you to make a graph out of it and plot your power usage profile, or just to check how much power a device is using.

https://fabiobaltieri.files.wordpress.com/2012/09/power-head.jpg

A friend of mine is using this one side-by-side with its photovoltaic inverter to upload his data on pvoutput.org, a nice website for photovoltaic plant monitoring.

This also shows a rectifier circuit to acquire data from an alternate voltage source without dual power rails.

Read more of this post

DIY Cheap Internal WiFi Antenna

Some time ago I put my hand on a couple of broken Axis network cameras which were about to be trashed. These cute small devices have an image sensor with a plastic lens, a wired and a WiFi interface to connect to an external network, and many other nasty features.

The cameras had a busted Marvell power supply, which probably broke ahead of time because of the high working temperature, and once replaced with an LD1117 (I know, not the best of choices…) they were as good as new.

The one thing I did not like about these cameras was the cheap WiFi antenna, which is mounted far away from the casing and gives an old bulky feeling to the device.

https://fabiobaltieri.files.wordpress.com/2012/06/diy-antenna-intro.jpg

This post is a tutorial on how to build an internal WiFi antenna to modify this kind of devices!

Read more of this post

2.4 GHz Inverted F Antenna Eagle Library

ISM radios for microcontroller are becoming quite popular in last years, and if you are designing with wireless radios you have a wide choice of transceiver in both sub-gigahertz an 2.4 GHz bandwidth.

If you choose to go for 2.4 GHz, you’ll have the benefits of a wide choice of radios, relaxed constraints in protocol design and a small size antenna.

Focusing on the antenna, 2.4 GHz radios usually have a differential output which have to be adapted to a 50 Ohm single-ended signal suitable for Wi-Fi antennas, which can be connected to the radio using an RP-SMA connector or directly embedded into the PCB.

This post shows a printed antenna design, kindly provided by TI/Chipcon, suitable for 2.4 GHz ISM radios. You’ll also find a link for an Eagle library with some tuning variant.

https://fabiobaltieri.files.wordpress.com/2012/05/ifa.jpg Read more of this post

AVR Watch

Following the trend of doing things just-for-fun, this is a wrist watch using an AVR microcontroller and 7-segment display!

Features:

  • Open firmware and hardware design files
  • AVR and V-USB based
  • Uses SMD 7-segment display – retro look!
  • Integrated USB Maxim battery charger
  • Shows how to scan-drive 7-segment displays without external components

Drawbacks:

  • Short battery life (less than one week with a 100mAh LiPo battery)
  • Tricky to hand solder (if you don’t have an hot air station)
  • Makes people thinks you are crazy (I should put this one on “features”…)
  • Looks like a small time-bomb, I would not wear it while in an airport

https://fabiobaltieri.files.wordpress.com/2012/04/avr-watch-wrist.jpg

As most of my design, I made this one because I had some 7-segment display laying around and I wanted to build something with those (that’s also why I don’t have a project BOM). Also, I like the idea of having a DIY watch which looks like a lab power supply (it also displays battery level in Volts).

Read more of this post