PC will not see serial until you program something.
When I get a new board, hooking it up the PC see nothing.. I then program it, the teesy loader does its thing and walla, serial pops up. I then...
Type: Posts; User: Wayne
PC will not see serial until you program something.
When I get a new board, hooking it up the PC see nothing.. I then program it, the teesy loader does its thing and walla, serial pops up. I then...
"It works great".. This is from the company that wanted this handset. Thus I duplicated the signals correctly! I tell you, that's a lot of pressure off this old man.
With everyone's help, it...
I had to use Simblee again and found arm-none-eabi-g++ had been updated which look as if it broke Simblee upload. I renamed the new to allow for the older one to work.
Thanks for keeping this up...
I will look into pads.. had looked into Altium..
Ok, I like to fix the program flow for this project. It is working good, but I think using if else statements is kind of a problem.
I use the if statement to digitalRead 1 of 16 inputs going low....
Live and Learn.. You can if you do not place a pulseIn(xxxx,HIGH) right after pulseIn(xxxx,LOW)
Also, I know the code repeats at 75ms. So when I get a value over 74000 I should start my reads. I...
I'm back.. Now since this is working.. I need to make a test fixture. (Machines cost $$$)..
This is a Manchester code..
So here is the original scope image of a NOKEY condition (no buttons...
This is amazing.. I have yet to have any bad loader chips when used in pre-production boards that I soldered components on. I have done a few.. over 25 if I recall.
The only issue that the...
Success... Works really good. Did lower the >1000 to >300 and works great.
Thanks a bunch.. If -Then are good. I did use Switch Case on another project of which PJRC ends up selling a few...
Wow, never did I think of switch case. I'm going to give this a go..
This is a great help.
Note: don't type and hiccup at the same time.. Does not work well when typing..
Code: Not at all clean...
unsigned long time_now = 0;
unsigned long time_now2 = 0;
int LED = 25;
int LED2 = 26;
int SW = 23;
Yup, if I do it pass a few seconds or before the timeout of 9 secs, the Engage relay pops on and off.. quick but it could cause an issue.. If I do it within a sec or a little more it does not engage...
I'm trying to use millis() in this setup and have an issue.. Here is the info:
The conditions: (one pedal)
Press pedal once activates the ARM relay.
If pedal is not pressed in 9 secs drop ARM...
If you had RFduino installed, it is still on your system. I made a document on how-to move it and to get it working on Windows.
I've attached the txt file.
Well, I just compared the original to the teensy emulated device waveforms.
I have 17 conditions in a IF and ese if's after 1st if statement. The action call voids to complete the waveform.
So...
So I decided to try a SAMD21 type board using the same routine.. Wow what a difference.. It did not work as well, in fact it was pretty bad.. I could not get the pulse to 5 us at all. The waveform...
Well, as it turns out, the teensy 3.2 is duplication the code nicely. It compares to the original handset really well..
Yes it is.. I did do the same with the tools added and it works as well. Loaded the blink sketch into the RFDuino and it worked ok.. Simblee works as well since I loaded my file into it.
Ok, I was on the right track, but I went a bit to much in the adding folders.
Found on Arduino website that a user posted this structure:
{sketchbook folder}
|_hardware
|_zvipesh
...
If I find away I'll let you know.. How to install without a URL if we have the file..
Just do not go to the board manager if you have the links in preferences or you end up in the same boat as me.
I have 2 Microsoft tablets and another laptop with files on it. I will try to backup...
Yup, I still have the complete simblee located in the arduino15 which I moved to the main program location on my C drive in hardware. Fixed the missing txt stuff but ended up with Platform tools...
Ok, I know this is only PJRC, but, I'm trying to recover the lost of the simblee board on the arduino IDE. I think when I went into the board manager and still having the url in preferences it...
Thanks Paul,
Looking into now.. Accuracy a bit off on what I'm doing, like 5 us is 5.2 us.. I was called back into work today for something else and I can stay and play.
I have so far created the actual code. Still hard coded. Need to figure out how to do it with not using delayMicroseconds option. Elapsetimer I think I need to use.
Scratch the above..
I was...
Using Micros, and setting up for 5 off/5 on, I could never get to 5 us. It was like 6.9 us and would change width every so often. I set speed to 120 overclock and faster with pure code and LTO. ...
So I tried both my Teensy 3.1 and the 3.5 and found the 3.5 can produce a accurate 5 us square wave.
I'm will now look into using SPI. I think I might be able to create 10000110 code or like to...
well all, this is more likely my last project for work before I retire. (unless they want me to work from home which will be somewhere in Arizona and out of cold Utah.)
I'm thinking of using the...
The MK20 has no loaded software. The MKL02 if bought from PJRC will have the bootloader. I have had 3.2 type devices on my own PCA's and now moved to 3.5 type on newer PCA's and have little to no...
These are the crystal that I have been using ABM3B-16.000MHZ-10.
I have used them on our older boards (3.2 types) and the newer boards (3.5) using the same IC you are using.
50 boards all...
Koromix, That did the trick. Reset Application did the trick. Thanks man..
Works on the laptop fine.
This computer is a new Dell and still reports can not upload and that it is not a Teensy 3.5 connected.
The original Teensy 3.5 from the store reports good.
Again,...
The boards on a windows 7 get the teensy 3.5 correct. Do not know why this computer does not. I have a laptop and will check it on that. it is also windows 10 64bit.. Lets see what it shows...
This seems to be a problem on my computer Windows 10 Pro 64 Bit. On a windows 7 it shows correctly.. I will dig into this more to find out what is different.
Listing USB host controllers and root hubs
Found root USB hub 'USB\ROOT_HUB30\5&2BE7B85E&0&0' with ID 0
Found root USB hub 'USB\ROOT_HUB30\4&2688FB7A&0&0' with ID 1
Examining device node...
Ok, took a screen shot of the TYcommander and the PCA..1367613675
Let you know, on a designed board with MK64FX512VDM12 and bootloader MKL04Z32_TQFP32, the software reports it as 3.1 and not 3.5.
Thus, Teensy QT will not flash the software. Teensy Loader works...
Ok, how much faster is the 3.5 vs the 3.2 uPc.
I dug up my old notes from when I was developing this back in 2014 and found the string of code from the workstation. HEX (Decimal and Action)...
Don't do anything. I might be missing something in the code. I did a compare of reads between the old and new and find the last code needs something.
So hold the phone and I will report back.
Paul,
The recv is Decimal that I read in, but I send HEX back out because the machine understands that better.
You should see that in that part of the code.
So besides this, we have an IT guy...
I will post the code that has the issue. Maybe too big, I zip it up.
Code is uploaded.
I think I have most info rem'''
On the system, it would read Decimals. 1st is 55, when I saw that I would send HEX back. The 50, then send a HEX back and the last 42 and start touch screen.
More info:
This is on a workstation for...
On the system, it would read Decimals. 1st is 55, when I saw that I would send HEX back. The 50, then send a HEX back and the last 42 and start touch screen.
More info:
This is on a workstation for...
I seem to be having an issue with the RX1 input to the Teensy 3.5 Serial1.begin(9600, SERIAL_8N2); seems to fail reading in correctly.
The older 3.2 I use to use would read the values from a system...
Is this on a UNO board and if you are using the 5vdc from the board, are you maxing out the 5vdc current. Are you possibly seeing the scan of the outputs of the IC's. Long ago on old portable vcr's,...
But as it turns out, I'm not using those anyways. Never hooked them up which means.. Boards be ok.
I'm getting forgetful.. Time to retire...
So I looked over what I did and why this confusion came up.
It is different on the MK64 manual vs the MK66 manual. Starting at Pin 23 to Pin 26 for the LQFP column shows that the MAPBGA changes...
Ok, I got a 3.5 Teensy, and one of our original boards using 2 Teensy's 3.2 circuits and wired in the 3.5 onto the board (I did remove the IC's) and added the 1 additional cirucits.
I have combined...
Thanks Paul, this will help a bunch
I just sent the Gerbers out to see. Not to large of a board and the length of the longest trace should be ok. I had a hard time squeezing between the MK64FX512VDM12 ic. The VLQ12 are way out...