Go to advanced search

by RattusRattus
Fri Sep 27, 2019 2:40 pm
Forum: General discussion
Topic: assign static ip
Replies: 1
Views: 96

Re: assign static ip

OK so I assume from what you have said you are running a dhcp server (ihc-dhcp-server?) to assign the IP address to the 'client' machines that you want to always have the same IP address assigned. In which case you would edit /etc/dhcpd.conf and add the following lines (iirc there is an example alre...
by RattusRattus
Mon Sep 23, 2019 2:20 pm
Forum: Troubleshooting
Topic: Just a question? Reformatting an HD
Replies: 9
Views: 302

Re: Just a question?

Assuming that you don't need the data on it 1) erase the disk (puts it in a state windows will be happy with) sudo dd if=/dev/zero of=/dev/sd?? bs=4M (replace sd?? with the device node for the hard disk you are wanting to reformat) 2) boot windows - windows will see a blank disk and allow you to for...
by RattusRattus
Mon Sep 23, 2019 2:16 pm
Forum: Beginners
Topic: Network Mapping a Harddrive
Replies: 1
Views: 56

Re: Network Mapping a Harddrive

As you are using Ubuntu then I would suggest that you use NFS.
the following tutorial should help:

https://pimylifeup.com/raspberry-pi-nfs/

BR
/Andy
by RattusRattus
Mon Sep 23, 2019 2:07 pm
Forum: Beginners
Topic: LTE
Replies: 3
Views: 154

Re: LTE

the first hit I got on google for "lte modem raspberry pi" is this

https://filippobuletto.github.io/home-router-lte/

This looks like a walk though for what you would need and how to do it

BR
/Andy
by RattusRattus
Sun Sep 22, 2019 7:02 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Failed SPI Loopback Test
Replies: 19
Views: 634

Re: Failed SPI Loopback Test

Have you enabled SPI / loaded the device driver?

https://www.raspberrypi.org/documentati ... /README.md

/Rattus
by RattusRattus
Fri Sep 20, 2019 3:46 pm
Forum: General discussion
Topic: headless setting up
Replies: 11
Views: 523

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: 10
Views: 1265

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: 2
Views: 237

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: 10
Views: 1265

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: 6
Views: 184

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: 188

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: 352

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: 521

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: 345

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: 345

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: 352

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: 3
Views: 1046

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: 201

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: 521

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: 2
Views: 374

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: 345

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: 328

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: 524

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: 172

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: 927

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

Go to advanced search