Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Open/save file on Android
Post: Open/save file on Android
Hi all, I have app using Kivy and I need open / save csv files. Under Windows/Linux it works well but not under Android. I see folders but no files. Testing on Android 13 but must works also on 10,11,... |
|
frohr |
General Coding Help |
0 |
339 |
Jan-24-2024, 06:28 PM |
|
|
Thread: Kivy Flask Buildozer compile apk
Post: RE: Kivy Flask Buildozer compile apk
I tried compile many apps without any issues. But if I add:
from flask import FlaskFor example
from kivy.app import App
from kivy.uix.button import Button
from flask import Flask
class MyApp(App):
... |
|
frohr |
General Coding Help |
2 |
718 |
Oct-06-2023, 03:12 PM |
|
|
Thread: Kivy Flask Buildozer compile apk
Post: Kivy Flask Buildozer compile apk
Hi, I have simple code for Flask local server:
import sys
import io
sys.stdout = io.StringIO()
sys.stderr = io.StringIO()
from kivy.app import App
from kivy.uix.boxlayout import BoxLayout
from kivy... |
|
frohr |
General Coding Help |
2 |
718 |
Oct-03-2023, 07:11 PM |
|
|
Thread: Name of USB device on Anodrid
Post: Name of USB device on Anodrid
I have my Python app using in Windows but I am interesting if is possible to run it on Android phone. My app is about 1600 lines of code, I collect data, make some calculations and make some plots. I ... |
|
frohr |
General Coding Help |
0 |
706 |
Aug-14-2023, 06:36 AM |
|
|
Thread: Peaks in time domain
Post: Peaks in time domain
Hey all,
I have code to generate signal with some peaks and make hilbert - enveloping. But I have some peaks at start in time domain after applying hilbert and then lowpass filter. Any suggestion what... |
|
frohr |
General Coding Help |
0 |
482 |
Jul-06-2023, 02:57 AM |
|
|
Thread: Signal filtering / smoothing
Post: Signal filtering / smoothing
Hi,
I am interesting in mechanical vibrations. I have project with Teensy 4.0 and 24bit ADC. I collect data from ADXL1005. Then I send 30000 values from ADC/Teensy to Raspberry. On Raspberry I have Py... |
|
frohr |
General Coding Help |
0 |
618 |
Jan-04-2023, 06:05 PM |
|
|
Thread: FFT - frequency shifted
Post: FFT - frequency shifted
Hi,
I have velocity data calculated from acceleration and I want to make FFT. Data seems ok (checked by function generator).
But all the time I have peak frequency double. I tried many changes but sti... |
|
frohr |
General Coding Help |
0 |
728 |
Jul-23-2022, 05:17 PM |
|
|
Thread: Read data via bluetooth
Post: RE: Read data via bluetooth
The reason to use Teensy is that I am collectiong data from adxl via ADS1256 (24bit ADC). Timing is very important for me - I have exactly 30000 float values in 1 second. I am pretty sure that Arduino... |
|
frohr |
General Coding Help |
9 |
3,421 |
Jul-10-2022, 09:51 AM |
|
|
Thread: Read data via bluetooth
Post: RE: Read data via bluetooth
I am checking now my code for usb cable data transfer and try to modify for bluetooth.
Teensy code:
#define BUFFER_SIZE (300)
float buf[BUFFER_SIZE];
char inChar;
float num;
float adc_volt;
voi... |
|
frohr |
General Coding Help |
9 |
3,421 |
Jul-09-2022, 01:47 PM |
|
|
Thread: Read data via bluetooth
Post: RE: Read data via bluetooth
I do not need bluetooth but I have problem with USB cable noise on some laptops. Second thing is that it is a bit more comfortable without cable.
I collect acceleration data on Teensy and send it to P... |
|
frohr |
General Coding Help |
9 |
3,421 |
Jul-09-2022, 09:47 AM |
|
|
Thread: Read data via bluetooth
Post: RE: Read data via bluetooth
(Jul-08-2022, 08:46 PM)deanhystad Wrote: It would be helpful to know what you are sending and what you received.
I collect data at Teensy 4.1 from ADXL and convert with 24bit ADC. Now I have 30000 f... |
|
frohr |
General Coding Help |
9 |
3,421 |
Jul-09-2022, 09:03 AM |
|
|
Thread: Read data via bluetooth
Post: RE: Read data via bluetooth
Pinout is clear. I have no idea how to read the array. I can read sinle Serial.print(1) but not Serial.write(array) |
|
frohr |
General Coding Help |
9 |
3,421 |
Jul-08-2022, 08:15 PM |
|
|
Thread: Read data via bluetooth
Post: Read data via bluetooth
Hi,
I have Teensy/Arduino and HC-05 bluetooth module. I want to send 30000 number values to PC/Python.
I have this code for Arduino/Teensy. It will send array of 500 (just for testing) numers via blu... |
|
frohr |
General Coding Help |
9 |
3,421 |
Jul-08-2022, 11:31 AM |
|
|
Thread: Second window with buttons and plot
Post: Second window with buttons and plot
Hey, I have main window and if I click on button then second window will open. In second window I will have buttons and text fields on the left and one plot on the right side. This is my code now:
cl... |
|
frohr |
General Coding Help |
1 |
990 |
Jun-30-2022, 06:24 PM |
|
|
Thread: Calculation of circles
Post: RE: Calculation of circles
Yes, I am trying
if (rr**2 - tt**2) >= 0:seems ok.
I want to see minimal one intersection - coordinates and lenght from first circle centre to the intersection.
I can see max 3 intersections and... |
|
frohr |
Data Science |
14 |
3,400 |
Jun-28-2022, 07:57 PM |
|
|
Thread: Calculation of circles
Post: RE: Calculation of circles
It works well. I have one more question.
How to check if intersection is True or False?
For example:
r1 = 16
r2 = 48
r3 = 16
r4 = 46
In this case I have only one intersection r2+r4.
I want get:
r2... |
|
frohr |
Data Science |
14 |
3,400 |
Jun-28-2022, 05:58 PM |
|
|
Thread: Calculation of circles
Post: RE: Calculation of circles
I added one more circle and seems ok. Just another thing - how I will find length from center of 1. circle (center I have 0,0) to theoretical intersection of other 3 circles? And the angle? In my exam... |
|
frohr |
Data Science |
14 |
3,400 |
Jun-12-2022, 10:23 AM |
|
|
Thread: Calculation of circles
Post: RE: Calculation of circles
Hey, thanks, looks great. I am checking it with drawings in autocad and seems it works. I will do more tests. Anyway thanks a lot! |
|
frohr |
Data Science |
14 |
3,400 |
Jun-11-2022, 05:54 PM |
|
|
Thread: Calculation of circles
Post: RE: Calculation of circles
Oh my god, seems a quite complicated for me and it is "only" for 2 circles. Is there any way help me make a function according my example? Any agreement is possible. It is quite important for my app a... |
|
frohr |
Data Science |
14 |
3,400 |
Jun-10-2022, 06:03 PM |
|
|
Thread: Calculation of circles
Post: RE: Calculation of circles
I understand. I need it for impeller balancing. There are some regularities and if I can see nice imbalance according fft, I can be pretty sure, there will be intersection like on picture in my first ... |
|
frohr |
Data Science |
14 |
3,400 |
Jun-10-2022, 02:57 PM |