Search results

  1. I

    designing an external teensy boot loader for MK64. PTE pins hi, low or open?

    Hi; I have successfully integrated the MK64FX512VLQ12 with an on board MKL04Z32 into my project. Now I want to build an external programmer and remove the on board MKL04, then have an external circut with the MKL04 to program the MK64. I'm wondering If I need to tie the PTE pins high or low on...
  2. I

    3.5 144 lqfp diy

    For anyone needing a start point using the 3.5 144 pin LQFP. Use at your own risk, It worked for me.
  3. I

    Keypad triggering interrupt

    I have no idea how that library works. I utilize a keypad but used my own code, its a 3x7 keypad. 3 of the pins are interrupts, the other 7 pins are normal digitals. When the interrupt is toggled it turns off the remaining digitals sequentially until the same interrupt pin goes low again. so it...
  4. I

    Keypad triggering interrupt

    depending the circuit configuration you could use several (4?) diodes to allow voltage to you interrupt pin when one of the keys is pressed. The diode should prevent the keys from interacting with each other .
  5. I

    CAN 2.0B Transceiver Suggestions

    Here is a snippet of code i use: keyPad = 0; txmsg.len = 3; txmsg.ext = 1; txmsg.id = 0x16EA0000; //_____________________________________write request for pgn 65253 txmsg.buf[0] = 0xe5; txmsg.buf[1] = 0xfe; txmsg.buf[2] = 0x00; CANbus.write(txmsg)...
  6. I

    CAN 2.0B Transceiver Suggestions

    I'm no expert, but I have used the extended ID Flex can for J1939 data. I do not think the Transceiver cares weather it is extended or not. The transceiver is just a signal amplifier. I have used several transceivers for extended ID and i have not seen any that say that they work with the...
  7. I

    Teensy 3.5 different packages

    Hi; What are the chances you would share the files for this project?
  8. I

    freelance for small teensy project

    Hi; Basically I have a project using the teensy 3.5. I use nearly all the pins on the teensy and have to solder all the bottom side pins. This is very time consuming to produce my project. I want to upgrade to using the MKL04 chip and the MK64 LQFP. I see that a few people have posted eagle...
  9. I

    EEPROMEX with teensy 3.5 and 2.0++ returns different values

    This worked perfect, Thank you. I just need to change the rest of my code to work with this new type of data and I will be up and running!!
  10. I

    EEPROMEX with teensy 3.5 and 2.0++ returns different values

    Is there a way I could edit the EEPROMEX library to correct this? change uint16_t to INT?
  11. I

    EEPROMEX with teensy 3.5 and 2.0++ returns different values

    Hi; I have an issue that I'm hoping someone can point me in the correct direction. EEPROMEX function EEPROM.readInt returns an incorrect value on teensy 3.5 but returns correct value using the teensy 2.0++. Arduino 1.6.12 teensy loader 1.19 using both: teensy 2.0++ (works correctly) teensy 3.5...
  12. I

    Analog 12V Valve Control

    Hi; I work on hydraulic solenoids like this quite often, And most actually respond better to PWM. As the hydraulic solenoids age / get dirty the develop internal friction and a dead band. The off-on pulse on a PWM signal helps the system deal with the internal friction. Quite often hydraulic...
  13. I

    UK PCB Fabrication for the maker

    Price is CAD with tax:
  14. I

    UK PCB Fabrication for the maker

    I have had good luck with MyRo PCB but they are in china, boards are 1-2 weeks standard. approx 60 USD for 2 layer x 5 shipped UPS.
  15. I

    conflict with IntervalTimer and display library

    Hi again; sorry about the delay today is my first day off again. I have done some more testing and wrote a different program so I can give some better and quantitative observations. The below program is exactly what i have in my sketch, nothing is missing or added. I have a teensy LC with 2...
  16. I

    conflict with IntervalTimer and display library

    In the program in message #5 the LED blinks (digital output 9) off and on 5 times a second for the first delay of 5 seconds. After the tone(21,1000); no tone(21); The blinking still happens but its very slow like once every 10 seconds(i'm not in front of this project ATM so that is an estimate)...
  17. I

    conflict with IntervalTimer and display library

    I just realized IntervalTimer must also have a conflict with the timers in the different functions. I had more then one issue. I have found if i activate tone() on a pin then off again it slows the interval timer until the teensy resets. is there a way to have both an intervalTimer and a Tone...
  18. I

    conflict with IntervalTimer and display library

    I think i got it somewhat working. I needed to declare the timer after initialized the display screen(which i forgot to add into the code i posted here). I was trying to make a sketch to demonstrate but it seems the problem must be a combination of things i was doing wrong / wrong order in my...
  19. I

    conflict with IntervalTimer and display library

    Thanks for the ideas; I tried both of these and have the same issue. There is also something else i am noticing, if i call "tone" (in my un-edited program) the interval timer starts to work again? im trying to get an example going to post it.
  20. I

    conflict with IntervalTimer and display library

    Hi; I have an issue where intervalTimer runs until I call my display to print. I'm thinking its a conflict of some kind. I cut down the program to demonstrate the issue. I'm using: - Teensy LC - Teesny loader 1.27 - arduino IDE 1.6.3 - nokia 5110 display Have tried different display commands...
  21. I

    any cost reduction ideas?

    Its a risk for sure but its for parts like banana jack connectors, and the molex style wire leads ect, so i could find them elsewhere if needed.
  22. I

    any cost reduction ideas?

    That would be a neat and save costs overall because i could eliminate my currently planned interface. but i think for my application not the best, i'm making a tool for technicians that will be using gloves and in a dirty greasy environment. I was going to use a small rotary encoder with the...
  23. I

    any cost reduction ideas?

    Thanks for all the good ideas, One thing i will change is adding test points. I currently have a company and make similar products so some items mentioned I have considered before, thinking about it now some carefully placed test points would have made some trouble shooting a lot easier on my...
  24. I

    any cost reduction ideas?

    Hi, Just looking on any pointers for reducing costs on a project I want to market. I am using a Teensy LC and assembled PCB with approx 50 parts. It also incorporates an extruded aluminum case, display, and some other misc parts. I have done some stuff already: - Source all electronic parts...
  25. I

    Teensy 3.1 and CAN Bus

    Yes Flex can does work with with j1939, earlier in this thread i posted a snippet of code i use for extracting active fault codes. For receiving extended messages i did not need to make any changes, but for sending extended messages i believe you need to set EX = 1; I don't have the code in...
  26. I

    Teensy 3.1 and CAN Bus

    here is a snippet of code for anyone trying to decode j1939 error codes with the flexcan library: sourceAddress = rxmsg.id & 0x000000ff; // mask out 2 byte source address PGN = (messageID & 0x3FFFF00) >> 8 ; // mask out 19 bit PGN and shift if (PGN == 65226) // PGN for active codes {...
  27. I

    SD library; declaring different file names using "if" statment

    Hi; I tried both the first and second method listed above: The first method gives me an error: first - invalid conversion from 'char' to 'const char*' [-fpermissive] The second method works great thanks! However there is one minor issue. I used file names "test1,test2,test3" as examples I...
  28. I

    SD library; declaring different file names using "if" statment

    Thanks, I will try these when I get home from work.
  29. I

    SD library; declaring different file names using "if" statment

    Hi; I'm wondering if there is a way to call different file names to one file declaration so I can save on repeated coding for different file names. here is an example of my code: #include <SD.h> #include <SPI.h> //________________________________________________ void setup() {...
  30. I

    Teensy 3.1 and CAN Bus

    Hi; Just want to add something for anyone else interested in j1939. Teachop's Flex can works well for the extended ID and j1939. I have a very rough code reader that has been tested on some industrial engines, QSK 50, QSK 45, and some smaller tractor engines too. Once the code is in a less...
  31. I

    4-20ma output into teensy 3.2 analog input

    reverse polarity protection is easy to accomplish on 4-20 mA circuts; just place a diode in series with your resistor. Your sense line needs to be between the diode and the resistor. 4-20 mA circuts are current controlled so regardless of the load the current stays the same. the diode will not...
  32. I

    Overvoltage protection when interfacing an op amp to analog input

    the data sheet says it provides "2.1 kVRMS Voltage Isolation" It should be well protected. 47 x gain from 5 amps you could have a max span of 106 mA if you wanted, although accuracy of that would be questionable. in the comments section of the sparkfun page there is some talk about this...
  33. I

    Overvoltage protection when interfacing an op amp to analog input

    ACS712 Fully Integrated, Hall Effect-Based Linear Current Sensor with 2.1 kVRMS Voltage Isolation and a Low-Resistance Current Conductor for 1.71$
  34. I

    Overvoltage protection when interfacing an op amp to analog input

    Its kinda late for this but a cheap hall effect sensor: http://www.ebay.com/itm/20A-ACS712-Module-5V-Measuring-Range-Current-Sensor-Hall-Board-For-Arduino-new-/281683071902?hash=item41959e939e they sell it in different ranges
  35. I

    4-20ma output into teensy 3.2 analog input

    I guess to sum up I would suggest a lower resistance resistor to increase the range like 50 ohms @ 1.2 volts then you have a range to 24ma.
  36. I

    4-20ma output into teensy 3.2 analog input

    If you did this you would be limiting yourself to 20.00 mA exactly, depends on the application i guess but i have on my work bench now 4 pressure transmitters that full scale over 20 mA; like 20.1mA ect. Also the fail high state on some devices i previously mentioned.
  37. I

    4-20ma output into teensy 3.2 analog input

    A couple things to consider, many 4-20 devices have a failed high option so 165 ohms x 20 ma = 3.3 exactly will not give you any room to detect anything over 20 mA. I would suggest a lower value. Also most systems would use an op amp but since your 4-20mA across the resistor is low impedance...
  38. I

    Guidance on Bluetooth

    I tried getting an hc 05 and changing the class of the device so I phone would connect but is still didn't work. +1 for android app inventor it's a very good tool, however to start I would recommend a basic serial terminal app. If you go that way you could also use the windows phone seamlessly.
  39. I

    Guidance on Bluetooth

    what BT module do you use? I use an HC-06 to send and receive serial commands from my phone. FYI The I phone does not work with the HC series BT modules
  40. I

    Teensy LC resets due to EMI?

    I have ran into similar issues but it was not EMI it was feedback from the relays when de-energizing, a large high voltage spike would somehow make it back to an I/O pin on the teensy. I used some TVS diode across the relays and problem solved. This may be where your EMI is coming from?
  41. I

    Use of 1000uf capacitor on LED strip power line....yes/no?

    The only issue I see would be overloading the power supply during an In rush when first powering up charging the caps. Is that same 5v supply also powering your teensy? The power supply will already have caps built into it as well on the output. I would personally leave it alone unless you start...
  42. I

    serial monitor issue

    I've had issues before where the Teensy and another serial device install onto the same com port in windows rendering the serial moniter in arduino IDE non functional, while programming it still seems to work fine. I had to manually reassign the com port in windows device manager.
  43. I

    Changing delay to a function that slows clock speed for power savings

    I had to google PLL (phase-locked loop). So if for example i'm try to read serial data or use the tone library this would not work correctly as slowing down the CPU will effect all timers? I can still use the above code i just need to make sure i use it in portions of the program that don't...
  44. I

    Changing delay to a function that slows clock speed for power savings

    Just wondering about Changing delay to a function that slows clock speed for power savings. Is it a bad idea to change clock speed frequently? void loop() { //do some jazz CPUdelay(1000); } void CPUdelay(int delayTime); // delay in between reads for stability {...
  45. I

    Any Chance of a Teensy ++ 3.1?

    Assuming the 48 pin form will at least have as many or more I/O then the teensy 2.0 ++. I'm already planning my next project and i'm short a few with the teensy 2.0++. Regardless of how the extra pins are added, pads on the bottom, 1.00 mm pitch though hole pins, whatever, as long as there...
  46. I

    Any Chance of a Teensy ++ 3.1?

    complete newbe suggestion, what about implementing finer pitch through hole pins all the way around but then with each teensy 3.x++ provide another pcb that goes from the finer spacing to the larger 2.54 spacing for the bread boarding guys. Then when implementing the prototype to a pcb just...
  47. I

    Any Chance of a Teensy ++ 3.1?

    Looks like the K26 is not going to be 5V tolerant, but still looks very nice.
  48. I

    Any Chance of a Teensy ++ 3.1?

    My vote is for the 3.x++
Back
Top