Search results

  1. neilh20

    AltSoftSerial & parity, e.g. begin(9600, SERIAL_8E1)

    To update this thread I saw it added to https://github.com/stattin42/AltSoftSerial I've merged it to my fork https://github.com/neilh10/AltSoftSerial and tested it against a device that uses 19200 8E1 and its worked. I'm using it on the enviroDIY.org/Mayfly mega1284 with limited serial ports...
  2. neilh20

    Using External AREF with ADC

    220V can be lethal - be careful Hi, my take on measuring 220V is that if you are asking how to do it, you shouldn't do it. 220V can be lethal and requires special safety precautions as its lethal. Be careful! I have had some nefarious experience with 240V as a teenager, and I don't recommend...
  3. neilh20

    Any opinions of Apache mynewt OS?

    myNewt links http://mynewt.apache.org has an MK64 /FRDM-K64 that is part of the targets, and seems like shoutldn't be too hard to adapt for a Teensy3.5 & 3.6 https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=61340592 I have got it compiling/FRDM-K64 but not yet running To set...
  4. neilh20

    Teensy 3.x NATIVE USB HOST PREVIEW AVAILABLE

    Yeah a Beagle Usb HS 480!!!!!Mhz Oh Yea I guess I'm not hanging out in the coolest of places - nice pic ...... good news you got a beagle 480!!!!! I'm jealous!!! :) , thinking of it myself, and been keeping any eye on ebay to see it comes up there.
  5. neilh20

    Teensy 3.x NATIVE USB HOST PREVIEW AVAILABLE

    As I understand it, its only the FS port working. HS is in the works. Paul verified the PLL at 480Mhz, but there is still a bunch of sw. Its a different interface from the FS, and the chances are its going to require a HS protocol analyzer - which is ~tripple the price of FS protocol analyzer.
  6. neilh20

    Teensy 3.x NATIVE USB HOST PREVIEW AVAILABLE

    Hi Paul I'm working on the Snooze/T36, what pins do I need to keep as output, Which is the VUSBHOST _En pin. ? thanks
  7. neilh20

    Teensy 3.x NATIVE USB HOST PREVIEW AVAILABLE

    Hi Andrew, I ran a test of the UHS30/Teensy36 FS CDC_ACM connecting to Particle.io / photon_wifi chip - its run overnight, very stable with 121,000 msgs. For anybody interested, the test setup is a T36 powered off an independent 5V source, then using the T36 FS microB connector, to connect...
  8. neilh20

    Teensy 3.x NATIVE USB HOST PREVIEW AVAILABLE

    At its core USB protocols look like I2C on steriods - just to provide a comparison - but no end device data sheets to define how to make the master tickle the slave. While the USB specification define protocol macros, including hardware, there is no specific USB EndPoint handshake communication...
  9. neilh20

    Teensy 3.x NATIVE USB HOST PREVIEW AVAILABLE

    Here is a link - Andrew has created an updated version of the above https://github.com/felis/UHS30/wiki/Arduino-Install-and-configure-for-Netbeans We've been testing the software - for me that is on a Teensy36 FS port. The dedicated Teensy36 HS port sw is still evolving. The Teensy36 setup is...
  10. neilh20

    Teensy 3.x NATIVE USB HOST PREVIEW AVAILABLE

    Teensy36 debugging On Teensy36 for debugging using AdafruitBlueUsbTtl GND Pin0 Rx to Green Pin1 Tx to White Pin13 for Oscilloscope monitoring
  11. neilh20

    Teensy 3.x NATIVE USB HOST PREVIEW AVAILABLE

    Build UHS30 and download #now to try the build cd ~/Arduino/libraries/UHS_host/UHS_KINETIS_EHCI/examples/KINETIS_EHCI_TEST (master)]$ $ make (optional if fails: mkdir ~/Arduino/hardware) $ make upload # this says it failed, but actually seemed to work for me #optionally to make all the...
  12. neilh20

    Teensy 3.x NATIVE USB HOST PREVIEW AVAILABLE

    Setup Netbeans IDE download from here - I picked the "All" option and configured it on installing. netbeans.org/downloads Install per instructions. Then import compiler settings from the attached "nbsettings.zip" exported from Andrews project. Download . From the netbeans IDE...
  13. neilh20

    Teensy 3.x NATIVE USB HOST PREVIEW AVAILABLE

    Download & Setup UHS30 This section assumes you want to operate on a fork of UHS30 - you can make adjustments as needed below. The UHS30 project requires Andrew's Arduino_Make - I put it with my other git cd ~/git git clone git@github.com:felis/xxxajk_Arduino_Make.git cd ~/Arduino ln -s...
  14. neilh20

    Teensy 3.x NATIVE USB HOST PREVIEW AVAILABLE

    Install Arduino on linux/Ubuntu somewhat of a repeat on pjrc.com/teensy/td_download must match installed arduino version ubuntuhandbook.org/index.php/2015/11/install-arduino-ide-1-6-6-ubuntu 1) Download and extract Arduino arduino.cc/en/Main/Software download linux installer (64bit for me)...
  15. neilh20

    Teensy 3.x NATIVE USB HOST PREVIEW AVAILABLE

    Getting going with UHS30 build Well I got some help in being able to compile and download UHS30. Thankyou thankyou Andrew @xxxajk for your time. This took about 4 afternoons this week, to knit it all together. What the following procedure does: Builds xxxajk UHS30 project, using a forked...
  16. neilh20

    Teensy 3.x NATIVE USB HOST PREVIEW AVAILABLE

    Gosh ...... I guess you've posted results from the tests you've done ..... but.... with a pick-n-place running on Sunday, sounds like you have a hot customer delivery deadline . I'll look over your code on the UHS_KINETIS_FS_HOST tomorrow, though my target is K66. I do have FRDM-K64 board...
  17. neilh20

    Teensy 3.x NATIVE USB HOST PREVIEW AVAILABLE

    Hey @ xxxajk thanks for the posts and sharing. I've received my two teenys3.6 and first thing I'm trying is your USB EHCI tests. However, haven't used Teensy for some time, and eyeballing the code, I'm looking to find UHS_KINETIS_EHCI.h. i've searched the directories. Here is the include...
  18. neilh20

    Coming Soon: Teensy-LC (low cost Teensy)

    Ok many thanks. That makes it simple to connect to VREFH. :)
  19. neilh20

    Coming Soon: Teensy-LC (low cost Teensy)

    Hello Paul Thanks for the quick response. Can you explain or give a diagram of how the KL26Z VREFH is connected to the AREF pin. Its likely to be about 2.4V. Thanks. I'm promoting the TeensyLC in specific-conductance probe, which for the analog front-end measurements requires good analog...
  20. neilh20

    Coming Soon: Teensy-LC (low cost Teensy)

    Hi I need to be able to define an accurate Reference voltage for an LC, I'm still working out if its 2.5V or it could be 1.0V - whats the recommended way of doing it. I've done a search on this thread for using the AREF pin, and I couldn't find anything/...
  21. neilh20

    Freescale's KDS (Kinetis Development Studio) - anyone used it?

    I'm trying the KDS300 with a Segger J-Link. It is a sophisticated cockpit for setting up initialization for any Kinetis processor, Its not for the newbie - Teensy with Arduino have done such unbelievably good job at getting an embedded projects on Arm launched - but of has limitations to make it...
  22. neilh20

    Achieving Low Power Consumption with Teens 3.1 and the latest Teensyduino Version

    The low power down is a complex area -the clocks take the power, so just going to sleep I think still leaves the clocks running - which would be at 16MHz. I believe - and I'm also experimenting somewhat with this - the clocks have to be switched to a low power mode, less oscillations - and then...
  23. neilh20

    Teensyduino 1.21 Released

    mini54-->KL02 Awesome, purchased 4 boards when released, and just got my TeensyLCs working from scratch. New Arduino install on Windows8.1 - I did a quick test of the Analog read with Led Flash (pin 13) and it worked - printing text to the serial monitor and flash the led. Its always so...
  24. neilh20

    Coming Soon: Teensy-LC (low cost Teensy)

    Fantastic Spreadsheet BTW though Note 6) You say no RTC - the silicon does implement an RTC, however it requires an external clock oscillator to drive RTC_CLKIN/PTC1 - but can't figure out if PTC1 comes out on the Teensy-LC.
  25. neilh20

    Short Report from CES

    As some one who has been in embedded devices a looong time, Intel hasn't been leading edge in this semiconductor market segment - just a bit of history. Embbed is an expanding market and there are other technology leaders. Intel have of course been incredibly successful at making optimized x86...
  26. neilh20

    Short Report from CES

    In my experience Intel has been full of promises about embedded devices - and they occasionally have a hit - like the 8051 (!:)- but otherwise haven't addressed major power problems. Wearables needs low power and Intel hasn't put any numbers to their claim of low power that I can see off...
  27. neilh20

    Teensy 3.x Crystal

    I've just brought up a board with a MK20DX on it. Technically my understanding is the MK20DX comes up on its internal 4Mhz oscillator and then under software control switches to other clock sources. So looking for oscillations on the external oscillator may not be a primary debugging aid. You...
  28. neilh20

    Using External AREF with ADC

    I completely agree with Constantin's approach - that an MCP3911 seems very viable though I haven't looked in detail at the specs and allows a better isolation of the Analog grounds. For high resolution ADC or low noise, I design everything to be turned off and for the chip to go into low noise...
  29. neilh20

    Using External AREF with ADC

    Hi, I was just reading this thread. My comment would be - 1)I wonder what is the top end frequency of voltage and current measurement you need to take - ie seems like you are constructing a control loop of some sort, measuring X to do something with it, possibly adjust Y. You mentioned your...
  30. neilh20

    Squirrel language?

    I did an EI squirrel RS485 ModBus interface for the hw Imp (electricImp.com) and have had it running in prototype form for a year. I would guess there is far amount of machine specific implementation, but here is my EI code https://github.com/neilh10/ei_modbus The nut lives on the IMP001 and...
  31. neilh20

    Low Power "Green" Battery Operation Solutions For The Teensy 3.

    Hi Froeber, The Teensy3 is fantastic for a production article, and the support to make it work with the Arduino IDE, and the libs like Duff are doing - all based on the amazing infrastructure by Paul. I also really appreciate your posting for alerting me again to the difficulty of low power, and...
  32. neilh20

    Low Power "Green" Battery Operation Solutions For The Teensy 3.

    froeber thanks for posting your experience and for your solution. I've got it on my list to get to low power as well, and building low uA into my power usage model, so useful to have some real experience. Here is a posting by Eric Styger on using the FRDM-KL25 that says he got there, and he...
  33. neilh20

    Teensy 3.1 based custom design?

    Hey Andology, 1)if you are bringing something new to market, then the rule of thumb is that you'll put just as much effort in the marketing side as the technical evolution side. 2) The marketing people talk about testing a market with a new product - not spending too much money/time until a...
  34. neilh20

    Pre-programmed Mini54 Packaging?

    Thanks. Really appreciate the work you've put into the Teensy3, though as with the principles of open hardware I've found that I have some choices to make. It doesn't make sense for my "wireless remote monitoring" project to use the Teensy3.1 or use the MK20DX256VLH7 as its only 64pins -...
  35. neilh20

    Pre-programmed Mini54 Packaging?

    Yup I really appreciate Paul's posts and technical depth. I was wondering does the MINI54 support the a generic interface or is only keyed to the MK20DX128VLH5/MK20DX256VLH7. I'm looking at using the 144QFP MK20DX256VLQ10 or MK20FX512VLQ12 which is a $1 more for double ram/flash.
  36. neilh20

    Maker Faire in San Mateo

    I went to the Massimo Banzi talk Sat 18th. The IDE 2.0 talked about as running off the Arduino TRE Sitarro processor - a JS IDE. The Beagle Bone Black (TI Sitarro) has been using the Cloud9 JS ide, so it could be variant of that Part of the discussion was IDE 2.0 has a smart database that...
  37. neilh20

    Teensy Programmer

    Thanks - what did you generate it in. I was just looking at if there was already the PCB ordered I could piggyback on it if you used on the places that do that. If there isn't a PCB already I'll add them to an order of mine. I'm thinking it will be slightly different from the way you have it...
  38. neilh20

    Teensy Programmer

    Hi Did you ever produce this board and get it working? and is the PCB available? many thanks
  39. neilh20

    Teensy 3.1 ADC accuracy(repeatability)

    For analog interfaces you may also want to look at the temperature specification for the equipment and the effect this has on the potential change in Vref and resistors (tcr - temperature coeffient of resistance). The simple way is to request the hardware engineer determine the accuracy the...
  40. neilh20

    Low Power "Green" Battery Operation Solutions For The Teensy 3.

    Well that is interesting. The Teensy3.1 Vin says 3.7V to 5.5V and when I use the DeepSleep_simple and sleep setting on GPIO_WAKE and set the voltage (+/- 0.1V) 3.8V -->stable 0.17mA 3.6V -->stable 0.17mA 3.4V --> 0.17 -->0.522mA So interesting. Current usage is hard to track, but looking at...
  41. neilh20

    Low Power "Green" Battery Operation Solutions For The Teensy 3.

    duff, really appreciate the postings on github. Github is the magic place to share - and has made it so easy for sharing code like you are doing. Usually its great to keep the "trunk" on the latest stable release - whatever that means to you - but it would be nice to have it mean its got some...
  42. neilh20

    Low Power "Green" Battery Operation Solutions For The Teensy 3.

    Great - thats got it working. I can get the DeepSleep_simple compiling/downloaded/working Also compiles Sleep_Advanced, and working through those examples. However Hibernate_Simple throws Arduino: 1.0.5-r2 (Windows NT (unknown)), Board: "Teensy 3.1" C:\Program...
  43. neilh20

    Low Power "Green" Battery Operation Solutions For The Teensy 3.

    Thanks for the response. On the install I can't see what you mean by delete the Master. So I've probably not got something set up right or doing a procedure wrong so I'll run through it, and any insights appreciated. I have a Arduino 1.05-r2 updated Teensyduino 1.18. That is downloaded and...
  44. neilh20

    Low Power "Green" Battery Operation Solutions For The Teensy 3.

    Hey duff, great to see the lib and thanks for publishing it. I'm working through your methods and looking at the manual. I'd like to integrate low power into a simple event tasking system I'm creating - https://github.com/neilh10/arduino/tree/master/teensy3/taskingSimple...
  45. neilh20

    _reboot_Teensyduino() vs. _restart_Teensyduino()

    Thanks for the posts, the WRITE_RESTART(0x5FA0004) worked for me. As its a visible debug element, and I generate a system status report when the user inputs '?' I generate the following resetReason(); and gives a console output ResetReason:0x40 ExtResetPin - on reprogramming...
  46. neilh20

    Low Power with Event based software architecture brainstorm

    Low Power is typically a design requirement IF running off batteries or solar powered. I'm suggesting if low power usage is a design requirement then the software needs to be an event based design methodology. Design program flow to only process the events. When there is no queue of events, put...
  47. neilh20

    Low Power with Event based software architecture brainstorm

    Thanks ... interesting snippet, and thanks for the explanation, and usage of this.
  48. neilh20

    Low Power with Event based software architecture brainstorm

    You know that may keep it really simple and deterministic to implement the decoding of running the tasks from a switch and each case deals with 'C' or 'C++', and then taskIds can be posted through a simple interface - and if its at interrupt it is very fast. The switch automatically builds a...
  49. neilh20

    Low Power with Event based software architecture brainstorm

    Hi I'm curious if anybody else is working extending the lower power paradigm with an event driven model. I've got the Teensy31 and kudos to Paul for putting together a low cost and low power simple board with the powerful Kinetis MK20DX I've done a product in the past with a custom Mega2560...
  50. neilh20

    Anyone using Eclipse for development?

    hi nox - that would be great to hear what you found to work. The compile options was just trying out some variations based on another project with the gcc 4.8.3 . It turns out the gcc 4.7 wasn't accepting -Og. (While mentioning -Og symbolics, a friend said that the Seeger JTAG was having issues...
Back
Top