RC Wheelchair 3: Difference between revisions

From Alnwlsn - Projects Repository
Jump to navigation Jump to search
(Created page with "Since the previous version, I added an arm and a new LORA radio module. With the only microcontroller being ATmega1284p in the original motor controller box, the p...")
 
No edit summary
Line 6: Line 6:
{| class="wikitable"
{| class="wikitable"
|-
|-
| Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example
| Bit || 0 || 1 || 2 || 3
|-
|-
| Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example
|-
| Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example || Example
|}
|}

Revision as of 12:18, 3 September 2020

Since the previous version, I added an arm and a new LORA radio module. With the only microcontroller being ATmega1284p in the original motor controller box, the project was beginning to outgrow both the IO and processing capability of the existing system. Plus, if I ever wanted to add more stuff, like GPS tracking, LIDAR, more sensors, etc. it would only make the problem worse.

So, after my first taste of the CAN bus from work, I decided to upgrade the wheelchair to use a proper bus for communication between modules. CAN is a bit complex for my tastes, but a similar (but lower level) technology is RS485 which is used in industrial automation. With just 1 converter chip required, this basically takes all the serial ports on all the different modules and ties them together with a 2 wire bus. So, a transmission from 1 reaches all other devices. It's half duplex, so the different modules have to take turns, but that's plenty fine for my case.

As of today, I have modules for the wheelchair motor controller and arm motor controllers.

Bit 0 1 2 3