I’ve tested against the latest version of RPi.GPIO and it still works for me, leading me to conclude that, perhaps, you have an older version or a broken install of the package.
Brilliant! That fixed it! Thanks again for the help, much appreciated. I can now finish work on my super awesome, insanely difficult anagram game. :)
One last question (for now), I seem to have to re-run sudo modprobe i2c-dev everytime I restart the pi. Is this expected / normal?
[Edit: sadly as a new user, I can’t actually reply to this thread any more or post a picture of the project I’ve been working on. Still, I’ll read and appreciate any further information. Cheers]
As I said above, the first dot3k project I’ve been working on has been an anagrams game. My actual use of the dot3k might not be that impressive at the moment, but this project has been a real challenge for me to code. I was going to use the joystick to access / manage some sort of scoring system for the game, but the game is actually so difficult, I’ve yet to score a single point.
Here’s a picture, you have 30 seconds to solve the anagram :)
Yeah, I probably didn’t think though how difficult 10 letter anagrams would be…
I had thought about having something like that, but that’s a step beyond what I can do at the moment really, I’ve got a bit of work to do to figure out how to use the code for the joystick before I can get that far. I’m starting with putting in a difficulty selection menu at the beginning of the game.
When I conceived the idea the game was based on solving the anagram in a fixed amount of time (you can’t really see it in the picture, but the bargraph LEDs count down 30 seconds before the solution is displayed) and I’d like to keep that mechanism really, so figuring out the solution and typing it in would be a bit difficult in this time. Having the joystick pick the letters would be a fun variation and a good next step though, perhaps I’ll create different game modes.
Hi
Is there an interface spec sheet?. Something with power specs and the commands supported by it.
I’m looking to use it as a display for a small custom computer with USB Host that doesn’t have python.
I’m in California so where would be the best place to get one if it meets the requirements.
Many thanks
The Display itself is very explicitly detailed in the datasheet. Even on a host with no SPI hardware, it would be possible to run SPI over a few regular GPIO pins.
This code is for driving the display, it’s for Arduino but should be a good starting point for your setup: https://code.google.com/p/doglcd/
This code, again for Arduino, is for the SN3218 LED driver which talks over i2c. If you don’t have any dedicated i2c hardware it would be slightly more complex to get it up and running and you’d need some pullup resistors.
Is your small custom computer based on a Raspberry Pi?
Hello Phil
Thanks for the answer.
I’m looking at it for a demo output of a product, using the USB interface.
So a data sheet is really to try and understand all on one page what the physical interfaces, mech, power spec are.
Right now I like the look of the product, but feel I’m fruitlessly hunting down small specification details.
I’m using an Arm Cortex-M3 Kinetis K20 - same as the Arduino Teensy3 - the product is a “Logger” but with a USB Host capability that is specified to manage a USB Stick and log data to the USB Stick.
For the demo, I want to swap the USB stick for your display.
So in the Processor code in demo mode, I would detect the USB CDC plugged in and then send the “demo mode” values to the display.
I’ve pulled down the ST7036 module and doglcd code - so I can see what is going on.
What I need is for all the physical information to be simply accessible - so I must have been mistaken that the Display-o-tron-3000 has a USB interface.
What I think I’m going for is the Matrix Oribital LK162B-7T-USB - it doesn’t look as good as what you are displaying - but has a USB interface.
Hi all - I’ve had a Pi since day one, managed to get one of the very first … it’s been used as a web server since 2012 :)
I got my hands on the DoT3k this morning on a fresh rebuild of the Pi, I can’t get it to work. So many questions but the most important is :
Is it compatible with revision 2, i.e the first tranche of Pi’s to be shipped?
processor : 0
model name : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS : 2.00
Features : half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 7
Hardware : BCM2708
Revision : 0002
Serial : 0000000087c26b89
It looks like SPI isn’t loading, I’ve started with a fresh Raspian build, upgraded, updated the firmware, installed Dot3k etc and followed the tutorials on here step by step and my LSMOD looks like this:
Running the Hello World script gives me the following:
Traceback (most recent call last):
File “./hello_world.py”, line 3, in
import dot3k.lcd as lcd
File “/usr/local/lib/python2.7/dist-packages/dot3k/lcd.py”, line 3, in
lcd = st7036.st7036(register_select_pin=25)
File “/usr/local/lib/python2.7/dist-packages/st7036.py”, line 20, in init
self.spi.open(0, spi_chip_select)
IOError: [Errno 2] No such file or directory
Would really appreciate some pointers - Thanks guys
pi@Rasp1 ~/Pimoroni/dot3k/basic $ ./hello_world.py
Traceback (most recent call last):
File “./hello_world.py”, line 3, in
import dot3k.lcd as lcd
File “/usr/local/lib/python2.7/dist-packages/dot3k/lcd.py”, line 3, in
lcd = st7036.st7036(register_select_pin=25)
File “/usr/local/lib/python2.7/dist-packages/st7036.py”, line 20, in init
self.spi.open(0, spi_chip_select)
IOError: [Errno 2] No such file or directory
Brilliant! I’ve added a new topic warning people away from rpi-update, and giving a brief how-to-fix-it and what-to-do-if-you-wanted-to-update. I don’t anticipate that this will be the last of these problems though!