Search results

  1. H

    simulating HMC5883L

    I have a rather peculiar application and hoping someone has some suggestions. Most autopilot systems use an inexpensive HMC5883L as a compass connected over I2C. These do not perform well in industrial environments. I have a better compass (brick-IMU) but this only communicates over USB. What I...
  2. H

    Dual GPS-RTK using teensy 3.6 ?

    Interesting device ! I suppose it is similar to the brick IMU. That also has a magnetometer coupled to IMU. We need better than 0.5 deg precision for land based vehicle so I want to try the dual RTK solution.
  3. H

    Dual GPS-RTK using teensy 3.6 ?

    I have been looking for a good application for the new 3.5/3.6 that I got from kickstarter. Here is my plan .. I want to make a precision heading indicator for a farming robot to replace the unreliable IMU+compass unit. I have two RTK GPS units capable of about 8mm positioning accuracy. I plan...
  4. H

    limit on encoder?

    This does not work either. You can write(0) or whatever but the encoder continues to count for it's last value. Maybe there is reset method but I cannot find it.
  5. H

    limit on encoder?

    This obvious method does not work. The encoder code keeps incrementing the internal value. So you get 1,2,3,4,5,5,5,5,5,5,5 if you keep turning. Then 5,5,5,5,5,4,3,2,1 on way back. This is no good.
  6. H

    limit on encoder?

    I am using encoder from the Teensyduino library on a Teensy 3.2. It works ok but I cannot figure out a way to limit the encoder limits. In other words, I want to count up to say 5 and then further positive movement of the encoder should not generate any number greater then 5. I can constrain or...
  7. H

    Audio Library Tutorial ?

    Hey, is it possible to get a signal as an input to the audio library that does not come from the audio shield chip line_in or I2S ? Can I use a variable in my program as the input feed into the audio library ?
  8. H

    Audio Library Tutorial ?

    Thanks to all the help on this. From everyones input I had to believe it was some dumb Windows problem. So I got a good nights sleep - took the PC down - removed power, batteries, scrubbed with spybot and voila - sampleplayer runs again. Now onto figuring out the audio library tool. I need to...
  9. H

    Audio Library Tutorial ?

    Thanks. I will check - but it uploads other porgrams on the audio library distribution fine. For example - ToneSweep works OK - I get sound out of the headphone jack. Same with pulseWidth. Sound out of headphone jack and lineout. But no joy with uploading SamplePlayer. Same error as before -...
  10. H

    Audio Library Tutorial ?

    No> Does not work for me. Cannot seem to get this to work for me. Really frustrated with the audio library and 3.1 in general. I can't even get the example SamplePlayer to work anymore. I get a message Error Communicating with Teensy loader - SamplePlayer.cpp not found. What gives ? I can upload...
  11. H

    Audio Library Tutorial ?

    For whatever reason it works on another computer. Thanks for help. Last issue - how do you delete a connection or an element ? How do you clear the whole thing ?
  12. H

    Audio Library Tutorial ?

    I cannot connect anything to anything in IE online. All I get is a cross hair and I can move the objects all around to no avail.
  13. H

    Audio Library Tutorial ?

    I have been attempting to use the Audio Library. It looks very powerful but I have been unable to use it. The link off the website opens a design window and I can pick and place objects but there is no way to connect them that I can figure out ? The offline tool is apparently in the audio.zip...
  14. H

    How to use idle mode on teensy 2 ?

    I read about low power operation for teensy 2 but without an example I cannot undersatnd how idle mode is to be used. I need to put the teensy 2.0 to sleep for 10 minutes and then wake up to take some data and go back to sleep. Any help appreciated: Use Idle Mode Enter idle mode when nothing...
  15. H

    Some observations on USB nost shield and teensy3.1

    I have been trying to talk to a Hokuyo URG04 LIDAR over USB from a teensy3.1. It has been interesting and perhaps this can help someone and maybe someone can provide a technical evaluation of what is happening: 1. First Trial- MEGA2560 with full-size USB host shield. On power up the LIDAR...
  16. H

    PinChangeInt.h Teensy2

    I used the playground one. Why, is there a difference for Teensy 2.0 ? I used a nano and the library works fine. I have a lot of Teensy 2.0 's for another application where they work great and I was hoping to use them for this also. I understand thar the 3.1 is diferent and will nt support the...
  17. H

    PinChangeInt.h Teensy2

    Hey - I see no replies to this. Does pinChangeInt work on Teensy 2.0 ?
  18. H

    Teensy 2.0 voltage and power

    I have had good success with teensy 3.1 for this project, but I am now considering using teensy 2.0 because I need 1) low power during sleep and 2) auto shut off. From the forum I think the teensy 2.0 is better supported with regard to sleep routines. The power of teensy 2.0 is plenty for me. I...
  19. H

    Audio Library

    I am making progress getting the examples inthe audio library to work. However, documentation appears to be sparse as yet. What are the filter parameters ? I want to program a bandpass filter. Is it possible to change the microphone gain ? Maybe it is time to read the SGTL5000 datasheet properly !
  20. H

    Determining slow AI period with FFT in audiomaster ?

    I have an application trying to measure the period of an essentially sinusoidal oscillation. These are signals from a 3-axis accelerometer (I2C), although I could alternatively use a analog output accelerometer. The signal is very slow ranging from 0.1 to 0.6 Hz. I am using a teensy 3.1. My...
  21. H

    Teensyduino 1.18 Released

    How do I know what version of teensyduino is installed ? The help->about on the loader says 1.18. Is that the teensduino version ?
  22. H

    Neopixel.cpp works with 2.0 but not 3.1

    Follow up comment. Works fine with octoWS2811 library so the hell with the Adafruit neopixel library.
  23. H

    Neopixel.cpp works with 2.0 but not 3.1

    I have been using the adafruit neopixel library (strandtest example). If the board is set to teensy 2.0 it compiles (1.0.5-r2) fine and works. BUT if the board is set to teensy 3.1 it spits out a whole bunch of errors about ..Neopixel.cpp. Anybody know what this is about ?
  24. H

    audio module ?

    Is it possible to store a short (2-3 sec) WAV (or MP3) file in teensy 3.1 flash ? How ? I figured from the forum that I should be able to use the audio library to play the wav file out the DAC and into a small audio amp. I have few teensies and SD adaptors headed my way so any help to get this...
  25. H

    gyro accelerometer rotation sensor ???

    I have found an inexpensive board that has 3 gyros, 3 accel + magnetometer and does all the Kalman filter math on a DSP chip to give you corrected roll. pitch , yaw. No math for you to do Look up JBoborow robotics. It communicates over SPI or serial. Fantastic job at a great price.
  26. H

    Capacitive sensing

    I am also interested in capacitive sensing for soil moisture. Why not use a PCB as the sensor ? This seems to be the basis of the rather expensice vegetronix sensor. I have a few of these and they work wel but have poor linearity. I have to read the touchRead() documents I think I can use the...
  27. H

    audio module ?

    Thanks for the advice. It seems that I just need some very short sound sequences. Few seconds each. The wav2sketch sketch works preety good but how did you convert the wav files to notes ? Maybe I could just store them in program memory.
  28. H

    audio module ?

    I can confirm that cardinfo in the SD library works. I was able to get sound output using the PlayFromSketch example so at least I know the hardware and the setup works. I was not able to get any output from the PLayWavFromSDCard sketch. I used cardinfo to make the sure an example WAV file was...
  29. H

    audio module ?

    I just got teensy 3.1 and it seems to work well. I also got the audio board. I expect it will output out the 3.5 mm jack. Is this correct ? I have not tried the audio library yet but maybe later today. Also, is the SD card accessable for data storage ? For example, can I use datalogger ?
Back
Top