Go to advanced search

by RattusRattus
Fri Sep 20, 2019 3:46 pm
Forum: General discussion
Topic: headless setting up
Replies: 5
Views: 188

Re: headless setting up

Hi there, If you can see the Pi connecting to your Hotspot I guess you can see the IP address it is being given by the hotsport. I guess that you are also connecting to the same hotspot with your windows PC? if so simply open putty on yoiur windows PC and enter the IP address that has been given to ...
by RattusRattus
Fri Sep 20, 2019 3:41 pm
Forum: Automation, sensing and robotics
Topic: Liquid volume sensor in a tank
Replies: 6
Views: 142

Re: Liquid volume sensor in a tank

a good start point could be here, but as previously stated there are MANY projects along this line...

https://thepihut.com/blogs/raspberry-pi ... spberry-pi

/Andy
by RattusRattus
Wed Sep 18, 2019 6:27 pm
Forum: Beginners
Topic: SPI on Raspberry Pi. "Translating" from C to python.
Replies: 1
Views: 77

Re: SPI on Raspberry Pi. "Translating" from C to python.

I would statrt with a turorial like https://learn.sparkfun.com/tutorials/ra ... torial/all
in in particular take a close look at SPIdev https://pypi.org/project/spidev/

Hope this helps

/Andy
by RattusRattus
Wed Sep 18, 2019 8:57 am
Forum: Automation, sensing and robotics
Topic: Liquid volume sensor in a tank
Replies: 6
Views: 142

Re: Liquid volume sensor in a tank

Hi there. There are several methods this can be done. Traditionally tanks had sensor probes that contained float switches. You would have a different switch at a different depth - easy. However it does not tell you how much 'stuff you have in your tank' For a liquid in a tank pressure sensors are us...
by RattusRattus
Wed Sep 18, 2019 8:37 am
Forum: Beginners
Topic: [SOLVED]How to set up dhcp IP from file similar to setting up Static IP in dhcpcd.conf
Replies: 5
Views: 71

Re: How to set up dhcp IP from file similar to setting up Static IP in dhcpcd.conf

Hi there setting an IP address can be done 2 ways ether static or dynamically if you are setting your IP statically then this is done on your local machine and that would be a setting in /etc/networks If you want dynamic allocation there are several ways to obtain an IP address traditionally (and my...
by RattusRattus
Wed Sep 18, 2019 8:06 am
Forum: Python
Topic: Change in logic in sensor not breaking 'while' loop?
Replies: 3
Views: 113

Re: Change in logic in sensor not breaking 'while' loop?

Have you confirmed that you can read from the sensor at all? For now I would ignore your motor control and just write a bit of code to show you that the sensor is working as you would expect. I would also use a multimeter to check if the line does go to a logic 1 (in this case 3.3V) and then go to l...
by RattusRattus
Wed Sep 18, 2019 7:49 am
Forum: Automation, sensing and robotics
Topic: Automation system from Internet via Pi
Replies: 4
Views: 188

Re: Automation system from Internet via Pi

You are talking about controlling the hardware on the RPi vi\ a remote website. May I make a recommendation decouple, Decouple, DECOUPLE :-) Split your programs into a modular system. Have all your RPi hardware contol and feedback simply talk to a file on your RPi (this could be a RAMDisk in /dev/sh...
by RattusRattus
Wed Sep 18, 2019 7:32 am
Forum: Networking and servers
Topic: Can You Wirelessly Transmit Data Pi To Pi
Replies: 10
Views: 320

Re: Can You Wirelessly Transmit Data Pi To Pi

I am pleased that you are making progress AND having fun It is always nice when someone posts an answer to a question gets a response (either positive or negative) from the person who posted the question. Obviously nicer when the response is positive :-) Cheers /Andy P.S Andyroo - I guess I am the A...
by RattusRattus
Tue Sep 17, 2019 8:24 pm
Forum: Graphics, sound and multimedia
Topic: 3.5 inch capacitive screen for RPi 4/4b?
Replies: 5
Views: 157

Re: 3.5 inch capacitive screen for RPi 4/4b?

5" pcap touch screen displays are available This *looks* suitable: I only offer this as a suggestion - I have NOT purchased / tried one of these displays, and have no idea *if* it will actually work as advertised... https://uk.banggood.com/5-Inch-800x480-HDMI-Touch-Capacitive-LCD-Screen-With-OSD-Men...
by RattusRattus
Mon Sep 16, 2019 6:12 pm
Forum: Graphics, sound and multimedia
Topic: 3.5 inch capacitive screen for RPi 4/4b?
Replies: 5
Views: 157

Re: 3.5 inch capacitive screen for RPi 4/4b?

I have been looking, and like you I can't find any 3.5" Capacitive touch screens (of either technolohy). There are plenty or 'ebay' type resellers claiming capacitive touch screens until you look at them in more detail and they too are resistive touch screens... /Me hates it when they advertise one ...
by RattusRattus
Sun Sep 15, 2019 6:22 pm
Forum: Automation, sensing and robotics
Topic: Automation system from Internet via Pi
Replies: 4
Views: 188

Re: Automation system from Internet via Pi

This all depends on your website :-) Do you have remote file access to your web server? If you can then this is great news. You can simply get your RPi to transfer your data backwards and forwards using scp. and script your web page to look at / update the files that you periodically update with you...
by RattusRattus
Sun Sep 15, 2019 5:37 pm
Forum: Automation, sensing and robotics
Topic: Can I use a PCA9685 like this?
Replies: 1
Views: 57

Re: Can I use a PCA9685 like this?

Almost certainly your servos wion't like that... You will need to level shift the PWM signal to match that of the input required for each servo. However you are correct in commonning the 0V lines together. This could be off the shelf level shifters, or as simple as inverting your PWM output and driv...
by RattusRattus
Sun Sep 15, 2019 5:20 pm
Forum: Troubleshooting
Topic: Problems with date after read-only configuration
Replies: 4
Views: 120

Re: Problems with date after read-only configuration

Your NTP client is obviously trying to save skew data.

Try sim-linking its files into a RAMDisk (/dev/shm)

You will need to set the sim-links up before starting your NTP client

/Andy
by RattusRattus
Sun Sep 15, 2019 5:16 pm
Forum: Networking and servers
Topic: Can You Wirelessly Transmit Data Pi To Pi
Replies: 10
Views: 320

Re: Can You Wirelessly Transmit Data Pi To Pi

If you have WiFi on your Pis then this is a simple matter of having one Pi configured as the Access point and the rest associate with it.

Take a look at https://www.raspberrypi.org/documentati ... s-point.md

/Andy
by RattusRattus
Sun Sep 15, 2019 5:13 pm
Forum: Other projects
Topic: Cipher Machine Using Raspberry Pi
Replies: 1
Views: 64

Re: Cipher Machine Using Raspberry Pi

Sounds like a USB keyboard --> RPi --> USB Serial printer would be a good place to start

once you have that working then you could choose to hack around with the aesthetics & mechanics
by RattusRattus
Sun Sep 15, 2019 5:09 pm
Forum: Graphics, sound and multimedia
Topic: 3.5 inch capacitive screen for RPi 4/4b?
Replies: 5
Views: 157

Re: 3.5 inch capacitive screen for RPi 4/4b?

Projected capacitance or just Capacitive touch?

i.e. multi-touch or single touch output?

Do you want this to be supplied bonded to the 3.5 inch display or just the touch screen and controller board?

/Andy
by RattusRattus
Sun Sep 15, 2019 5:06 pm
Forum: General discussion
Topic: Battery charger IC good for raspberry pi?
Replies: 5
Views: 208

Re: Battery charger IC good for raspberry pi?

Typically this is more than one IC A coulomb counter IC / gas gauge coupled to the battery (i.e. inside the battery pack if it is removable) using either 1-Wire or I2C bus A PMIC (Power Management IC) - This is typically the primary power supply for your product, providing multiple SMPS and LDO rail...
by RattusRattus
Sun Sep 15, 2019 11:13 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SPI Serial FLASH --> File system
Replies: 1
Views: 355

Re: SPI Serial FLASH --> File system

So it has been 3 months since I asked this question, and no reply. I have been digging for an answer and it appears that the MTD drivers are a bit 'special' and unlikely to work correctly out of the box ( the code being flaky enough that patches to make one FLASH IC work break others - according to ...
by RattusRattus
Mon Jun 24, 2019 9:23 pm
Forum: General discussion
Topic: Raspberry Pi For 24X7X365 use
Replies: 1
Views: 164

Re: Raspberry Pi For 24X7X365 use

Can an RPi be used 24x7x365 - YES Anything I should consider? * Power budget ** Know what your power consumption is across a 24 hour period, scale your battery capacity accordingly ** Don't forget batteries will age so scale accordingly (i.e. they drop storage capacity as they get older - for LiPol ...
by RattusRattus
Mon Jun 24, 2019 6:53 pm
Forum: Advanced users
Topic: Does the Raspberry Pi 4 officially support micro-SD cards with more than 32GB?
Replies: 3
Views: 778

Re: Does the Raspberry Pi 4 officially support micro-SD cards with more than 32GB?

I will add that ONLY the boot partition needs to be fat32 (or fat16).

Additional partitions on the same uSD card can be of other types, and additional partitions other than the rootfs and boot partition can be any type providing you have drivers for it installed :-)


/RattusRattus
by RattusRattus
Mon Jun 24, 2019 6:43 pm
Forum: Beginners
Topic: RPI4 USB C Power Delivery negotiation
Replies: 20
Views: 5196

Re: RPI4 USB C Power Delivery negotiation

Hi there Looking at the reduced schematics provided publicly for the RPi4 [1] we can see that there USB-C power pin (J1.VBUS) is directly connected to the primary 5V power rail. This means that the Pi4 can ONLY accept 5V input from your power supply. There will be NO higher voltage negociation. USB-...
by RattusRattus
Mon Jun 17, 2019 7:44 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WiringPi and I2C BME280
Replies: 5
Views: 736

Re: WiringPi and I2C BME280

So I think you are saying A) when you have the BME280 connected everything works as you would expect B) When the BME280 is connected it shows up on as device 76 when you scan the I2C bus with ic2detect -y 1 C) When you disconnect the BME280 it correctly disapears from ic2detect -y 1 So far everythin...
by RattusRattus
Mon Jun 17, 2019 12:30 pm
Forum: General discussion
Topic: Generate multiple PWM signals
Replies: 5
Views: 325

Re: Generate multiple PWM signals

Hi there

It sounds like you probably want a GPIO / PWM expander. These mostly use SPI for communications back to your host.

Take a look at modules here:

https://www.adafruit.com/category/866

have a play with different modules and decide on the chip that works best for you.

/Rattus
by RattusRattus
Mon Jun 17, 2019 12:22 pm
Forum: Networking and servers
Topic: Bidirectional Communication
Replies: 3
Views: 480

Re: Bidirectional Communication

That's what networks are for....

You have both Wired and WifI to choose from

:-)

/Rattus
by RattusRattus
Sun Jun 16, 2019 10:15 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SPI Serial FLASH --> File system
Replies: 1
Views: 355

SPI Serial FLASH --> File system

Hi there, I have an ISSI IS25LP128F SPI 128Mbit FLASH chip attached to SPI bus 0 on nCS0 (GPIO8 pin 24 nCS_FLASH) This shows up as /dev/spidev0.0 on the Pi I would like to put a file system on this device allowing me to leave the SD card mounted RO (except for the all important security updates). I ...

Go to advanced search