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

post

TinyLCD 35 from Tinylcd NeoSec

I bought a tiny 3.5 ”  lcd touchscreen from NeoSec Solutions Pvt, Ltd, based in Mumbai, India. Not as a desktop replacement but for projects where a small touchscreen will be handy.
Not recommended. I learned there is a newer version with a working RTC, so this is now a not-supported old version.
No forum support, no information on IC’s used, limited documentation.
Just too high a price for this. Better look at an Adafruit solution in the same price range, but with excellent support and better community support also.
Read More

post

Arduino 1.6.x for Raspberry PI Jessie

ArduinoAPP-01

Edit May 17 2016: Official support now: https://www.arduino.cc/en/Main/Software , still marked experimental

Edit march 22 2016: Have a look at https://github.com/arduino/Arduino/pull/4517 There is official support coming for ARM!

Old text follows, not uptodate:

This is a current build of the latest IDE for ARM, runs on RPi2 and RPi3 as reported, http://downloads.arduino.cc/javaide/pul … arm.tar.xz

I found a recipe to install Arduino IDE 1.6.0 on the Pi. Still not the latest, but much newer than 1.0.5 you get from the repositories. This is a fast process!

And on the Raspberry Pi forums a recipe for 1.6.5. Much slower to install, but it brings IDE 1.6.5 (which I need for the ATTiny85 and Micro pro!

Read More