Find Jobs
Hire Freelancers

ESP32cam add MCP23017 GPIO expander to program and add digital read/write to code

$30-250 USD

Completed
Posted over 4 years ago

$30-250 USD

Paid on delivery
Using this tutorial as a base for the project - [login to view URL] - update to use a MCP23017 GPIO expander (I2C device) - and add digital read/write to code. Using the adafruit MCP23017 ("Adafruit_MCP23017.h") library (and wire.h or similar library if needed to map I2C pins). Using this board - [login to view URL] . Need to map I2C (SDA and SCL pins - suggested using pins 12/SDA and 14/SCL - or other suitable/available pins on the esp32cam - I should not have to do any soldering - or modifications to board!!) Note - I do not need physical device made or anything else - just code!! Need to use Arduino IDE - so similar language as tutorial: [login to view URL] MUST update tutorial code to add digital read/write to MCP23017 ... see sample read/write code below. Must be able to view webcam and do digital read/write. ************* // Test circuit for esp32cam // and MCP23017 GPIO Expander // Standard SDA is 21 and SCL is 22 // Use wire.h to change SDA SCL pins... // When Flashing - put USB SDA SCL pins for esp32 on SDA 21 and SCL 22 // When Flashing - put USB on standard flashing pins... #include <Wire.h> // set [login to view URL](SDA, SCL) #include "Adafruit_MCP23017.h" Adafruit_MCP23017 mcp; // Instantiate mcp object int dly = 500; // 1/4 second delay void setup(){ [login to view URL](115200); [login to view URL]("Setup starting: Ready"); [login to view URL](12, 14); // NOTE '//' out [login to view URL] in [login to view URL] library! Or will not map pins!! [login to view URL](); // "Start" the mcp object [login to view URL](0, OUTPUT); // relay [login to view URL](1, INPUT); // push button - green [login to view URL](1, HIGH); // turn on a 100K pullup internally [login to view URL](2, INPUT); // touch sensor - filzer custom [login to view URL](2, HIGH); // turn on a 100K pullup internally } void loop(){ // Digital write test - for Relay testing [login to view URL]("Relay - Flashing GPIO: "); // Tell us what pin is flashing. [login to view URL](0, HIGH); // Set pin HIGH (on) delay(dly); // On for 1/4 second [login to view URL](0, LOW); // Set pin LOW (off) delay(dly); // Off for 1/4 Second // digit read test - for push buttons x2 int val1 = [login to view URL](1); // Read the value of pin P1 int val2 = [login to view URL](2); // Read the value of pin P2 if (val1 == HIGH) [login to view URL]("Button: HIGH"); // If Button is Pressed else [login to view URL]("Button: LOW"); // When Button is Released delay(50); [login to view URL]("\t"); if (val2 == HIGH) [login to view URL]("Touch Sensor: HIGH"); // If Button is Pressed else [login to view URL]("Touch Sensor: LOW"); // When Button is Released delay(50); [login to view URL]("\t"); [login to view URL](); }
Project ID: 23190812

About the project

17 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi, Let's get started. I have used Arduino in both hardware and firmware development since 2013, and in recent years, I've been heavily using ESP32 in both hardware and firmware development. I'm familiar with their architecture. Let me know when we can start. just message me for the details. Best Regards, Rijal
$135 USD in 5 days
4.6 (89 reviews)
6.8
6.8
17 freelancers are bidding on average $157 USD for this job
User Avatar
Hello, my name is Maria. I am an electronic engineer I would like to know more about your project. Let me know on chat.. I am available to work in this
$250 USD in 7 days
5.0 (18 reviews)
6.6
6.6
User Avatar
Hi, I hope you are doing well. I have expertise in ESP32 Arduino Programming. I have worked on I/O expander. I have reviewed your requirements. I have several questions regarding project. Which is what do you want to control from I/O module? Is it simple relay control? Please send me message for further discussion. Looking Forward, Khawaja
$140 USD in 1 day
4.8 (98 reviews)
7.0
7.0
User Avatar
Hello, I'm interested in the position of project you recently posted, particularly being from Embedded Systems. I have strong C/C++ skills and experience with ESP8266 & ESP32 microcontrollers with a good knowledge of peripheral protocols like UART, SPI, and I2C. Feel free to contact me to further discuss this position.
$200 USD in 7 days
4.9 (16 reviews)
5.2
5.2
User Avatar
hello. I have 10+ years experiences related to hardware and firmware development. - Electronics circuit design(schematic, PCB, simulation) - Microcontrollers(Microchip PIC, ARM, AVR, 8051) - Arduino projects(LED, various LCD, Keyboard, Mic&Speaker, Memory,...) - Wire/wireless communications (Ethernet, WiFi, Bluetooth, ZigBee, USB, RS232/485, CAN, I2C, etc.) - Device development and programming using FPGA/CPLD - sensors (temperature, humidity, precipitation, air pressure,...) - RF/Microwave Devices(active/passive) development I always will satisfy your needs perfectly and clearly. I can work in full-time, 12+ hours/day and can work in your timezone. Also will keep good communication Let's work together. Thanks.
$100 USD in 3 days
5.0 (7 reviews)
4.6
4.6
User Avatar
Am a Mechatronic engineer with 5 year experience in microcontrollers and Arduino programming and I believe i can handle your task to perfection
$222 USD in 7 days
4.8 (26 reviews)
4.9
4.9
User Avatar
I am an electrical engineer and interested in your project. I have read the description of your project. Kindly send me text to discuss the project in details. Thanks
$140 USD in 7 days
5.0 (14 reviews)
4.9
4.9
User Avatar
Hey there Hope you are doing good I read the details about your project, I am skilled electronics and communication engineer, with experience in microcontroller programming, circuit designing and etc. i worked on projects like this in past. I have both knowledge and skills to complete this project in mentioned time. please ping me in inbox so we can decide when to work from and discuss further details. Best regards Abbas Jawadwala
$111 USD in 4 days
4.8 (27 reviews)
5.1
5.1
User Avatar
Hi I am embedded system engineer with 7 years of experience. I used esp32 for main controller of several project. I used arduino to develop the firmware and i am familiar with I2C, let me know if you are interested
$100 USD in 3 days
5.0 (7 reviews)
4.0
4.0
User Avatar
HI, I am kahan. I am embedded developer and have much experienced in hardware and software side. Waiting for further discussion. Thank you.
$140 USD in 7 days
5.0 (8 reviews)
3.1
3.1
User Avatar
Hello. I am a senior Microcontroller developer and electronic engineer. After reading your description, I am very interested in your project. As you can see in my profile, I have developed the IoT and website , mobile app. I can develop the PIC, Atmega, STM32, Arduino like ESP32, ESP8266, MKR1400 and designed the circuit and PCB. As I am a smart device manufacturer, I hope we can discuss the project in detail via a private chatting. I am ready to start working immediately. I will wait patiently for your response. Best regards
$140 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello. I am an experienced embedded developer and I have extensively worked on esp32 projects. Kindly contact me so I can share my portfolio with you. We can decide costs and timeline via chat. I am an expert in esp32 projects. Regards,
$150 USD in 4 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I have experience in arduino and esp8266 based devices. I can do your project comfortably in three working days. thanks in advance
$100 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi sir, I worked with both Arduino and Esp. Currently working on 1. Esp32 - mqtt and Android communication. 2. STM32 - Lora P2P communication. We will work on your project and will give you the output as you expect.
$222 USD in 21 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of CANADA
Halifax, Canada
5.0
1
Payment method verified
Member since Dec 14, 2019

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.