AtPack: Atmel Pack parser, visualizer and fuse calculator

AtPack

 

AtPack – Atmel Pack parser, visualizer and fuse calculator from Vagrearg:

Looking for an up-to-date fuse-calculator for the Atmel(*) AVR chips has been something of a long search. There are several online versions, but they have not been updated to the new chips (like the ATmega328PB).
When you have got an itch, you simply scratch it… Don’t you?
Well, I did, and it resulted in an analysis of the Atmel Pack format, which can be freely downloaded under an Apache 2.0 license. The AtPacks contain a master XML file with device lists and links to each device’s XML file, which in turn describes the entire chip. The format is not that hard to understand and can be easily mangled into something useful. Then, some crude jQuery hacking and many hours later… you know how that works.

Code is at GitHub and there is an online version.

Via Vagrearg.

from Dangerous Prototypes https://ift.tt/2J5JTf4

#FreePCB via Twitter to 2 random RTs

IRToy-600x369

Every Tuesday we give away two coupons for the free PCB drawer via Twitter. This post was announced on Twitter, and in 24 hours we’ll send coupon codes to two random retweeters. Don’t forget there’s free PCBs three times a every week:

  • Hate Twitter and Facebook? Free PCB Sunday is the classic PCB giveaway. Catch it every Sunday, right here on the blog
  • Tweet-a-PCB Tuesday. Follow us and get boards in 144 characters or less
  • Facebook PCB Friday. Free PCBs will be your friend for the weekend

Some stuff:

  • Yes, we’ll mail it anywhere in the world!
  • Check out how we mail PCBs worldwide video.
  • We’ll contact you via Twitter with a coupon code for the PCB drawer.
  • Limit one PCB per address per month please.
  • Like everything else on this site, PCBs are offered without warranty.

We try to stagger free PCB posts so every time zone has a chance to participate, but the best way to see it first is to subscribe to the RSS feed, follow us on Twitter, or like us on Facebook.

from Dangerous Prototypes https://ift.tt/2JVpTNx

Breakout boards from Taobao are a mess

cover

For the last few days I’ve been playing with breakout boards purchased from Taobao. So far it’s been a nightmare.

GY-271 is advertised as a Honeywell HMC5883L 3 axis digital compass. A Bus Pirate address search turned up 0x1A and 0x1B, instead of the HMC5883L’s 0x3C and 0x3D. The chip is actually a “Q”MC5883L, a Chinese-made digital compass with similar features that is not register compatible.

The datasheet for the QMC5883L shows the chip markings as “DA5833”. These markings are visible in nearly every Taobao listing claiming to be a HMC5883L breakout boards. Honeywell’s datasheet doesn’t include chip markings, shame on them.

GY-273 is another HMC5883L breakout board all over Taobao. About half of these are clearly the “Q” type chip. The other half show the Honeywell chip, at least in the photo. After talking with a quasi-trusted vendor I ordered what are supposed to be actual HMC5883L breakouts.

GY-213 is a breakout board sold with a variety of temperature and humidity sensors, including SI701, SHT21, etc. The same color/size/pinout/layout PCB is available from tons of Taobao shops. I ordered a SHT21 version from Youxin, a trusted supplier. The chip appears to be genuine, not the Chinese-made HTU21D, but it seems to be defective in at least two ways.

SHT21

Reading out the configuration register shows 0x3A=00111010, but the power up default should be 000xxx01. At power up the on-chip heater is enabled, which is used for testing and diagnosis. “OTP Reload” is enabled, which is specifically “not recommended for use” by the datasheet.

After setting the correct configuration it was time for further disappointment. Humidity measurement is always around 0xF66A. 114.3% humidity seems unrealistic, even for Shenzhen in the spring.

from Dangerous Prototypes https://ift.tt/2vjTAVj

Lipo charge/boost/protect board in 18650 cell holder format

img_20180404_111351_hdr-02-600

Peter6960 published a new build:

So couple months ago, GreatScott made a video where he designed a circuit. Nothing too innovative, just the same TP4056 charger the MT3608 Boost combined on one PCB. He did add a Lipo protection circuit though, initially using the same DW01. But then, the Aha moment from this video, he found a footprint compatible IC the FS312F-G – which is set at 2.9v! Way healthier for your cell’s longevity!
First of all I had to redraw all his work in Eagle (As I wont be using a cloud based service like EasyEDA for obvious reasons) and then order the PCBs. I added two boost circuits since I had the board space, as I can imagine needing dual voltages at some point (for example if that reverse LCD needed 12v and the Pi needed 5v – i could run both off one board.

Project info at OpenHardware.co.za.

from Dangerous Prototypes https://ift.tt/2qzvUaU

Free PCB Sunday: Pick your PCB

BP-600x373

We go through a lot of prototype PCBs, and end up with lots of extras that we’ll never use. Every Sunday we give away a few PCBs from one of our past or future projects, or a related prototype. Our PCBs are made through Seeed Studio’s Fusion board service. This week two random commenters will get a coupon code for the free PCB drawer tomorrow morning. Pick your own PCB. You get unlimited free PCBs now – finish one and we’ll send you another! Don’t forget there’s free PCBs three times every week:

Some stuff:

  • Yes, we’ll mail it anywhere in the world!
  • Be sure to use a real e-mail in the address field so we can contact you with the coupon.
  • Limit one PCB per address per month please.
  • Like everything else on this site, PCBs are offered without warranty.
  • PCBs are scrap and have no value, due to limited supply it is not possible to replace a board lost in the post

Be the first to comment, subscribe to the RSS feed.

from Dangerous Prototypes https://ift.tt/2EOr2Tp

App note: Preventing LED failures caused by corrosive material

an_osram_LED_chem_compatibility

Chemical compatibility of LEDs application note from OSRAM. Link here (PDF)

The performance and stability of light emitting diodes (LEDs) may be influenced by various chemical incompatibilities arising from chemicals and materials used, amongst other things, in luminaire construction, or by gases in the proximate environment of LEDs during field operation. Nevertheless, LEDs have to fulfill a wide range of customer needs and requirements in indoor and outdoor applications.

This application note provides information about the chemical compatibility of certain substances with LEDs, particularly with regard to some of their basic components. In this context, the main mechanisms of chemical incompatibility are illustrated using examples of blue and white LEDs.

from Dangerous Prototypes https://ift.tt/2H0ok39

Free PCB coupon via Facebook to 2 random commenters

BP

Every Friday we give away some extra PCBs via Facebook. This post was announced on Facebook, and on Monday we’ll send coupon codes to two random commenters. The coupon code usually go to Facebook ‘Other’ Messages Folder . More PCBs via Twitter on Tuesday and the blog every Sunday. Don’t forget there’s free PCBs three times every week:

Some stuff:

  • Yes, we’ll mail it anywhere in the world!
  • We’ll contact you via Facebook with a coupon code for the PCB drawer.
  • Limit one PCB per address per month, please.
  • Like everything else on this site, PCBs are offered without warranty.

We try to stagger free PCB posts so every time zone has a chance to participate, but the best way to see it first is to subscribe to the RSS feed, follow us on Twitter, or like us on Facebook.

from Dangerous Prototypes https://ift.tt/2IVfIHM

DIY Boostbox hand crank generator project

DIYBoostBoxV2-600

A DIY hand crank Boostbox by lasersaber at LaserHacker:

This easy to make box uses no batteries but can still power a lot of stuff.  It really is a very versatile little BoostPack based device.  It would be the perfect thing to have on hand in times of emergency.

Project info at LaserHacker project page.

Check out the video after the break.

from Dangerous Prototypes https://ift.tt/2EHdmcO

Building a giant USB three key mechanical keyboard

DSC00638-600

Glen Akins shares his latest build the giant three key USB keyboard:

After seeing this giant mechanical keyboard at Adafruit, I decided I had to build my own. Adafruit made theirs out of wood and used one of their Python-compatible microcontroller boards. I wanted a sloped top on my keyboard. I also wanted to check out what was new with Microchip’s USB device stack. I decided to build my keyboard out of aluminum and use a PIC18 microcontroller.

See the full post on his blog here, Photons, Electrons, and Dirt.

from Dangerous Prototypes https://ift.tt/2Htyu9o