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. 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...
  2. 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...
  3. 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.
  4. Replies
    10
    Views
    2,161

    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...
  5. Replies
    10
    Views
    2,161

    @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)...
  6. Replies
    9
    Views
    1,593

    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"...
  7. Replies
    23
    Views
    8,627

    @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...
  8. Replies
    23
    Views
    8,627

    @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...
  9. Replies
    9
    Views
    1,593

    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...
  10. Replies
    9
    Views
    1,593

    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...
  11. Replies
    9
    Views
    1,593

    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...
  12. Replies
    9
    Views
    1,593

    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...
  13. Replies
    9
    Views
    1,593

    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...
  14. Replies
    12
    Views
    9,713

    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...
  15. Replies
    3
    Views
    1,708

    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...
  16. Replies
    3
    Views
    1,708

    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...
  17. Replies
    15
    Views
    3,491

    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...
  18. 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...
  19. Replies
    51
    Views
    14,017

    @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...
  20. Replies
    51
    Views
    14,017

    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...
  21. Replies
    51
    Views
    14,017

    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...
  22. Replies
    51
    Views
    14,017

    @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...
  23. Replies
    51
    Views
    14,017

    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...
  24. Replies
    51
    Views
    14,017

    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?
  25. Replies
    51
    Views
    14,017

    @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...
  26. Replies
    51
    Views
    14,017

    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...
  27. Replies
    51
    Views
    14,017

    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...
  28. Replies
    51
    Views
    14,017

    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...
  29. Replies
    51
    Views
    14,017

    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...
  30. Replies
    51
    Views
    14,017

    I see, most probably the dynamic code I was...

    I see, most probably the dynamic code I was talking about was using a runtime interpreter (Basic).

    But what about rewriting a memory region, where a function content is stored (kinda 30 years ago...
  31. Replies
    51
    Views
    14,017

    Thanks, I have used ESP8266 before but my...

    Thanks, I have used ESP8266 before but my question was if you can upload a sketch on a Teensy board through the ESP8266 wireless interface.

    What about dynamically changing the content of a...
  32. Replies
    51
    Views
    14,017

    Do you have any further references for modifying...

    Do you have any further references for modifying the code on the fly? Like sending a serial string to the Teensy (over the radio) containing a new content for a program function then let the Teensy...
  33. Replies
    51
    Views
    14,017

    OTA update alternative

    Hello,

    I need a quick solution for a project (a small robot) but I should be able to reprogramm it over the air.

    As I'm a big fan of Teensy boards, I'll use one of them (Teensy 3.2) but, as...
  34. Replies
    38
    Views
    14,495

    Does anyone managed to upload a sketch over the...

    Does anyone managed to upload a sketch over the air using a Teensy 3.2 + ESP8266 combo (or a RF24 one for that matter)??
  35. Replies
    27
    Views
    6,357

    Thank God, it works flawlessly for now! Anyway, I...

    Thank God, it works flawlessly for now! Anyway, I only have linux on all my devices (android included) thus I can't test any windows app.

    I wonder why it doesn't work with USB Type = "Serial"...
  36. Replies
    27
    Views
    6,357

    @tni: I've done some tests using another two...

    @tni:

    I've done some tests using another two brand new Tennsy 3.2 boards with the same results. I even tried on another PC (linux) or using various MCU speeds (48Mhz, 96Mhz).

    Finally, I found a...
  37. Replies
    27
    Views
    6,357

    Thanks, Pete. Looks like there's a problem with...

    Thanks, Pete. Looks like there's a problem with the linux driver(?) although uploading a sketch (and serial port detection) works just fine.

    I'll try later on another PC (linux).
  38. Replies
    27
    Views
    6,357

    Another test: #include ...

    Another test:



    #include <usb_serial.h>

    usb_serial_class myUSB;

    void setup()
    {
  39. Replies
    27
    Views
    6,357

    I ran the following sketch: #include...

    I ran the following sketch:



    #include <usb_serial.h>

    int8_t usb_exit;

    void setup()
    {
  40. Replies
    27
    Views
    6,357

    I've added this: void loop() { ...

    I've added this:



    void loop()
    {
    Serial.flush();
    Serial.println("test");
    Serial.send_now();
    digitalWrite(13, HIGH);
  41. Replies
    27
    Views
    6,357

    Hi Pete, This is the whole sketch: void...

    Hi Pete,

    This is the whole sketch:



    void setup()
    {
    Serial.begin(115200);
    while(!Serial);
  42. Replies
    27
    Views
    6,357

    I have a similar problem: I have two new boards...

    I have a similar problem: I have two new boards (Teensy 3.2 and LC) and I can't get the Serial.print() output on a terminal console (while using the USB serial emulation).

    The boards seem OK as I...
  43. Replies
    23
    Views
    8,627

    Seems like I have to implement some kind of...

    Seems like I have to implement some kind of encryption then (btw, thanks for your suggestions).

    Anyway, I think I'll go further by using RF24Ethernet/Mesh library to allow internet access for...
  44. Replies
    23
    Views
    8,627

    @Many thanks, @Arctic_Eddie. I've just...

    @Many thanks, @Arctic_Eddie.

    I've just installed RF24Network library (TMRh20 version though) and I managed to run (somehow) the helloworld_tx(rx) example.

    I said "somehow" because I have some...
  45. Replies
    23
    Views
    8,627

    I have some questions regarding these nRF24L01+...

    I have some questions regarding these nRF24L01+ boards. After reading the datasheet and some examples (RF24 library), I still couldn't find an answer:

    1) Is there a way to identify a module (like...
  46. Replies
    2
    Views
    935

    Thanks a lot for your comments, @Constantin! ...

    Thanks a lot for your comments, @Constantin!

    I've just ordered the parts and I wasn't quite sure if I made the right choice. In the mean time, I'll start reading about (mesh) networks & stuff.
    ...
  47. Replies
    2
    Views
    935

    Multiple master/slave RF network

    Hello,

    I want to add some redundancy to one of my projects. Currently I have one Teensy 3.2 board reading some sensors and operating some relays. It sends sensor data to a Raspberry Pi which has a...
  48. Thank you very much for your time, Paul. Most...

    Thank you very much for your time, Paul.

    Most likely, it was a udev issue, indeed. I left the updating process unattended for a while and I found it stalled; I rebooted the laptop then I have to...
  49. It's embarrassing, I know, but I should have been...

    It's embarrassing, I know, but I should have been trying that already if I would had one (that's it, a bunch of them will arrive in few days).

    But now that you mentioned it, I've just found a...
  50. What could be the reason for a Teensy 3.1 board...

    What could be the reason for a Teensy 3.1 board to not respond to a USB-based reset request?

    I've read the PJRC troubleshooting page but I still didn't find an answer. There's only this mention...
Results 1 to 50 of 155
Page 1 of 4 1 2 3 4