Oberon version for the Raspberry Pi

(Found in the Oberon mailing list today!)

Josef Tampl has announced the availability of an Oberon version for the Raspberry Pi running 32-bit Raspbian.
You can download it from http://www.software-templ.com/shareware.html.

This version of Oberon is based on ofront 1.4, an Oberon-2 to C translator.
It comes with a set of command line tools and an integrated version based
on the Oberon V4 system.
Oberon modules can be compiled and linked into shared object libraries(.so) and loaded and unloaded
from within the Oberon system.

A complete Oberon interface for the popular ‘Wiring’ library (libwiring.so) is included.
This library can be used for convenient access to the Raspberry’s I/O hardware.

You may also want to download manual pages, additional fonts, and platform independent Oberon V4 source and resource files.
The Ofront source files as well as a makefile are hosted on Github.

Clean up Raspbian

Find out what takes up room

dpkg-query -Wf ‘${Installed-Size}\t${Package}\n’ | sort -nr | more
dpkg-query -Wf ‘${Installed-Size}\t${Package}\t${Priority}\n’ | egrep ‘\s(optional|extra)’ | cut -f 1,2 | sort -nr | less

Obvious candidates:

Wolfram
Libre Office
Mathematica
Minecraft

post

Another Raspi.tv kickstarter!

 

RasPiO Pro Hat is a small Raspberry Pi add-on which…

  • protects the Pi’s ports in case you make a wiring error
  • arranges the Pi’s ports in numerical order to make tinkering easier
  • works “out of the box” with GPIO Zero – the new easy-to-use Python library included in Raspbian
  • requires no soldering or assembly
  • requires no software installation
  • includes a 170pt mini-breadboard to build your circuits on
  • gives you direct access to the ports if you need it
  • requires no additional resistors for use with LEDS
  • will have RasPi.TV-style tutorial experiments suitable for beginners and experts alike

 

post

Network scanning: find your RPi

When using a Raspberry Pi in your network it is very convenient to let it use DHCP to assign IP addresses, Setting up with fixed IP can be a pain to configure and be sure to use an address out of the IP range used by your DHCP router!
Nearly all DHCP servers try to assign the same IP address to a network device, by remembering its Mac address. And since Bonjour is running on current Raspbians, you can access the RPi with <RPI name>.local

But when you run headless, and have no clue, easy to use tools are available:

On an Raspberry/Linux machine use nmap.

Install
$ sudo apt-get install nmap

Scan your network
sudo nmap -sP 192.168.0.0/24

On a Windows system: Install Advanced IP Scanner, startup and press the scan button

On Android install from the Playstore ezNEtscan and press the Scan button.

 

 

Low level graphics Raspberry Pi: framebuffer

http://raspberrycompote.blogspot.nl/2012/12/low-level-graphics-on-raspberry-pi-part_9509.html

Basic, get screen info

http://raspberrycompote.blogspot.nl/2013/01/low-level-graphics-on-raspberry-pi-part.html

PArt 2 goes into actually drawing

http://raspberrycompote.blogspot.nl/2013/01/low-level-graphics-on-raspberry-pi-part_22.html

The details of the mapped display memory

and so on

http://raspberrycompote.blogspot.nl/2013/04/low-level-graphics-on-raspberry-pi-part.html

All code here: https://github.com/rst-/raspberry-compote

post

Ralink wireless device MediaTek MT7601

A2681-C4

I bought on ebay a year ago several wireless adapters with a large external antenna. Good range, recognized by wheezy and jessie Raspbian.
The lsusb command showed me those were RT5370 IC based Ralink devices, with driver support in the 3.x and 4.x kernel.

Witht he growing amount of Raspberry Pi’s here I thought it was a good idea to buy some more, and the Ebay adverts showed the identical looking device:

Mini 150Mbps 802.11N/G/B USB 2.0 WiFi Antenna Wireless Network LAN Card Adapter, about Euro 3

After several weeks they arrived, and the first test in the Windows PC’s showed a working wireless interface. So far so good.

In a Raspberry Pi alas, no WLAN0 device showed up. Time to troubleshoot!

lsusb showed there was a new USB device:


$ lsusb

Bus 001 Device 005: ID 148f:7601 Ralink Technology, Corp.

$ lsmod

<no device driver shown for this device>

The older working Ralink adapter had a different usb output:


$  lsusb

Bus 001 Device 006: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter

$ lsmod

rt2800usb 17716 0

So we have a new device, it is the MediaTek MT7601. Quick search with the ID 148F:7601 revealed this is indeed a new device. And it is supported with firmware in Linux kernel 4.2, the Raspbian kernel is still 4.1 and is not so far yet.

But a helpful post in the raspberrypi.org forums by MrEngman pointed me to the (now deprecated for kernel 4.2) to this command to load the driver:


$ sudo wget https://github.com/porjo/mt7601u/blob/master/src/mcu/bin/MT7601.bin -O /lib/firmware/mt7601u.bin

$ reboot

$ lsmod

..

mt7601u 73787 0

..

and all was well again.

Note this is tested on jessie

$ uname -a
Linux raspberrypwhplus 4.1.15-v7+ #830 SMP Tue Dec 15 17:02:45 GMT 2015 armv7l GNU/Linux

If you want to rebuild the driver, from the Mediatek driver source without debug info, follow this recipe.

 

post

Raspberry Pi Zero Case

Inevitable, some weeks after the limited appearance of the Zero, cases are appearing on the market, First in the UK, where some had prerelease information and could grab the first profitable sales.

But now China has kicked in:

DX.com Euro 3.32 including postage.

Now some weeks to wait 😉

And it looks good! Even cheaper versions on AliExpress with the same quality. Recommended!

post

VONETS VAP11G-300

The VAP11G-300 is a unique device with a fixed ethernet to wireless bridge that helps in situations where:

  • You want a fixed ethernet connection, but none is available at the location.
  • Wireless is available, but the device either has no wireless capabilities.
  • A wireless capability can be added but to configure it, a working network connection is required.
  • USB ports are scarse.
  • Wireless USB adapters are too powerhungry.
  • You want two wireless devices to communicate without a wireless router available.

Read More

post

Freepascal and Lazarus installation on RPi

freepascal logo
A page describing how to get the latest Freepascal and Lazarus development systems on the Raspberry Pi in optimal format, targeted at ARMV6 (all Raspberri Pi’s) and ARMV7 (RPi 2).

Updated July 7th 2016, for current FPC/Lazarus/Raspbian versions.
Read More

post

Raspberry remote access

On this page I will show you how to access the Raspberry Pi in a Windows environment.

– Acces the home directory on the Pi with sftp.
– How to access Windows machines by name.
– access via PuTTY.
– access via Remote desktop client XRDP.
– Setting up a CIFS shared folder on the Raspberry Pi via Samba.
– Accessing a shared folder on the network via Samba
– Use Zeroconf/Bonjour to resolve names
Read More