not for testing, but I'll use RS485 half duplex. That's actually defined and required by the modbus standard. I have transceiver ICs in the mail and will spin a quick test board once they arrive. I...
Type: Posts; User: Ben
not for testing, but I'll use RS485 half duplex. That's actually defined and required by the modbus standard. I have transceiver ICs in the mail and will spin a quick test board once they arrive. I...
Thanks Paul. Unfortunately I don't own any modbus devices. My use case is a diy sensor bus in my home, with a sensor node in each room for temperature, humidity, light level etc. The node will also...
using while(true) prevents exiting loop. I'm completely guessing here, but maybe that inhibits something important that usually happens between loops?
Be very careful when trying. If the device is powered by 3.3V it's more or less safe to try. If it is powered by 5V it will most likely drive signals to a logic high voltage of near 5V, which is too...
Will do, give me a few days.
Yes. In the picture neurofun posted, carefully look at the connector. There are only four wires, the connectors lowest position is empty.
You can also see this on the teensy pinout diagram when...
The two pins furthest from the micro-usb connector on the Teensy are both grounded, you only need one of those. Be careful with orientation when plugging in. 5V is closest to the onboard micro-usb...
I'm considering a rewrite with some improvements like proper timeout handling and allowing to configure more parameters at runtime (such as slave address and baud rate) so these can be fetched e.g....
Here's a version that works for creating Modbus Masters and Slaves with a Teensy using hardware serial ports:
/**
* @file ModbusRtu.h
* @version 1.21
* @date 2016.02.21
*...
Hmm that might be a too high goal for my programming skills, I'd be happy with the RTU mode working on Teensies. I'll try to test the code I posted in #10 when I have the time and maybe reintroduce...
I know of two product ranges with even lower resolution: Melexis https://www.melexis.com/en/product/MLX90640/Far-Infrared-Thermal-Sensor-Array and Panasonic GridEye...
Sounds good, would you paste your code here so I can have a look?
I'm looking for a good Modbus-library as well. It seems the one Epyon linked is hard-coded for a specific Arduino board as it expects exactly four hardware serial ports.
From my limited...
I'm not aware of a Eagle .sch, but this page is a good start. There are links to forum posts on this page that are also very helpful.
I didn't know this, but I'd expect the Teensy to maintain the duty cycle through PWM frequency changes. So is this a bug or documented behaviour (apart from "documented in the code")? If it's neither...
Hi,
I today tried to determine if an SPI flash IC is connected by checking the SerialFlash.begin return value. Turns out the function returns true unconditionally.
I reproduced this with a...
there are 6 layers of copper in and on the teensy board. as copper tends to "smear" when cut, there is a high chance of creating shorts between layers with this smeared copper. So no, it is not save...
You can use EEPROM.put(address, variable); to store variables of any size in the EEPROM. Make sure to increase the address by the size in bytes when storing the next value.
uint16_t aTwoByteInt...
Hi,
I think I solved this myself :)
#include <FastCRC.h>
struct S1 {
uint32_t foo = 0x1234CDEF;
float bar = 1.0f;
Hi,
I'm using a Struct for some calibration data, this way I can easily save and load the data from EEPROM using EEPROM.get and EEPROM.put. This works great, now I'd like to add a CRC checksum...
If you can get your hands on SAC101 solder balls (SnAg1Cu0.1) that would be worth a retry. SAC101 is optimized for mobile devices, where shock resistance is of more importance than temperature...
Thanks, thats exactly the behaviour I need.
This is the amp on the prop shield:
https://www.pjrc.com/store/lm48310.pdf
it is rated from 2.4V to 5.5V. On page 7 you can see the diagrams for THD+N vs Output Power, it shows about 1W into 4 Ohms...
Have you tried using the exposed D+ and D- signals on the T3.2 bottom pads to attach a more durable usb port? maybe you can connect to them with a via cut in half on your mother board, like it is...
Thanks for your help! No I didn't know about these lines. That's excellent, I can just test register 0x4003E01C for that "magic number" to see if the RTC has been reset to compile time. Great, thanks...
I thought about my problem a bit more and I think I'm using the Time lib and the RTC wrong. The library reports "timeSet" because it has synced successfully to the internal RTC. So even if I used...
Here's a sketch to recreate my issue. My Win7 machine needs the delay(), sorry:
Arduino 1.8.1, Teensyduino 1.35 on Windows 7 SP1.No errors or warnings during compile/upload (verbose output enabled)....
The datasheet "hints" are a good start. Look at the upper left diagram, the one with "Input NPN Output NO". You'll want to use this one. Virtually any npn-transistor will do, as the currents and...
If the Teensy sets the mosfet control pin into high impedance state "by accident", the gate charge can be retained on the mosfet gate for quite some time, it's best to have a resistor from the gate...
I don't understand why they use optocouplers at all, the relay alone should provide enough isolation in itself :confused:
A solid state relay (SSR) might be the quickest and least error-prone way....
Did you order on aliexpress? They really seem to be an exact clone.
I may have access to an IC decapsulation machine later this year, might be fun to compare the dice :)
I tried the...
Yes, there's the Filter Design Tool from the university okawa-denshi (Japan) that does an excellent job for analog filters up to 3rd order: http://sim.okawa-denshi.jp/en/Fkeisan.htm
The tool is...
Hi,
I'm on vacation right now, so I'm sorry I can't try anything myself at the moment. You could try to set up an ISR that updates the duty cycle of all the PWMs and call it regularly. Toggle a pin...
Hi,
when you use the Arduino IDE with Teensyduino to program your Teensy in C++, you can use some very powerful high-level commands to control the PWM. No need to look into timers and overflow...
Hi,
the amp meter measures the current by letting it flow through a low-value resistor ("shunt resistor") and measuring the voltage drop across this resistor. So by introducing the meter into your...
I think you mixed something up. Or maybe I did, anyway, I get different numbers:
Apollo RAM: 2048 x 16bit = 32768 bit = 4096 Byte = 4kBytes
Teensy RAM: 64 kBytes
Apollo ROM (Program Memory): 36864...
A comparison in computing power between two computing systems is possible in many different ways. You could look at the technical specs like how much RAM is available, how fast is the CPU, how wide...
About 60Hz is only true for non-moving applications. Even 100Hz may be visible if your eye does quick "scanning" movements across the LEDs (or the LEDs move), because that will leave an afterimage on...
This will of course void any warranty, but you can file down the sides of the teensy until only half of the PCB through-holes are left, then use that as a "castellated" connection for PCB-to-PCB...
I don't know about the model The Goddess uses, but I can recommend using a binocular microscope (that gives you a stereoscopic impression of depth) with either fix magnification of about 7x or...
That's good news :cool:
I'm impressed you followed through with this project and even reported back after such a long time. Much appreciated :)
Ben
Edit:
Regarding the Teensy 2.0 and voltage...
The Teensy 3.2 has a voltage regulator that supplies 3.3V from the 5V it gets from USB. This is used to power the audio adaptor as well as the IC on the Teensy itself. Does the Teensy run the simple...
I updated the spread sheet to include Prop Shield and Audio Adapter Board pinouts:
Download here:
https://www.dropbox.com/s/23yl6hxqmp0h2u9/T3.6pinoutDiagram.ods?dl=0
Screenshot:
8154
It's...
The cool thing with the Teensy 3.x is that it has built in DSP instructions for 16 bit fixed point math, so if you stick to fixed point you can do quite a lot CD-quality audio processing on the...
If you are designing a PCB and you have a few square mm to spare you could include footprints for the pullups and just don't populate them if you find out you don't need them.
This might be an issue with unstable power delivery due to losses in the long strands of conductor. Try adding a second 5V and GND line to the end of the strip (in parallel, from the same power...
As far as I remember, you can do this, but you need to call myTimer.end(); between two .begins.
Only four timers may be active simultaneously, even less if you use other libraries that use timers.
...
Not as pretty as the card, but with a bit more information (I2S, Ethernet, Native Port)
8085
It's a LibreOffice Calc file (*.ods) which you can download here:...
The ICs inside the LEDs run from a 5V supply, the Teensy outputs 3.3V as a logic "high". 5V-Devices may or may not recognize 3.3V as logic high, as it is not very close to their supply voltage. This...
Thanks, this looks very nice. I wish I had the time to build a panel myself, but at the moment I don't see this happening until at least February :rolleyes:
I'd love to have a physical, tangible...