Go to advanced search

by scruss
Mon Feb 18, 2019 7:10 pm
Forum: Raspbian
Topic: Where is the Raspbian Jesse 8 manifest?
Replies: 5
Views: 124

Re: Where is the Raspbian Jesse 8 manifest?

Is the manifest available anywhere, or do I have to make one myself if I start again. The manifest of your installation media, or the available packages? The latter - for binary-armhf - http://archive.raspberrypi.org/debian/dists/jessie/main/binary-armhf/Packages By file is http://archive.raspberry...
by scruss
Mon Feb 18, 2019 3:49 pm
Forum: Advanced users
Topic: Trigger script on sunset and -rise
Replies: 8
Views: 124

Re: Trigger script on sunset and -rise

pi@raspberrypi:~ $ locate sunwait … Did you compile it with make and install it with sudo make install ? I use the original Risacher sunwait, not the sunwait4windows version. The original does one thing well, the other … lots of things and who knows how well? I think it also changes the command for...
by scruss
Mon Feb 18, 2019 1:37 pm
Forum: Advanced users
Topic: transfering files from RPi Zero over serial
Replies: 4
Views: 74

Re: transfering files from RPi Zero over serial

screen is kind of a pain for this. minicom on the laptop, rz/sz on the Raspberry Pi. If all goes well, an sz file from the Raspberry Pi should auto-download in minicom. The other way is rz on the Raspberry Pi then send via minicom.

Update: TIL about screen's set zmodem catch; see below.
by scruss
Sat Feb 16, 2019 8:01 pm
Forum: Other projects
Topic: Take daily photo at sunset
Replies: 6
Views: 146

Re: Take daily photo at sunset

If you know your latitude and longitude, Sunwait will wait until a specified sun position and then allow the next command to execute:

Code: Select all

sunwait sun down 43.73N 79.29W ; do_this_command_now
where do_this_command_now is the command that takes the picture.
by scruss
Sat Feb 16, 2019 6:41 pm
Forum: Troubleshooting
Topic: Installing Fonts on Raspbian
Replies: 2
Views: 66

Re: Installing Fonts on Raspbian

You should (== I haven't actually tried this on a Raspberry Pi) be able to copy them to ~/.local/share/fonts or or ~/.fonts and they should be available after you enter the command fc-cache
by scruss
Sat Feb 16, 2019 12:58 pm
Forum: Advanced users
Topic: Flashing MicroPython to ESP8266 using rPi - Testing if ubinascii.unhexlify exists ...
Replies: 20
Views: 378

Re: Flashing MicroPython to ESP8266 using rPi - Testing if ubinascii.unhexlify exists ...

If you're still interested in putting more time into this (I'd have given up ages ago), and if the suspect boards programmed under Arduino, maybe try the Arduino ESP8266 sketch CheckFlashConfig . It will return the actual amount of storage on the modules. They're probably less than the typical confi...
by scruss
Fri Feb 15, 2019 9:17 pm
Forum: Advanced users
Topic: [Tutorial] How to move away from NOOBS
Replies: 22
Views: 7254

Re: [Tutorial] How to move away from NOOBS

You could edit your post and put that at the top ...
by scruss
Fri Feb 15, 2019 3:02 am
Forum: Advanced users
Topic: Flashing MicroPython to ESP8266 using rPi - Testing if ubinascii.unhexlify exists ...
Replies: 20
Views: 378

Re: Flashing MicroPython to ESP8266 using rPi - Testing if ubinascii.unhexlify exists ...

did you try the -fm dio option, as recommended in the options page?
doing a flash clear first helps too.
by scruss
Fri Feb 15, 2019 2:58 am
Forum: General discussion
Topic: Weather station in freezing weather: questions
Replies: 17
Views: 420

Re: Weather station in freezing weather: questions

Yeah, thanks! We're really looking forward to it. Absolutely massive change in lifestyle, probably the best thing that could happen for my wife and I. But I digress. It was for us too when we came from Scotland in 2002.Ping me if you need any guidance: the first couple of months are heady and confu...
by scruss
Thu Feb 14, 2019 4:45 pm
Forum: Troubleshooting
Topic: Two serial to usb addapters not working
Replies: 3
Views: 76

Re: Two serial to usb addapters not working

What type are they? Output from lsusb or dmesg would be helpful here.
by scruss
Thu Feb 14, 2019 4:40 pm
Forum: General discussion
Topic: Weather station in freezing weather: questions
Replies: 17
Views: 420

Re: Weather station in freezing weather: questions

… But I'm moving to Toronto, Canada, in a month or so. So yeah, big difference. Hey, welcome! I'm in the east end of Toronto. It's warmed up to a balmy -3 °C, and the 30+ cm of snow we got over the last few days means we have car-sized snow piles. What made things really interesting was the pellets...
by scruss
Thu Feb 14, 2019 3:26 pm
Forum: Advanced users
Topic: Flashing MicroPython to ESP8266 using rPi - Testing if ubinascii.unhexlify exists ...
Replies: 20
Views: 378

Re: Flashing MicroPython to ESP8266 using rPi - Testing if ubinascii.unhexlify exists ...

Very odd, then. I have both boards and not had any trouble with them. You might want to try using a different serial port rate: I've heard some can be picky. There's a whole raft of different serial chips on ESP boards: QinHeng CH340, SiLabs cp2102 (some real, some fake), FTDI (almost all fake at th...
by scruss
Thu Feb 14, 2019 3:09 am
Forum: Advanced users
Topic: Flashing MicroPython to ESP8266 using rPi - Testing if ubinascii.unhexlify exists ...
Replies: 20
Views: 378

Re: Flashing MicroPython to ESP8266 using rPi - Testing if ubinascii.unhexlify exists ...

So what ESP8266 boards are they?

Can you flash them from the Arduino IDE? (Not the ancient one with Raspbian, the one you get here: https://www.arduino.cc/en/Main/Software#download than updated with the ESP8266 toolchain: esp8266/Arduino: ESP8266 core for Arduino
by scruss
Thu Feb 14, 2019 12:47 am
Forum: Python
Topic: terribly messed up pip and pip3
Replies: 14
Views: 310

Re: terribly messed up pip and pip3

Okay, here's a might work procedure. Since your Raspberry Pi is barely working, I don't think this can make things much worse. What I'm proposing is to back out of the Python source upgrade ( How_to_Raspberry.md ), upgrade remotely to Stretch (it can be done over a network), then reinstall InstaPy. ...
by scruss
Wed Feb 13, 2019 5:50 pm
Forum: Advanced users
Topic: Flashing MicroPython to ESP8266 using rPi - Testing if ubinascii.unhexlify exists ...
Replies: 20
Views: 378

Re: Flashing MicroPython to ESP8266 using rPi - Testing if ubinascii.unhexlify exists ...

Please try not moving the goalposts - you're now talking about an ESP32 on an upgraded Raspberry Pi! The upgrade is good. I assumed you'd be using Stretch because everyone should be. But please try with the ESP8266 again . Are you sure that your one has enough flash? Some of the old ones have very l...
by scruss
Tue Feb 12, 2019 7:12 pm
Forum: Python
Topic: terribly messed up pip and pip3
Replies: 14
Views: 310

Re: terribly messed up pip and pip3

i have no idea why python3 is linked to 3.4. i had it working that python3 is linked to 3.7 Looks like you've still got bits of the system Python 3.4 lying about. For instance, py3versions -d on your system will still likely report 3.4, as py3versions (in /usr/share/python3/ ) doesn't know about yo...
by scruss
Mon Feb 11, 2019 9:54 pm
Forum: Advanced users
Topic: Flashing MicroPython to ESP8266 using rPi - Testing if ubinascii.unhexlify exists ...
Replies: 20
Views: 378

Re: Flashing MicroPython to ESP8266 using rPi - Testing if ubinascii.unhexlify exists ...

idahowalker's issues are unrelated to the issue at hand. This isn't about the ESP32 toolchain. theMusicMan, did you mean this post: Can not flash SonOff with MP - MicroPython Forum ? Your Raspberry Pi should already have the (not very good, but adequate) serial terminal miniterm installed. Please tr...
by scruss
Mon Feb 11, 2019 4:09 am
Forum: Advanced users
Topic: Flashing MicroPython to ESP8266 using rPi - Testing if ubinascii.unhexlify exists ...
Replies: 20
Views: 378

Re: Flashing MicroPython to ESP8266 using rPi - Testing if ubinascii.unhexlify exists ...

Worked for me. Maybe try to reinstall rshell? Here's what I did with a Raspberry Pi Zero with an ESP8266 board attached on /dev/ttyUSB0: pi@naan:~ $ sudo pip3 install rshell Collecting rshell Downloading https://www.piwheels.org/simple/rshell/rshell-0.0.18-py3-none-any.whl Requirement already satisf...
by scruss
Sun Feb 10, 2019 9:02 pm
Forum: Python
Topic: terribly messed up pip and pip3
Replies: 14
Views: 310

Re: terribly messed up pip and pip3

… for some reason this broke, it did work before python3 -bash: /usr/bin/python3.7: No such file or directory It looks like you've installed your own newer version of Python 3. Even Raspbian Stretch is only at 3.5.3. If this is the case, all the apt-* commands will be trying to work on a version of...
by scruss
Sun Feb 10, 2019 8:46 pm
Forum: Python
Topic: What does "from . import *" mean.
Replies: 5
Views: 170

Re: What does "from . import *" mean.

If you specify a name (say foo) from foo import * Python will go off looking in $PYTHONPATH for foo.py , and import all of its methods when it is found. If you specific a path, such as . for the current working directory, Python will read all of the *.py files in that directory and import their meth...
by scruss
Sun Feb 10, 2019 8:38 pm
Forum: General discussion
Topic: octoprint and old atmega based 3d printers?
Replies: 2
Views: 83

Re: octoprint and old atmega based 3d printers?

Are you using a Raspberry Pi Zero? I've seen people have glitches with those, especially if you're streaming the webcam at the same time. Something to do with the lack of a dedicated USB controller. If your ATMega-based print controller has an unmodified Arduino at its core, remember they will reset...
by scruss
Sun Feb 10, 2019 7:22 pm
Forum: Off topic discussion
Topic: Order a special request Raspberry Pi :?:
Replies: 68
Views: 1405

Re: Order a special request Raspberry Pi :?:

You're going to have to find a painfully ancient board to support DDR2 memory. I don't think your price requirement is reasonable.
by scruss
Fri Feb 08, 2019 3:39 am
Forum: Beginners
Topic: Install a thermal printer driver on RBerry PI 3 B+
Replies: 9
Views: 197

Re: Install a thermal printer driver on RBerry PI 3 B+

Don't execute the Makefile. Just do:

Code: Select all

make
(and no sudo)
Did you install the required packages?

Code: Select all

sudo apt-get install libcups2-dev libcupsimage2-dev git build-essential cups system-config-printer
by scruss
Thu Feb 07, 2019 3:34 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Identifiable USB-to-Serial adapter cable?
Replies: 4
Views: 119

Re: Identifiable USB-to-Serial adapter cable?

The way I've managed multiple USB serial devices is to mix and match suppliers: so one FTDI, one QinHeng, one SiLabs and one Prolific. It's cheaper than buying 4x real FTDIs.
by scruss
Thu Feb 07, 2019 3:29 pm
Forum: Beginners
Topic: Install a thermal printer driver on RBerry PI 3 B+
Replies: 9
Views: 197

Re: Install a thermal printer driver on RBerry PI 3 B+

jordivuong wrote:
Wed Feb 06, 2019 10:01 pm
Now I try to install cups 1.5.4, but it constantly fail, and I don't understand why.
These printers should work fine with the stock Raspbian CUPS. It's the driver that's likely to be the main issue.

Go to advanced search