Search found 53 matches
- Fri Jan 08, 2021 7:16 pm
- Forum: Advanced users
- Topic: Argon One Replacement Daemon
- Replies: 189
- Views: 11758
Re: Argon One Replacement Daemon
Maybe a flag like "rising_edge_detected" might be useful to ensure the pulse detection sequence is rising edge followed by a falling edge?
- Fri Jan 08, 2021 11:13 am
- Forum: Advanced users
- Topic: Argon One Replacement Daemon
- Replies: 189
- Views: 11758
Re: Argon One Replacement Daemon
Thu Jan 7 11:51:49 2021 [INFO] Startup ArgonOne Daemon ver 0.2.2 Thu Jan 7 11:51:49 2021 [INFO] Now waiting for button press Thu Jan 7 11:51:49 2021 [INFO] Monitoring line 4 on /dev/gpiochip0 Thu Jan 7 11:51:51 2021 [INFO] Successfully opened /dev/vcio for temperature sensor Thu Jan 7 12:59:04 2021...
- Tue Nov 17, 2020 7:32 am
- Forum: C/C++
- Topic: [NEED HELP] Problem with libgpiod - undefined reference to its function
- Replies: 12
- Views: 561
Re: [NEED HELP] Problem with libgpiod - undefined reference to its function
The correct flag for adding the library is -lgpiod The current version of libgpiod-dev on Raspberry Pi OS is 1.2-3: dpkg -l libgpiod-dev Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err...
- Mon Nov 16, 2020 7:31 pm
- Forum: C/C++
- Topic: [NEED HELP] Problem with libgpiod - undefined reference to its function
- Replies: 12
- Views: 561
Re: Problem with libgpiod - undefined reference to its function
Try
Your command line gives me
The installed version here is libgpiod-dev 1.2-3+rpi1 on a RPI4 4GB. Installed with
Code: Select all
g++ -Wall -Wextra -Werror -lgpiod libgpio.cpp
Code: Select all
g++ -Wall -Wextra -Werror -libgpiod libgpio.cpp
/usr/bin/ld: cannot find -libgpiod
Code: Select all
sudo apt install libgpiod-dev
- Fri Oct 30, 2020 2:55 pm
- Forum: Interfacing (DSI, CSI, I2C, etc.)
- Topic: DS18B20 works on Pi Model 1B, and 2B, but not model 4
- Replies: 2
- Views: 194
Re: DS18B20 works on Pi Model 1B, and 2B, but not model 4
GPIO4 (the default for the 1-wire interface) is used by the case (the power button IIRC).
- Sun Oct 04, 2020 2:22 pm
- Forum: General discussion
- Topic: Imaging an RPi SDcard on another RPi, how?
- Replies: 17
- Views: 612
Re: Imaging an RPi SDcard on another RPi, how?
FYI, imgclone supports cloning another device then the currently mounted sd card: $ ./imgclone -? ---- Raspberry Pi clone to image V1.8 --- ----------------------------------------------- ---- DO NOT CHANGE FILES ON YOUR SD CARD --- ---- WHILE THE BACKUP PROGRAM IS RUNNING --- ---- THE DESTINATION ....
- Sat Sep 26, 2020 6:49 am
- Forum: Beginners
- Topic: read data from ThermoBeacon
- Replies: 9
- Views: 719
- Thu Sep 24, 2020 5:01 pm
- Forum: Advanced users
- Topic: Argon One Replacement Daemon
- Replies: 189
- Views: 11758
Re: Looking for Argon One case details
The build, install, uninstall worked. I don't have an argon case for this RPi.DarkElvenAngel wrote: ↑Thu Sep 24, 2020 3:03 pm@nliviu,
If you did the build and install could you just let me know that it's working for you?
Thanks
- Wed Sep 23, 2020 6:42 pm
- Forum: Advanced users
- Topic: Argon One Replacement Daemon
- Replies: 189
- Views: 11758
Re: Looking for Argon One case details
FYI, the configure script does not detect the 64 bit Raspberry Pi OS: $ ./configure Distro check [debian] WARNING: UNKNOWN DISTRO, The installer may not work SYSTEM CHECK gcc : OK dtc : OK make : OK bash-autocomplete : OK I2C Bus check : ENABLED Dependency Check Successful $ uname -m aarch64 $ cat /...
- Sat Sep 12, 2020 5:20 pm
- Forum: General discussion
- Topic: my pi B rev 2 512M RAM still kicking
- Replies: 6
- Views: 381
Re: my pi B rev 2 512M RAM still kicking
My Pi Model B Rev 2 is also running dump1090 at 80% load. Recently updated it in-place to Buster.
- Thu Sep 10, 2020 5:48 pm
- Forum: C/C++
- Topic: Questions about porting from C to C++
- Replies: 49
- Views: 1941
Re: Questions about porting from C to C++
It looks like you are compiling that file with c++ or g++. Compile it wit cc or gcc. clang will also throw errors. Example: #include <stdio.h> enum event { EV_INIT = 0, EV_SYN, EV_KEY, EV_REL, EV_ABS, EV_MSC, EV_LED, EV_SND, EV_REP, EV_FF, EV_PWR, EV_FF_STATUS, EV_MAX }; const char *events[EV_MAX + ...
- Thu Sep 10, 2020 5:00 pm
- Forum: Beginners
- Topic: Installing Innoextract
- Replies: 2
- Views: 102
Re: Installing Innoextract
Follow the same steps:
Code: Select all
wget https://constexpr.org/innoextract/files/innoextract-1.9.tar.gz
tar xzf innoextract-1.9.tar.gz
cd innoextract-1.9/
mkdir build && cd build
cmake ..
make
sudo make install
- Thu Sep 10, 2020 9:25 am
- Forum: Python
- Topic: Multiple DS18B20's, best way to code (Python) for multiple sensors? [Solved]
- Replies: 14
- Views: 565
Re: Multiple DS18B20's, best way to code (Python) for multiple sensors?
Another version (with my own sensor ids): #!/usr/bin/env python3 import csv import os import time sensors = ["28-020a92455e3c", "28-0207924579fa"] sensors_map = { sensors[0]: "Waterproof Probe = ", sensors[1]: "Breadboard Probe 1 = "} def read_temp(id): sensor...
- Thu Sep 10, 2020 6:36 am
- Forum: General discussion
- Topic: Changing the i2c-adress from a RTC
- Replies: 11
- Views: 494
- Thu Sep 10, 2020 6:09 am
- Forum: General discussion
- Topic: Changing the i2c-adress from a RTC
- Replies: 11
- Views: 494
Re: Changing the i2c-adress from a RTC
This module uses the DS3231 RTC (I2C address 0x68). It also have a I2C 4kB 24C32N EEPROM (address 0x57).
The address of the DS3231 cannot be changed.
I have a similar module which works very well with RPi4.
The address of the DS3231 cannot be changed.
I have a similar module which works very well with RPi4.
- Wed Sep 09, 2020 12:34 pm
- Forum: Beginners
- Topic: How to add and control Fan in RPi4 without other power source
- Replies: 11
- Views: 523
Re: How to add and control Fan in RPi4 without other power source
What is the power rating of your fan?
- Wed Sep 09, 2020 11:40 am
- Forum: Beginners
- Topic: How to add and control Fan in RPi4 without other power source
- Replies: 11
- Views: 523
Re: How to add and control Fan in RPi4 without other power source
Probably the transistor does not open enough to provide the current for the fan to start.
Measure the collector emitter voltage when the GPIO is on (or when connecting the 1K resistor to 3.3V) and reduce the resistor's value until it is less than 0.5V.
Measure the collector emitter voltage when the GPIO is on (or when connecting the 1K resistor to 3.3V) and reduce the resistor's value until it is less than 0.5V.
- Wed Sep 09, 2020 10:54 am
- Forum: Other projects
- Topic: Portable ADS-B low flying aircraft alarm
- Replies: 6
- Views: 819
Re: Portable ADS-B low flying aircraft alarm
Currently I use RTL-SDR Blog V3 R820T2 RTL2832U 1PPM TCXO SMA Software Defined Radio
Other options might be the FlightAware sticks, eg. FlightAware Pro Stick Plus
- Tue Sep 08, 2020 12:08 pm
- Forum: Other projects
- Topic: Portable ADS-B low flying aircraft alarm
- Replies: 6
- Views: 819
Re: Portable ADS-B low flying aircraft alarm
The easiest way would be to connect to port 30003 from dump1090 and parse the data. Example output: MSG,6,1,1,424776,1,2020/09/08,15:03:22.428,2020/09/08,15:03:22.428,,,,,,,,4701,0,0,0, MSG,6,1,1,424776,1,2020/09/08,15:03:22.428,2020/09/08,15:03:22.428,,,,,,,,4701,0,0,0, MSG,5,1,1,424776,1,2020/09/0...
- Mon Sep 07, 2020 6:45 am
- Forum: Troubleshooting
- Topic: [SOLVED]Weird behaviour outputting a BME280 to influx on a Pi ZeroW
- Replies: 4
- Views: 199
Re: Weird behaviour outputting a BME280 to influx on a Pi ZeroW
You have to move
in the while loop, otherwise all the records will be sent to influxdb with the same timestamp (the time when the script started).
Code: Select all
iso = time.ctime()
- Mon Sep 07, 2020 6:02 am
- Forum: General discussion
- Topic: Get your Pi to fight COVID-19
- Replies: 194
- Views: 15689
- Tue Aug 11, 2020 9:21 am
- Forum: Other projects
- Topic: Generating a amplitude-modulated sine wave
- Replies: 1
- Views: 216
- Fri Aug 07, 2020 2:33 pm
- Forum: Beginners
- Topic: External USB Hard drive mounted, partioned but not listed (was: How to check how much free space is left on external HD)
- Replies: 22
- Views: 884
Re: External USB Hard drive mounted, partioned but not listed (was: How to check how much free space is left on external
Unmount from /mnt/exHDD and mount on /mnt/USBStick
Code: Select all
sudo umount /mnt/exHDD
sudo mount -t ext2 /dev/sda1 /mnt/USBStick
- Fri Aug 07, 2020 1:31 pm
- Forum: Beginners
- Topic: External USB Hard drive mounted, partioned but not listed (was: How to check how much free space is left on external HD)
- Replies: 22
- Views: 884
Re: External USB Hard drive mounted, partioned but not listed (was: How to check how much free space is left on external
My bet is that the directory /mnt/USBStick is populated with files from the sd, not from the external drive which is not mounted. Try to unmount it sudo umount /mnt/USBStick If the result is "umount: /mnt/USBStick: not mounted.", you can try to mount it from the command line, assuming /mnt...
- Fri Aug 07, 2020 10:13 am
- Forum: Beginners
- Topic: External USB Hard drive mounted, partioned but not listed (was: How to check how much free space is left on external HD)
- Replies: 22
- Views: 884
Re: External USB Hard drive mounted, partioned but not listed (was: How to check how much free space is left on external
It looks like it's not mounted.
A mount point has a full path, something like "/mnt/USBStick".
The entry in the mount list should read something like
If you can see it with filezilla, you can see it in the ssh session too (using the same path).
A mount point has a full path, something like "/mnt/USBStick".
The entry in the mount list should read something like
Code: Select all
/dev/sda1 on /mnt/USBStick ...