I decided to draw a PCB to mount the future all in one Teensy synchronized GPS/IMU +autosteer code to my existing PCB’s.
So it plug in the Arduino heaters and make a compact assembly. It could also be used as GPS only module with correct supply.
I have just a little knowledge in hardware so every comments are welcome if someone see a mistake or have idea to improve design.
First thing is Teesy run on 3.3V while Autosteer PCB is on 5V. So I put a Sparkfun PCA9306 for the i2c, PN2222 transistors for the input pins STEER, WORK and REMOTE(for my m_elias kaupoi v4 smd boards) and 1k/2k resistors for analog inputs A0,1,2,3,6,7.
It also has a pulse speed output and UDP.
Note: It is designed for KaupoiV4 board without the relay. It will need some raiser with relay or on the official PCB to clear the ADS.
It will use the autosteer IMU if connected to it, else I planned to use a 10 cm lead if used in standalone GPS mode.
I could make it a little bigger at the top left and add holes and connections for the adafruit, CMPS.
To add CAN capability I will also add 2 or 3 rx,tx,GND,3V connectors. I suppose it is pins 22,23,0,1,30,31 on Teensy?
Is this CAN board or this one enough? Rx and Tx are not on same position on each board
Someone know a good board/chip? To order on Aliexpress? I prefer Digikey, Mouser or Robotshop
I’m not sure there is a need for the level shifter. When I remember me correctly the i2c Bus is driven by the teensy and not from slaves. I tried a setup with PCB V2, nano33 iot, bno055, mma8451 and ADC for WAS and it was working perfectly. If you check the bno pins there is a 3v3o pin, so there must be a voltage regulator
Thanks for all yours inputs!
So I have now 3 design I will order(only 2-5$ per design, most is for shipping)
I have only added minimal connection for CAN just to have capability for testing(prototype)
SDA/SCL lines goes directly to autosteer PCB, but pins for PCA6306 are there, just cut the lines on rear of PCB
I used the board to send PANDA to AGO and it worked, just took 3 hours before before I figured out my SimbleRTK2B wasn’t sending anything over UART1!
Now I want use the Teensy for GPS+autosteer over USB, I think I just have to replace Serial by SerialUSB1 for autosteer and I should have the 2 COM ports.
His concept works.
I used his schematics to rebuild a pcbv2 board to work with teensy 4.1 and the autosteer ino made for the new all in one board.
I cut the traces from ads1115 and added a level shifter to connect ads to teensy.
For the switches, just direct from pcbv2 lines/pins to teensy no resistors, as they connecs to gnd anyway.
For output to pwm and dir, I resoldered 330 ohm resistors to go to the right teensy pins.
(Other pins resoldered and 5 v moved to fit teensy as well)
The bno085 must run on 3.3v so it doesn’t need a level shifter when connected to the teensy.
Also some bird’s nest wiring and a Ethernet kit for the teensy. I bird’s nest wired the F9P as well.
But the hat board would do all that.
Just recheck the SDA SCL and the level shifter. So they are like the current all in one board.