You might want to delete your email. Bots will grab it and send you spam.
Type: Posts; User: Demolishun
You might want to delete your email. Bots will grab it and send you spam.
I tried searching the forums for Schematic Capture. All I found was a reference to some cloud based stuff. I don't want that.
I am looking for a simple and cheap (less than $500, $500 is still...
And this whole time I thought PJRC was Santa Claus and the boards were built by elves at the North Pole.
What awg of wire is feeding the relay board? It could be if the wire is small enough and long enough it cannot handle the surge. Using a cap at the device will help. Not sure what size of wire you...
I will be going down this route soon. Thanks for the warning. I plan on doing BT audio via I2S to the Teensy 4. I really am starting to dig wireless audio.
Okay, I see you are checking for a range. I was curious if the fully on PPM signal was moving around enough to cause it to move into and out of detection. That doesn't sound like the case.
Do...
Isn't 2mS on the upper end of a RC PPM signal? Have you tried 1.75mS or 1.5mS to check if the signal is on the edge? Can you adjust the PPM signal trim to more than 2mS? This would ensure it is...
To add to this discussion. Is the bit resolution 16 bit for all frequencies on the Teensy 4? I have looked through the chip specs and cannot tell definitively, but it looks like it always has 16...
Yes it has the card and nice little anti static bag.
Okay, good to know.
Love this board so far! Nice upgrade!
I bought a Teensy 4.0 by the seller PJRC. I didn't even think about if it was legit or not. It looks like it was fulfilled by "Sports Internet Solutions LLC" even though the listing says "by PJRC"....
Are you using the DMA library? Because there is/was a bug in the reference inside the library when sending the ADC0_RA reference to it:...
On what side of the chip are we talking about? The computer side or the Teensy side?
If changes are made on the Teensy side that break backwards compatibility with older USB that is just stupid. ...
If you are slowing things down for power consumption you can do what a lot of low energy applications do:
Turn off all peripherals and assign wakup interrupts to specific peripherals.
Go...
How about feeding the power supplies via diodes into something like this:
http://www.ti.com/lit/an/slyt256/slyt256.pdf
That will allow your battery voltage to drop really low, and give your high...
I am not picky. So just "PLEASE!!!".
;)
Hey Paul,
I think I am starting to understand your code raw hid implementation. I think the device I am trying to emulate has multiple endpoints. So in order to see a response from the rawhid I do...
I did try before.
Here is what it puts out when I just ran that:
C:\arduino-1.0.5-r2 1.20 rc2\hardware\tools\arm-none-eabi\bin\arm-none-eabi-g++ -c -g -Os -Wall -fno-exceptions...
I am soooooo close to what I want.
I have added a new entry for the raw HID device into the menu of the IDE for Teensy:
teensy31.menu.usb.rawhidrt.name=Raw HID (RT)...
Awesome, thanks for the info.
Wow! Some really great options here.
@onehorse,
Those EEPROMs are very nice!
@Paul,
I also like the idea of being able to use an SD card so that is a great surprise. My data will probably...
@mjhilger,
I used to program PICs at an assembler level so I sort of remember some of what you are asking about. What I have found with the Teensy 3.1 is that I can read through Paul's libraries...
@Paul,
If you do decide to add silkscreen to the product I would use a product code with possibly a batch number/date. This could only help you in the future as you can identify when and where it...
If these are used in a class they should be labeled according to the needs of the teacher, by the teacher. I would in addition make sure they are stored in static bags (original or new ones). ...
@kig,
I was wondering if some virtual port stuff would work as well. I have a program called com0com (Windows) that will allow connections to a port and creates its own port. I think it is also...
I just created one yesterday and posted to the other thread:
http://forum.pjrc.com/threads/27183-Arduino-IDE-1-0-5-r2-(windows)-serial-monitor-problem?p=59335&viewfull=1#post59335
Maybe this will...
Here is a Python 2.7 program that should do the trick:
import time
from multiprocessing import Process, Queue
def serialProcess(oQueue):
import serial
#import time
You could write a fault tolerant serial console in Windows. It would just need to be written to expect an exception when the link fails. Doing one in Python would be simple. That is, of course, if...
Run the pots from 3.3V pin available on the Teensy. If they are just input there is no reason to run them from 5V.
One (1) clock cycle at 96MHz is 10 nano seconds. I don't know how long an instruction takes, but it is probably at least one clock cycle. So a NOP (if that instruction exists) could do that. This...
I would think this would depend upon the actual application rather than the complexity of the added circuitry.
@sermad, What exactly is the "application"?
On a wild hunch I searched for reading...
When I read this I thought it would be good to use a transistor noise generator:
http://holdenc.altervista.org/avalanche/
http://imotp.sourceforge.net/noise.pdf...
Actually I saw an article somewhere on doing this with DMA transfers. It talked about creating really fast clock outputs by setting up continuous DMA transfers to a port. You will have to search,...
Or use a MOSFET driver like the TC442x series. I am actually using these (TC4425) 3A MOSFET drivers with the Teensy 3.1 and a PWM signal on a small inductive load. If you need more than 3A you can...
Why would you need RMS for DC? if you know the PWM value 0 to 255 and the voltage potential you can calculate the approximate voltage. No need to measure anything.
So if your mosfet is...
I am successfully using analogWriteFrequency on pins 3 and 5 to have separate frequency outputs. I know if you call the function with the same value more than once it does some wonky things. So in...
I did a quick search about malloc for MCUs and found this:
https://forum.sparkfun.com/viewtopic.php?f=4&t=37114
Check out the link that is referenced inside that link.
I also found this:...
Then modify the code to read 2 analog inputs at once:
//make val1 and val2 global outside of all the functions
int val1;
int val2;
...
// inside the readMux function
val1 =...
Ooh it is another ARM chip: http://www.keil.com/dd/chip/6142.htm
This is cool. Similar to the Uno R3 with its serial Atmega interface.
Thanks for the clarification.
I am confused by this thread.
Does the MK20DX256VLH7 require a boot loader from PJRC or not? Or did you buy one from mouser with the PJRC bootloader on it? I don't understand that part of the...
These will NOT return a reference to the underlying code:
txChannel.destination((volatile uint8_t&)SPI0_PUSHR);
rxChannel.source((volatile uint8_t&)SPI0_POPR);
SPIO_PUSHR and SPIO_POPR...
Okay, I have updated the code:
#include <DMAChannel.h>
DMAChannel dmaChan0;
DMAChannel dmaChan1;
#define ABUFFERLEN 64
DMAMEM static uint16_t analogChan0Buffer[ABUFFERLEN];
It all came down to pointer issues with ADC0_RA:
/*
Testing DMA functions of Teensy 1.20 rc2
*/
#include <DMAChannel.h>
DMAChannel dmaChan0;
Yep, that is one example I am looking at. You helped me a lot. When I get the everything working I will post the whole thing as an example with comments.
I got DMAMUX_SOURCE_ADC0 to work by removing the averaging settings. Now it still does not seem to capture any valid analog data it is triggering the DMA transfer. So something with the analog is...
1. Okay, I see that it is set for that in the function itself.
2. Well, when that was set to the ABUFFERLEN it would only fill half the buffer. When I set it to twice it filled it up completely. ...
***bump***
I had it "setup" the AD to channel by doing an analogRead() to at least get the input setup and fed it into the array as the default data.
That data is getting overwritten by 0's so I...
@zalterman,
For the OP of this thread.
ALL inputs to CMOS devices MUST have an input applied or you will get UNDEFINED operation of the device. I see on the breadboard only some of the inputs...
Sorry Michael,
I was thinking of this chip: 74165 when i wrote that. I meant to go back and compare to see if it was indeed a shift register. I think though, that if the application is starving...
Internally 8-bit NES controllers user 4021 CMOS shift registers. The Super NES used the equivalent of 2 in series for 16 bits. You could put as many as you want in a string. It requires 3 lines:...
I "think" the DMA is working, but I am getting all zeros in the analog data. So I do not think I am getting any data for some reason.
#include <DMAChannel.h>
DMAChannel dmaChan0;
const...