Page 2 of 2
Re: Mightyohm Geiger Counter & Raspberry Pi
Posted: Sat Sep 12, 2020 9:39 am
by MaK
After fixing the short-circuit, the remaining step would be to connect J6-1 to any 3.3V pin from the Raspberry Pi (1, 17) to provide power to the Geiger Counter. Since the GC only needs ~8mA you could even connect it to a GPIO pin (they can handle up to 16mA) instead of 3.3V, e.g. like this:
Code: Select all
Raspberry Pi <-> Geiger Counter
TxD (8) <-> (J7-4) RxD
RxD (10) <-> (J7-5) TxD
GPIO 4 (16) <-> (J6-1) VCC
GPIO 5 (18) <-> (J6-2) PULSE
GND (20) <-> (J6-3) GND
Now you can switch the GC on and off via GPIO 4, do your own counts and stats of the pulses on GPIO 5 and also have the readings via the serial port.
Re: Mightyohm Geiger Counter & Raspberry Pi
Posted: Mon Oct 26, 2020 2:54 pm
by mightyohm
I don't think I'd recommend powering the kit from a GPIO. While the average current might be a few mA the peak current is higher.
Re: Mightyohm Geiger Counter & Raspberry Pi
Posted: Mon Feb 28, 2022 7:26 am
by Burny4600
Are there also connections for FHEM?
Chris
Re: Mightyohm Geiger Counter & Raspberry Pi
Posted: Sun Mar 13, 2022 10:06 am
by hlain
On my raspberrypi3B I had to use ttys0 instead of ttyAMA0
minicom -b 9600 -o -D /dev/ttyS0
This yielded output:
Code: Select all
Welcome to minicom 2.7.1
OPTIONS: I18n
Compiled on Aug 13 2017, 15:25:34.
Port /dev/ttyS0, 18:05:46
Press CTRL-A Z for help on special keys
CPS, 0, CPM, 11, uSv/hr, 0.06, SLOW
CPS, 1, CPM, 12, uSv/hr, 0.06, SLOW
I found ttyS0 using dmesg | grep tty
Code: Select all
[pi@raspberrypi-18:07~]
%dmesg | grep tty
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=tty1 root=PARTUUID=9deffb57-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[ 0.000372] printk: console [tty1] enabled
[ 2.964589] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 114, base_baud = 0) is a PL011 rev2
[ 2.967525] 3f215040.serial: ttyS0 at MMIO 0x3f215040 (irq = 86, base_baud = 50000000) is a 16550
[pi@raspberrypi-18:07~]
%
Re: Mightyohm Geiger Counter & Raspberry Pi
Posted: Wed Mar 23, 2022 1:39 pm
by mightyohm
Burny4600 wrote: ↑Mon Feb 28, 2022 7:26 am
Are there also connections for FHEM?
Chris
What is FHEM?