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

Search:

Type: Posts; User: turtle9er

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    443

    Not sure if this will be any help, but this is...

    Not sure if this will be any help, but this is what I have used in a project to monitor a lipo battery, and use this library to do all the calculations on battery life etc
    I use an FDV302 p-ch...
  2. Replies
    3
    Views
    231

    I don't know the answer to this, but I do want to...

    I don't know the answer to this, but I do want to know your method for updating 50 devices at one. Just starting to work on a project where I will use an esp8266 and updating all devices at once...
  3. Replies
    155
    Views
    17,005

    Pretty sure I have narrowed it down to how my...

    Pretty sure I have narrowed it down to how my libraries are set up. All I do is download the zip from Github and install the zip file using arduino IDE install library option. Spent all night trying...
  4. Replies
    155
    Views
    17,005

    Thanks, maybe things are in the wrong library...

    Thanks, maybe things are in the wrong library etc? I installed your library plus all the other ones linked in teensiquitto.ino, which must go on the ESP I assume. I didn't change anything in that...
  5. Replies
    155
    Views
    17,005

    Hi, Finally getting around to testing this all...

    Hi,

    Finally getting around to testing this all out, and I can't even get past the point of installing the ESP sketch. I assume the one in the zip file is what has to go on the ESP. I have...
  6. Replies
    155
    Views
    17,005

    Sorry, missed the most important part. The data...

    Sorry, missed the most important part. The data is a binary file that can be any where from 100kb to 10Mb, so of course I need to figure out how to send packets of data, I just need to figure out if...
  7. Replies
    155
    Views
    17,005

    Hi tonton, not much action on the teensyquitto...

    Hi tonton,

    not much action on the teensyquitto thread, so thought I would revive it. I am not sure if right place to ask, but I am in early stages of a project where I am saving data to the SD...
  8. Replies
    140
    Views
    12,066

    Now I am getting confused. The system I am using...

    Now I am getting confused. The system I am using now seems to be working great and don't get repeat values. From your github readme you have this listed under Circular Buffers:
    T pop_front(T...
  9. Replies
    140
    Views
    12,066

    No, I sometimes have 2048 values, this happens...

    No, I sometimes have 2048 values, this happens when the cyclists do a standing start and are pedaling slow, but producing a lot of torque (high Hz values). However as the cyclists speed up, they are...
  10. Replies
    140
    Views
    12,066

    Starting to get a little lost, however could be...

    Starting to get a little lost, however could be because of jetlag.
    The issue with my system is that HzSamples is different value for every 10 deg segment and can vary from 2048 samples to 10...
  11. Replies
    140
    Views
    12,066

    I really want to try out some of these examples...

    I really want to try out some of these examples with my code, but just got to Australia for work and away from my device for 2 weeks. When I get back I will try it.
    My only question is how to I fill...
  12. Replies
    140
    Views
    12,066

    Wow, you guys are taking this and running with...

    Wow, you guys are taking this and running with it. Gives me ideas also. I know I only posted a snippet, but how my system works is I have a 36 or 72 tooth gear that an optical sensor reads, this is...
  13. Replies
    140
    Views
    12,066

    Hi, For my needs I am filling an array with a...

    Hi,

    For my needs I am filling an array with a frequency value based on a gear and optical sensor. What is interesting with my system is the collection rate varies because I am measuring the power...
  14. Replies
    140
    Views
    12,066

    Finally got around to implementing your circular...

    Finally got around to implementing your circular buffer library. At first it seemed way above my knowledge, but once I did a few examples, implementing it into my existing code was so easy. Just want...
  15. Replies
    81
    Views
    21,314

    I just wanted to say thanks for sharing your...

    I just wanted to say thanks for sharing your project. I don't have a well to monitor, but have been able to use some of your code to send data packets with an rfm69. So thanks for sharing and excited...
  16. Replies
    9
    Views
    2,954

    Thanks, funny I remember looking at that couple...

    Thanks, funny I remember looking at that couple years ago for another project. That makes more sense, and a small package, so won't take up much room. Thanks a lot.
  17. Replies
    9
    Views
    2,954

    Sorry for bringing up such an old thread, but I...

    Sorry for bringing up such an old thread, but I am working on a project with a Teensy 3.6 and have implemented the exact schematic as above, where i have a diode on voltage from the battery and also...
  18. Replies
    140
    Views
    12,066

    Been following this thread, however still waiting...

    Been following this thread, however still waiting to use it when school is done in a month and can get back to projects. Just letting you know so you don't lose interest.....and really I am waiting...
  19. Here is a program by a user TNI that I have used...

    Here is a program by a user TNI that I have used with great success. It might meet your needs. Here is a link to the github...
  20. So you want to write 512 bytes every 1ms? Like I...

    So you want to write 512 bytes every 1ms? Like I said, there are a few great examples in the forum that use low latency logging for analog collection. All of these examples use the pre-allocated file...
  21. Take a look at the low latency logger example in...

    Take a look at the low latency logger example in the sdfat library. This should easily meet your needs. However if you don't post your code, its hard for anyone to see if there might be an issue with...
  22. I agree with rcarr, the lag is due to SD card...

    I agree with rcarr, the lag is due to SD card write time. You are opening and closing the file each time, which is not ideal. You need to use a binary system with preallocated space. There are a lot...
  23. There are a few ways to do this, but a place to...

    There are a few ways to do this, but a place to start is looking at the sdfat low latency example. If you search the forum, you will find many other example of people writing a lot of data very...
  24. Replies
    26
    Views
    4,137

    Quick update,got it working exactly as it should....

    Quick update,got it working exactly as it should. Just changed frequency to 98khz and it lined up perfect. Still have to learn exactly what all the code is doing, but have already learned a lot from...
  25. Replies
    26
    Views
    4,137

    Awesome, thanks, I knew I was missing something....

    Awesome, thanks, I knew I was missing something. Will try it now.
  26. Replies
    26
    Views
    4,137

    Thanks, and I adapted your code and it worked....

    Thanks, and I adapted your code and it worked. Now to hook it up to the scope to make sure its the right values. I have searched for the answer and maybe its not possible, but how did you get the...
  27. Replies
    26
    Views
    4,137

    No real experience, but thats the fun in figuring...

    No real experience, but thats the fun in figuring it out. I assumed that is what the 456E3 was. Guess my only two last points of confusion are why the PIT timer is set to 1E6 and are you reading the...
  28. Replies
    26
    Views
    4,137

    Hi, I am working on a project where a sensor...

    Hi,

    I am working on a project where a sensor responds with manchester signal when you request an eeprom read. Seems this code will work great, I am just not sure how I would adjust it to work with...
  29. Here is code I used for an optical encoder,...

    Here is code I used for an optical encoder, running as fast as 3 ms per tooth. The cap should not effect your rate, plus more of an issue if reading the rising edge, which the cap with slow the rise...
  30. Do you have an oscilloscope? That would let you...

    Do you have an oscilloscope? That would let you see the issue. My guess is you are getting a bounce in the signal due to capacitance. I would add a 100pf capacitor from the signal to ground and see...
  31. Replies
    3
    Views
    829

    Thanks that is awesome. After asking the question...

    Thanks that is awesome. After asking the question I realized how easy it was to change. I does not matter anymore, but I am still interested why freqMeasureMulti can't use pin 3, but freqMeasure can...
  32. Replies
    3
    Views
    829

    Adding countToNanosecond to FreqMeasure

    Hi,

    I am working on a project where I need the nanosecond count that FreqMeasureMulti provides, however need to use pin 3 due to already made circuit board. Can I just add the same bit of code...
  33. Hi, Been using your logging program with great...

    Hi,

    Been using your logging program with great success, however I am now trying to use it for another application and stuck on a few things (due to limited programming knowledge). My current...
  34. Replies
    3
    Views
    1,161

    Ok thanks, guess I thought ns could be 2^32 max....

    Ok thanks, guess I thought ns could be 2^32 max. But does that mean max count is 2^32/1000? That does not seem right to me also. Thanks again for the information.
  35. Replies
    3
    Views
    1,161

    FreqMeasureMulti nanosecond issue

    Hi,

    I have been using the freqmeasuremulti library to measure frequency very well, however now I want to use the function freqmeasuremulti.countToNanoseconds() and I am getting some odd results. I...
  36. Replies
    4
    Views
    757

    Well the first issue is you are using...

    Well the first issue is you are using Serial.print(buf[i], HEX);, which means hexadecimal. So that is a good place to start, but sorry don't have the answer on exact fix....maybe just remove the HEX...
  37. Replies
    3
    Views
    1,523

    If you have not done so already, you can download...

    If you have not done so already, you can download the PMI application for the concept 2, which is an SDK for the device. I have not used it connected to a teensy, however have used it to interface...
  38. There is no code , just put digitalReadfast......

    There is no code , just put digitalReadfast... Not sure if that is correct because of capitals , but will turn yellow if correct if using arduino ide.
  39. If they arrive at the same time, just use NR and...

    If they arrive at the same time, just use NR and then digital read fast the other pins, then report which one is high. However if any delay in arrival of the signal it might miss read the signals as...
  40. Replies
    3
    Views
    1,359

    So even though I fixed the issue with the...

    So even though I fixed the issue with the capacitor, it was driving me crazy the code was not working as I thought it should. Well I figured it out. If there is no capacitor the interrupt triggers...
  41. Replies
    3
    Views
    1,359

    Thanks, will try that tomorrow to see what...

    Thanks, will try that tomorrow to see what happens.

    Edit: So tried it, no different. Even with 30pf on the digital output it still gave false readings, but if I put 100nf it works.
    The thing I...
  42. Replies
    3
    Views
    1,359

    Optical sensor bounce issue

    Hi Everyone,

    I have been working on a project and getting some odd behaviours when using an optical slotted switch...
  43. Replies
    11
    Views
    2,957

    @adrian, yes that was my other idea. Not sure why...

    @adrian, yes that was my other idea. Not sure why I changed my plan, Should work either way, plus easy enough to trim the header pins smaller. Think if I end up making more boards I will run it on...
  44. Replies
    11
    Views
    2,957

    7176 Here is an image of what I mean. It is...

    7176

    Here is an image of what I mean. It is not soldered yet, still waiting for my boards to finish them. The only thing you have to do is trim the black plastic piece where the right angle...
  45. Replies
    11
    Views
    2,957

    If you are making your own pcb, a solution I came...

    If you are making your own pcb, a solution I came up with is to run a row of headers from 3v to digital pin 1, but only populate the 2nd and 3rd position with a right angle pin, which you can then...
  46. Replies
    21
    Views
    5,618

    This would work great with the prop board on the...

    This would work great with the prop board on the bottom side, assuming they would play nice together sharing the miso/mosi/sck. Would make everything nice and compact. Great job.
  47. Replies
    3
    Views
    1,226

    Does anyone actually know the exact PTC fuse...

    Does anyone actually know the exact PTC fuse specifications? I found an older post where they assumed it was 200ma hold with 500ma trip. But that is all the info. I found this package on digikey that...
  48. Replies
    3
    Views
    1,226

    You make a good point. Guess i can just add my...

    You make a good point. Guess i can just add my own fuse. Via digikey the only package I can find is a pretty large 2920, but guess I can try to fit it in. Thanks again for the help.
  49. Replies
    3
    Views
    1,226

    Custom USB wiring

    Hi,

    I have a project where in need to use a USB-B receptacle due to it being plugged in and out often. I am making a custom pcb and was wondering if I should route the power from the new USB to...
  50. Replies
    501
    Views
    189,759

    Hi, Just started playing with the prop shield...

    Hi,

    Just started playing with the prop shield and have an idea in mind for its use, but it would require saving data to an SD card. Would it be possible to use an SD card since the SPI pins are...
Results 1 to 50 of 182
Page 1 of 4 1 2 3 4