Quoi de neuf 2015

From Eric

(Difference between revisions)
Jump to: navigation, search
m
m
Line 21: Line 21:
Here is the result.  
Here is the result.  
-
 
+
[[File:hot-air-soldered-atmega128.jpg|400px|thumb|none]]
It took me more time than when I use my soldering iron but the result is nicer.
It took me more time than when I use my soldering iron but the result is nicer.

Revision as of 19:23, 6 February 2016

Experiments carried out in the past (from 2011) are described hereafter:

"Quoi de neuf" means "What's new"...

For 2015, everything is described below...

Contents

February 2016

  • I have bought a cheap frequency generator (Feeltech FY3200S) and a hot-air soldering station (Aoyue int 852):
Feeltechfy3200s.jpg
Aoyue852.jpg
  • I have managed to solder a 0.8 TQFP64 chip (an Atmega 128) using hot air. The result is pretty nice event though I had to remove 4 bridges. This success came after a first trial (with the same type of chip) which ended badly: one dead Atmega and a lost TQFP adapter.
  • The key was:
    • to solder at 350°C (I guess that slightly less would also work)
    • to place the chip on the board, stick it with some Kapton tape,
    • to put as little as possible soldering paste (after the ship was in place, otherwise I guess that some non molten solder would be kept behing the pins (it could possibly be remove afterwards using alcohol or aceton))
    • to use a medium nozzle (i.e., not the smallest)

Here is the result.

Hot-air-soldered-atmega128.jpg

It took me more time than when I use my soldering iron but the result is nicer.


January 2016

  • After watching this very interesting video about the Gilbert cell, I have built the following mixer (the schematics comes from the video)
    Gilbert-cell.jpg
    Gilbert-cell-ltspice.jpg
  • As I have used non matched transistors, the mixing is not as symetric as it should be !
    Gilbert-cell-mixing.jpg
    Gilbert-cell-mixing-ltspice-output.jpg

December 2015

  • I have managed to build a Linux kernel for my ZTurn Zynq board. The current status of the operations is given here.
  • Playing with the RPi GPIOs, SPI and CAN: I have managed to drive a MCP2515 CAN controler (through SPI). My RPI is now able to communicate with its Arduino cousins via CAN. It is worth noting that everything can be done in user space, including handling interrupts (thanks to sysfs and poll(2) system call).
    Raspcan-1.jpg
  • Beware of electrical levels: the CAN controler is 5V while the RPI is 3.3. I have built a 3.3<=>5v converter using a few BSS138 and >10K resistors (search for "AN10441 Level shifting techniques in I2C-bus" by NXP.com or Adafruit's level shifter). The schema is the following:
    Level shifter.jpg
    . Soldering SMT's is not that difficult but the result looks terrible.
    Raspcan-2.jpg
    • Connector P1:
      Rpi-p1.jpg
    • The P1 breakout board has the following pinout:
      Rpi-cobbler.jpg
      Rpi-cobbler-pinout.jpg
    • Activating the SPI is achieved using
 sudo raspi-config
  • and (possibly) removing the spi_bcm2708 from the blacklist (comment out the corresponding line):
 sudo nano /etc/modprobe.d/raspi-blacklist.conf
  • GPIO lines can be accessed from a shell script. For instance, switching ON/OFF GPIO4 is achieved as follows:
 cd /sys/class/gpio 
 echo 04 > export
 cd gpio4
 echo out > direction
 echo 1 > value
 echo 0 > value


November 2015

October 2015

September 2015

August 2015

July 2015

Playing with buildroot and my Raspberry Pi...

June 2015

Nothing.

May 2015

Nothing.

April 2015

No time to do anything about "real electronics".

A few things, anyway:

  • I have bought a new RPI 2, installed opencv on it and done a few experiments about line following using Canny and Hough. The idea is to be able to run some benchmark to compare performances of the PI with respect to a Zynq.
  • About the Zynq... I have also bought a Zynk board at MyIR. A nice little thingie comes with 1GiO of SDRAM, a Zynq XC7Z020 and many devices (Ethernet, Usb, a buzzer, a CAN adapter, etc.). The board comes with Ubuntu pre-installed. My objective is to run some hard/soft combination at bare metal level. Hopefully, I have found a nice tutorial here.

Building an application on the Zynq is quite complicated since you have to generate the configuration of the FPGA (the bitstream), a FSBL, a specific BSP, your application... to end up with the "boot.bin" file that is loaded by the board. Hopefully, Xilinx' Vivado hide most of the details. It is nice as long as it works...

  • I have done a few experiments using SystemC and SystemC AMS (the analog part). You would certainly not replace Spice by SystemC AMS, but SystemC TLM + SystemC + SystemC AMS makes it possible to model and simulate a complete system at different levels of abstraction / models of computation.

March 2015

(see above)

February 2015

(see above)

January 2015

  • 10/01/2015
    • I have started a small experiment with sound synthesis chips. Right now, I have hooked a YM2612 to an Atmega. My objective is to be able to read and play VGM files.
    • To familiarize myself with VGM, I am writing a small VGM parser in Python.
    • There are quite a large number of sound synthesis chips: SN76482, the Yamaha family (YM2608, YM2612, YM2149, YMF262, etc.), the AY-3-8912, etc. Wikipedia has a very good set of articles about those sound chips.
Personal tools