User Tools

Site Tools


fluksousbboard

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

fluksousbboard [2011/01/12 10:34]
gonium
fluksousbboard [2012/10/30 10:27] (current)
Line 1: Line 1:
 +The Flukso USB development board is a small PCB, intended for development work. It reproduces all features of the Flukso sensor board, but has an FTDI USB-serial chip. It can be connected to any USB port. 
 +
 +If you want to use a current clamp with the board: We use an [[http://www.hqsensing.com/split-core-ctd.html|J&D Electronics Split Core Transducer (50 A - 0-5V), Model no. JC10F50-V]].
 +
 {{:img_1437-small.jpg|Flukso USB development board}} {{:img_1437-small.jpg|Flukso USB development board}}
  
-The Flukso USB development board is a small PCB, intended for development work. It reproduces all features of the Flukso sensor board, but has an FTDI USB-serial chip. It can be connected to any USB port. The software port and hardware reference is on github: [[https://github.com/comsound/flukso]]. You can clone a local copy of the repository using+The software port and hardware reference is on github: [[https://github.com/comsound/flukso]]. You can clone a local copy of the repository using
  
   git clone https://github.com/comsound/flukso.git   git clone https://github.com/comsound/flukso.git
Line 22: Line 26:
 Please be careful regarding the orientation of the LEDs, the GND side is on the left in the picture above. [[http://forum.miniatur-wunderland.de/elektronik-co--f13/smd-leds-loeten-gt-ein-kleines-how-to-mit-bildern-t8218.html|See also.]] Please be careful regarding the orientation of the LEDs, the GND side is on the left in the picture above. [[http://forum.miniatur-wunderland.de/elektronik-co--f13/smd-leds-loeten-gt-ein-kleines-how-to-mit-bildern-t8218.html|See also.]]
  
-A highres image for your reference: (yes, I know, there is an LED missing in action.)+A highres image for your reference: (yes, I know, the yellow LED is missing in action.) 
 {{:flukso-highres-overview.png|}} {{:flukso-highres-overview.png|}}
  
 +====== Installing the firmware ======
 +
 +The repository contains a folder "software" with an adjusted version of the Flukso firmware for this board. Mainly, the clock speed has been changed and additional adjustments to accomodate the ATMega644, since the original Flukso sensor boards are using an ATMega48.
 +
 +The firmware can be built by typing "make". Please note that you might need to adjust the path to your AVR-GCC installation. The "make upload" target 
 +programs the ATMega, including setting the fuses (which needs to be done only once - the Makefile can be adjusted).
 +
 +I use an [[http://www.fischl.de/usbasp/|USBasp programmer]] which I highly recommend. Since the fuses are not set initially, you need to set the SCK jumper (or use avrdude's -B 3 option). I also power the board over the programmer during programming. Please note the orientation of the 6pin ISP header:
 +
 +{{:img_1439.jpg|}}
 +
 +If everything went well, you should be able to see something like this on a serial console (via the USB port):
 +
 +  $ screen /dev/cu.usbserial-A800ftEn 4800
 +  pwr 0123456789abcdef0123456789abcde0:0000000000
 +  pwr 0123456789abcdef0123456789abcde1:0000000000
 +  pwr 0123456789abcdef0123456789abcde0:0000000000
 +  pwr 0123456789abcdef0123456789abcde1:0000000000
 +
 +Each second, a new pair of lines should appear - even without an attached sensor.
 +
 +Congratulations, and happy hacking!
 +
 +
 +====== More hints ======
 +
 +What are the LEDs for?
 +  * red: operation
 +  * blue: tx for FTDI
 +  * yellow: rx for FTDI
 +  * green: signal an incoming S0 pluse or "writing to eeprom has finished" (see [[https://github.com/comsound/flukso/blob/master/software/main.c#L160|remark]] in source)
  
 +What inputs are there?
 +  * INPUT0: analog input for one split core transducer mentioned above
 +  * INPUT1: analog input for three split core transducers in series
 +  * INPUT2 + INPUT3 + INPUT4: S0 inputs
  
 +What about a case?
 +  * The board fits nice into a TEKO A2 case, cutouts for the conectors can be made by cutting two slots into the cover on each side, then the remaining metal is bend to the inner, leaving a stable structure.
fluksousbboard.1294824889.txt.gz · Last modified: 2012/10/30 10:43 (external edit)