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

Search:

Type: Posts; User: TurboStreetCar

Search: Search took 0.00 seconds.

  1. Sorry to bring up this old thread, but i have a...

    Sorry to bring up this old thread, but i have a little confusion on the original sketch and the resulting output on the Serial Monitor. Can you explain a little bit more about exactly how this works?
  2. I believe that sheet limit was raised, but it...

    I believe that sheet limit was raised, but it would be opened in a log viewing program so that's not much concern.

    Was more worried about buffers in the background on the teensy or uSD side of...
  3. The file is just getting saved to be reviewed at...

    The file is just getting saved to be reviewed at a later time. Won't be read back by the teensy or manipulated in any way.
  4. Yes that's kind of what the plan is. Except it's...

    Yes that's kind of what the plan is. Except it's on a push button. I just wasn't sure if there's a rule of thumb for how much data to write before closing the file. I'm not well versed in the process...
  5. Anyone? How often should the file be closed?

    Anyone? How often should the file be closed?
  6. Other then being susceptible to data loss if...

    Other then being susceptible to data loss if power is lost, Is there any downside to leaving the file open for the duration of the logging period?
  7. So. Figured it out! Im such a newbie i didnt...

    So. Figured it out!

    Im such a newbie i didnt realize i could do this.

    My code was layed out like this:

    ***disclaimer, this code is prolly horrendously inefficient and breaks a bunch of...
  8. Can i use yield() to allow the main loop to...

    Can i use yield() to allow the main loop to continue to run while the SD card figures out what it wants to do?

    I only need to write to the SD when the buffer is filled. I can create large and/or...
  9. Thanks for the input! The write time isn't so...

    Thanks for the input!

    The write time isn't so much the issue as the 8000 byte buffer allows around 6 seconds of buffer time before information needs to be moved to the SD. Also i nave no issue...
  10. uSD card write time and coding around it

    Hello, ive created a datalogger from a Teensy 3.6 and using the onboard uSD card slot to save the data in CSV format.

    I have pretty much all of it working properly but i have a few questions...
  11. Replies
    167
    Views
    74,080

    Well, the new transceivers came in, and it now...

    Well, the new transceivers came in, and it now successfully communicates both ways! Super pumped, thanks for all the help!
  12. Replies
    167
    Views
    74,080

    TNI: Think you could double check my receive code...

    TNI: Think you could double check my receive code from post #105 and see if it properly sends an ACK?
  13. Replies
    167
    Views
    74,080

    Yes it sounds very possible, just strange that...

    Yes it sounds very possible, just strange that BOTH of the transceivers i have, don't work.
  14. Replies
    167
    Views
    74,080

    I don't believe I did. I've pretty much stick to...

    I don't believe I did. I've pretty much stick to just the read, write, and available commands. Is this something that is set once and continues for future use?
  15. Replies
    167
    Views
    74,080

    Verified im using 1.36. I have managed to get...

    Verified im using 1.36.

    I have managed to get the code to receive and print a message from the bus to the serial monitor.

    The issue im still having is it will not transmit or ACK a message...
  16. Replies
    167
    Views
    74,080

    Thanks! What exactly is TD 1.36? I assume thats...

    Thanks! What exactly is TD 1.36? I assume thats the version of the FlexCan library? How do i know what version i have?
  17. Replies
    167
    Views
    74,080

    This is on a Teensy 3.6, the arduino and Kvaser...

    This is on a Teensy 3.6, the arduino and Kvaser leaf communicate just fine, but can't get the teensy working.
  18. Replies
    167
    Views
    74,080

    So i have started to play with this again and i...

    So i have started to play with this again and i have set up a successful bus using and Arduino with a CAN shield, and a Kvaser Leaf. Im attempting to connect the Teensy and i get ZERO out of it. Can...
  19. Replies
    167
    Views
    74,080

    Thanks for all the info and help. I'm gonna order...

    Thanks for all the info and help. I'm gonna order another transceiver board and see what happens.
  20. Replies
    167
    Views
    74,080

    Yea I took interest in the Rs pin on the board....

    Yea I took interest in the Rs pin on the board. As received, it used a 10k pulldown to ground, putting the chip in "slope control mode". I've since de-soldered the pulldown, and shorted the pin...
  21. Replies
    167
    Views
    74,080

    Thanks for that detailed explanation Collin, much...

    Thanks for that detailed explanation Collin, much appreciated!

    There in lies my predicament. I can receive to the teensy/sn65hvd230 just fine, yet it seems as the teensy isn't setting the ACK bit...
  22. Replies
    167
    Views
    74,080

    Yes, i know i need the transceiver to properly...

    Yes, i know i need the transceiver to properly communicate, but im seemingly not getting an ACK when i receive messages. So i was curious if the ACK was handled by the transceiver on its own, or if...
  23. Replies
    167
    Views
    74,080

    Does anyone know if the handling of the message...

    Does anyone know if the handling of the message receipt acknowledge is handled by the Flexcan code or the transceiver chip?
  24. Replies
    167
    Views
    74,080

    Ok did a little more experimentation to confirm...

    Ok did a little more experimentation to confirm whats going on with my CAN hardware. i know, broken record, but im really trying to wrap my head around it.

    I hooked up the teensy to the arduino...
  25. Replies
    167
    Views
    74,080

    I saw those, seems the waveshare ones have good...

    I saw those, seems the waveshare ones have good reviews too. The picture i posted is not actually the board i received, its a picture of the waveshare, and i received some other board that is of same...
  26. Replies
    167
    Views
    74,080

    Is there a known good supplier of these can...

    Is there a known good supplier of these can chips? It seems the bare chips from TI are about 4 times the cost of the breakout boards commonly available.
  27. Replies
    167
    Views
    74,080

    Yea, the board is very simple. It's just the TI...

    Yea, the board is very simple. It's just the TI chip and two resistors. If they offered the chip in threw hole, I would buy just the chip. I'm sure there are knock off chips out there and I'm...
  28. Replies
    167
    Views
    74,080

    Well the pair were about 5$ if I recall...

    Well the pair were about 5$ if I recall correctly. Not a big loss, prolly a Chinese knock off Ti chip.

    The two pin header is electrically identical to the screw terminals. There is a 120ohm....
  29. Replies
    167
    Views
    74,080

    Yea i dont know whats going on, im leaning...

    Yea i dont know whats going on, im leaning towards a hardware issue with the transceiver boards i got. Possibly faulty chips or something. It would explain why the working Arduino/Sparkfun Shield...
  30. Replies
    167
    Views
    74,080

    Well i believe the tranceiver boards i sourced...

    Well i believe the tranceiver boards i sourced put the chip into "slope control mode" with a pull down resistor on the RS pin.

    Is there anything in the code that specifies listening mode?

    It...
  31. Replies
    167
    Views
    74,080

    Well Ive changed my approach slightly. I enlisted...

    Well Ive changed my approach slightly. I enlisted the help of my Arduino UNO. I Know the UNO can send and receive CAN because ive connected it to my cars OBD2 port and successfully pulled data.

    I...
  32. Replies
    167
    Views
    74,080

    I'll admit, I'm not using this "forked" library,...

    I'll admit, I'm not using this "forked" library, but I'm using a different one then I believe came with the teensyduino IDE so I'll have to look into removing the original flexcan library that's...
  33. Replies
    167
    Views
    74,080

    Just Ohm'd it, its 120, and continuity from pin...

    Just Ohm'd it, its 120, and continuity from pin to screw terminal. Electrically the same.
  34. Replies
    167
    Views
    74,080

    Termination jumper? Are you referring to the 2...

    Termination jumper? Are you referring to the 2 pin header? I was under the impression that was access to the CanH and CanL lines for use with jumper wires?
  35. Replies
    167
    Views
    74,080

    So ive been trying to get FlexCan to work for a...

    So ive been trying to get FlexCan to work for a couple days now, and i feel like im missing that "AH HAA!" in my code. The code is very simple. It creates two instances of the message structures,...
Results 1 to 35 of 35