Go to advanced search

by Killertechno
Mon Dec 02, 2019 11:21 am
Forum: Networking and servers
Topic: [MagPi] Raspberry Pi NAS
Replies: 1
Views: 229

[MagPi] Raspberry Pi NAS

Hi to all. I apologize but when searching for "nas" I get several discussions, totally different from what I'm searching for. I would like to build a NAS using Raspberry Pi, I know there are several guides from the net but I would like to make best NAS as I can. 1) first of all, I always read about ...
by Killertechno
Wed Nov 13, 2019 10:37 am
Forum: General discussion
Topic: Change IP from web page
Replies: 6
Views: 1057

Re: Change IP from web page

you needto edit /etc/dhcpcd.conf I'm doing a serial device, similar to the MOXA's NPORT. These devices convert a serial comunication RS232 to TCP/IP. I would like to do a config page to provide network settings, where de user can define static IP o DHCP. Thanks. Moxa uses "official" IP address (sta...
by Killertechno
Mon Nov 11, 2019 5:58 pm
Forum: Troubleshooting
Topic: RTC time off by 0.5 seconds?
Replies: 1
Views: 68

RTC time off by 0.5 seconds?

Hi to all, I'm using external RTC DS3231 but I'm looking strange behaviour: connecting pull-up resistor on square-wave output I get time mismatch of half second if compared to PPS output of GPS. I also check for something wrong in code: pi@raspberrypi:~ $ date && sudo ntpdate 193.204.114.232 Mon 11 ...
by Killertechno
Thu Oct 24, 2019 7:45 pm
Forum: General programming discussion
Topic: [Stretch] How disable ntp?
Replies: 1
Views: 894

[Stretch] How disable ntp?

Hi to all forum users. How can I (REALLY) disable ntp update? pi@raspberrypi:~ $ cat /etc/*-release PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" NAME="Raspbian GNU/Linux" VERSION_ID="9" VERSION="9 (stretch)" ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspb...
by Killertechno
Thu Oct 10, 2019 9:23 pm
Forum: Troubleshooting
Topic: RN-42 to serial port, how to?
Replies: 1
Views: 121

RN-42 to serial port, how to?

Hi to all, I would like to access to my Pi-Zero from Windows through bluetooth. I bought RN-42 module: if I correctly understand default configuration is 115200, transparent mode. I connect serial terminal to RN-42 breakout board, I can find module through Windows blutooth, I can pair module, I can ...
by Killertechno
Thu Sep 19, 2019 4:03 pm
Forum: Troubleshooting
Topic: Raspberry Pi minimum operating temperature
Replies: 2
Views: 156

Raspberry Pi minimum operating temperature

Hi to all, on some discussions I've read Raspberry Pi has been built using chips with different operating temperature, if I correctly understand some of them has 0°C minimum operating temperature, while others -40°C. It doesn't seem Raspberry has "undertemperature" issues during normal use (room wit...
by Killertechno
Tue Jul 16, 2019 2:22 pm
Forum: Python
Topic: Automatic refresh of map
Replies: 0
Views: 353

Automatic refresh of map

Hi to all, I need some help about automatic map refreshing. Here example code I downloaded ( https://docs.obspy.org/tutorial/code_snippets/basemap_plot_with_beachballs.html ): import gzip import numpy as np import matplotlib.pyplot as plt from mpl_toolkits.basemap import Basemap from obspy.imaging.b...
by Killertechno
Mon Jun 24, 2019 9:58 am
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 947
Views: 112330

Re: Raspberry Pi 4 Thread - general discussion

Are you planning to build CM4 and/or any upgrade for CM3?
by Killertechno
Tue Jun 04, 2019 10:02 am
Forum: General discussion
Topic: PCB Design Software and Small Qty Manufacturing
Replies: 10
Views: 2129

Re: PCB Design Software and Small Qty Manufacturing

Let's talk about small quantity PCB manufacturing (other discussion about PCBway has closed, I don't understand why, maybe a duck closed discussion....). I designed small PCB to be used with Raspberry Zero, I just need 1 PCB as prototype. I usually send my gerbers to Eurocircuits (or PCBproto), for ...
by Killertechno
Tue Jun 04, 2019 7:34 am
Forum: HATs and other add-ons
Topic: Pi Zero Enc28j60 Network Adapter Module
Replies: 4
Views: 669

Re: Pi Zero Enc28j60 Network Adapter Module

I was able to use exactly those cheap Arduino modules with Pi Zero three years ago, see the instruction links: https://www.raspberrypi.org/forums/viewtopic.php?t=152965#p1015300 I already follower those instructions, that's why, due not working, I moved to another board. Without creating new discus...
by Killertechno
Fri May 31, 2019 5:38 pm
Forum: Compute Module
Topic: Guidelines for USB bus design for CM
Replies: 1
Views: 503

Guidelines for USB bus design for CM

Hi to all! I'm designing board using Raspberry CM. I need USB devices such pendrive, USB to serial (I need several serial ports), wireless card.... I found USB hub chip and all devices are USB 2.0; all devices has gor own USB power switch. I don't need to plug/unplug them, they are all fixed to main...
by Killertechno
Wed Apr 24, 2019 1:29 pm
Forum: Python
Topic: Get filter kernel from output signal?
Replies: 1
Views: 186

Get filter kernel from output signal?

Hi to all, I was taking a look to this convolution example: import numpy as np import scipy.signal import matplotlib import matplotlib.pyplot as plt import sys matplotlib.use('TkAgg') # test convolve kernel = [0.5, 0.45, 0.05, 0] input_signal = [0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, ...
by Killertechno
Tue Apr 23, 2019 12:58 pm
Forum: Automation, sensing and robotics
Topic: FYI: controlling Lights from Google Calendar via Raspi
Replies: 2
Views: 5765

Re: FYI: controlling Lights from Google Calendar via Raspi

Nice job, just one question: must I use google calendar?
I mean, I need to update calendar through web interface (I want run Pi headless), but if not available internet connection?
Are there similar calendars available?
Thanks.
by Killertechno
Fri Apr 19, 2019 1:36 pm
Forum: Device Tree
Topic: USB to serial adapter: ttyUSBx identification?
Replies: 2
Views: 801

USB to serial adapter: ttyUSBx identification?

Hi to all, I donìt know if this is correct section.... I'm using several devices with serial to USB bridge, so I have ttyUSB0, ttyUSB1, ttyUSB2, ttyUSB3, up to 8 ttyUSBx entries. Here dmesg log: [178399.675164] usbcore: registered new interface driver pl2303 [178399.675250] usbserial: USB Serial sup...
by Killertechno
Tue Apr 09, 2019 4:44 pm
Forum: HATs and other add-ons
Topic: Pi Zero Enc28j60 Network Adapter Module
Replies: 4
Views: 669

Re: Pi Zero Enc28j60 Network Adapter Module

I was searching for ENC28J60 network adapter, I bought a ENC28J60 network adapter made for Arduino, it didn't work, so I bought a new one specific for Zero (but correctly working also on Pi 2B). Ok, this board is more expensive than Arduino one (I paid about 18 euro on Amazon), but I haven't wasted...
by Killertechno
Tue Apr 09, 2019 4:41 pm
Forum: HATs and other add-ons
Topic: Pi Zero Enc28j60 Network Adapter Module
Replies: 4
Views: 669

Pi Zero Enc28j60 Network Adapter Module

I was searching for ENC28J60 network adapter, I bought a ENC28J60 network adapter made for Arduino, it didn't work, so I bought a new one specific for Zero (but correctly working also on Pi 2B). Ok, this board is more expensive than Arduino one (I paid about 18 euro on Amazon), but I haven't wasted ...
by Killertechno
Thu Apr 04, 2019 2:51 pm
Forum: General programming discussion
Topic: How disable system time update?
Replies: 5
Views: 1537

Re: How disable system time update?

sudo systemctl stop systemd-timesyncd
sudo systemctl disable systemd-timesyncd

Still getting time updated when internet available....
by Killertechno
Thu Apr 04, 2019 10:19 am
Forum: General programming discussion
Topic: How disable system time update?
Replies: 5
Views: 1537

Re: How disable system time update?

Unless my math is out (and it could be) that chip could loose 3 minutes a year depending on temp. I would be interested to know how you get on with it :) Yes, maximum drift would be 63 seconds (within 0 to 40 °C), or 110 seconds (-40 to 85 °C) after 1 year (365 days). I check sync alignment with GP...
by Killertechno
Wed Apr 03, 2019 11:18 pm
Forum: General programming discussion
Topic: How disable system time update?
Replies: 5
Views: 1537

How disable system time update?

Hi to all, I'm making tests using DS3231 RTC and GPS receiver. At boot I write into DS3231 date from GPS receiver (starting at 1 Jan 2000), but when accessing to Raspberry through ssh I can see system time and RTC time are updated to 2019. Disabling internet access on router I can correctly find RTC...
by Killertechno
Tue Apr 02, 2019 10:52 am
Forum: Compute Module
Topic: CM3 vertical socket
Replies: 15
Views: 9589

Re: CM3 vertical socket

I don't know if any news...
I found this from JST website (UK), why not make a buy group?
DM-7D4-H2500
Uk users could then sell It to other european users...
by Killertechno
Thu Mar 28, 2019 1:53 pm
Forum: C/C++
Topic: [TCP] Server/client non blocking: missing sys/event.h?
Replies: 1
Views: 1486

[TCP] Server/client non blocking: missing sys/event.h?

Hi guys, I need to write C program for TCP server (TCP to serial bridge RFC 2217). First step would be creating TCP server; I'm a noob about TCP server programming so I've found online TCP server examples: https://github.com/mafintosh/echo-servers.c/blob/master/unix-non-blocking-echo-server.c But wh...
by Killertechno
Tue Mar 26, 2019 3:54 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Newbie with RN2483 (LoRa)
Replies: 0
Views: 228

Newbie with RN2483 (LoRa)

Hi to all, I shame very much to ask this but I can't understand how LoRa works.... I bought a couple of RN2483 modules. I can set frequency, band, and so on, and I can correctly make transmission point-to-point using "mac pause" disabling LoRaWAN. 1) When I send packet, is it send broadcast to all d...
by Killertechno
Wed Feb 13, 2019 9:12 am
Forum: C/C++
Topic: [C] compatibility data types 32-64 bit?
Replies: 18
Views: 1712

[C] compatibility data types 32-64 bit?

Hi to all, I have little doubt about compatibility between 32/64 bit OSs..... C data types size in bytes (e.g. for long) could be different, so I should tell compiler to compile in 32bit even if running on 64bit OS. If I've correctly understood, I just need to use "-m32" option in compiler string. O...
by Killertechno
Mon Jan 21, 2019 4:56 pm
Forum: C/C++
Topic: License key for C program?
Replies: 1
Views: 468

License key for C program?

Hi to all,
I'm writing software in C for specific Raspberry HAT: I want software could work only with specific HAT (with specific unique hardware ID).
Is this possible in C?
I have no idea about doing this, it's first time...
Thanks.
by Killertechno
Fri Dec 28, 2018 11:57 pm
Forum: C/C++
Topic: Little doubt on floating point precision
Replies: 7
Views: 1068

Re: Little doubt on floating point precision

This not working: #include <stdio.h> #define hpf_filterorder 1 // ordine del filtro passa-alto per la rimozione dell'offset #define max_components 1 #define filter_order hpf_filterorder struct FilterBuffer { float input[filter_order+1]; float output[filter_order+1]; }; struct FilterBuffer FilterValu...

Go to advanced search