Go to advanced search

by heuristicjohn
Fri Aug 17, 2018 6:41 pm
Forum: HATs and other add-ons
Topic: Gertbot and i2c ?
Replies: 2
Views: 606

Re: Gertbot and i2c ?

Thanks for your comment. Looks as though all I need to do for a neat solution is interpose a prototyping board between the RPi and Gertbot, using a stacking header. This gives me access to all the I/O pins, including i2c. I was slightly concerned when I found the line PIN_I2C = 6 in the gertbot.py p...
by heuristicjohn
Thu Aug 16, 2018 4:05 pm
Forum: HATs and other add-ons
Topic: Gertbot and i2c ?
Replies: 2
Views: 606

Gertbot and i2c ?

Hello ! Query: is it possible to use the RPi i2c interface (pins 3 &5, GPIO2 & 3) when the Gertbot is installed ? The main problem is that these pins do not appear to be accessible on either board (short of soldering to the RPi pins !); also I suppose Gertbot may use them for other purposes. I am ru...
by heuristicjohn
Sun Mar 26, 2017 11:56 am
Forum: RISCOS
Topic: RISCOS and RPi B+
Replies: 12
Views: 6675

Re: RISCOS and RPi B+

Just in case anyone is interested, I find that the RISCOS version recommended elsewhere in this forum for the RPi Zero (link http://riscos.openpandora.org/Projekte/%20...%20I_Zero.zip , which allows download of version 2016-01-03-RC14_DST_Zero.zip, does in fact work on the later version RPi B+ cards...
by heuristicjohn
Sun Oct 16, 2016 10:26 am
Forum: RISCOS
Topic: RISCOS and RPi B+
Replies: 12
Views: 6675

Re: RISCOS and RPi B+

Many thanks for responses. As I see it, the RPi B+ looks like the best platform for running RISCOS, being the most advanced RPi board still using a single core CPU (all that RISCOS needs). So my main worry is that no one else has reported this problem... I have unearthed another RPi B+, so I now hav...
by heuristicjohn
Mon Oct 10, 2016 12:44 pm
Forum: RISCOS
Topic: RISCOS and RPi B+
Replies: 12
Views: 6675

Re: RISCOS and RPi B+

Quick update: just remembered I have an RPi 2B (embedded in PiDP8). This has Broadcom memory. This card runs the RC14 version of RISCOS with no problems. So how does the RISCOS SD card know which RPi card version it's on ? Baffling.
by heuristicjohn
Mon Oct 10, 2016 12:11 pm
Forum: RISCOS
Topic: RISCOS and RPi B+
Replies: 12
Views: 6675

Re: RISCOS and RPi B+

Thanks for your input. Now I know which is the memory chip ! May I confirm all three B+ cards work fine on Raspbian Jessie (PIXEL GUI). The bootcode.bin file on the latest RISCOS distribution (RC14) is dated 02/02/15 I tried replacing this with a bootcom.bin file (filched from Raspbian) dated 08/10/...
by heuristicjohn
Sun Oct 09, 2016 4:16 pm
Forum: RISCOS
Topic: RISCOS and RPi B+
Replies: 12
Views: 6675

RISCOS and RPi B+

I have three RPi B+ cards, presumably functionally identical, and I am trying to run RISCOS (v RD14, card supplied by RISCOS OPEN) on each one. I have no problem with the oldest RPi, but on power up the other two (purchased this year) give me the 8 green led flashes which signify 'card not recognise...
by heuristicjohn
Wed Sep 28, 2016 12:17 pm
Forum: RISCOS
Topic: No video output from RISC OS
Replies: 6
Views: 2665

Re: No video output from RISC OS

Thanks for your comments. I think I was using RISCOS RC12a (RISCOS screen Info says v5.21(25-Feb-14)); have updated this to ? RC14 (info says v5.21(17-Feb-15)). I found this would run on my RPi B, but not the B+. HOWEVER, I realised I had another RPi B+ embedded in a project, and when I substituted ...
by heuristicjohn
Tue Sep 27, 2016 10:20 am
Forum: RISCOS
Topic: No video output from RISC OS
Replies: 6
Views: 2665

Re: No video output from RISC OS

To clarify my previous post: I am using two different cards here: one loaded with RISCOS only, the other loaded with Raspbian Jessie only. Apologies for careless wording.
by heuristicjohn
Tue Sep 27, 2016 9:38 am
Forum: RISCOS
Topic: No video output from RISC OS
Replies: 6
Views: 2665

Re: No video output from RISC OS

I have a problem when running RISCOS (v 5.2.1 4-6-14) on a Raspberry Pi B+ , in that I get no HDMI output, when connected either to a standard 18" monitor or a 7" car-type LCD display. However, if I put the same SD card (via adaptor) into an RPi B, then the system boots up correctly on either monito...
by heuristicjohn
Sun May 08, 2016 11:58 am
Forum: RISCOS
Topic: RPi2 And RISC OS.
Replies: 5
Views: 3273

Re: RPi2 And RISC OS.

Excellent news that work is ongoing on RISCOS running on RPi 2. Next announcement eagerly awaited ! I have been trying to use the official 7" touchscreen on an RPi 2 under RISCOS. I didn't expect touchscreen support, but I did rather expect a picture; in fact the output always appears on the HDMI co...
by heuristicjohn
Wed Oct 07, 2015 9:55 am
Forum: HATs and other add-ons
Topic: Gertbot DCC in python
Replies: 1
Views: 1444

Re: Gertbot DCC in python

You have probably worked this out by now, but if not I would recommend downloading gertbot.py and test_drivers.py from the gertbot web site. The former contains all the driver routines you need, and the latter demonstrates how to use them. This approach worked for me.
by heuristicjohn
Wed Aug 19, 2015 7:37 pm
Forum: HATs and other add-ons
Topic: Gertbot as DCC Programmer?
Replies: 14
Views: 4534

Re: Gertbot as DCC Programmer?

Let's not be unkind to DCC ! I for one am grateful to Gert for providing this facility - it motivated me to build a basic N gauge layout which I can drive via RPi and Gertbot, with plenty of scope for future expansion. To my mind, DCC is a neat method for providing both power and one-way communicati...
by heuristicjohn
Fri Jul 31, 2015 8:57 pm
Forum: HATs and other add-ons
Topic: Gertbot as DCC Programmer?
Replies: 14
Views: 4534

Re: Gertbot as DCC Programmer?

The decoder is a Bachmann 36-552; I have in fact contacted Bachmann, who were very helpful, but unable to go into deep technical detail. However, I have come across a web site http://www.merg.org.uk (Model Railway Electronic Group) which is a mine of detailed information on every aspect of electroni...
by heuristicjohn
Sun Jul 26, 2015 4:01 pm
Forum: HATs and other add-ons
Topic: Gertbot as DCC Programmer?
Replies: 14
Views: 4534

Re: Gertbot as DCC Programmer?

Thanks for your reply. After some floundering, I have realised that I should use your python3 program test_drivers.py to send messages via gertbot.py to the gertbot board, and that altering the no_idle value in gertbot.py from 0 to 1 does indeed turn off the idle flags. However, with either value I ...
by heuristicjohn
Tue Jul 21, 2015 11:44 am
Forum: HATs and other add-ons
Topic: Gertbot as DCC Programmer?
Replies: 14
Views: 4534

Re: Gertbot as DCC Programmer?

I am currently successfully controlling a DCC train setup via Gertbot (Thanks, Gert !), but find I cannot program the decoder. I have read the previous posts (which mention the same problem), and am using the Gertbot GUI v2.6, to talk to a Bachmann 56-522 decoder, and monitoring the data on a Picosc...
by heuristicjohn
Thu Jan 01, 2015 9:29 pm
Forum: Automation, sensing and robotics
Topic: minimu9 installation problem
Replies: 4
Views: 1005

Re: minimu9 installation problem

Success ! I re-ran the installation program using sudo dpgg -I minimu9-ahrs_2.0.0-1_armhf.deb.1 and got the same error messages; then, as suggested, I entered sudo apt-get install --fix-missing , which prompted me to enter sudo apt-get -f install . After this I was up and running. Many thanks (and H...
by heuristicjohn
Wed Dec 31, 2014 10:27 pm
Forum: Automation, sensing and robotics
Topic: minimu9 installation problem
Replies: 4
Views: 1005

Re: minimu9 installation problem

hello Dirk - thanks for your interest When I entered the file command, I got an error message 'no such file or folder'. I repeated the download process: wget http://www.davidegrayson.com/minimu9-ahrs/debian/minimu9-ahrs_2.0.0-1_armht.deb Connecting to www.davidegrayson.com (www.davidegrayson.com)120...
by heuristicjohn
Wed Dec 31, 2014 6:49 pm
Forum: Automation, sensing and robotics
Topic: minimu9 installation problem
Replies: 4
Views: 1005

minimu9 installation problem

I have a minimu9 gyro/acc/mag connected via the i2c interface on a RPi B+. When I run i2cdetect I can see devices present on addresses 1D and 6B, as expected. Following the instructions on David Grayson's website, I used wget to download the debian software, and got the message " ' minimu9-ahrs_2.0....
by heuristicjohn
Sun Jul 06, 2014 5:00 pm
Forum: HATs and other add-ons
Topic: Humble Pie board problem
Replies: 3
Views: 1039

Humble Pie board problem

Has anyone else tried to use the Humble Pi interface board to pass on serial data ? I have three of these boards (v1.1), and on each of them the TX line (connector pin 8) is shorted down to 0V via a fault in the copper work. The fault can be corrected by (carefully) scraping away the offending coppe...
by heuristicjohn
Wed Jun 18, 2014 9:48 am
Forum: RISCOS
Topic: Interrupt servicing via BASIC ?
Replies: 21
Views: 5454

Re: Interrupt servicing via BASIC ?

Back again ... can anyone point me towards a listing of actual working code for handling interrupts under RISCOS ? I gave up working on this one a year ago, having got nowhere, and have not found any references since then. On the bare metal forum, there are references to interrupt handing, but I wou...
by heuristicjohn
Wed Dec 11, 2013 12:26 pm
Forum: RISCOS
Topic: Internet Connection Not Working
Replies: 12
Views: 14601

Re: Internet Connection Not Working

I have had the same problem. With Raspbian and RISCOS on the same SD card, I could access the internet via Raspbian but not via RISCOS. The following workaround put things right (not sure why !) 1. click on !Boot to get Configuration window 2. Click on internet icon to get Internet config window 3. ...
by heuristicjohn
Fri Mar 22, 2013 8:54 pm
Forum: RISCOS
Topic: I2C Access
Replies: 79
Views: 16946

Re: I2C Access

Redwood - many thanks - all now clear !
by heuristicjohn
Fri Mar 22, 2013 3:36 pm
Forum: RISCOS
Topic: I2C Access
Replies: 79
Views: 16946

Re: I2C Access

My query Mar 07: I am attempting to write data to an EEPROM on the I2C bus (under RISCOS). The device is at address &50, and in the example I write &56 to internal memory location &1234. I then set the memory pointer using a write without data, and then read back the data. My problem is that each of...
by heuristicjohn
Tue Mar 19, 2013 6:36 pm
Forum: RISCOS
Topic: Interrupt servicing via BASIC ?
Replies: 21
Views: 5454

Re: Interrupt servicing via BASIC ?

As AMcS says, (this makes sense if you want to handle things as and when they're required . Right on ! For simple I/O transactions, the BASIC assembler package allows you direct access to GPIO pins, so why use higher level languages with more abstraction and overheads ? Assembler is not portable (bu...

Go to advanced search