Search found 16 matches

by benderamp
Wed Aug 23, 2017 10:33 pm
Forum: What are you developing?
Topic: Crossplatform timer api for ChipKIT and Arduino
Replies: 0
Views: 152

Crossplatform timer api for ChipKIT and Arduino

Hello, this is my another very simple lib to access timer interrupts API on ChipKIT/PIC32MX and Arduino/AVR without dealing with platform-specific headers and registers. https://github.com/sadr0b0t/arduino-timer-api to install git clone https://github.com/1i7/arduino-timer-api.git cp -r ./arduino-ti...
by benderamp
Fri Oct 28, 2016 11:22 pm
Forum: What are you developing?
Topic: JavaScript-Arduino/ChipKIT serial port communication library with API and desktop GUI
Replies: 0
Views: 545

JavaScript-Arduino/ChipKIT serial port communication library with API and desktop GUI

Hello, this is my JavaScript-Arduino/ChipKIT serial port communication library with API and desktop GUI. I had some similar code migrating from one project to another, so at some point I have decided to put common parts into reusable library. It works both on ChipKIT and classical Arduino. Desktop a...
by benderamp
Mon Oct 03, 2016 9:38 pm
Forum: Tips, Tricks & Hints
Topic: Serial communication: need to wait 5 seconds before sending data after port is open
Replies: 6
Views: 815

Re: Serial communication: need to wait 5 seconds before sending data after port is open

ok, I have tested screen with 2 ChipKIT Uno32 and 1 Max32, all freezed when typing keys. Then reflashed latest bootloader chipKIT-Uno32-v01000303.hex with PICKit3+MPLAB IPE to one Uno32 from here http://chipkit.net/wiki/index.php?title=ChipKIT_Uno32 https://reference.digilentinc.com/chipkit_uno32:ch...
by benderamp
Sun Oct 02, 2016 9:18 pm
Forum: Tips, Tricks & Hints
Topic: Serial communication: need to wait 5 seconds before sending data after port is open
Replies: 6
Views: 815

Re: Serial communication: need to wait 5 seconds before sending data after port is open

Just tried another test with no JS. Run linux screen utility: screen /dev/ttyUSB0 9600 it gives empty screen in console, I reboot board with reset button and type random keys to this empty console screen - the board stops to load until I stop typing and wait for some time. It then continues to load ...
by benderamp
Sun Oct 02, 2016 9:07 pm
Forum: Tips, Tricks & Hints
Topic: Serial communication: need to wait 5 seconds before sending data after port is open
Replies: 6
Views: 815

Re: Serial communication: need to wait 5 seconds before sending data after port is open

I am using node-serialport library for node.js (version 4.0.1; tried 5.0.0-beta1 with same result) https://github.com/EmergingTechnologyAdvisors/node-serialport/blob/master/lib/serialport.js#L276 they have C++ backends for Unix/Win here (I am using on Linux Ubuntu 14.04): https://github.com/Emerging...
by benderamp
Sun Oct 02, 2016 8:12 pm
Forum: Tips, Tricks & Hints
Topic: Serial communication: need to wait 5 seconds before sending data after port is open
Replies: 6
Views: 815

Serial communication: need to wait 5 seconds before sending data after port is open

Hello, I am writing desktop application in JavaScript/node.js to communicate with ChipKIT Uno32. For testing: board sketch is simple Blink with nothing else. JS code below. - It opens board serial port and - starts sending "ping" message immediately just after receives "open" event with some defined...
by benderamp
Thu Sep 01, 2016 2:01 pm
Forum: IDE Integration
Topic: Add -std=gnu11 to c compiler flags in platform.txt
Replies: 2
Views: 656

Add -std=gnu11 to c compiler flags in platform.txt

Hello, I was trying to use plain c library in my sketch (for parsing json http://www.cis.rit.edu/~krz/hacks/jsoncvt/index.html ) and got compilation errors. I am using Arduino IDE with ChipKIT platform plugin. After some investigations I found it can be simply reproduced with new sketch without inst...
by benderamp
Mon Aug 08, 2016 11:13 am
Forum: What are you developing?
Topic: Non-blocking stepper library for CNC
Replies: 1
Views: 876

Non-blocking stepper library for CNC

Hello, Here is my library to control multiple stepper motors connected to ChipKIT board via step-dir driver interface https://github.com/1i7/stepper_h The major benefit in comparison to Arduino Stepper.h lib https://www.arduino.cc/en/Reference/StepperStep is that my stepper_h calls are non-blocking:...
by benderamp
Fri Oct 03, 2014 1:22 pm
Forum: chipKIT Suggestions
Topic: Blink led without resistor
Replies: 4
Views: 1361

Blink led without resistor

I am wondering, what bad might happen if we connect LED to board without resistor. I know that overcurrent might damage the LED instantly or on long period, but can it damage the board or some of its parts? The more general question is what are scenarios to damage the board by sudden incorrect wirin...