Search found 6706 matches

by RogerClark
Sun Sep 24, 2017 10:19 pm
Forum: Maple & Maple mini etc
Topic: Maple Mini clone (Baite) schematics
Replies: 1
Views: 26

Re: Maple Mini clone (Baite) schematics

Thanks...

It looks like it may be correct as the pins on the original maple mini for AV- and AV+ are just Vcc and Gnd on that diagram, like they are on the clones.
by RogerClark
Sun Sep 24, 2017 10:11 pm
Forum: Ideas & suggestions
Topic: Differential ADC (ADC1-ADC2)
Replies: 14
Views: 288

Re: Differential ADC (ADC1-ADC2)

I would try supplying ADC2 with a stable reference voltage, e.g. even if this is just vcc via a resistor divider with a smoothing cap.

Then if you compare the last reading in ADC2 with the current reading, any difference should be he supply noise.
by RogerClark
Sun Sep 24, 2017 10:05 pm
Forum: New users MUST post here first, and let us know a bit about you and your projects
Topic: Hello and help
Replies: 2
Views: 12

Re: Hello and help

Welcome...

A few things, seem wrong.

Wire is now Hwire, so you may be using an old version.


Also, yiu say nothing is attached... Does that include pullups... I2C needs pullups even if nothig is connected.
by RogerClark
Sun Sep 24, 2017 12:00 pm
Forum: Builds and Announcements
Topic: New registratiion rules to reduce bot registration
Replies: 1
Views: 102

Re: New registratiion rules to reduce bot registration

Guys Its taken a while to find out how to change the permissions on the site to disallow new users from posting anywhere except the "New users must post here first..." section Its a bit time consuming to set this up, as it involves manually setting multiple checkboxes, so I'll make the change over t...
by RogerClark
Sun Sep 24, 2017 10:42 am
Forum: Projects
Topic: OV7670, Generic STM32F103RC and ILI9341 display
Replies: 313
Views: 11726

Re: OV7670, Generic STM32F103RC and ILI9341 display

Steve I've kinda got it working // // Created by indrek on 4.12.2016. // // Adapted for ILI9341 by stevestrong on 29.07.2017 // #include <LiveOV7670_stm32_OK.h> #include <Adafruit_ILI9341_STM.h> #include <SdFat.h> const uint8_t SD_CS = PC15; SdFat sd; // TFT connection: // PB1 - TFT reset // PA2 - T...
by RogerClark
Sun Sep 24, 2017 10:24 am
Forum: Projects
Topic: OV7670, Generic STM32F103RC and ILI9341 display
Replies: 313
Views: 11726

Re: OV7670, Generic STM32F103RC and ILI9341 display

BTW.

To get SD working, I removed the resistors and also shorted the link beside the 3.3V regulator on the LCD board, so that the SD card receives 3.3V instead of 3V

I'm not sure if I needed to do either of these but the SD works for me.
by RogerClark
Sun Sep 24, 2017 10:08 am
Forum: Projects
Topic: OV7670, Generic STM32F103RC and ILI9341 display
Replies: 313
Views: 11726

Re: OV7670, Generic STM32F103RC and ILI9341 display

Found 1 problem. Looks like SD leave SPI in 8 bit mode, but the ILI9341 lib needs 16 bit mode So I added a call to set into 16 bit before writing the text to the LCD, and it now saves the LCD screen multiple times #include <SdFat.h> #include "Adafruit_ILI9341_STM.h" #define TFT_CS PB0 #define TFT_DC...
by RogerClark
Sun Sep 24, 2017 9:55 am
Forum: Projects
Topic: OV7670, Generic STM32F103RC and ILI9341 display
Replies: 313
Views: 11726

Re: OV7670, Generic STM32F103RC and ILI9341 display

BTW. I have it wired like this lcd_sd_camera_blue_pill.png (Right click and view the image to get it in higher quality, as PHPBB seems to generate render views that are lower quality JPEG and I uploaded PNG) I'll double check that the SD_CS line and LCD_CS line are not somehow connected together. I'...
by RogerClark
Sun Sep 24, 2017 8:37 am
Forum: Projects
Topic: OV7670, Generic STM32F103RC and ILI9341 display
Replies: 313
Views: 11726

Re: OV7670, Generic STM32F103RC and ILI9341 display

uint16_t Adafruit_ILI9341_STM::readPixels24(int16_t x1, int16_t y1, int16_t x2, int16_t y2, uint8_t *buf) { mSPI.beginTransaction(SPISettings(_safe_freq, MSBFIRST, SPI_MODE0, DATA_SIZE_8BIT)); writecommand(ILI9341_CASET); // Column addr set spiwrite16(x1); spiwrite16(x2); writecommand(ILI9341_PASET...
by RogerClark
Sun Sep 24, 2017 8:25 am
Forum: Builds and Announcements
Topic: Unverified user deletion
Replies: 5
Views: 99

Re: Unverified user deletion

fpiSTM wrote:
Sun Sep 24, 2017 7:22 am
Thanks for your work Roger.
No worries...