Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • frohr's Avatar
    07-14-2022, 05:07 PM
    Just for information - I tested USB isolator and the noise disappeared. https://www.laskakit.cz/usb-2-0-izolator/#relatedFiles
    25 replies | 897 view(s)
  • frohr's Avatar
    07-10-2022, 04:36 PM
    I measured low noise on my PC: And much higher nosie with my laptop and tablet: Now I am pretty sure it will be not possible to send my data via bluetooth so I have to solve the noise.
    25 replies | 897 view(s)
  • frohr's Avatar
    07-10-2022, 09:46 AM
    What about this module? Maybe it can work. Up to 2Mbps. https://ai-thinker.eu/product/ai-thinker-nrf24l01-wireless-module-2-4-g-wireless-transceiver-communication-module-nf-01-s/
    25 replies | 897 view(s)
  • frohr's Avatar
    07-09-2022, 01:47 PM
    I am checking now my code for usb cable data transfer and try to modify for bluetooth. #define BUFFER_SIZE (300) float buf; char inChar; float num; float adc_volt; void setup() {
    25 replies | 897 view(s)
  • frohr's Avatar
    07-08-2022, 03:48 PM
    I use HC-05. It seems it there is higher baud rate possible (1382400 baud rate?) https://www.instructables.com/Modify-The-HC-05-Bluetooth-Module-Defaults-Using-A/ Floats are numbers from adxl accelerometer and 24...
    25 replies | 897 view(s)
  • frohr's Avatar
    07-08-2022, 01:31 PM
    Teensy is waiting for char and then starts sending array via bluetooth. I fill array by some numbers and then I want send all array via bluetooth Serial1.write((char*)buf, sizeof(buf)); I can setup higher...
    25 replies | 897 view(s)
  • frohr's Avatar
    07-08-2022, 08:28 AM
    Now I use this code and it works if I send data in loop. But not if I send data as array (buf): #define BUFFER_SIZE (30000) float buf; char inChar; float num; void setup() { Serial.begin(9600);
    25 replies | 897 view(s)
  • frohr's Avatar
    07-07-2022, 05:36 PM
    OK, thanks! Now I have continue with my Python code to read bluetooth and decode binary data.
    25 replies | 897 view(s)
  • frohr's Avatar
    07-07-2022, 04:53 PM
    Yes, you are right, I want to send float values. If I use your code, I can see on my mobile just "971310a" With this code I can see floats on my mobile but seem quite slow. String data; #define BUFFER_SIZE ...
    25 replies | 897 view(s)
  • frohr's Avatar
    07-07-2022, 04:16 PM
    UPDATED code but same issue: String data; #define BUFFER_SIZE (100) String buf; void setup() { Serial1.begin(9600); for(int i=0; i<BUFFER_SIZE; i++) {
    25 replies | 897 view(s)
  • frohr's Avatar
    07-07-2022, 04:11 PM
    I am testing this code: #include <SoftwareSerial.h> #define RX 0 #define TX 1 SoftwareSerial sserial = SoftwareSerial(RX, TX); String data; #define BUFFER_SIZE (100) String buf;
    25 replies | 897 view(s)
  • frohr's Avatar
    07-07-2022, 12:54 PM
    I use Teensy 4.0. On the other side will be Python - but I am working on code now. So I am testing with mobile. I will use https://github.com/pybluez/pybluez
    25 replies | 897 view(s)
  • frohr's Avatar
    07-07-2022, 11:56 AM
    I am working with this basic code. For testing I am trying terminal on my mobile but I see only nonsense letters. Tomorrow I will have bluetooth adapter for my PC. #include <SoftwareSerial.h> SoftwareSerial...
    25 replies | 897 view(s)
  • frohr's Avatar
    07-06-2022, 06:20 PM
    Hey, I want to send data (array of 30000 floats) to PC. Now I have it via USB. I found some examples with Serial.write but it seems too slow. What is important for me is to transfer data under 0.5 second. Does anyone...
    25 replies | 897 view(s)
  • frohr's Avatar
    06-10-2022, 08:24 AM
    frohr replied to a thread USB signal noise in General Discussion
    If I undestand well (not sure) I have to add capacitor and resistor between power of ADS / ADXL and GND = Capacitor will be connected between 5V and GND. Is that correct?
    10 replies | 575 view(s)
No More Results
About frohr

Basic Information

About frohr
Location:
Czech Republic

Statistics


Total Posts
Total Posts
102
Posts Per Day
0.16
Last Post
Bluetooth data transfer 07-14-2022 05:07 PM
General Information
Last Activity
07-18-2022 10:44 AM
Join Date
11-03-2020