Go to advanced search

by RattusRattus
Thu Jan 09, 2020 11:43 pm
Forum: Beginners
Topic: 1pps generation from raspberry Pi
Replies: 2
Views: 198

Re: 1pps generation from raspberry Pi

Short answer: No. There will always be jitter caused by the OS performing context switches for other tasks (and the operation of the OS itself) Now that jitter may be small enough that you don't notice it but your gpio edges will not not be always exactly 1 second apart long answer: Before Python 3....
by RattusRattus
Thu Jan 09, 2020 11:14 pm
Forum: Beginners
Topic: Question about sources.list
Replies: 4
Views: 196

Re: Question about sources.list

deb URL buster main contrib non-free rpi The components main contrib and non-free contain packages that are found in the debian distribution: o main consists of DFSG-compliant packages, which do not rely on software outside this area to operate. These are the only packages considered part of the Deb...
by RattusRattus
Thu Jan 09, 2020 10:47 pm
Forum: Beginners
Topic: tee command to listen in on the serial port
Replies: 2
Views: 106

Re: tee command to listen in on the serial port

The tee command will only allow you to log what is sent to stdout (i..e what you see on your screen) unless you are see the sort of information you are wanting to capture going by onscreen then tee isn't the command you are looking for - sorry
by RattusRattus
Fri Sep 27, 2019 2:40 pm
Forum: General discussion
Topic: assign static ip
Replies: 1
Views: 114

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

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

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

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

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

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: 11
Views: 1846

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

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: 11
Views: 1846

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

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

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

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

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

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

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

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

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

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

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

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

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: 4
Views: 442

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...

Go to advanced search