Go to advanced search

by tpylkko
Wed Jan 24, 2018 9:30 pm
Forum: General discussion
Topic: Any way to turn the Pi Zero off except for an MCU + MOSFET?
Replies: 62
Views: 5326

Re: Any way to turn the Pi Zero off except for an MCU + MOSFET?

Here is something to keep in mind. SD-cards and USB-sticks are not designed for the kind of usage that occurs in the Pi. For example, in this thread (https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=182452#p1257129) some one is claiming that Sandisk refused to honor a warranty because the sto...
by tpylkko
Wed Jan 24, 2018 9:03 pm
Forum: General discussion
Topic: Lcd voltage
Replies: 2
Views: 414

Re: Lcd voltage

If you are using a 5V LCD (these are more common than 3.3V which also exist) then this is what I believe will happen: then communication over I2C will likely work although the voltage is wrong. I have done this many times with micro-controllers and never had a problem with that. The LCD is not going...
by tpylkko
Tue Jan 16, 2018 8:29 pm
Forum: General discussion
Topic: looking for a simple and lightweight music player for PI ZERO
Replies: 14
Views: 10325

Re: looking for a simple and lightweight music player for PI ZERO

In addition to the things already mentioned, I believe that mopidy would also fit your requirements. It is a mpd-like headless music server written in python. It is highly extensible, can be controlled from commandline, from python (I wrote my own python RFID controller so that I could have my daugh...
by tpylkko
Thu Dec 28, 2017 1:55 pm
Forum: General discussion
Topic: Mail function is not working
Replies: 6
Views: 6921

Re: Mail function is not working

I believe gmail wont allow you to send mail unless you either 1) use one of Google's own mail clients (or other popular ones that are whitelisted) or 2) change the account settings so that you "allow unsafe programs" (or something to that end) from the options.
by tpylkko
Thu Dec 28, 2017 9:26 am
Forum: General discussion
Topic: Videocall App for Raspberry 3
Replies: 4
Views: 5644

Re: Videocall App for Raspberry 3

Debian has linphone, so I would presume that Raspbian also does, but I haven't used it on an rpi. I have used it on a Debian laptop and on android. Also, there are web based ones like Google and Skype, but they might be too heavy for rpi, once again never tried. It might be that anything without UV4...
by tpylkko
Sun Dec 10, 2017 1:19 pm
Forum: General discussion
Topic: Compiling Sqliteman
Replies: 4
Views: 4005

Re: Compiling Sqliteman

Does not the code come with any documentation? I presume you have run the binary. What does it output? There might be a help flag. Try h
by tpylkko
Wed Dec 06, 2017 10:25 pm
Forum: General discussion
Topic: What is the storage temperature range of the bcm2835?
Replies: 11
Views: 1184

Re: What is the storage temperature range of the bcm2835?

BTW. don't these high altitude balloon systems operate in like -50 °C... of course that still isn't long term storage at -60....
by tpylkko
Sat Oct 21, 2017 5:50 pm
Forum: Advanced users
Topic: Speed up Raspbian boot
Replies: 10
Views: 9901

Re: Speed up Raspbian boot

not using dhcpd often times improves boot times, but then again dhcp is really handy.

some people claim that using dash shell also is faster to load.

using window manager and no desktop env might help.

recompile minimal kernel

do baremetal (no operating system)
by tpylkko
Tue Oct 17, 2017 6:51 pm
Forum: General discussion
Topic: apt-get install/update arduino
Replies: 14
Views: 7447

Re: apt-get install/update arduino

This thread is old, but someone else might come along with this same problem. So, for posterity: someone suggested using Debian's unstable repository. While that might work in other situations, in this case the arduino package in Debian's unstable branch is version 1.05. Do not use that antiquated v...
by tpylkko
Tue Oct 17, 2017 6:35 pm
Forum: General discussion
Topic: RFID reader reccomendations
Replies: 13
Views: 84793

Re: RFID reader reccomendations

I bought a generic chinese USB one for 20 USD. It works sort of like a keyboard so that when you plug it in, you can see a device in /dev where a series of numbers appears if you cat that file while showing it the card. Something this simple, you would assume that it works always. I am fairly sure, ...
by tpylkko
Sun Oct 15, 2017 6:01 pm
Forum: General discussion
Topic: Have one rasp pi detect when another stops working
Replies: 6
Views: 794

Re: Have one rasp pi detect when another stops working

I think the word you may be looking for is "ping". A signal from one machine to another to see if it is online. This being online or not can be used as a proxy for "non-functional". You sort of assume that when no response comes, the machine is down. Of course, it can be just that it does not respon...
by tpylkko
Sun Oct 15, 2017 5:47 pm
Forum: Advanced users
Topic: Motion detection, email notification
Replies: 4
Views: 6547

Re: Motion detection, email notification

Here is something I can recommend
The goal here is to make it as simple and painless as possible to send emails
You can basically send email with gmail.with one line. It also does not save your password in the script, but uses the keyring

https://github.com/kootenpv/yagmail/blo ... /README.md
by tpylkko
Sat Oct 14, 2017 4:31 pm
Forum: General discussion
Topic: Re-install a partition
Replies: 6
Views: 854

Re: Re-install a partition

So, the most absolutely simplest way to do this that I can think of is this (and simple in the sense that it is hard for even a newbie to get wrong): 1) Normally install Raspbian on a new SD-card 2) Using a Linux computer with Gparted (even a raspberry) (or a windows computer that you temporarily bo...
by tpylkko
Fri Oct 13, 2017 6:38 pm
Forum: General discussion
Topic: Re-install a partition
Replies: 6
Views: 854

Re: Re-install a partition

You might want to try to repair the partition, but that depends on in which sense "it does not work". Can you please describe that with more detail? It is possible to copy a partition on top of an old one on a NOOBS install (i have done it), but it is not necessarily a very basic/straight forward th...
by tpylkko
Fri Oct 13, 2017 6:31 pm
Forum: General discussion
Topic: Options for wirelessly connecting monitor to a Pi with no network config
Replies: 7
Views: 786

Re: Options for wirelessly connecting monitor to a Pi with no network config

Right, that makes sense.

One way this has been solved by others (Volumio for example) is the access point. So, you have a script that launches an access point in the event that connecting to Wifi router fails. Then the user can ssh in by first connecting to the access point.
by tpylkko
Fri Oct 13, 2017 11:47 am
Forum: General discussion
Topic: Options for wirelessly connecting monitor to a Pi with no network config
Replies: 7
Views: 786

Re: Options for wirelessly connecting monitor to a Pi with no network config

One thing you could do is make the pi broadcast an access point. Connect other pi to the access point. Then your laptop. That is, if you don't have a wireless router in the area. Or maybe keep a serial to USB cable in the pi, then just plug it in a laptop when you have to configure it. Not wireless,...
by tpylkko
Thu Oct 05, 2017 9:06 am
Forum: General discussion
Topic: RPI3 as Access point / start service at boot time automatically
Replies: 2
Views: 1159

Re: RPI3 as Access point / start service at boot time automatically

most daemons like that already have a service file that comes with them when you install them. you can enable it with sudo systemctl enable (name[ of service goes here, e.g hostapd)/code]. With "enable" it will try to start it at boot, with "start" it will try now. If not, you can make one, it's qui...
by tpylkko
Thu Sep 28, 2017 3:42 am
Forum: General discussion
Topic: apt-get install/update arduino
Replies: 14
Views: 7447

Re: apt-get install/update arduino

The Arduino package in Debian has been completely neglected by the maintainer and has not changed since wheezy. Unless you have some good reason, I would not use it but rather install from the tarball they distribute on their page or use the web editor
by tpylkko
Wed Sep 06, 2017 3:03 pm
Forum: General discussion
Topic: ESP-8266 almost there, almost
Replies: 2
Views: 625

Re: ESP-8266 almost there, almost

You cannot flash the chip unless it is in a bootloader mode. This is achieved by pulling the Gpio pin down while hard resetting it. Some Linux distributions require a udev rule set so that a normal user can access USB connected devices. Did you write the compiled file in Arduino?
by tpylkko
Tue Aug 22, 2017 9:43 am
Forum: General discussion
Topic: fstab fails
Replies: 4
Views: 558

Re: fstab fails

Since systemd can mount the disks without fstab, I wonder if it could just be removed from Raspbian. I know it can be done on Debian.

In your case the failing mount is ntfs

Is there anything in the logs?

Uses

Code: Select all

journalctl 
by tpylkko
Mon Aug 21, 2017 7:23 am
Forum: General discussion
Topic: Turning on Zero W every hour
Replies: 46
Views: 12633

Re: Turning on Zero W every hour

This is useful: or this: https://www.youtube.com/watch?v=4SYHYiaQkys :) I think this board is particularly nice for embedded devices as it has a JST connector for a lipo, but it also has a onboard charger, so you don't need to seperately chardge a lipo and attach it or something like that. You can ...
by tpylkko
Sun Aug 20, 2017 6:37 pm
Forum: General discussion
Topic: Turning on Zero W every hour
Replies: 46
Views: 12633

Re: Turning on Zero W every hour

Adafruit claims that it's ATSAMD21 plus ATWINC board can do 10 + 12 ma when active and zero when sleeping which they say is This is compared to the ESP's ~70mA average current draw, and whose deep sleep mode requires a WDT reset. https://www.adafruit.com/product/3010s But even ESP's will consume sig...
by tpylkko
Sun Aug 20, 2017 6:25 pm
Forum: General discussion
Topic: Turning on Zero W every hour
Replies: 46
Views: 12633

Re: Turning on Zero W every hour

I know that this isn't really a solution in some sense, (in the sense that it doesn't use a Raspberry pi, the thing that you want to do) but there are many microcontrollers that can fetch data from the internet and they can go to deep sleep, wake up and start a network connection without an OS boot ...
by tpylkko
Sun Aug 20, 2017 8:01 am
Forum: General discussion
Topic: Raspbian Stretch (9.1) has arrived !!
Replies: 129
Views: 34546

Re: Raspbian Stretch (9.1) has arrived !!

If Samba is not working on xp, maybe the min version is set up for something higher than what xp uses in the conf file? After the sambacry exploit was discovered, changes were made to prevent unsafe setup I have noticed that setting up Samba is always really cumbersome due to the many many odd set u...
by tpylkko
Sat Aug 19, 2017 6:00 am
Forum: General discussion
Topic: Radio Streaming Sites
Replies: 3
Views: 718

Re: Radio Streaming Sites

    Maybe look at some of the audio streaming software that people use like http://www.mopidy.com or https://volumio.org

    Both allow you to search for radio stations around the world. Both also serve web frontends meaning that you can use the directly through a browser without vnc

    Go to advanced search