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

Search:

Type: Posts; User: MogaRaghu

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Instead of posting patches of the code let me...

    Instead of posting patches of the code let me post the whole code. Right now besides the date/time stamp issue, the one other thing is there is no start / stop for the Logging process. I plan to...
  2. Teensy3.5 SD Card File creation timestamp error

    This code grabs 8 channel analog value and writes to SD Card. All well but when i open the SD card in WIN10 laptop I see the file creation time as a fixed date time. ( see the image below ) But...
  3. Replies
    2
    Views
    207

    Good to be linked back to my own post ! Well in...

    Good to be linked back to my own post ! Well in the linked post, Paul does explain about the process of setting the RTC during compile time and to be honest it was too much of Geek stuff on what...
  4. Replies
    2
    Views
    207

    Teensy3.5 RTC- Some basic doubt !

    I am using the code below to set the RTC on my Teensy 3.5 and also using a 3V cell to maintain time. All well. But I just wanted to clarify two points :

    1. It receives the T variable from the PC....
  5. Thanks. Possibly that's all i need for now. Just...

    Thanks. Possibly that's all i need for now. Just out of curiosity - how exactly does one use the SDfat library with T3.5 ?
  6. The right library for SD Card with Teensy3.5

    After struggling with wrongly pointed AVR libraries I finally decided to create a Portable Arduino installation for Teensyduino. All well till now.

    Then I went and downloaded the SDFat library...
  7. Replies
    0
    Views
    214

    Teensy 3.5 Analog Read - Some queries

    I am learning to use the ADC library and going through the analogRead.ino example.

    1. This code uses a conversion based on demand by this line : value = adc->adc0->analogRead(readPin); So is...
  8. Replies
    13
    Views
    973

    Oh so there really exists a method to handle this...

    Oh so there really exists a method to handle this mess up with the libraries between Arduino and Teensy ! Could you please outline how this dual installation is done ?

    Thanks
  9. Replies
    3
    Views
    921

    Yes good you brought it up... HW debugger is also...

    Yes good you brought it up... HW debugger is also on thier mind. Customers never want to make it easy for you right ?? :) But what about the license part ? Can a project developed in Arduino IDE...
  10. Replies
    3
    Views
    921

    Teensyduino alternate ?

    I am a big fan of Teensyduino and personally for the kind of applications i do, its far more complete and i dont think i even use 50% of its capabilities.

    But recently there was a discussion...
  11. Replies
    4
    Views
    841

    C:\Program Files...

    C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SD\SD.h
    C:\Users\***\Documents\Arduino\libraries\SD\SD.h
    C:\Users\***\Documents\Arduino\hardware\espressif\esp32\libraries\SD\src\SD.h...
  12. Replies
    4
    Views
    841

    Yes ...i was careful to name my file as...

    Yes ...i was careful to name my file as TEMPLOG.CSV.
  13. Replies
    4
    Views
    841

    Teensyduino Library complications

    Maybe this is a common topic ... I have an Arduino IDE 1.8.7 and the latest Teensyduino 1.44 on a WIN 10 machine. The target hardware is a Teensy3.5 module.

    I developed a code for a single channel...
  14. Replies
    34
    Views
    6,380

    The one you ordered is perfect. So please don't...

    The one you ordered is perfect. So please don't buy any more LCDs. The end result is the same whether its a 4 L x 20C or 2L x 16C module. I have tried both.
    ( After I sent you the EBay link for the...
  15. Replies
    34
    Views
    6,380

    Tried the following : - Reduce the speed all the...

    Tried the following :
    - Reduce the speed all the way down to 24MHz
    -Bring in delay in start up immediately after Serial.begin(9600);
    -Shift the LCD init ahead of RTC init.
    -Bring in delay between...
  16. Replies
    34
    Views
    6,380

    - Yes. Even without the RTC plugged in, the code...

    - Yes. Even without the RTC plugged in, the code freezes on hardware Reset.
    - Yes. The one on the board is NOT the Reset button. Its for Program download.
    - Bogus time. Yes again because the RTC...
  17. Replies
    34
    Views
    6,380

    Sorry about that. But OK... it also goes to...

    Sorry about that. But OK... it also goes to confirm that the problem is across the spectrum of 2 Line or 4 line LCDs.

    And since all of them use the HD44870 chipset, the code that I sent will work...
  18. Replies
    34
    Views
    6,380

    Thanks Paul for your consistent follow up. ...

    Thanks Paul for your consistent follow up.

    Since I did not have a 4 line LCD , just modified the code for a 2 line LCD and is given below. The problem as I notice :

    When both the LCD and RTC...
  19. Replies
    34
    Views
    6,380

    Hi Paul..... I am so sorry. Should have checked...

    Hi Paul..... I am so sorry. Should have checked before posting. My bad. This is a small segment of the original code . Anyway now the one below compiles OK for T3.5.



    // The LCD is a 4L x...
  20. Replies
    34
    Views
    6,380

    Yes and Yes !!

    Yes and Yes !!
  21. Replies
    34
    Views
    6,380

    The LCD with IIC Interface here :...

    The LCD with IIC Interface here : https://www.ebay.in/itm/Serial-2004-20-X-4-IIC-I2C-TWI-Blue-Backlight-LCD-Module/172695686775?hash=item2835770e77:g:SOMAAOSw3utY6JDi

    The RTC Module like here :...
  22. Replies
    33
    Views
    8,487

    @PaulStoffregen That was patient but useful...

    @PaulStoffregen

    That was patient but useful info on how the RTC updates. I am basically a LabVIEW developer and one of the big issues that we have is to handle the First-Run-After-Installation...
  23. Replies
    33
    Views
    8,487

    Ok this has been an interesting thread. Thanks...

    Ok this has been an interesting thread. Thanks folks ... so time to "show off "my all in PCB using the T3.5 !! Its right now showing the clock that was set about a week back. Going good.
    The PCB...
  24. Replies
    33
    Views
    8,487

    Got it . Thanks. So sat down and coded a...

    Got it . Thanks.

    So sat down and coded a simple blink that also can show the time in Serial. Though I made it work, I still don't follow how the function time_t getTeensy3Time() works without...
  25. Replies
    33
    Views
    8,487

    Teensy3Time.ino updates wrong time ...

    My Teensy3.5 seems to love the time 21.05.00 ... I first ran the code around that time yesterday and then disconnected. No battery back up is there for the Teensy3.5. But today I ran the same code...
  26. Replies
    34
    Views
    6,380

    Oh...ok got it. Will implement and check if it...

    Oh...ok got it. Will implement and check if it resolves the lock up after Reset. Thanks.
  27. Replies
    34
    Views
    6,380

    >> As nox771 says, many devices need a longer...

    >> As nox771 says, many devices need a longer timeout on Teensy, due to the faster processor speed.

    Not sure how to do this ... do I introduce delay like 5ms after every Read or Write function to...
  28. Replies
    34
    Views
    6,380

    1. The RTC module is a 5V type DS3231 with the...

    1. The RTC module is a 5V type DS3231 with the Coin cell on its back. The module itself is functional as I just pulled it out of the Mega 2560 setup. It alongwith the LCD interface with the Teensy...
  29. Replies
    34
    Views
    6,380

    Well the two resistors ( 5K Ohm) between SCL and...

    Well the two resistors ( 5K Ohm) between SCL and SDA to 3.3V initially looked like they helped but then after I tried to Reset a few times the screen froze. Only removing the RTC module makes a...
  30. Replies
    34
    Views
    6,380

    Thanks for the responses. Just after I posted...

    Thanks for the responses.

    Just after I posted I read the warning about the pull ups... that could be the problem. Let me try it and post back. So the new PCB needs a surgery ...sigh!!

    I did try...
  31. Replies
    34
    Views
    6,380

    T3.5 LCD and RTC on I2C - lock up

    The code below locks up when the RTC module is plugged in ...but boots with no issues and displays the Home Screen when the RTC is pulled out. But then then there is no valid time display. But if...
  32. Replies
    12
    Views
    2,290

    Ok got it. Its working now. Just to understand...

    Ok got it. Its working now. Just to understand this whole interaction, created a simple Blink as below. The only thing I notice which is different from the UNO behaviour is that the initial "...
  33. Replies
    12
    Views
    2,290

    OK got it... but a bit surprised to note that the...

    OK got it... but a bit surprised to note that the Reset is active low. If then it should have been RESET with a bar on top of it ?? Or atleast /Reset ?
  34. Replies
    12
    Views
    2,290

    Nothing complicated about the code.. as I...

    Nothing complicated about the code.. as I mentioned it is a simple Write and Read from SD card. Works fine on UNO.

    As to the TyCommander I am just downloading the Win64 version 0.8.8 . Let me...
  35. Replies
    12
    Views
    2,290

    First I tried the normal Serial. After the...

    First I tried the normal Serial. After the program download when I invoked the Arduino serial monitor, it printed once. But that's it. I was trying to ReBoot which I could not ( the button was...
  36. Replies
    12
    Views
    2,290

    Very Basic Teensy3.5 query

    This is my code to Read/Write to a SD Card. OK not mine but adapted from the Example !! I have used Serial1. What I expect :
    1. The T3.5 is powered via the USB port.
    2. The Serial1 is connected...
  37. Replies
    9
    Views
    2,904

    Thanks Paul. The exact point I wanted to know. ...

    Thanks Paul. The exact point I wanted to know. With all this confirmations I today tried out the RF24 module with Teensy3.5 and it worked first shot !! I now am planning to move a big project from...
  38. Replies
    9
    Views
    2,904

    That was a good point on the LCD. Thanks !!

    That was a good point on the LCD. Thanks !!
  39. Replies
    3
    Views
    889

    Perfect that is the kind of tips i was looking...

    Perfect that is the kind of tips i was looking for. Thanks !!
  40. Replies
    3
    Views
    889

    Teensy 3.5 with Adafruit Fether adaptor

    Planning to use the Teensy3.5 with the Adafruit feather adapter.

    As i can see a Teensy 3.2 will fit exactly and a Teensy 3.5 will kind of over hang with pins 24 onwards hanging. Is my...
  41. Replies
    9
    Views
    2,904

    Are you asking why there are multiple pins marked...

    Are you asking why there are multiple pins marked as CS0 in the hardware card for the Teensy 3.5?
    All of the above pins are Chip select pins for the SPI buss 0. The teensy 3.5 has 3 SPI busses, so...
  42. Replies
    9
    Views
    2,904

    nRF24L01 with Teensy 3.5

    Just a quick check ... I am planning to use the Rf24 module with Teensy3.5 and following are the pin assignments :

    09 : CE of RF24L01
    10 : CSN of RF24L01
    11 : MOSI of RF24L01
    12 :...
  43. Replies
    5
    Views
    2,662

    Yes ... you read my thoughts well. So even though...

    Yes ... you read my thoughts well. So even though we are using an ARM processor in the Teensy hardware, it is meant to be used ONLY with the Teensyduino for quick and rapid prototyping. Need to use...
  44. Replies
    5
    Views
    2,662

    Great... exact information as I was looking for....

    Great... exact information as I was looking for. And the MKL02 link was very useful to understand the Bootloading process and also some key aspects to watch when designing own PCBs.
    Since I have...
  45. Replies
    5
    Views
    2,662

    How to update Teensyduino...

    I started with the Teensy3.2 and then moved on to the Teensy3.5. Well i still cannot believe that these pack so much of computing power and the program downloads are so fast. I guess i will...
  46. Replies
    2
    Views
    774

    You get nothing when the search is wrong !!

    Well don't laugh... I was searching for Serial.cpp and Serial.h and no wonder I never bothered to look the Stream stuff :(. Thanks for pointing out the mistake.
  47. Replies
    2
    Views
    774

    TimeTeensy3 - Serial functions..

    Came across two Serial functions in the TeensyTime3 example. I was happy to see it pick up the PC time ... so easy to set the RTC. I do hope that the RTC is updated with this and if I have a battery...
  48. Replies
    6
    Views
    1,613

    I was working on another code for the Teensy3.2 ...

    I was working on another code for the Teensy3.2 where I had to use the EEPROM library. As usual the compiler complained about finding more than one.

    I tried an #include as below and it works :
    ...
  49. Replies
    6
    Views
    1,613

    OK ... I renamed the offending Wire library and...

    OK ... I renamed the offending Wire library and allowed the Teensy to choose its own Wire library and the problem is solved. Thanks.

    Just one more thing ... still I'm unable to use the...
  50. Replies
    6
    Views
    1,613

    Thanks... will do when I get back to the system...

    Thanks... will do when I get back to the system and revert.

    In the meanwhile to avoid the compiler trying to use all and sundry libraries, can I create a "libraries" folder inside my sketch...
Results 1 to 50 of 58
Page 1 of 2 1 2