Search found 118 matches

by nikhiledutech
Tue May 08, 2018 9:35 am
Forum: MicroPython pyboard
Topic: pwm
Replies: 8
Views: 9705

Re: pwm

All the links in page are showing up Bad gateway :?:
by nikhiledutech
Mon May 07, 2018 8:39 am
Forum: General Discussion and Questions
Topic: Problem in receivng data using SPI
Replies: 6
Views: 4737

Problem in receivng data using SPI

Hey , I am currently using SPI 2 on stm32f407 disc board. I have defined the Stm32 pins in the below given manner. PB10 ------> SPI2_SCK PC2 ------> SPI2_MISO PC3 ------> SPI2_MOSI my CS pin is " PB14" which i have defined cs_pin = Pin('PB14', Pin.OUT_PP, Pin.PULL_NONE) From my understanding of SPI ...
by nikhiledutech
Mon May 07, 2018 4:41 am
Forum: Programs, Libraries and Tools
Topic: Interfacing Stepper Motor with STM32F407 Disc board
Replies: 2
Views: 3196

Re: Interfacing Stepper Motor with STM32F407 Disc board

I have given the external power source of 12 V.
by nikhiledutech
Fri May 04, 2018 10:29 am
Forum: Programs, Libraries and Tools
Topic: Interfacing Stepper Motor with STM32F407 Disc board
Replies: 2
Views: 3196

Interfacing Stepper Motor with STM32F407 Disc board

Hello, I am currently interfacing STM601 stepper motor with stm32f4 disc board. The stepper motor pins are PE9 , PE11, PE 13 , PE15. I need to set the following pins sequence for Clockwise and anti Clockwise rotation. SmAntClk = 0x0A,0x88,0xA0,0x22 SmClk = 0x22,0xA0,0x88,0x0A In the code i have crea...
by nikhiledutech
Fri May 04, 2018 4:51 am
Forum: General Discussion and Questions
Topic: Booting from SD card
Replies: 11
Views: 7258

Re: Booting from SD card

Ok there was issue in tab and spaces. I would like to know, whether we can call an .py file from any folder by providing appropriate file path in boot.py file present in SD card. Like if say there is eg1.py file in case1 folder present in SD Card. Can i write, pyb.main('/case1/eg1.py') and run it. I...
by nikhiledutech
Fri May 04, 2018 4:24 am
Forum: General Discussion and Questions
Topic: OSError: [Errno 5] EIO while using I2C
Replies: 4
Views: 35844

Re: OSError: [Errno 5] EIO while using I2C

I provided delay after write and it worked.

thankyou :)
by nikhiledutech
Thu May 03, 2018 12:06 pm
Forum: General Discussion and Questions
Topic: Booting from SD card
Replies: 11
Views: 7258

Re: Booting from SD card

Hey, I added the necessary definitions and it successfully booted from SD Card. But here is a issue which i face in boot.py file. When i copy paste the below mentioned code in main,py and execute it works very well. But when i copy this code in a new file " xyz.py" in SD Card. And add the line pyb.m...
by nikhiledutech
Thu May 03, 2018 8:35 am
Forum: General Discussion and Questions
Topic: OSError: [Errno 5] EIO while using I2C
Replies: 4
Views: 35844

Re: OSError: [Errno 5] EIO while using I2C

Okay. I tried it, still it gives me same error.
by nikhiledutech
Wed May 02, 2018 11:59 am
Forum: General Discussion and Questions
Topic: Booting from SD card
Replies: 11
Views: 7258

Re: Booting from SD card

There is only one partion with FAT file system. i forget to tell, I am using STM32F407 disc board which don't have any onboard SD card slot. I have mounted discovery board on another application specific interfacing kit, having MMC card slot. I have copied the both main.py and boot.py in sd card and...
by nikhiledutech
Wed May 02, 2018 10:43 am
Forum: General Discussion and Questions
Topic: OSError: [Errno 5] EIO while using I2C
Replies: 4
Views: 35844

OSError: [Errno 5] EIO while using I2C

Hello, I am trying to write and read data from I2C based EEPROM. When i try the same code from the serial terminal it runs fine and it dont give me error. But when i try to execute same code from main.py file i get the following OS Error "OSError: [Errno 5] EIO" . Below i have given my code. from py...