Search results

  1. Pointy

    Teensy 2.0 12 axis joystick/gamepad

    I have a Teensy LC that I am not using, which I could let you have for about £20 including shipping. (A rough guess without your full address) if you are interested. It has pins soldered on it and I would need to just double check it works ok, as it hasn't been used for a while. Regards, Les
  2. Pointy

    Teensy 2.0 12 axis joystick/gamepad

    I am not sure what to suggest to be honest. Did you try sending zeros or 1023 in the sketch, which should deflect the axis fully one way or the other? Do the buttons work? I would have thought if the USB descriptor was incorrect that either the device would not be recognized or would not show...
  3. Pointy

    Teensy 2.0 12 axis joystick/gamepad

    Hi Dran, As I said in my message, I haven't touched this in years, but I will try to help if I can. If my original code works as expected, then at least you have a good starting point. I found the USB spec to be quite complicated and remember doing a lot of reading up on the subject...
  4. Pointy

    Driving longish RGB LED strip(s)

    Thanks for all the help with this guys, especially nox771 for the I2C library, Andrew Tuline for the Fastled library and Paul for making the excellent Teensy devices. I finally got it up and running. :rolleyes: I have a Raspberry PI3 running Windows 10 IoT. This is running my own software...
  5. Pointy

    Driving longish RGB LED strip(s)

    Thanks for the reply, I must admit I forgot about the resistor. In terms of PSU's, I was looking at some meanwell IP67 supplies and the LPV-100-5 (12amp) is about £63, but the LPV-60-5 (8amp) is only £23 at CPC.(Not sure if that's a pricing error on CPC as it's £47 on RS, going to grab 2...
  6. Pointy

    Driving longish RGB LED strip(s)

    I know this an old thread but I just started working on this again. The main change is that I have switched to using a Raspberry Pi 3 for the web server part and it will talk to the LC via I2C. So the question is, will the LC be able to receive I2C data while driving the LEDs? (WS812Bs and...
  7. Pointy

    New I2C library for Teensy3

    Yep, that has fixed it, nice work! I don't want to sound mean, but I am relieved it's nothing my end. (You are never quite sure when you try some new hardware/software, whether you have just made a stupid mistake). I guess now, I just need to decide a protocol to send the commands from the PI...
  8. Pointy

    New I2C library for Teensy3

    Thanks for the suggestion but it makes no difference. I though this had made a difference until I removed the LED flash from the main loop. First off I tweaked the PI code to print a counter, rather than a random number and this is the expected output... Hello TeensyLC [0] Hello TeensyLC [1]...
  9. Pointy

    New I2C library for Teensy3

    It's actually hard to explain without seeing it in action. (It took me a whole day to get this far and creating the new project helped me see whats going on, all though I have no idea why.) Correct. In the PI code, if I comment out the Teensy3 timer, this is the output I get on the LC...
  10. Pointy

    New I2C library for Teensy3

    Thanks for the reply, and sorry somehow I messed up the code, it should be... void receiveEvent(size_t len) { while(Wire.available()) { char c = Wire.read(); // receive byte as a character Serial.print(c); // print the character } Serial.println()...
  11. Pointy

    New I2C library for Teensy3

    Can someone please give me a bit of guidance, as I am struggling to get this working correctly. The plan is to have a TeensyLC driving some WS2812 LEDS, this will be connected to a Raspberry PI 3, which is hosting a web server and will allow me to change the LED sequence/colors. The idea was...
  12. Pointy

    Teensy-LC & Fastled

    Thanks, I wasn't sure if it was a bug or a problem my end. Using the latest branch fixes the problem. Thanks for the reply. Regards, Les
  13. Pointy

    Teensy-LC & Fastled

    I am not sure as this is my first attempt at using both the Teensy-LC and Fastled, but I think the version included with Teensyduino is 3.1. I was going to report it as a potential bug but as they are using google+ communities and I detest it, I won't bother. (I am not sure if the CPU speed is...
  14. Pointy

    Teensy-LC & Fastled

    I don't think it's a power issue. The LEDs are connected to my 10amp bench supply, with the Teensy being powered by USB. The Teensy ground is connected to the PSU/LED ground. Everything works nicely when I choose 24Mhz CPU speed and recompile. Thanks Paul, I'll drop them a message. Maybe...
  15. Pointy

    Teensy-LC & Fastled

    I fixed it by changing the CPU speed to 24Mhz. Should it run at either speed? Regards, Les
  16. Pointy

    Teensy-LC & Fastled

    I am probably doing something stupid but I can't seem to get my LEDs working correctly. I have a 120 LED strip of WS2812B's connected to the Teensy-LC pin 17 (on right hand side of board) powered from an external source with the grounds connected. I am using Arduino 1.6.5 r2 and Teensyduino...
  17. Pointy

    Driving longish RGB LED strip(s)

    Thanks Paul, I would just need to communicate from the main Teensy 3.1 to the LC, the LED strip state. Maybe a simple way of doing this is to use the analog output of the Teensy 3.1, hooked up to an analog input of the LC?
  18. Pointy

    Driving longish RGB LED strip(s)

    Actually thinking about it, 30 LEDs per meter is probably going to be way too much. I think 10 would be enough. This means I would have to cut and space the LEDs myself, which will be tedious, but does mean it will be much cheaper and draw a lot less current. Next thing I am thinking is that I...
  19. Pointy

    Driving longish RGB LED strip(s)

    Hi guys, Hopefully this is the last piece of my project puzzle. While I have done lots of searching this forum and general researching I am still not sure of the best way to proceed. My current project is using a Teensy 3.1 & Wiz820+SD Adaptor and I would like to drive up to 12m of RGB LED...
  20. Pointy

    Output pin override switch

    Thanks for your help Frank. This is the module I am using. It is using Songle SRD-05VDC-SL-C relays. Here's a schematic I made with my limited eyesight and skills...(not relevant now thanks to your other answer, but it's nice to work how how something is working) Thanks, that was the...
  21. Pointy

    Output pin override switch

    Sorry, that post was a bit rushed. :o I should have said I am using a Teensy 3.1 and should have asked what value resistor to use with the switch. Regards, Les
  22. Pointy

    Output pin override switch

    Hi, My project is going to be switching relays via a relay module which is active low. I would like to have manual override switch for each output. Can I simply put a switch between the output pin and ground? Regards, Les
  23. Pointy

    Using all Teensy3.x pins with a socket.

    Interesting, they don't look that long from the pictures and I couldn't see a data sheet. Most of the ones I am finding only have a 3-4.5mm tail. I'll keep looking. Regards, Les
  24. Pointy

    Using all Teensy3.x pins with a socket.

    Thanks for sharing this. How long are your right angle pins? It looks to me like you need about 5mm or so from the centre of your reset pad to the Teesny 3.1 reset pad. (I am trying to find an alternative part to the Adafruit one) Regards, Les
  25. Pointy

    Teensy 3.1 external power help.

    Forget the previous one, there was an overlap error and I made some more tweaks as I thought it wise to have some gnd connections for the input sensors/switches. I also hooked up D33 again, as I believe it can be used as an output, and also the issue may be fixed in a future firmware update. (I...
  26. Pointy

    Teensy 3.1 external power help.

    Thanks again for you guidance. I have added the DC converter, fuse, 5v connector in case I need it and tweaked the layout. I also removed one of the LEDs. Here's the latest version of the PCB... Regards, Les
  27. Pointy

    Teensy 3.1 external power help.

    Thanks for the heads up. With regards to the OKR-T/3-W12-C, have you used them, as I have a few questions? The data sheet says the trim resistor must be 1/10w 0.5%. Is it really that critical,? (I think I have some 1% metal film resistors) Should I add any capacitors on the input/output? As...
  28. Pointy

    Teensy 3.1 external power help.

    Thanks for the great feedback and very well spotted on the newbie errors! I'll take at look at that converter too. I would have got that one when I did my paper layout test. Honest! ;) Slight error on the schematic. I don't actually need all the digital pins I was just bringing them out...
  29. Pointy

    Teensy 3.1 external power help.

    Hi guys, As the weather was horrendous here yesterday, I did some more work on my project and started working on the PCB design. I am more of a software guy and while I have some very basic knowledge of electronics I wuld love some help with this part. So my Teensy 3.1 is mainly being used to...
  30. Pointy

    Updated Teensy 3.1 and Teensy 3.0 Eagle libraries

    Can you maybe just add a circle on the dimension layer (It doesn't need to be in the schematic). It's just so that I can get a pogo pin pad in the correct place on the PCB I am designing. (The Teensy 3.1 I have here at the moment, I can't get at, to try and measure it) Regards, Les EDIT: It...
  31. Pointy

    Updated Teensy 3.1 and Teensy 3.0 Eagle libraries

    Thanks for sharing the libs, any chance of adding the reset pin for the Teensy 3.1? Regards, Les
  32. Pointy

    Teensy 3.1 + Ethernet & RTC

    Hi, Sorry to drag this thread up again but I just wanted clarification/confirmation on the above question when using the Wiz820+SD Adaptor. (I am hoping to get moving on this project again soon, at last!) Regards, Les
  33. Pointy

    Teensy 3.1 + Ethernet & RTC

    Hi Guys, I am pretty happy with where my project is at, and the last piece of the puzzle is the timing. I have the Teensy 3.1 with the crystal and battery backup, I am also able to get the time from an NTP server. I am just struggling to get my head round how that whole thing goes together...
  34. Pointy

    Network Server – I need more speed scotty

    It's amazing the difference a few lines of code makes.:D I was using an array for the images, but I have simplified things and sped it up even more by using a single image for the icons and using CSS sprites. I now only have 2 image requests instead of 15. Thanks again for your help. Les
  35. Pointy

    Network Server – I need more speed scotty

    OK hopefully the last question on this. I have multiple images on my web page, (about 20) any suggestions on the best way to deal with them? I don't think I want to write an if statement for each one, unless it will be the fastest way. Regards, Les
  36. Pointy

    Network Server – I need more speed scotty

    Thanks for the quick reply Paul. That has made a massive difference. On my Asus Prime tablet with the original code the page took 12 seconds to load. With your code it's 0.2 seconds. It's almost like it's cached now. Regards, Les
  37. Pointy

    Network Server – I need more speed scotty

    Having got my project up and running, the only remaining issue is speed. A simple test page with a 50KB image takes about 3.5 seconds to load, when hosted on the SD card on a Teensy 3.1 using the Wiz820 SD adapter. The code is based on part 11 of this tutorial. I did try another SD library...
  38. Pointy

    Teensy 3.1 + Ethernet & RTC

    Thanks to the help so far on this forum and the tutorials I posted above I now have the Teensy acting as a web server hosting files from the sd card. I can read pin values and switch outputs, so that's great. The only issue I have is speed. A simple web page with a single 50KB image takes...
  39. Pointy

    Teensy 3.1 + Ethernet & RTC

    Thanks Michael, I prefer the one I linked to (TallDog's). Belt and braces I suppose, just in case the network goes down for any length of time. Edit. Forgot to say I found this awesome Arduino Ethernet Shield Web Server Tutorial which seems to work with the Teensy and is exactly what I was...
  40. Pointy

    Teensy 3.1 + Ethernet & RTC

    Thanks Michael. Thanks for the info and link. Main thing I need is some mounting holes. I would like to solder some sockets into the breakout board so I can remove the Teensy if needed. It would also be nice if it had a space for the CR2032 battery holder and screw terminal connector options...
  41. Pointy

    Teensy 3.1 + Ethernet & RTC

    What's the worst case time variance with temperature, using the built in RTC? The unit is going to be housed in an outside building, so it will be affected by the temperature. As I have said it doesn't have to be super accurate, so if I can get away with just syncing one or twice a day it would...
  42. Pointy

    Teensy 3.1 + Ethernet & RTC

    Thanks Michael. Not sure how I missed that!. Regards, Les
  43. Pointy

    Teensy 3.1 + Ethernet & RTC

    I finally got around to starting my next project and it requires an ethernet connection to send and receive data. So far I have the Wiz820 SDAdaptor and WIZ820io module connected and working with my Teensy 3.1, which is a good start. The system is going to be running 24/7 and I need to switch...
  44. Pointy

    Converting old serial port combat joystick to USB

    I have used a Teensy++ 2.0 in a couple of custom game controller projects and it works great. Regards, Les
  45. Pointy

    Teensy 3.1, external power, servos and ethernet

    Thanks for the replies guys. I did link to the servo I am trying to use in the first post. It's a Hitec 1/4 scale (only because that's what I have spare.) As it's only likely to be one servo, I think the servo board would be overkill, but I'll see how I get on first. I thought using a...
  46. Pointy

    Teensy 3.1, external power, servos and ethernet

    Ok, I have my Teensy 3.1 and adapter but I am still waiting for the Wiz820IO. I might get a chance to play with the servo side this week so any advice is welcome. Regards, Les
  47. Pointy

    Converting old serial port combat joystick to USB

    I like the Teensy++ 2.0, but it's a bit bigger than the Teesny 3/3.1. The buttons are normally connected between ground and the Teensy pin and set high with INPUT_PULLUP. You can either create a custom controller device or use the sample software. It should be pretty straight forward to do...
  48. Pointy

    Teensy 3.1, external power, servos and ethernet

    Hi Guys, Not been around in a while but have a new project in the pipeline. While I have a spare Teensy 3.0, I have ordered a new 3.1 (to help contribute towards Paul's Ferrari fund ;) ) along with a Teensy WIZ820IO Ethernet & Micro SD Card Adaptor, and WIZ820IO Ethernet module. I would like...
  49. Pointy

    Many axis joystick

    I think the whole point is , this is just the building blocks and there is no set way of wiring it up. You choose what type of analog devices and what buttons you use and then tweak the code to match. Since Paul has done all the hard work with the USB coding, which can be a nightmare to get your...
  50. Pointy

    Bounce problem on Pin 0 of Teensy++ 2.0

    Ignore that last post, I was forget about that sneaky pin 27! DOH!
Back
Top