ALTAIR 8800micro Build

9 Jul

ALTAIR 8800micro kit from Briel Computers

IMG_0040IMG_0041IMG_0042IMG_0044IMG_0045IMG_0046IMG_0047IMG_0048IMG_0049IMG_0050IMG_0051IMG_0052IMG_0068

Setting up the Airspy R2

4 Jun

Add udev Rules
sudo vi /etc/udev/rules.d/99-airspy.rules

SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="60a1", MODE:="0666"

sudo udevadm control --reload-rules

CMakeLists.txt for dial_tone.cc

30 May

If you want to compile dial_tone.cc outside of either the GR source tree or OOT module, this is the minimum required CMakeLists.txt (courtesy of Johnathan Corgan)

https://github.com/gnuradio/gnuradio/blob/64a702e19d1e8e1b948e6ef76e98dff41837bb92/gr-audio/examples/c%2B%2B/dial_tone.cc


cmake_minimum_required(VERSION 2.6)
project(dialtone CXX)

find_package(Boost "1.35" COMPONENTS system)
set(GR_REQUIRED_COMPONENTS RUNTIME ANALOG AUDIO)
find_package(Gnuradio "3.7.2" REQUIRED)

include_directories(${GNURADIO_ALL_INCLUDE_DIRS})

add_executable(dialtone dial_tone.cc)
target_link_libraries(dialtone ${Boost_LIBRARIES} ${GNURADIO_ALL_LIBRARIES})

Setting up the Ettus USRP E310

29 Jun

Add udev Rules for E310 Serial Console
sudo vi /etc/udev/rules.d/99-usrp-e310.rules

SUBSYSTEMS=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6015", MODE:="0666"

sudo udevadm control --reload-rules

Serial Console Login
Plug in power and wait a few seconds for E310 to boot, then plug in microUSB.

dmesg to figure out the assigned serial port (i.e. /dev/ttyUSB4)

screen /dev/ttyUSB4 115200

Login as root

Setting Static IP
vi /etc/network/interfaces

# Wired or wireless interfaces
auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.1.14
netmask 255.255.255.0
gateway 192.168.1.1
iface eth1 inet dhcp

/etc/init.d/networking stop
/etc/init.d/networking stop

GQRX Tips

21 Dec

Pulse Audio
Prior to installation of gqrx make sure pulseaudio is available during build by installing the following:
pavucontrol
pavumeter
pulseaudio-libs-devel

Install gqrx
git clone https://github.com/csete/gqrx.git
cd gqrx
mkdir build
cd build
qmake ..
make -j8
sudo make install

Typical device strings
For the b200:
uhd,type=b200,nchan=1

For the X310 with LFRX in slot 2:
uhd,addr=192.168.40.2,subdev=B:A,nchan=1

For the X310 with WBX in slot 1:
uhd,addr=192.168.40.2,nchan=1

For the N210 with LFRX:
uhd,addr=192.168.1.13,subdev=A:A,nchan=1

When switching between devices in gqrx the gain control changes will segfault the application.  Fix this by deleting the “gains” section in:
~/.config/gqrx/default.conf

Sending gqrx audio to fldigi
Install fldigi with yum

Configure fldigi sound card to use pulseaudio, leaving server string empty

Launch pulseaudio volume control, and under recording tab, fldigi capture from monitor of built-in audio analog stereo, and set level to 0 dB.

Adjust fldigi waterfall upper signal level and signal range.

Adding new systems to Hyperspin

28 Nov

This example will add Colecovision.

Edit this file:

E:\HyperSpin\Databases\Main Menu\Main Menu.xml

To add a system entry:

<game name="Colecovision"/>

 

Create a new ini file by copying an existing one (such as Atari 5200.ini):

E:\HyperSpin\Settings\Colecovision.ini

 

Launch:

E:\HyperSpin\HyperSync Cloud\HyperSync Loader.exe

Add ColecoVision, set all to Default, and sync database.

 

Launch:

E:\HyperSpin\HyperLaunch\HyperLaunchHQ\HyperLaunchHQ.exe

Select GLOBAL system and click Emulators tab.

Select MESS and change path to:

E:\HyperSpin\Emulators\MESS\mess64.exe

Click Settings tab and change 7z Enabled to True and Extract Path to:

E:\7z_temp

Select Colecovision system and click Emulators tab.

Set Rom Paths to:

E:\HyperSpin\HyperSpin_Ready\Cart Systems\Coleco - ColecoVision

Set Default Emulator to MESS

 

Launch:

E:\HyperSpin\HyperLaunch\HyperLaunch.exe

and test a game to be sure it launches.

Setting up NI GPIB-USB-HS under Linux

26 Jul

Mostly stolen from: http://www.cl.cam.ac.uk/~osc22/tutorials/gpib_usb_linux.html

Note unlike the ni_usb_b, this is the ni_usb_hs so no firmware has to be loaded at boot, thus gpib_config can be called directly.

Get latest source code
http://linux-gpib.sourceforge.net/

Typical build in /usr/local/src with
./configure
make
sudo make install

Edit configuration
sudo vi /etc/gpib.conf

board_type = "ni_usb_b"
name = "gpib0"

Add udev rules
sudo vi /etc/udev/rules.d/99-linux_gpib_ni_usb.rules

SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="3923", ATTR{idProduct}=="709b", MODE="660", GROUP="username", SYMLINK+="usb_gpib"
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", ATTR{idVendor}=="3923", ATTR{idProduct}=="709b", RUN+="/usr/local/sbin/gpib_config"
KERNEL=="gpib[0-9]*", ACTION=="add", MODE="660", GROUP="username"

sudo udevadm control –reload-rules

Note udev will not run the gpib_config at boot, so add it in rc.local
sudo vi /etc/rc.d/rc.local

#!/bin/sh
/usr/local/sbin/gpib_config
exit 0

sudo chmod +x /etc/rc.d/rc.local
sudo systemctl enable rc-local.service
systemctl status rc-local.service

Tests
Now plug in the adapter and run ibtest
Reboot and run ibtest