Search results

  1. P

    hearing aid using audio adapter board?

    If you need guinea pigs I will gladly offer to help. No code abilities and very much a beginner in electronics but I can offer encouragement. I have had hearing aids for years and also need more than freq shift. They have come a long way but even the new models struggle with various...
  2. P

    Black Friday Sale, Nov 29th

    Thank you very much. Paul
  3. P

    Teensy as USB hub (two ports)?

    Take a look at the code that I used for my EMG keyboard. It may help you with the code when you have to hit multiple buttons at a time to get different outputs. http://forum.pjrc.com/threads/22024-Assistive-device-chord-EMG-input-for-virtual-keyboard Paul
  4. P

    Teensy as USB hub (two ports)?

    Take a look at the "projects" section of this site and you will find similar devices. The good thing about the teensy is that it is recognized as an HID. I did a chord HID keyboard using EMG as an input. Search under EMG and you will find some of the challenges in timing when you try to get...
  5. P

    Cruise control

    I think that I should look at one approach at a time. How can I "tap" into the throttle position sensor without affecting the voltage sent to the ecu? I am able to log the TPS voltage through the OBD-II port and my tuning/logging software to check if there is a voltage difference. Thank...
  6. P

    Cruise control

    Doh! Sometimes, okay most of the time I am an idiot. You are correct, this is not a drive-by-wire. Time for some warm milk then bed. Thanks again for your comments! Paul
  7. P

    Cruise control

    This car does not have an ETC. It is a "drive by wire" throttle body, there is no motor or gears involved. There is no input from the ecu to control the throttle, it is linkage and wire. The throttle position sensor is a pot. I understand your concerns and I appreciate your voicing them. I...
  8. P

    Cruise control

    Thank you Paul! Just to clarify, can I use the teensy2 to read directly from the OBD-II port or do I need additional hardware? I will use a basic OBD connector to physically connect the teensy to the port. I do have spare ecus that I will use while testing. Paul
  9. P

    Cruise control

    Perhaps I should look at getting the readings from the OBD-II port. There are libraries in arduino for reading various OBD-II parameters and one which is included is the throttle position. http://arduinodev.com/hardware/obd-kit/ The teensy 2 is small enough to embed into an OBD connector. The...
  10. P

    Cruise control

    Yes, that is my biggest concern. RPM is sent to the ecu in a similar manner so the concern with unintentional alteration of the sensor's signal applies to practically all of the OBD-II readings. It is the rate of change and the amount of change to the throttle opening that is used as an input...
  11. P

    Cruise control

    I want to be able to read the analog signal 0-5v, from a throttle position sensor (basically a pot). The signal is used by the car's ecu so the method I use to get the signal to the teensy 2 cannot influence the signal as it is seen by the ecu. The teensy 2 will be powered by another 5v supply...
  12. P

    Analog Interrupt on assistive device on Teensy 2

    I have read through most of the posts relating to the comparator function but I do not believe this is the direction I should go in. I am using analog inputs EMG sensor boards as input for a virtual keyboard. The threshold can be adjusted to help with coordination. if (sv0 > 250) { key...
  13. P

    Assistive device- chord EMG input for virtual keyboard

    I managed to merge the mouse control as well as the text generating codes together but I overlooked the need for a few changes. While trying it with the EMG sensors I noticed that I really had to flex in order for the interrupt to change the character maps. At the moment the interrupt is...
  14. P

    Assistive device- chord EMG input for virtual keyboard

    Well, with the help of my tutor I now have the mouse control. I am still tossing around ideas that will wok best but for now this is what I have (using Paul's timing method). Left thumb flex then mouse moves left. Flex again mouse stops. Flex baby finger and mouse moves right. Flex again...
  15. P

    Assistive device- chord EMG input for virtual keyboard

    Okay, I started learning about arrays two days ago and the gears are slowly starting to turn. Would an array be able to let me do the following: if sv0 state changes then move mouse left if sv1 state changes then move mouse right if sv2 state changes then move mouse up if sv3 state changes...
  16. P

    Assistive device- chord EMG input for virtual keyboard

    Thanks for the encouragement Paul, I am having a blast learning how to do this. Quick question, is there a way to use something like a "mousemap" function that would work the same way the "keymap" funtion? I can see how I can modify an arduino mouse sketch designed for digital buttons but I...
  17. P

    Assistive device- chord EMG input for virtual keyboard

    Sensors are in,board is finished, and code has been modified to include three character sets plus mouse control (not included for testing) and toggling through character sets. I am going to look at using conductive fabric sewn into a cut down glove rather than the sticky electrodes to make the...
  18. P

    Assistive device- chord EMG input for virtual keyboard

    Just a quick update. Figured out how to toggle different character sets as well as a mouse function. Sensors arrived so I have to turn my attention to putting together a suite of assessment tools to see what type of signals I can get from my volunteer. I have used the oscilloscope program in...
  19. P

    Assistive device- chord EMG input for virtual keyboard

    Well, after struggling to implement Paul's approach I went and got a tutor to help me out. My tutor took a slightly different approach so the next session I will ask him to help me understand and implement Paul's approach. In the mean time the following code works. I used variable resistors...
  20. P

    Assistive device- chord EMG input for virtual keyboard

    Thank you Paul, When I get home from work I will start with two inputs and gradually increase to 5. I truly appreciate your explanation of the process as I know what needs to be done, just not how to do it. With your clear explanations I can begin to understand what the functions are doing...
  21. P

    Assistive device- chord EMG input for virtual keyboard

    Brilliant!!! That was what I was looking for. Thank you very much. I managed to increase the inputs to 5 and to generate a different letter for each input. Wow, that was the most progress that I have made in a long time. Now for the challenging part. I need to change the output from...
  22. P

    Assistive device- chord EMG input for virtual keyboard

    The following code gave the "a" as a continual output. I changed to serial print in case I made a mess of things (which is quite often!). I added the delay to slow things down. Teensy++2 Is it possible to do the following? If threshold is under 250 then do nothing. If over 250 then...
  23. P

    Assistive device- chord EMG input for virtual keyboard

    Thank you Paul, I will play around with that and see how it goes. Take care! Paul
  24. P

    Assistive device- chord EMG input for virtual keyboard

    Thank you for your help Michael. I understand that the way that I am doing this may not be the best but for me it is the easiest way for me to visualize what is going on as I am completely ignorant about the various function statements that are available. I plugged in a "delay(500)" at the...
  25. P

    Assistive device- chord EMG input for virtual keyboard

    Purpose (started 30 years ago!) was to design a device that would allow people with amputations, arthritis,etc. to use EMG as an input for a virtual keyboard. Just over a year ago I learned about arduino and then discovered the teensy. First step was to use a teensy++2 along with 5 buttons...
Back
Top