Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: BriComp

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Posting some code, and description of your...

    Posting some code, and description of your expectations and actual performance will help others to help you.
  2. Replies
    2
    Views
    162

    Might help if we knew where you are located!

    Might help if we knew where you are located!
  3. Can you post your code, and be more explicit...

    Can you post your code, and be more explicit about in which way it "Did not work."
  4. As a simple solution you could use #define Wire...

    As a simple solution you could use
    #define Wire Wire1 at the head of the .cpp files.
  5. Don't forget to measure the 100 Ohm resistor....

    Don't forget to measure the 100 Ohm resistor. With tolerance, it will not be 100 Ohms.
  6. Replies
    4
    Views
    264

    Cool Components have T4.1 with pins 28.99

    Cool Components have T4.1 with pins 28.99
  7. Here I am, back again, a little late I am afraid....

    Here I am, back again, a little late I am afraid.

    Ok, P at 80 psi, Sensor resistance (Sr) = 25 Ohm
    Current (I) flowing = 3.3V/(25 + 100 ) = 0.0264 Amp
    V across Sr = I * Sr = 0.0264 * 25 = 0.66V...
  8. I will have a look tomorrow.

    I will have a look tomorrow.
  9. Great, I'm glad I was able to help. I have...

    Great, I'm glad I was able to help.
    I have developed a library for the Nextion if you are interested. Really it's a skeletal library with the intention that the user modifies/expands to suit their...
  10. The equation will be of a different form. With...

    The equation will be of a different form. With the Sensor at the top there is a positive slope with a negative intercept. With the Sensor at the bottom you have a negative slope and a positive...
  11. Swapping the resistor and the sensor around gives...

    Swapping the resistor and the sensor around gives these results for a 100 Ohm resistor.
    29069
  12. Fastest is to pack the data into ONE variable....

    Fastest is to pack the data into ONE variable.
    Something along the lines pd=x1*256*256*256 + y1*256*256 + x2*256 + y2
  13. 3.3V will give 1023, therefore 2.52V will give...

    3.3V will give 1023, therefore 2.52V will give 2.52/3.3*1023. Likewise 0.8327V gives 258.
    You could swap the Sensor and 81Ohm resistor around but you would have to re-calculate the Voltage/Count...
  14. Yea, not too difficult. When you receive the...

    Yea, not too difficult.
    When you receive the line to be plotted, save the co-ordinates in Nextion Global Variables in Program.s.
    I suggest x1,y1,x2,y2. Set these up as some dummy values at the...
  15. I would suggest that you should wire up the...

    I would suggest that you should wire up the pressure sender something like below:
    29064
    At 0 psi S1 will be 240 Ohms.
    Therefore the Current flowing will be (I=V/R) 3.3 / (240 + 81 ) = .01A ( 10mA...
  16. Thread: C++ question

    by BriComp
    Replies
    14
    Views
    4,721

    Thanks, it looks like a good read. Just printed...

    Thanks, it looks like a good read. Just printed it off.
  17. Replies
    6
    Views
    139

    const int channel = 10; // General MIDI: channel...

    const int channel = 10; // General MIDI: channel 10 = percussion sounds
    const int note = 38; // General MIDI: note 38 = acoustic snare

    const int analogPin = A0;
    const int thresholdMin = 60; //...
  18. Thread: C++ question

    by BriComp
    Replies
    14
    Views
    4,721

    This link does not work.

    This link does not work.
  19. Replies
    87
    Views
    2,316

    I have no done anything with Audio yet but could...

    I have no done anything with Audio yet but could it be a buffer not large enough?
  20. Replies
    36
    Views
    1,686

    Sticky: Works ok for me. VM + VS 22

    Works ok for me. VM + VS 22
  21. Relatively simple (I think) just create an...

    Relatively simple (I think) just create an instance of bmp passing the correct wire to it. See below:-

    //Use this
    Adafruit_BMP280 bmp(&Wire1); // I2C
    //Rather than
    Adafruit_BMP280 bmp; //...
  22. I guess you should have it in a week, unless you...

    I guess you should have it in a week, unless you chose courier delivery.
  23. Where are you located?

    Where are you located?
  24. Pimoroni have them, see here...

    Pimoroni have them, see here.
  25. /* SD card basic directory list example This...

    /*
    SD card basic directory list example

    This example shows how to create and destroy an SD card file
    The circuit:
    * SD card attached to SPI bus as follows:
    ** MOSI - pin 11, pin 7 on Teensy...
  26. Surely this only remains true if the Sensor...

    Surely this only remains true if the Sensor current is constant.
  27. As I understand it the Receiving device on USB is...

    As I understand it the Receiving device on USB is a slave. You asked to move data from RPI to T4.1 (Master to Slave).
  28. Replies
    57
    Views
    783

    As a possible alternative solution you could try...

    As a possible alternative solution you could try a hybrid hardware/software solution using an AND gate.
    Look at the diagram below:
    28987
    "input" is the signal you want to mimic / shorten.
    When...
  29. #include AudioInputI2S input;...

    #include <Audio.h>
    AudioInputI2S input;
    AudioAnalyzeFFT1024 fft;
    AudioConnection connection(input, 0, fft, 0);


    void setup() {
    Serial.begin(9600);
    AudioMemory(50);
    }
  30. #include // change this to match your...

    #include <SD.h>

    // change this to match your SD shield or module;
    // Teensy 2.0: pin 0
    // Teensy++ 2.0: pin 20
    // Wiz820+SD board: pin 4
    // Teensy audio board: pin 10
    // Teensy 3.5 & 3.6 &...
  31. Replies
    7
    Views
    230

    I was replying to your quote

    I was replying to your quote
  32. Replies
    7
    Views
    230

    Make sure the SD library in the Arduino Libraries...

    Make sure the SD library in the Arduino Libraries directory is deleted. If left in place it can be conflicting with the sd.h in the Teensy Libraries.
  33. Replies
    87
    Views
    2,316

    I quite often use the full path to library files...

    I quite often use the full path to library files where possible alternatives exist as in
    I also keep all my Arduino program files ( .ino and LIBRARIES ) in a directory called C:\Arduino Programs. I...
  34. Replies
    87
    Views
    2,316

    It should be free for a months trial. Is there...

    It should be free for a months trial. Is there anything which says something like "Activate free trial"?
    I use the VMicro drop down followed by "Open existing Arduino Project / New Arduino Project"...
  35. Replies
    87
    Views
    2,316

    Yea, I gather that it sort of sits on top of the...

    Yea, I gather that it sort of sits on top of the Arduino environment. I think this is sort of confirmed by one of it's configuration options to "Re-scan Tool -chains and Libraries".
    It just sort of...
  36. Replies
    87
    Views
    2,316

    I use VisualMicro and Visual Studio. No problem...

    I use VisualMicro and Visual Studio. No problem they can sit side by side with the ino on the address bar.
  37. Replies
    7
    Views
    218

    Does it change to false if USB disconnected?

    Does it change to false if USB disconnected?
  38. Replies
    25
    Views
    901

    As I said earlier if you use write you are...

    As I said earlier if you use write you are sending 4 BYTES of BINARY data. If you used print that binary data is converted into MANY MORE BYTES is ASCII text.

    uint32_t num;

    num =...
  39. Replies
    7
    Views
    218

    Your program writes to the USB Serial port, then...

    Your program writes to the USB Serial port, then you unplug the USB Serial port.
    Don't you think that this might have an effect?
  40. Replies
    7
    Views
    218

    We need to see your program.

    We need to see your program.
  41. Replies
    25
    Views
    901

    Try using mySerial.print. This translates the...

    Try using mySerial.print. This translates the data into ASCII values. .write just sends raw binary data that is why you are seeing "nonsense letters".
  42. Lora is Synonymous with long range. If you only...

    Lora is Synonymous with long range. If you only want to send data it should be fine.
    I use these which communicate with the Teensy using the Serial interface.
    There are other Lora/Uart modules in...
  43. Replies
    1
    Views
    191

    I really don't see your problem. All the data is...

    I really don't see your problem. All the data is there to hook up the display(s) and with the software to drive it!
  44. Replies
    87
    Views
    2,316

    Could it be an un-initialised variable taking a...

    Could it be an un-initialised variable taking a different state on start-up.
  45. Could this go in the WiKi or be included with the...

    Could this go in the WiKi or be included with the example ino?
  46. Replies
    4
    Views
    261

    The t4.x's have components on the underside of...

    The t4.x's have components on the underside of the boards. You MUST leave a gap for these components or have your PCB routed to allow for these components.
  47. I would recommend Visual Micro with Visual...

    I would recommend Visual Micro with Visual Studio. It gives the stability/understanding of the Arduino system with the IDE of visual studio and Teensy Debugging.
    I use it all the time and would not...
  48. Have a look here ...

    Have a look here for VGA output.
  49. Replies
    13
    Views
    434

    How about functions analogWrite16 and...

    How about functions analogWrite16 and analogWriteFrequency16? Perhaps with the proviso that you must/cannot jump between analogWrite & analogWrite16 and the same for ..frequency.
  50. Replies
    54
    Views
    1,559

    You can always preserve your current Arduino...

    You can always preserve your current Arduino environment, do your tests, and if necessary put the original back. I use this scheme:-
    1: Click and open Program Files (x86)
    2: Right click Arduino and...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4