Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My implementations
01-12-2016, 01:45 PM (This post was last modified: 01-12-2016 06:03 PM by sasa999.)
Post: #51
RE: My implementations
I have tested 16bit expander MCP23s17.
[Image: inhouse_mcp23s17ess_t.jpg]

Now I have 16 more inputs/outputs. They can be used with different expansion modules - sensors, servo motors, LED lights, sound modules.
3 hardware address pins to allow up to 8 devices on the bus.
Connected to HSPI it worked very nice. According to datasheet up to 10MHz. Looks very nice. Can run on low voltage 1s LiPo without stabiliser 3.3-4.2V.

Usage is very simple
Code:
#include <MCP23S17.h>
MCP23S17 MCP(&SPI, cs, 0);//cs - pin number
...
MCP.begin();
...
MCP.digitalWrite(pin, val);

Next week i will test similar module on I2C bus Wink
[Image: mcp23017.jpg]
Find all posts by this user
Quote this message in a reply
01-25-2016, 11:49 AM
Post: #52
RE: My implementations
Hello Sasa999,
Can you post the code for esp12, so they begin to understand the operation and make some changes.
Congratulations for the project and for the ideas that you make.
greetings VLhttp://forumsjjrobots.com/images/smilies/rolleyes.gif
Find all posts by this user
Quote this message in a reply
02-01-2016, 11:10 AM
Post: #53
RE: My implementations
Hello, the firmware for esp 12 is written in Arduino ? which uses sketch ? as you did for the timer ? thank you
Find all posts by this user
Quote this message in a reply
02-01-2016, 02:59 PM
Post: #54
RE: My implementations
(01-25-2016 11:49 AM)vlelectronic Wrote:  Can you post the code for esp12
Sorry, while this projest become a commercial, I will not post code until it not released.
All code is writen and uploaded with Arduino IDE. Both motors is driven by one timer, second one will be used for servo motors and/or other devices.
Find all posts by this user
Quote this message in a reply
02-01-2016, 04:20 PM (This post was last modified: 02-01-2016 04:31 PM by KomX.)
Post: #55
RE: My implementations
(02-01-2016 02:59 PM)sasa999 Wrote:  Sorry, while this projest become a commercial, I will not post code until it not released.
Упс! Ну-ка, с этого места немного подробнее. (можно в личку)

Для особо жаждущих.
В стадии тестирования конфигурация из ESP8266 (основной микроконтроллер), 2-х драйверов шаговых двигателей (DRV8825 или A4988), сонара (HC-SR04), MPU6050 и 1-го сервопривода.
Иными словами, базовая конфигурация периферии сохранена. Всё управляется ОДНИМ таймером с максимальной частотой управления драйверами - 250 кГц.
Find all posts by this user
Quote this message in a reply
03-19-2016, 08:11 PM
Post: #56
RE: My implementations
Good morning Sasa999,
It 'hard to change the code to put in esp12? You always use arduino ide?
Thank you
greetings VL
Find all posts by this user
Quote this message in a reply
03-21-2016, 08:41 PM
Post: #57
RE: My implementations
Code is shorter and sampler than for Leonardo because no serial connection between esp8266 and Leonardo. Smile Little tricky is configure timer for motors and servos, but nothing special. For now I use one timer for both motors and another for servos. If You no need for servos, than You can write very sample code - both timers for 2 motors.
Yes, I use Arduino Ide.
Find all posts by this user
Quote this message in a reply
05-07-2016, 11:57 PM
Post: #58
I have a question..
how did you glue the two motors?

   
Find all posts by this user
Quote this message in a reply
05-08-2016, 12:50 PM (This post was last modified: 05-08-2016 01:06 PM by sasa999.)
Post: #59
RE: My implementations
(05-07-2016 11:57 PM)elgar328 Wrote:  how did you glue the two motors?

Wooden wedge, glue and screws, but better will be metal mounts, fasteners without glue.

(05-07-2016 11:57 PM)elgar328 Wrote:  how did you glue the two motors?

In this, first robot, there is wooden wedge, glue and screws, but better will be steel mounts without glue.
Find all posts by this user
Quote this message in a reply
05-22-2016, 12:38 PM
Post: #60
RE: My implementations
Hi sasa

I have follow your tutorial at http://forumsjjrobots.com/thread-738-pos...ml#pid1006 but my robot still not do like this video https://www.youtube.com/watch?v=kqN_VWaPJrU

Can i have your code about this feature.

Thanks.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)