Go to advanced search

by scruss
Sun Jan 08, 2017 3:22 am
Forum: Beginners
Topic: Arduino IDE saves with root permissions
Replies: 7
Views: 1397

Re: Arduino IDE saves with root permissions

are you starting it with

Code: Select all

sudo arduino
? If so, don't. If started as a regular user, it won't save with root permissions
by scruss
Sun Jan 08, 2017 3:19 am
Forum: Troubleshooting
Topic: Unable to find Boost header files
Replies: 10
Views: 3203

Re: Unable to find Boost header files

so, did you do step 2.3.2?

Code: Select all

sudo apt-get install libboost-all-dev
by scruss
Fri Jan 06, 2017 9:35 pm
Forum: Troubleshooting
Topic: I could program an Arduino Nano from RPi - but not any longe
Replies: 9
Views: 4415

Re: I could program an Arduino Nano from RPi - but not any l

I've just tried uploading a 25,318 byte (82% of Nano memory) sketch to a Nano clone. No problems in either standard or verbose modes on a Raspberry Pi 3.

What else is running on your Raspberry Pi? Any other hardware attached? No power problems?
by scruss
Fri Jan 06, 2017 1:49 pm
Forum: Beginners
Topic: Arduino IDE 1.6.12 Install [obsolete]
Replies: 23
Views: 21523

Re: Arduino IDE 1.6.12 Install

I think the installation instructions you gave are a little complicated. This works for me, no sudo required: mkdir ~/Applications cd ~/Applications wget https://downloads.arduino.cc/arduino-1.8.10-linuxarm.tar.xz tar xvJf arduino-1.8.10-linuxarm.tar.xz cd arduino-1.8.10/ ./install.sh rm ../arduino-...
by scruss
Thu Jan 05, 2017 10:07 pm
Forum: Troubleshooting
Topic: I could program an Arduino Nano from RPi - but not any longe
Replies: 9
Views: 4415

Re: I could program an Arduino Nano from RPi - but not any l

You can install the ARM version of Arduino 1.8.0 like this: wget https://downloads.arduino.cc/arduino-1.8.0-linuxarm.tar.xz tar xvJf arduino-1.8.0-linuxarm.tar.xz cd arduino-1.8.0/ ./install.sh It might be an idea to remove the Raspbian version first to avoid confusion: sudo apt remove arduino I'll ...
by scruss
Thu Jan 05, 2017 1:34 am
Forum: Troubleshooting
Topic: I could program an Arduino Nano from RPi - but not any longe
Replies: 9
Views: 4415

Re: I could program an Arduino Nano from RPi - but not any l

I've tested a real Uno and a clone CH340 Nano using the packaged Arduino development system. Both compiled and uploaded fine. I'm using Raspbian Pixel, whatever the most recent version is. What were your complete error messages? Make sure that verbose output is set in Arduino preferences, and post t...
by scruss
Wed Jan 04, 2017 4:25 pm
Forum: Other
Topic: Devuan 64bit on Raspberry Pi 3
Replies: 11
Views: 5353

Re: Devuan 64bit on Raspberry Pi 3

Olle2 wrote:I'm not a coder, a simple user only.
I'd stick with PIXEL, then: it has all the users and official support. Simple users don't need to care about init wars. It's all just sysadmin bikeshedding.
by scruss
Wed Jan 04, 2017 4:15 pm
Forum: Raspberry Pi OS
Topic: CH340
Replies: 25
Views: 22471

Re: CH340

Hmm, 7E1 is an unusual setting. Sure you're not needing 7E2? 4800 bps is also rarely used for anything other than GPS, and I haven't yet met a serial GPS that wasn't 8N1. What do you get from stty -F /dev/ttyUSB0 (assuming that /dev/ttyUSB0 is your CH340 serial device) Sometimes I find it useful to ...
by scruss
Wed Jan 04, 2017 12:26 am
Forum: General discussion
Topic: Script missing from RPF Sensing Science resource
Replies: 4
Views: 666

Re: Cooling.py

Looks like this one: Black and silver cans : To access the resources for this investigation, open LXTerminal and type sudo python3 cooling.py. I suspect, though, that it's a typo for: sudo python3 cans.py cans.py is in the code archive, and looks like it's for that experiment. (Bah newfangled tech i...
by scruss
Tue Jan 03, 2017 4:55 pm
Forum: Raspberry Pi OS
Topic: CH340
Replies: 25
Views: 22471

Re: CH340

Please give more details of what "not working" means to you. I've been successfully using CH340-based equipment with Raspberry Pi for months.

Doing serial communications on Linux is much harder than it should be, so there's a chance you're missing a detail to make your project work.
by scruss
Tue Jan 03, 2017 4:42 pm
Forum: General discussion
Topic: Direct telescope control of Meade RA & Dec drives
Replies: 10
Views: 5618

Re: Direct telescope control of Meade RA & Dec drives

It might be a lot of work, but people have done things like the Stellarduino, so it's more of a question of how big your appetite for a challenge might be. I'm guessing the Meade handset does the clever calcs, and the interface just expects motor drive commands (pulses? durations?) and provides enco...
by scruss
Tue Jan 03, 2017 1:43 am
Forum: Advanced users
Topic: Looking for a light weight database
Replies: 4
Views: 6569

Re: Looking for a light weight database

SQLite. It's lovely. Nice simple SQL dialect, and the best thing is, the whole database is wrapped up in a portable file. No servers, no processes, no weird file formats. It's magic.
by scruss
Mon Jan 02, 2017 5:08 pm
Forum: Other projects
Topic: problems trying to control an arduino mircro with a pi
Replies: 4
Views: 1894

Re: problems trying to control an arduino micro with a pi

however, I did notice a error when opening the arduino ide stating that the library name 'nanpy-firmware' cannot be used due to illegal letters in the name, I am going to rename it later to remove that error. That's a warning sign: if you follow the installation instructions, which are basically: g...
by scruss
Sun Jan 01, 2017 3:25 am
Forum: Python
Topic: IndentationError and variable not defined.
Replies: 9
Views: 2407

Re: IndentationError and variable not defined.

Yes. Indentation is scope in Python, alas
by scruss
Thu Dec 29, 2016 3:39 pm
Forum: General discussion
Topic: Possible to capture mouse input on the CLI?
Replies: 8
Views: 2826

Re: Possible to capture mouse input on the CLI?

For other ways of reading mouse position, there's the old gpm mouse daemon, and you can also send Mousetraps in a shell script.
by scruss
Mon Dec 26, 2016 3:18 pm
Forum: Advanced users
Topic: Ultra low power question - replicating AlphaSmart Neo
Replies: 8
Views: 3511

Re: Ultra low power question - replicating AlphaSmart Neo

As for OSs, for embedded processors they mostly seem to be focussed on realtime operations rather than user interaction. I know that ucLinux runs on some flavours of Cortex-M, but 256 K RAM may be a problem. Also I don't know if realtime OSs are optimized for low power usage. Lower-power displays in...
by scruss
Mon Dec 26, 2016 2:57 pm
Forum: Troubleshooting
Topic: Raspbian
Replies: 6
Views: 1247

Re: Raspbian

KG4KRB wrote: are there documentations that give one a list of Raspian commands, their functions, and syntax?
For Linux documentation, this is good: The Linux Command Line
by scruss
Sun Dec 25, 2016 3:05 am
Forum: Advanced users
Topic: Ultra low power question - replicating AlphaSmart Neo
Replies: 8
Views: 3511

Re: Ultra low power question - replicating AlphaSmart Neo

Neos ran from a 33 MHz Dragonball microcontroller that IIRC was halted between keystrokes. It was even more stripped down than the Dana, which could at least use SD cards - but only saved in Palm's irritating PDB format. While the Raspberry Pi's SoC can support some neat power management, it doesn't...
by scruss
Sat Dec 24, 2016 3:57 pm
Forum: Other projects
Topic: problems trying to control an arduino mircro with a pi
Replies: 4
Views: 1894

Re: problems trying to control an arduino mircro with a pi

Did you install the nanpy firmware on the Arduino? Arduino Micros and Leonardos are a bit more finicky than other Arduino boards, as they use the USB capabilities of the 32u4 rather than an interface chip + 328. If there are specific instruction for nanpy and these boards, follow them. Personally, I...
by scruss
Wed Dec 21, 2016 6:20 pm
Forum: Windows 10 for IoT
Topic: IoT Pi has UEFI? Yet we don't?
Replies: 36
Views: 7611

Re: IoT Pi has UEFI? Yet we don't?

In fact, the non-standard boot environment is one of the bigger reasons why ARM boards are not used more often [citation needed] , as they say on another site. UEFI brings horrors of its own (like severely limiting boot options under x86 32 bit, and the bricked Samsung issue), and a little variatio...
by scruss
Wed Dec 21, 2016 4:21 pm
Forum: Raspberry Pi OS
Topic: ls unicode characters
Replies: 8
Views: 3252

Re: ls unicode characters

hmm, myabe I should be looking at usbmount instead. Are you running standard Raspbian, or have you done things to it?
by scruss
Wed Dec 21, 2016 4:15 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: STICKY: X86 Debian Jessie with PIXEL desktop for PC and Mac (obsolete)
Replies: 231
Views: 161832

Re: PIXEL FOR PC AND MAC

Nathalia21 wrote:Raspberry has pins. How i can connect sensors to my Mac if i run it in my Mac?
… or use any of the more traditional options like Arduino+Firmata, Flyfish FF32, ESP8266/ESP 32 over wifi, etc …
by scruss
Tue Dec 20, 2016 1:53 am
Forum: Raspberry Pi OS
Topic: ls unicode characters
Replies: 8
Views: 3252

Re: ls unicode characters

Okay, I think I've got a working solution: sudo apt install udisks-glue edit /etc/udisks-glue.conf (you'll need to use sudo), and make sure that the post_insertion_command line contains --mount-options sync,iocharset=utf8 The next time you insert a USB stick, it should show UTF-8 characters in the t...
by scruss
Mon Dec 19, 2016 7:45 pm
Forum: Raspberry Pi OS
Topic: ls unicode characters
Replies: 8
Views: 3252

Re: ls unicode characters

Unfortunately, the standard automount on Raspbian sets iocharset=ascii , and I'm not quite sure how one would set those options. It's not in /etc/fstab I agree with the OP that it is a little off-putting seeing the file in the file manager as ‘testäéïôü.txt’, but showing up in the shell as ‘test����...

Go to advanced search