Go to advanced search

by rickseiden
Mon Apr 26, 2021 11:20 pm
Forum: Beginners
Topic: Automount ANY USB Drive--Not just a specific one
Replies: 16
Views: 734

Re: Automount ANY USB Drive--Not just a specific one

And then there's the security issues: Using pcmanfm means having a user logged in to the desktop all the time. These are not specific to the desktop: The default user has passwordless sudo access. The default user has a very well known password. You're exposing a USB port to the world. With a littl...
by rickseiden
Mon Apr 26, 2021 9:59 pm
Forum: Beginners
Topic: Automount ANY USB Drive--Not just a specific one
Replies: 16
Views: 734

Re: Automount ANY USB Drive--Not just a specific one

Wow, a lot to digest here. I'm using automount to mean that I stick the drive in the USB port and it is mounted to some point on the file system without me having to enter anything on a command line. I am using Raspberry Pi OS Lite, so that means no desktop--command line only. I don't need the deskt...
by rickseiden
Mon Apr 26, 2021 8:14 pm
Forum: Beginners
Topic: Automount ANY USB Drive--Not just a specific one
Replies: 16
Views: 734

Automount ANY USB Drive--Not just a specific one

Hello, I've done some research on automounting USB drives, and everything I've come across is basically the same thing. Put the UUID of the device into the fstab file with nofail and reboot. (One of the sites I found was the External storage configuration page in the docs.) I'm working on a project ...
by rickseiden
Thu Apr 22, 2021 7:18 pm
Forum: HATs and other add-ons
Topic: ili9341 TFT Display NOT used instead of HDMI in C
Replies: 8
Views: 523

Re: ili9341 TFT Display NOT used instead of HDMI in C

I figured out what was wrong with that library. You have to run the compiled program using sudo. When I run it that way, I had no problems. I suspect there's some permission I can grant to the pi user, or some group I can put the pi user in, but since this is a project only ever intended for me with...
by rickseiden
Wed Apr 21, 2021 6:08 pm
Forum: HATs and other add-ons
Topic: ili9341 TFT Display NOT used instead of HDMI in C
Replies: 8
Views: 523

Re: ili9341 TFT Display NOT used instead of HDMI in C

I found this in github: https://github.com/nopnop2002/Raspberry-ili9340spi

It looks promising, but I can't get it to work. I'm going to update this thread with my progress, if any, in case someone else comes along wanting to do the same thing.
by rickseiden
Wed Apr 21, 2021 3:06 pm
Forum: HATs and other add-ons
Topic: ili9341 TFT Display NOT used instead of HDMI in C
Replies: 8
Views: 523

Re: ili9341 TFT Display NOT used instead of HDMI in C

So what are you expecting to have the relevant character set in order for you to just feed your display with ASCII text? An ILI9341 display is just an array of (typically) 240x320 pixels, so something has to write to that as video - it has no character set to render ASCII. If you can arrange for it...
by rickseiden
Wed Apr 21, 2021 11:57 am
Forum: HATs and other add-ons
Topic: ili9341 TFT Display NOT used instead of HDMI in C
Replies: 8
Views: 523

Re: ili9341 TFT Display NOT used instead of HDMI in C

Thanks for your reply. I can't believe I didn't mention that it was connected via SPI! Yes, it is connected via SPI. That link you sent me to appears to be how to use the display as a second monitor. I don't want to use it as a monitor, I want to use it as a display, much in the way you would use a...
by rickseiden
Wed Apr 21, 2021 11:35 am
Forum: HATs and other add-ons
Topic: ili9341 TFT Display NOT used instead of HDMI in C
Replies: 8
Views: 523

Re: ili9341 TFT Display NOT used instead of HDMI in C

Thanks for your reply. I can't believe I didn't mention that it was connected via SPI! Yes, it is connected via SPI. That link you sent me to appears to be how to use the display as a second monitor. I don't want to use it as a monitor, I want to use it as a display, much in the way you would use a ...
by rickseiden
Wed Apr 21, 2021 1:35 am
Forum: HATs and other add-ons
Topic: ili9341 TFT Display NOT used instead of HDMI in C
Replies: 8
Views: 523

ili9341 TFT Display NOT used instead of HDMI in C

Hello, I am trying to find any information on using a ili9341 TFT display with a Pi Zero W that is not about using the display as a "monitor" and not about using Python. I am working on a project where the display will be used to show a menu system controlled with a rotary encoder (like on...
by rickseiden
Sat Oct 29, 2016 5:35 pm
Forum: Advanced users
Topic: Power down circuit
Replies: 0
Views: 640

Power down circuit

I need a circuit that I can use to power down the RPi correctly. I'd like to be able to press a button, and that will turn on the RPi, then press the same button, and have it issue a shutdown command, allow it to go through the proper shutdown, and then power off the unit. I've found this in my sear...
by rickseiden
Wed Sep 21, 2016 11:22 am
Forum: Advanced users
Topic: RTC over I2C with DAC on SPI
Replies: 6
Views: 1984

Re: RTC over I2C with DAC on SPI

All 3 devices have the same common? There's only two devices. The RTC and the DAC. The only thing they share in common is VCC and GROUND. By 3 devices I mean the raspberry pi (1), the RTC (2) and the DAC (3) and by common I mean ground. Sorry. Re-reading your question, it's obvious what you were as...
by rickseiden
Tue Sep 20, 2016 11:15 am
Forum: Advanced users
Topic: RTC over I2C with DAC on SPI
Replies: 6
Views: 1984

Re: RTC over I2C with DAC on SPI

SpiraMirabilis wrote:All 3 devices have the same common?
There's only two devices. The RTC and the DAC. The only thing they share in common is VCC and GROUND.
by rickseiden
Sat Sep 17, 2016 5:17 pm
Forum: Advanced users
Topic: RTC over I2C with DAC on SPI
Replies: 6
Views: 1984

Re: RTC over I2C with DAC on SPI

joan wrote:I don't see why there should be any interaction between I2C and SPI.
That's what I thought. They work off different pins and shouldn't interfere with each other. But it's definitely that the SPI won't work when the I2C is running.
by rickseiden
Sat Sep 17, 2016 2:55 pm
Forum: Advanced users
Topic: RTC over I2C with DAC on SPI
Replies: 6
Views: 1984

RTC over I2C with DAC on SPI

Wow! Acronyms much? I have my Pi 3 setup to run a real time clock over I2C. That works great. I want to add a digital to analog converter over SPI. The problem I'm having is that if I take off the RTC and rebook, the DAC works just fine, but if I put the RTC back in place, and then reboot again, the...
by rickseiden
Sun Jun 12, 2016 10:23 pm
Forum: Other projects
Topic: Soft Power Switch
Replies: 4
Views: 2636

Soft Power Switch

Hello, This has to have been solved before, but I can't find it via google or searching on this board. I want to run a pi off a LiPo battery, but when the pi is off, I don't want it draining the battery. I'm looking for a configuration that allows for the following: 1) when the pi is off, no power i...
by rickseiden
Sat May 28, 2016 11:10 pm
Forum: Python
Topic: Looking for keypad library with hold down function
Replies: 0
Views: 1023

Looking for keypad library with hold down function

Hello, I'm looking for a Python library I can use to drive a standard matrix keypad (4x4) that includes interrupts for key down, key held down and key up. I've been using pad4pi as a starting point, but it only handles key down. I managed to add key up to it, but it only triggers the key up if the k...
by rickseiden
Mon May 09, 2016 12:53 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RPiB to RPi3B not working [SOLVED]
Replies: 3
Views: 1131

Re: RPiB to RPi3B not working

It's kind of what you were talking about, but not exactly. My Pi is so old that pin 3 is mapped to GPIO 0 and pin 5 is mapped to GPIO 1. On the new Pi, they are GPIO 2 and GPIO 3 respectively. Once I adjusted the code to "compensate" for that, the code worked just fine. Thanks for your hel...
by rickseiden
Sun May 08, 2016 1:49 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RPiB to RPi3B not working [SOLVED]
Replies: 3
Views: 1131

Re: RPiB to RPi3B not working

I thought the first 26 pins stayed the same for backwards compatibility! I'm not using Pin 13 (BMC 21) so that can't be it. I'm not using I2C, so that can't be it. How do I tell the system which RPi I'm using? I'm going to try double checking the wiring based on the link you gave and see if anything...
by rickseiden
Sat May 07, 2016 8:30 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RPiB to RPi3B not working [SOLVED]
Replies: 3
Views: 1131

RPiB to RPi3B not working [SOLVED]

I have an old RPi Model B. Not RPi2 Model B, but the original Model B. I have created a brand new installation of Raspbian Lite, installed the python RPLCD library on it, and wrote a simple little test script to display "Hello World!" on my LCD. It works great. No problems. Wonderful. I ju...
by rickseiden
Thu May 14, 2015 5:16 pm
Forum: HATs and other add-ons
Topic: ATtiny85 with Arduino IDE and Gertboard [SOLVED]
Replies: 10
Views: 9921

Re: ATtiny85 with Arduino IDE and Gertboard [SOLVED]

Actually I don't have a gertboard, I basically wanted to use arduino uno as isp and then program attiny on Raspberry pi 2 You're in unexplored territory here, I think. But if you're talking about running the Arduino IDE on the Raspberry Pi, and using the Arduino Uno as a programmer to program the A...
by rickseiden
Wed May 13, 2015 8:05 pm
Forum: HATs and other add-ons
Topic: ATtiny85 with Arduino IDE and Gertboard [SOLVED]
Replies: 10
Views: 9921

Re: ATtiny85 with Arduino IDE and Gertboard [SOLVED]

Unfortunately I was not able to find Raspberry pi gpio in the programmer list, I guess I have not followed the steps properly :( You have to go through the steps that Gordon gives on getting the Raspberry Pi to run the Arduino IDE with the Girtboard. The instructions are linked at the end of the se...
by rickseiden
Wed May 13, 2015 2:27 pm
Forum: HATs and other add-ons
Topic: ATtiny85 with Arduino IDE and Gertboard [SOLVED]
Replies: 10
Views: 9921

Re: ATtiny85 with Arduino IDE and Gertboard [SOLVED]

i am getting this error while uploading the sketch Blink.cpp:10:21: fatal error: Arduino.h: No such file or directory compilation terminated. please help thanks in advance pranav It's been a long time since I looked at this. It looks like you're getting this error because it can't find the Arduino....
by rickseiden
Mon Jun 23, 2014 11:42 am
Forum: Troubleshooting
Topic: i2c troubleshooting
Replies: 17
Views: 5713

Re: i2c troubleshooting

What connections have you made between the Pi and the MPU6050? A photo might be useful. I have connected the GND --> Pin 6 (GND) VCC--> pin 1 (3.3V) SDA --> pin 3 (SDA0) SCL --> pin 5 (SCL0) [img][IMG]http://i60.tinypic.com/30c6fxz.jpg[/img][/img] this is what happens when i input the commands.. no...
by rickseiden
Sun Jun 22, 2014 10:59 pm
Forum: Troubleshooting
Topic: i2c troubleshooting
Replies: 17
Views: 5713

Re: i2c troubleshooting

When i check the list of modules it shows that i2c-tools is available, but when i type 'sudo i2cdetect -y 1' i dont see anything happening. I have configured the blacklist file and added i2c-dev where necessary. Also when i connect the MPU 6050 i can see the light blink but again when i type the ab...
by rickseiden
Tue Jun 03, 2014 8:14 pm
Forum: General discussion
Topic: DIP IC Anti-static sleeves
Replies: 6
Views: 1766

Re: DIP IC Anti-static sleeves

Thanks to the various names people have used in this post, and in the links from this post, I've actually found them at my go-to components shop . I had searched there before, but hadn't been using the right search terms, so I never found them. The correct terms for find them were "IC Storage T...

Go to advanced search