Forum Rule: Always post complete source code & details to reproduce any issue!

# Search:

Type: Posts; User: Donziboy2

Page 1 of 10 1

1. ## Thread: Measuring PWM current

by Donziboy2
Replies
2
Views
1,168

### You just need to sample the current several times...

You just need to sample the current several times faster then you are switching. The teensy adc can easily sample fast enough as long as you use DMA sampling. You can also take the measured current...
2. ## Thread: 2019 Teensy 3.6 lcd/touch screen larger than ili9341

by Donziboy2
Replies
8
Views
2,714

### The down side to the Nextion is the atrocious...

The down side to the Nextion is the atrocious serial speed (max per datasheet is 115000bps).
3. ## Thread: Reading voltage from current shunt

by Donziboy2
Replies
23
Views
2,014

### Here is an example of how the connection would...

Here is an example of how the connection would normally happen and what voltage we would expect. This follows Ohms Law and Kirchhoff's Voltage Law, no matter what you do you cant break these laws.
...
4. ## Thread: Reading voltage from current shunt

by Donziboy2
Replies
23
Views
2,014

### Now I see what your doing. Rotating the shunt...

Now I see what your doing. Rotating the shunt does not produce the same result as actually running current in both directions. You will not get the same result in the complete system. In the...
5. ## Thread: Reading voltage from current shunt

by Donziboy2
Replies
23
Views
2,014

### Differential mode will probably help but will not...

Differential mode will probably help but will not work with negative voltage, Steve0 can you provide any schematics on how the teensy and shunt are connected. Without some isolation or separate...
6. ## Thread: Reading voltage from current shunt

by Donziboy2
Replies
23
Views
2,014

### Please post on sketch of your circuit, the way...

Please post on sketch of your circuit, the way you describe is fishy and could lead to magic smoke eventually. Any voltage applied below -0.3v will damage the micro due to the internal protection...
7. ## Thread: Fast Digital IO on Teensy 3.6: Ports or Bits?

by Donziboy2
Replies
6
Views
1,838

### @brtaylor, will there be support added for the...

@brtaylor, will there be support added for the extra pins? I take it most PJRC libraries would have issues with the extra pins....
8. ## Thread: [queued] USB DAQ with the Teensy

by Donziboy2
Replies
30
Views
7,295

### Very nice, from experience you will have noise...

Very nice, from experience you will have noise issues with the ADC's if you try to run SPI while sampling the ADC's which makes logging or running small screens a pita. What I ended up doing was...
9. ## Thread: Teensy 3.6 ADC/DMA Question

by Donziboy2
Replies
16
Views
6,940

### That may work unless the noise is induced on the...

That may work unless the noise is induced on the ADC via the Data lines, which is something I have seen with SPI coms to ILI9341 and reading ADC's with/without external ref at the same time.
10. ## Thread: teensy 3.6 died

by Donziboy2
Replies
12
Views
1,380

### The solder blob at VUSB looks dangerously close...

The solder blob at VUSB looks dangerously close to one of the micro usb ground tabs.
11. ## Thread: Simplest accelerometer+magnetometer breakout?

by Donziboy2
Replies
5
Views
710

### The LSM303AGR is the latest version of the chip,...

The LSM303AGR is the latest version of the chip, not sure when the rest will go obsolete.

If you want something lower cost but reliable try the Pololu breakout.
12. ## Thread: Suggest next Teensy with Cortex M7

by Donziboy2
Replies
183
Views
59,198

### Sadly, I normally run out of Pins, Special...

Sadly, I normally run out of Pins, Special Function pins and most often.... MEMORY.... :( on 3.6 projects
13. ## Thread: PWM value for 100% ON

by Donziboy2
Replies
7
Views
1,440

### I would think its a timing issue, the default PWM...

I would think its a timing issue, the default PWM frequency is 488.28Hz. Considering where it divides into the clock that is probably an ideal value. 75Hz is 6.51 times smaller then 488.28 so there...
14. ## Thread: New playback videos all MCU with FTDI screens

by Donziboy2
Replies
35
Views
5,060

### True defragster, he did say something along those...

True defragster, he did say something along those lines, weather it was translated correctly is a different story. At the point he posted I think it was more in frustration then anything else, he...
15. ## Thread: New playback videos all MCU with FTDI screens

by Donziboy2
Replies
35
Views
5,060

### lightcalamar, welcome to the forum. First. I...

lightcalamar, welcome to the forum.

First. I think when crushing new people to the forums to save on spam becomes a thing then maybe the way spam is handled should be reconsidered.
Second....
16. ## Thread: Battery Monitor Question

by Donziboy2
Replies
11
Views
2,087

### Here is an updated basic schematic. There are...

Here is an updated basic schematic. There are Op-amps on the market that are rated for 36V continuous, that would be plenty for an 8S pack in case you want to future proof. As a BMS this is...
17. ## Thread: Battery Monitor Question

by Donziboy2
Replies
11
Views
2,087

### Correct as a battery monitor the circuit I...

Correct as a battery monitor the circuit I provided would unbalance the pack. For the High accuracy resistance measurements it would be very good. Some of the uneven discharge could be adjusted by...
18. ## Thread: Battery Monitor Question

by Donziboy2
Replies
11
Views
2,087

### No reason why this should not work. Just hook it...

No reason why this should not work. Just hook it up to an ADC and your done. This could be done with the test board I created since I set up the dividers to be changeable between different...
19. ## Thread: Battery Monitor Question

by Donziboy2
Replies
11
Views
2,087

### Or 16bit single ended ADC with all channels...

Or 16bit single ended ADC with all channels scaled to 27-30V will give you sub mV readings.
It really depends on cost. I have an 8 channel 16-18 bit 400kSPS ADC breakout for the ADS8698 series. ...
20. ## Thread: Battery Monitor Question

by Donziboy2
Replies
11
Views
2,087

### 1. No real practical way of doing this unless...

1. No real practical way of doing this unless you went to invest in a large array of relays with an isolated supply to power the Teensy.

2. Unless you invest in high accuracy resistors your...
21. ## Thread: Teensy CC Dummy Load +300W

by Donziboy2
Replies
94
Views
39,263

### Been pretty quite the last few months on this,...

Been pretty quite the last few months on this, work has been keeping me extremely busy along with life in general.

I significantly reworked the design a few weeks back and added Isolation between...
22. ## Thread: Teensy 3.2 boot problem with 3.3V power (200 board statistic)

by Donziboy2
Replies
23
Views
3,156

### Interesting. Whats the output load on the Murata...

Interesting.
Whats the output load on the Murata 78SR and what does your input voltage look like at start up?
We use the 78SR's at work and I also use them at home. They are very handy and fairly...

by Donziboy2
Replies
9
Views
1,961

### Running 12 hours days at work right now so cant...

Running 12 hours days at work right now so cant give actual code pieces but.
You did not change the number of samples per reading you are doing so by default 4 samples are taken per value output....

by Donziboy2
Replies
9
Views
1,961

### Some examples of DMA ADC operations can be found...

Some examples of DMA ADC operations can be found here. The speed at which you can send is largely limited by the PC. You will want to send packets of several readings at a time or the pc will choke...

by Donziboy2
Replies
9
Views
1,961

### You wont resonably be able to use anything above...

You wont resonably be able to use anything above 13 bits. The 3.6 can sample much faster then 100-150K, it depends on what settings your using.

Bill Greiman getting 3Msps
26. ## Thread: DAC on Teency 3.5

by Donziboy2
Replies
7
Views
1,667

### I dont see anything that stands out. You should...

I dont see anything that stands out. You should consider connecting DACB pins even if you don't connect the output to anything. Some devices don't like floating pins like that.

There is also a...
27. ## Thread: DAC on Teency 3.5

by Donziboy2
Replies
7
Views
1,667

### Well consider reading the datasheet again. The...

Well consider reading the datasheet again. The example code which you did not post but provided a link to is designed for a different kind of device with different data requirements so naturally it...
28. ## Thread: Power

by Donziboy2
Replies
7
Views
1,424

### I have a few of the PJRC Touch Screes...

I have a few of the PJRC Touch Screes it has 4 led's so max current is 80mA. You can safely run the back-light from 3.3V, technically if you want the same brightness using 5v as running from 3.3V...
29. ## Thread: Teensy LC and ADC library error when compiling with Teensy-duino compiler

by Donziboy2
Replies
4
Views
1,024

### manitou is correct. Technically it defaults to...

manitou is correct. Technically it defaults to 3V3, so unless at some point you change it to the internal reference you can just comment out that line.
30. ## Thread: Options for 7" LCD screens for dashboard

by Donziboy2
Replies
26
Views
6,423

### Should be compatible with the FT8XX series from...

Should be compatible with the FT8XX series from FTDI. Same series used on the Gameduino.
Got a pair of 7" FT811's I have been playing with. Pretty nice little chip, the Gameduino library can be a...
31. ## Thread: how fast is the analogRead on 3.5 and 3.6?

by Donziboy2
Replies
3
Views
1,490

### Its dependent on what frequency your running and...

Its dependent on what frequency your running and what settings your using...
At 96Mhz with the default settings per ADC you can see anywhere from 4.08uS to 5.5uS depending on the resolution for the...
32. ## Thread: Teensy 3.5 and APA102's

by Donziboy2
Replies
5
Views
1,665

### I have not had any issues with APA102's being...

I have not had any issues with APA102's being driven from 3.3V on T3.2 and T3.6. Have you tried running any examples from the library?
33. ## Thread: SPI in interrupt with display

by Donziboy2
Replies
11
Views
2,055

### 45kHz is 22uS per update, most screens I have...

45kHz is 22uS per update, most screens I have played with cant even change 1 letter on screen in that amount of time. You really should look at running them on their own SPI buses.
34. ## Thread: Pulseposition inaccuracies?

by Donziboy2
Replies
14
Views
2,281

### Isn't xoscope just a microphone input hack?

Isn't xoscope just a microphone input hack?
35. ## Thread: Need help with FT800 using Gameduino 2 libraries on Teensy 3.6

by Donziboy2
Replies
8
Views
2,782

### The stock library should have that since that's...

The stock library should have that since that's where that example comes from. There are other libraries out there with optimizations for Teensy, but you can run several stock examples without the...
36. ## Thread: Need help with FT800 using Gameduino 2 libraries on Teensy 3.6

by Donziboy2
Replies
8
Views
2,782

### I spent a few hours playing with the HotMCU...

I spent a few hours playing with the HotMCU FT811's I bought a few months back and got one running on a T3.1.

//#include <EEPROM.h>
#include <SPI.h>
#include <GD2.h>
#define PDNPin 8
void...
37. ## Thread: Any Plans for a Teensy Board with Bottom Pads on Top?

by Donziboy2
Replies
108
Views
22,199

### I guess I can drop my two cents in. I...

I guess I can drop my two cents in.

I actually gave up trying to put the Teensy 3.6 on a breadboard when I saw it, instead I used long pin headers for the outside pins and normal pin headers for...
38. ## Thread: Teensy to drive MOSFETS, will these work?

by Donziboy2
Replies
4
Views
2,464

### Yes it appears that the base of the opto...

Yes it appears that the base of the opto transistor is provided for certain cases but is not needed in this case. The LED inside the opto provides the energy needed to power the transistor when...
39. ## Thread: Teensy to drive MOSFETS, will these work?

by Donziboy2
Replies
4
Views
2,464

### If the datasheet you provided is the Mosfet you...

If the datasheet you provided is the Mosfet you have then you can drive it with 3.3V. Doing it with the Teensy is probably not the safest thing you can do thou. I would use either a logic buffer...
40. ## Thread: High sampling rate measurement for weak electrish fish

by Donziboy2
Replies
51
Views
10,184

### If you can handle soldering 0.5mm pitch pins and...

If you can handle soldering 0.5mm pitch pins and 0603 parts I can send you a blank ADS8698 breakout board and a parts list and you can build your own breakout. Provided your somewhere that USPS...
41. ## Thread: High sampling rate measurement for weak electrish fish

by Donziboy2
Replies
51
Views
10,184

### How much noise is being created on your samples...

How much noise is being created on your samples when you write to the SD Card?

My experience so far with Sampling ADC's and trying to do SPI transactions at the same time have forced me to use an...
42. ## Thread: High PWM frequency with 16 bit accuracy for switch-mode power supply

by Donziboy2
Replies
13
Views
3,218

### The resolution will be based on the accuracy of...

The resolution will be based on the accuracy of your feedback, SMPS are primarily analog circuits.
Depending on the voltage range of your supply 16bits will be tough to maintain.

How much current...
43. ## Thread: High PWM frequency with 16 bit accuracy for switch-mode power supply

by Donziboy2
Replies
13
Views
3,218

### If your goal is a variable supply why not avoid...

If your goal is a variable supply why not avoid reinventing the wheel and just use the Teensy to adjust the feedback voltage to an existing SMPS design. You can do the same thing to a linear...
44. ## Thread: Teensy CC Dummy Load +300W

by Donziboy2
Replies
94
Views
39,263

### Progress was made :) Took a while but I have the...

Progress was made :) Took a while but I have the LCD and ADC running on SPI0 and SPI2, the noise is not to bad so I don't believe I will spend to much more time with it. I doubt I could get noise...
45. ## Thread: Teensy programing mode

by Donziboy2
Replies
6
Views
1,314

### Well, you have given us no pictures, no...

Well, you have given us no pictures, no schematics, no code. So its tough to have any idea whats going on.
46. ## Thread: Teensy programing mode

by Donziboy2
Replies
6
Views
1,314

### Erm, its a 6V battery, it should be fully charged...

Erm, its a 6V battery, it should be fully charged at 6.5V and dead at 5-5.25V, at which point you should probably disable the GPRS. Really draining a lead acid will shorten its life considerably....
47. ## Thread: Data logger : Again and again

by Donziboy2
Replies
3
Views
1,389

### The only one I have experience with is the one I...

The only one I have experience with is the one I created for my CC Dummy Load in order to test the ADC before I commit to anything. The PCB will accept at least 4 TI chips in the same 4-8 channel...
48. ## Thread: Teensy CC Dummy Load +300W

by Donziboy2
Replies
94
Views
39,263

### Just realized I never posted the latest schematic...

Just realized I never posted the latest schematic for the ADS8698 breakout board. I only had 2 major issues with the PCB. The first was I got the 3.3V regulator pins mixed up so I had to clean some...
49. ## Thread: Data logger : Again and again

by Donziboy2
Replies
3
Views
1,389

### Hello Yannick, your project is definitely...

Hello Yannick, your project is definitely advanced. Your kind of hitting the same rough road I have been working on with my CC Dummy Load project.

You will face several issues.
To get decent ADC...

by Donziboy2
Replies
16
Views
3,542

### Looking at the ADS8881, you pull CONVST High...

Looking at the ADS8881, you pull CONVST High (Chip Select), clock 8 times, then pull it low and clock 24 bits, then you have to shift your 3 bytes around to get the correct value.

Here is a simple...
Results 1 to 50 of 500
Page 1 of 10 1