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

Search:

Type: Posts; User: someteen

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    36
    Views
    334

    I'm not the developer of the host app but I could...

    I'm not the developer of the host app but I could tell my client to recommend some specific design procedures to the host app team.
    In the mean time, I have designed a bare app (java) running on a...
  2. Replies
    36
    Views
    334

    Then what's the actual method of reading that...

    Then what's the actual method of reading that parity bit? I can't manage to find any valuable online resources. Do you have any suggestions, please?
  3. Replies
    36
    Views
    334

    @PaulStoffregen: Could you explain a little...

    @PaulStoffregen:

    Could you explain a little more on this subject (I found no online references yet)? I've read about those special call functions for setting/getting the communication settings...
  4. Replies
    36
    Views
    334

    @Paul: Sorry, I didn't mean to upset you. I'll...

    @Paul: Sorry, I didn't mean to upset you. I'll try your suggestions and I may also try using a commercial USB-to-serial adapter to see the difference.

    You're right, I have no access to that...
  5. Replies
    36
    Views
    334

    I must admit I had no past experience with (raw)...

    I must admit I had no past experience with (raw) USB communications but I've just read that CDC/ACM classes define some sort of "standard" serial communication. After all, I don't need a "fancy"...
  6. According to this blog post (three serial ports...

    According to this blog post (three serial ports at the same time):



    I know it's a different MCU but I think the whole theory could apply to any ARM (M4) processor. Although I've read that...
  7. Because the client wants to use a single USB...

    Because the client wants to use a single USB connection between the host and the Teensy based device.
  8. Hi, Paul I forgot to mention, the host PC runs...

    Hi, Paul

    I forgot to mention, the host PC runs on Windows 10.
  9. Replies
    36
    Views
    334

    @PaulStoffregen & @KurtE: Many thanks for your...

    @PaulStoffregen & @KurtE:

    Many thanks for your kind support. Unfortunately, I could not post more informations about the protocol as it is proprietary & confidential (license based).

    The...
  10. Replies
    36
    Views
    334

    Unfortunatelly, I don't have any genuine remote...

    Unfortunatelly, I don't have any genuine remote controller. But, according to the protocol, it runs over a standard RS-232 serial connection.



    The host app is not "talking" alone. According to...
  11. Replies
    36
    Views
    334

    @Paul, I'll post again the protocol...

    @Paul, I'll post again the protocol specifications used by the host app:



    The host app is written in Java hence it runs on different platforms. According to the protocol specifications, this is...
  12. Replies
    36
    Views
    334

    Many thanks for your extended answer and sorry...

    Many thanks for your extended answer and sorry for the lack of information.

    There's no comercial hardware device involved but an app running on a PC (x86). That app could only be controlled...
  13. Replies
    36
    Views
    334

    Glad to hear you're an advanced USB/CDC...

    Glad to hear you're an advanced USB/CDC developer! This is my first project of this kind and I don't know if it worth investing in a hw analyzers & stuff (I have an oscilloscope though).

    So,...
  14. Replies
    36
    Views
    334

    That's right, @KurtE, a 9-bit communication may...

    That's right, @KurtE, a 9-bit communication may solve the problem but, than again, I don't know if it works with the virtual (USB) port.

    As you have suggested, I'm going to read the full USB...
  15. Replies
    36
    Views
    334

    @Paul & @KurtE: Thank you both for the...

    @Paul & @KurtE:

    Thank you both for the detailed answers (sorry for the delay - blame it on the timezone).

    Anyway, looks like the whole 9-bit solution still applies to hardware serial only (e.g....
  16. Replies
    36
    Views
    334

    @KurtE: Many thanks for your support!...

    @KurtE:

    Many thanks for your support! Actually, it's not a protocol customized by me but a standard one. Quoting from the protocol datasheet:



    According to this protocol, the server needs to...
  17. Replies
    36
    Views
    334

    Thank you very much for your kind support, Paul!...

    Thank you very much for your kind support, Paul!

    I need to implement a custom serial protocol where the parity bit is used as a "message start" identifier... that's it, the parity bit needs to be...
  18. Replies
    36
    Views
    334

    Thank you very much for your reply! I need to...

    Thank you very much for your reply!

    I need to communicate over the virtual (USB) serial port. I'm going to use Teensy 3.2 for this project but I was running some tests on a Teensy LC and those...
  19. Replies
    36
    Views
    334

    Any help, please? At least a quick guide on how...

    Any help, please? At least a quick guide on how to do it at registry level (I can't find any specific informations online)?
    Thank you very much for your time.
  20. I'm kind of surprised that no one has done it yet...

    I'm kind of surprised that no one has done it yet (Teensy/Arduino world).
    I need no mapping to physical (GPIO) pins - so no bit banging. I just need one more pair of (virtual) UART registers to set...
  21. Replies
    36
    Views
    334

    Software Serial (USB) parity bit

    Hello,

    I need to implement a particular serial comm protocol and I need to be able to set the parity bit. Moreover, I need to be able to use the "mark/space" settings for this parity bit instead...
  22. I thought it was a stupid question but, after...

    I thought it was a stupid question but, after reading about some implementations using a much slower CPU (Xmega 128A4U) I guess it should be doable.
    Any clues on this matter? Thank you very much for...
  23. Emulate two serial ports through the USB connection (Teensy 3.2)

    I'm working on a project (Teensy 3.2) where I need to communicate with two separate apps (different protocols) installed on the same PC.

    Is it possible to emulate a second virtual COM port...
  24. You could use some kind of Joule thief...

    You could use some kind of Joule thief circuit to suck up all the batteries' energy and to increase the actual voltage.
  25. Replies
    10
    Views
    2,175

    Okay, you're right. After all, you can't include...

    Okay, you're right. After all, you can't include the full kinetis datasheet!

    It happened that I needed both FTM and ADCs for one of my previous projects and I was hardly find those informations...
  26. Replies
    10
    Views
    2,175

    @MichaelMeissner: Awesome (hard) work! This is...

    @MichaelMeissner:

    Awesome (hard) work! This is a must have document. But still I have a suggestion: could you specify the FTM channel for every PWM pin (it helps when you're working with pairs)...
  27. Replies
    9
    Views
    1,605

    I have to mention that I finally choose the radio...

    I have to mention that I finally choose the radio way (nRF24L01+). Moreover, I'm going to use a "master" Teensy 3.2 on the RPi side so I could have a (USB) serial connection between this "master"...
  28. Replies
    23
    Views
    8,687

    @MichaelMeissner: You're a light(!) saver.....

    @MichaelMeissner:

    You're a light(!) saver.. and I'm a dumb coder! That's what happens when you're doing things like a blind bot who's only focusing on (software OR hardware) but !(software AND...
  29. Replies
    23
    Views
    8,687

    @Zeph: Thanks a lot for your valuable...

    @Zeph:

    Thanks a lot for your valuable suggestions (sorry for being late though). I gave up the security issue at the time as it was just a learning experiment.

    For now, I'm gathering the Teensy...
  30. Replies
    9
    Views
    1,605

    What do you mean by "reliable"? I don't mind if...

    What do you mean by "reliable"? I don't mind if there are some dropped packets due to radio perturbations & stuff (there is a software routine to check for these kind of errors).

    I just need that...
  31. Replies
    9
    Views
    1,605

    Many thanks for your input, Paul. The problem...

    Many thanks for your input, Paul. The problem with the USB is the need of dedicated wires for every single T3.2 node. Beside, like I've just mentioned, I need some redundancy as I'm going to use a...
  32. Replies
    9
    Views
    1,605

    Actually, RPi3 has 4 USB ports (though you could...

    Actually, RPi3 has 4 USB ports (though you could use a hub to extend any USB port). Dunno about the active USB repeaters, as I need a reliable connection hence I don't want any (more) weak links in...
  33. Replies
    9
    Views
    1,605

    Thanks alot for your quick reply. However, after...

    Thanks alot for your quick reply. However, after doing a quick research on this subject, I guess I'll give nRF24L01+ a chance. It allows to create an ad-hoc radio network (TCP/IP) with peer-to-peer...
  34. Replies
    9
    Views
    1,605

    Connecting multiple T3.2 to a remote RPi

    Hello,

    I need to connect few T3.2 boards to a RPi3. The Teensy boards (three for now but more to come ;) ) are situated in remote locations (10-20m range).

    I have some RF24 modules available...
  35. Replies
    12
    Views
    9,757

    It might be a little too late for the poster...

    It might be a little too late for the poster above, but there has to be mentioned that Teensy's ADC can't measure negative input voltages.

    That's it, you first need to translate your AC signal to...
  36. Replies
    3
    Views
    1,727

    I knew about that website (and similar ones) but...

    I knew about that website (and similar ones) but they are talking about OpenTherm monitors - that's it, their devices only read data from the heater but are unable to write (send commands). That's...
  37. Replies
    3
    Views
    1,727

    OpenTherm protocol

    Hello,

    Does anyone have any experience with this communication protocol used by some HVAC systems? I'm trying to communicate with my central heating appliance (Remeha boiler) as I don't have a...
  38. Replies
    15
    Views
    3,525

    I'm using this simple batch file to (remotely)...

    I'm using this simple batch file to (remotely) upload new firmware to a Tennsy 3.2 connected to a Raspberry Pi (running raspbian linux).



    #! /bin/sh
    stty -F /dev/ttyACM0 speed 134
    sleep 1...
  39. You better use a second (cheap, low current)...

    You better use a second (cheap, low current) transistor in a Darlington configuration. This way, you could set up a much lower current for Teensy output, even in microampere range.

    There are...
  40. Replies
    51
    Views
    14,108

    @Epyon: I guess the key for OTA updating of...

    @Epyon:

    I guess the key for OTA updating of the MK20 is the availability of an external storage (a SD card, for the aforementioned github project). Or, the key might be the Teensy's bootloader...
  41. Replies
    51
    Views
    14,108

    Thanks for your good advices. The Photon board...

    Thanks for your good advices. The Photon board (packed with lots of sensors) will ship tomorrow thus the Christmas is already saved. ;)



    Speaking of that, I always thought that a dual boot...
  42. Replies
    51
    Views
    14,108

    Thanks again, I've just placed an order for the...

    Thanks again, I've just placed an order for the Photon board. Just to clarify a thing: if the cloud connection is unstable (during downloading the sketch to your device), there is a risk of bricking...
  43. Replies
    51
    Views
    14,108

    @potatotron: Many thanks for your Photon...

    @potatotron:

    Many thanks for your Photon recomandation. I'm not a big fan of cloud IDE neither but, as they have noted on the product documentation page, you still can compile and upload your...
  44. Replies
    51
    Views
    14,108

    I see, looks like a hardware (ARM) limitation.....

    I see, looks like a hardware (ARM) limitation.. now it finally makes sense.

    In the mean time, I've did a quick research on this two OTA enabled boards: WiPy and Particle Photon.

    Does anyone...
  45. Replies
    51
    Views
    14,108

    Seems like the ArduinoOTA works with arduino...

    Seems like the ArduinoOTA works with arduino boards (doh) already (well, with the avr based ones only, I believe). Anyway, neither of them have any external storage. How do they do it?
  46. Replies
    51
    Views
    14,108

    @Frank B, @defragster: I've just came across...

    @Frank B, @defragster:

    I've just came across few of yours github repositories:

    https://github.com/Defragster/ArduinoTeensyESP8266

    https://github.com/Defragster/Arduino-Teensy3-Flash

    As...
  47. Replies
    51
    Views
    14,108

    I thought @Frank B was talking about a power...

    I thought @Frank B was talking about a power failure during uploading that could eventualy brick the Teensy board. Using a buggy update procedure (erratically rewriting the flash blocks) it's a...
  48. Replies
    51
    Views
    14,108

    Please, Frank.. contribute! ;) I really...

    Please, Frank.. contribute! ;)



    I really don't get it. How could anyone brick the Teensy if he's not modifying the bootloader? You could end up with a broken sketch but, after restart, the...
  49. Replies
    51
    Views
    14,108

    I get your points, but you must admit that...

    I get your points, but you must admit that implementing OTA for Teensy modules is not a question of hardware nor a software limitation. It's all about that locked bootloader and that's where Paul has...
  50. Replies
    51
    Views
    14,108

    You're right, looks like it's the only feasible...

    You're right, looks like it's the only feasible alternative left (I was talking about it in my first post, too).

    Anyway, it's disappointing to realize that every 2 cent "smartphone" could do OTA...
Results 1 to 50 of 176
Page 1 of 4 1 2 3 4