Search found 154 matches

by kamikaze
Sat Sep 03, 2016 3:03 pm
Forum: MicroPython pyboard
Topic: connecting pyboard to CAN BUS
Replies: 45
Views: 40896

Re: connecting pyboard to CAN BUS

PappaPeppar wrote:Here is a skin that I know Works.
https://github.com/HenrikSolver/pybcanskin
could you please provide the code which you test this skin with?
by kamikaze
Sat Sep 03, 2016 2:35 pm
Forum: MicroPython pyboard
Topic: connecting pyboard to CAN BUS
Replies: 45
Views: 40896

Re: connecting pyboard to CAN BUS

PappaPeppar wrote:How do you wire your P1 to the pyboard connectors. Have you measured whats on the pins of the transceivers?
I have updated scheme image, added PyBoard pins onto P1
by kamikaze
Sat Sep 03, 2016 2:01 am
Forum: MicroPython pyboard
Topic: connecting pyboard to CAN BUS
Replies: 45
Views: 40896

Re: connecting pyboard to CAN BUS

no... even with transceivers it doesn't work and fails in the same way
by kamikaze
Fri Sep 02, 2016 9:40 pm
Forum: MicroPython pyboard
Topic: connecting pyboard to CAN BUS
Replies: 45
Views: 40896

Re: connecting pyboard to CAN BUS

I would find such a shield useful, but I'd prefer to see a separate output for each port, and perhaps have the option of connecting them together using jumpers. the only reason there would be separate outputs needed - if you want to join separate CAN buses... otherwise single output is the same as ...
by kamikaze
Fri Sep 02, 2016 1:50 pm
Forum: MicroPython pyboard
Topic: connecting pyboard to CAN BUS
Replies: 45
Views: 40896

Re: connecting pyboard to CAN BUS

what do you think about following scheme ? https://easyeda.com/normal/PyBoard_CAN_BUS_shield-2FztL3lDx.png I'm going to create a CAN bus shield PCB that will be able to join my car`s CAN bus. And to make both PyBoard CAN buses to interconnect even if nothing is connected to P2. Looks like it is no g...
by kamikaze
Thu Sep 01, 2016 10:49 pm
Forum: MicroPython pyboard
Topic: connecting pyboard to CAN BUS
Replies: 45
Views: 40896

Re: connecting pyboard to CAN BUS

sometimes I'm getting OSError 16 which is device or resource busy. But can1/can2.any(0) is always False. What is wrong? when playing with CAN.LOOPBACK - everything works. Why CAN1 <-> CAN2 doesn't?
by kamikaze
Thu Sep 01, 2016 12:41 am
Forum: MicroPython pyboard
Topic: connecting pyboard to CAN BUS
Replies: 45
Views: 40896

Re: connecting pyboard to CAN BUS

I have connected CAN1 and CAN2 (Rx1->Tx2, Tx1->Rx2) with wires directly and trying to send/receive a message. With no luck. from pyb import CAN can1 = CAN(1, CAN.NORMAL) can2 = CAN(2, CAN.NORMAL) can1.setfilter(0, CAN.LIST16, 0, (123, 124, 125, 126)) can2.setfilter(0, CAN.LIST16, 0, (123, 124, 125, ...
by kamikaze
Sun Aug 28, 2016 6:29 pm
Forum: MicroPython pyboard
Topic: max current for power supply
Replies: 1
Views: 2265

max current for power supply

What is maximum current allowed to power the pyBoard? I'm a bit scared to power it from my car usb charger which has 2A :roll:
by kamikaze
Sat Aug 27, 2016 2:33 pm
Forum: MicroPython pyboard
Topic: connecting pyboard to CAN BUS
Replies: 45
Views: 40896

Re: connecting pyboard to CAN BUS

is it a better idea to find a 3.3V CAN tranceiver like from TI? http://www.ti.com/lsds/ti/interface/can ... oducts-wwe# the only problem here is that it is SOIC, not DIP
by kamikaze
Sat Aug 27, 2016 1:18 am
Forum: MicroPython pyboard
Topic: many VIN and GND pins
Replies: 2
Views: 2853

many VIN and GND pins

why there is so many VIN and GND pins? and is there any benefit of connecting all of them to VIN and GND? is it for a stable cpu overclocking like with motherboards? :lol: