Go to advanced search

by OutsourcedGuru
Mon Jan 28, 2019 4:49 pm
Forum: Other programming languages
Topic: NPM start on start-up? Help wanted
Replies: 12
Views: 7873

Re: NPM start on start-up? Help wanted

> "Just drop your service file into /etc/systemd/system and away you go." I spent hours trying to get this "just" version to work. I'm suggesting that with Raspbian Stretch it needs to be in the way I'm describing. I will note that the "After" line in the [Unit] section needs to instead be: After=ne...
by OutsourcedGuru
Fri Jan 25, 2019 10:16 pm
Forum: Other programming languages
Topic: NPM start on start-up? Help wanted
Replies: 12
Views: 7873

Re: NPM start on start-up? Help wanted

For anyone trying to follow along with Raspbian Stretch, I found that "/etc/systemd" was not the place where it wanted to see these "*.service" files. Also, the default file restrictions appear to be wrong as seen above. Path: /lib/systemd/system/yourapp.service Rights: sudo chmod 644 /lib/systemd/s...
by OutsourcedGuru
Tue May 29, 2018 12:20 am
Forum: Advanced users
Topic: Raspi3 to Raspi0 via USB serial communications
Replies: 8
Views: 617

Re: Raspi3 to Raspi0 via USB serial communications

Okay, was able to get the Raspi3 and Raspi0 to talk via minicom so I'm guessing that I'm good to go now. Thanks.
by OutsourcedGuru
Mon May 28, 2018 11:21 pm
Forum: Advanced users
Topic: Raspi3 to Raspi0 via USB serial communications
Replies: 8
Views: 617

Re: Raspi3 to Raspi0 via USB serial communications

[x] Added `dtoverlay=pi3-disable-bt` to `/boot/config.txt` [x] In `sudo raspi-config` -> Interfacing -> Serial, selected "No" and "Yes" The serial login shell is disabled The serial interface is enabled [x] This appears to have edited `/boot/cmdline.txt` from `console=serial0,115200` to `console=tty...
by OutsourcedGuru
Mon May 28, 2018 10:38 pm
Forum: Advanced users
Topic: Raspi3 to Raspi0 via USB serial communications
Replies: 8
Views: 617

Re: Raspi3 to Raspi0 via USB serial communications

Also, if I disable the console's use of the mini UART, does this prevent SSH from working to remotely access the Raspberry Pi Zero W?

Reference: https://www.raspberrypi.org/documentati ... on/uart.md
by OutsourcedGuru
Mon May 28, 2018 9:29 pm
Forum: Advanced users
Topic: Raspi3 to Raspi0 via USB serial communications
Replies: 8
Views: 617

Re: Raspi3 to Raspi0 via USB serial communications

If you disable Bluetooth, you can use both UARTS freely. ghans Okay, that's dtoverlay=pi3-disable-bt in the `/boot/config.txt` file and easy enough. Now that I know if it's possible, it would be good to figure out how to make that happen. If someone can prompt me a little with the setup, that would...
by OutsourcedGuru
Mon May 28, 2018 6:47 pm
Forum: Advanced users
Topic: Raspi3 to Raspi0 via USB serial communications
Replies: 8
Views: 617

Re: Raspi3 to Raspi0 via USB serial communications

That's a shame. I'd thought that the PWR connection could also serve as a serial USB connection.

Okay, assume that the RAMPS-side of the Raspberry Pi Zero W is connected via the GPIO pins. Any thoughts?
by OutsourcedGuru
Sun May 27, 2018 7:46 pm
Forum: Advanced users
Topic: Raspi3 to Raspi0 via USB serial communications
Replies: 8
Views: 617

Raspi3 to Raspi0 via USB serial communications

It's my intent to insert a Raspberry Pi Zero W inline between what would normally be: _______......._____________________________......___________________________ Raspi3 | -> | USB Type A/B adapter cable | -> | 3D printer's RAMPS board _______......._____________________________......_______________...
by OutsourcedGuru
Tue Jul 11, 2017 4:35 pm
Forum: Other programming languages
Topic: JavaScript
Replies: 33
Views: 6144

Re: JavaScript

IBM recently listed their " most important (computer) languages to learn for 2017 ". In order: Java, JavaScript, Python, C#/C++, SQL, Swift Apart from the name similarity, Javascript has nothing in common with Java. It is used by 94.4% of the websites and that’s unlikely to change. Anyone with a foc...
by OutsourcedGuru
Wed Jul 05, 2017 10:31 pm
Forum: General discussion
Topic: Reading GPIO with Javascript [NOT NODE]
Replies: 7
Views: 2210

Re: Reading GPIO with Javascript [NOT NODE]

There is a way to talk to the GPIO devices via a device strategy. /sys/class/gpio Do some research about how you might "export" something you're interested in monitoring (like a certain pin). An example command to export pin 4, for example, might be: sudo echo 4 > /sys/class/gpio/export ...which in ...
by OutsourcedGuru
Wed Jul 05, 2017 10:21 pm
Forum: Beginners
Topic: Code speed GUI vs. command line
Replies: 8
Views: 1235

Re: Code speed GUI vs. command line

I kind of want to suggest that you go to school on this file: https://github.com/Wallacoloo/Raspberry-Pi-DMA-Example/blob/master/dma-example.c ...but that involves a fair bit of work. Using direct memory access (DMA) is what a lot of high-speed apps like FM transmission require to get things working...
by OutsourcedGuru
Wed Jul 05, 2017 10:02 pm
Forum: Beginners
Topic: Code speed GUI vs. command line
Replies: 8
Views: 1235

Re: Code speed GUI vs. command line

Well... the Pi will scale back the processor if it's too hot. You could wait for it to happen again and then use a hair dryer (with a no-heat option) to blow air across the CPU to see it it runs faster after a bit.
by OutsourcedGuru
Mon Jul 03, 2017 10:53 pm
Forum: Networking and servers
Topic: Running multiple pi's on a tractor
Replies: 26
Views: 4259

Re: Running multiple pi's on a tractor

If it were me, I'd start with a 15A car inverter and attaching that to the battery with an inline fuse (now AC in typical home-style 115VAC connection) and plug into that six of the Radio Shack USB chargers and power the first 24 Raspis using the typical USB style of connection. I'd treat the 25th m...
by OutsourcedGuru
Mon Jul 03, 2017 10:42 pm
Forum: Advanced users
Topic: Where is PP1 and PP6 on Raspberry Pi Zero W?
Replies: 7
Views: 2724

Re: Where is PP1 and PP6 on Raspberry Pi Zero W?

Typically, you might break off and solder a two-pin header to pins 4 & 6 (5V & ground) and then attach a standard red/black jumper to that.

http://www.mouser.com/images/harwin/lrg/m20-977.jpg
https://cdn.sparkfun.com//assets/parts/ ... 362-02.jpg
by OutsourcedGuru
Mon Jul 03, 2017 10:30 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SainSmart 8-Channel 5V Relay Module VS SainSmart 8-Channel
Replies: 20
Views: 16475

Re: SainSmart 8-Channel 5V Relay Module VS SainSmart 8-Chan

It helps to know what these things often are inside the little black box: https://en.wikipedia.org/wiki/Solid-state_relay (It might be a triac, SCR, MOSFET or transistor.) A typical transistor-based amplifier by its nature reverses the output (low in, high out) so they're sometimes called an inverte...
by OutsourcedGuru
Mon Jul 03, 2017 10:09 pm
Forum: General discussion
Topic: STICKY: Introduce yourself!
Replies: 3440
Views: 54252

Re: Introduce yourself!

I'm Michael and an avid fan of the Raspberry Pi 3 (and the Zero W). I probably have about seven of them now and another in the mail to me (along with a big collection of accessories). I've created a Raspberry Pi 3 supercomputer, I'm working on an Arduino->Pi port for the OSEPP tank including a remot...
by OutsourcedGuru
Mon Jul 03, 2017 10:01 pm
Forum: Beginners
Topic: Code speed GUI vs. command line
Replies: 8
Views: 1235

Re: Code speed GUI vs. command line

I wonder if there's anything in the code that's trying to get a handle to a window and eventually times out, to then continue with what it's supposed to do...?
by OutsourcedGuru
Mon Jul 03, 2017 9:58 pm
Forum: Bare metal, Assembly language
Topic: Fast boot (sub second) of pi zero w - howto ?
Replies: 28
Views: 15641

Re: Fast boot (sub second) of pi zero w - howto ?

So in theory, if there were some mechanism to sleep and assuming 1GB RAM... and if one were to have a 1GB image file stored on USB drive when it went to sleep... time to bootstrap ~ 1 second time to transfer a 1GB file from USB (3.0) directly into RAM = 2 seconds hand over to the now-restored state ...
by OutsourcedGuru
Mon Jul 03, 2017 9:46 pm
Forum: Camera board
Topic: Pi Camera v2 not detected on Pi 3B
Replies: 3
Views: 1572

Re: Pi Camera v2 not detected on Pi 3B

... and when i ran vcgencmd get_camera i got supported=1 detected=0 i dont know what to do :( do i have to replace the camera? Did you enable the camera support? https://learn.adafruit.com/cloud-cam-connected-raspberry-pi-security-camera/pi-camera-setup sudo raspi-config Enable camera Let's look at...
by OutsourcedGuru
Mon Jul 03, 2017 9:44 pm
Forum: Beginners
Topic: GPU & CPU Temp in Fahrenheit
Replies: 15
Views: 6154

Re: GPU & CPU Temp in Fahrenheit

As someone in the states and since we still use Fahrenheit, it would be nice to have this support via raspi-config (display celsius or fahrenheit) versus a single setting. A better option would be for you to shout at your Government until they drop the use of Imperial and American units and start u...
by OutsourcedGuru
Fri Jun 30, 2017 11:02 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Autonomous power for RPi 3
Replies: 2
Views: 550

Re: Autonomous power for RPi 3

Hello, I'm looking for an autonomous power source for RPi 3 + 7" touchscreen. Can USB charger like this serve as autonomous power: https://www.digitec.ch/fr/s1/product/anker-powerbank-powercore-13400-mah-chargeurs-de-secours-6341805 Thanks in advance. Pavel. Absolutely. I'm using a six-port USB cha...
by OutsourcedGuru
Fri Jun 30, 2017 10:59 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Raspberry-Pi GPIO
Replies: 2
Views: 471

Re: Raspberry-Pi GPIO

Hello everyone, I have been using Raspberry-Pi 3B for interfacing a simple LED. Wiring-Pi has been installed. Programming is done in Python. The Output Voltage from gpio pins is not getting as required. I get output voltage only 0.1V.. What would be the problem????Please help I've written a reposit...
by OutsourcedGuru
Fri Jun 30, 2017 10:54 pm
Forum: Beginners
Topic: GPU & CPU Temp in Fahrenheit
Replies: 15
Views: 6154

Re: GPU & CPU Temp in Fahrenheit

As someone in the states and since we still use Fahrenheit, it would be nice to have this support via raspi-config (display celsius or fahrenheit) versus a single setting.
by OutsourcedGuru
Fri Jun 30, 2017 10:49 pm
Forum: Camera board
Topic: Night time time lapse photos have colour variations [fixed]
Replies: 6
Views: 1347

Re: Night time time lapse photos have colour variations [fix

It might be worth looking into the ISO setting. If you can recall old-school 35mm cameras, the ISO setting of the film (I seem to recall) is the silver density of the medium. The more silver, the more sensitive is was to low-lighting situations. Determining color in a low-lighting situation depended...
by OutsourcedGuru
Fri Jun 30, 2017 10:42 pm
Forum: Camera board
Topic: Pi Camera v2 not detected on Pi 3B
Replies: 3
Views: 1572

Re: Pi Camera v2 not detected on Pi 3B

Did you enable the camera support?

https://learn.adafruit.com/cloud-cam-co ... mera-setup

sudo raspi-config
Enable camera

Go to advanced search