Sudden voltage drop on MAX756

I got the MAX756 that I was waiting for from Futurlec. The idea was to implement the very same circuit that comes in the MAX756 datasheet. In my first try I got very strange results which I posted to ladyada forum hoping to get some advice on how to solve. Eventually I set up the circuit in another breadboard and got it working the way I expected or at least I thought so. ...

April 6, 2009

High speed USB in a embedded design

I’m looking at how to do a USRP clone. After evaluating a little bit the Altera Cyclone FPGA development/starter kits I realized that I would need an extra USB controller like the original USRP has. Right now, I’m trying to figure out how to use the Cypress FX2 CY7C68013, together with the FPGA. The USRP FAQ on FX2 CY7C68013 has proven quite helpful, also the Design of a hardware platform for narrow-band Software Defined Radio applications" by Kalen Watermeyer . ...

March 30, 2009

Arduino Mega released today

Arduino Mega was released today. I already ordered mine from lawicel. As stated in arduino mega page: It has 54 digital input/output pins (of which 14 can be used as PWM outputs), 16 analog inputs, 4 UARTs (hardware serial ports), a 16 MHz crystal oscillator, a USB connection, a power jack, an ICSP header, and a reset button. I definitely will use those additional USARTS. The lack of a second USART was the main drawback of previous Arduinos for me.

March 26, 2009

FPGAs, GNU Radio and alternatives

A couple of day ago, I stumbled on GNU Radio. I was looking around electrokit online shop searching for components and I saw a Cyclone III FPGA Starter Kit for 1599 SEK (2000 SEK including taxes) and I thought : “uhmm, I could put one of this to some use” I was thinking that maybe there was a way to implement ZibBee radio using one of these FPGAs. So I started searching google about FPGAs and radio and I found GNU Radio. ...

March 26, 2009

Arduino library for MMA7260Q (Tilt Sensor)

In the past days I published a couple of arduino libraries. All coming from by XBee sensor development. I’m still waiting for the MAX756 to arrive from Futurlec, I need the MAX756 to power the xbee sensor with batteries and mount it in its final position. So in the meanwhile I’m cleaning a little bit the code, moving thing to libraries, etc. Now it’s the turn of the MMA7260Q, (see other posts about MMA7260q) . I created an Arduino library to use MMA7260Q as a Tilt Sensor that does autozero calibration. ...

March 21, 2009

Arduino Library for Hmc6352

As part of my Xbee sensor project, I created an object oriented API to access HMC6352 compass functionality and I decided to make it downloadable as an Hmc6352 Arduino Library. Just unzip the file in the $arduino_home/hardware/libraries/. At the end you should end with $arduino_home/hardware/libraries/Hmc6352. The library includes an example on how to use it (in File ⇒ Sketchbook ⇒ Examples ⇒ Library-Hmc6352 ⇒ Hmc6352. The example looks like this (also available as gist): ...

March 19, 2009

DS1620 temperature sensor library for Arduino

I talked about the DS1620 in a previous post. Now I created a DS1620 library for Arduino that has a more object oriented interface. The library has to be unpacked in the $arduino_home/hardware/libraries directory. After unzipping the library you should end up with a $ARDUINO_HOME/hardware/libraries/ds1620 directory. The library contains an example that can be accessed through the File ⇒ Sketchbook ⇒ Examples ⇒ Library-ds1620 ⇒ ds1620. ...

March 18, 2009

Arduino XBee sensor (temperature, tilt, compass, and ambient light)

I finally put together an Arduino Pro Mini, the XBee, the MMA7260Q, the HMC6352, the TEMT6000 and the DS1620. This is how it looks like on the prototyping board (ugly, I know) Hopefully it would look better when I move it to the PCB. But before doing that I need to get the battery power set up. (I’m waiting for a MAX756 DC-DC voltage regulator and CoilCraft inductors to arrive) ...

March 17, 2009

Example of XBee API frames

Some examples of XBee API Frames. Modem status frame 7E 00 02 8A 06 6F 7E : API Frame 00 02 : Length 8A : Modem status 06 : Coordinator started 6F : checksum FF – ((8A +06) & FF) = 6F AT Command API Frame: MY 7e 00 04 08 52 4D 59 FF 7E : API Frame 00 02 : Length 08 : AT Command Frame id 52 : Frame id 4d 59 : MY (4d 59) (4d ⇒ M, 59 ⇒ Y) Get the 16-bit network address of the module. FF : checksum ff = ff – ((08+52+4d+59) & ff) AT Command Response: MY 7e 00 07 88 52 4d 59 00 00 00 7f 7E : API Frame 00 07 : Length 88 : AT Command Response API Identifier 52 : Frame id 4d 59 : MY (4d 59) (4d ⇒ M, 59 ⇒ Y) Get the 16-bit network address of the module. 00 : Status 0=OK 00 00 : MY value, 00 000 not set 7f : checksum ff = ff – ((08+52+4d+59) & ff) Explicit Addressing Zigbee Command Frame: 7E 00 1D 11 01 00 13 A2 00 40 3E 25 75 00 00 01 01 04 02 01 04 00 00 18 01 01 00 00 00 29 63 CE 9F 7E : Start frame 00 1D : Length (29 bytes) 11 : explicit addressing transmit 01 : Frame id 00 13 A2 00 40 3E 25 75 : 64 bit address 00 00 : 16 bit address 01 : source endpoint 01 : destination endpoint 04 02 : cluster id (temperature measurement cluster id/ Measurement and sensing functional domain) 01 04 : profile id (home automation profile) 00 : broadcast radius 00 : options 18 01 01 00 00 00 29 63 CE : payload 9F : checksum Let’s analyze the payload ...

March 12, 2009

Arduino popularity is on the rise

at least according to Google Trends

March 5, 2009