Search found 25 matches

by Tinker
Tue Sep 10, 2024 7:07 am
Forum: Projects - Embedded
Topic: ESP32 and Libraries
Replies: 10
Views: 10947

Re: ESP32 and Libraries

Thanks to Chipfrier 27 and mnfisher
quite a bit of info to trawl through so give me a day or two and if no response Ill be in the phsyc ward.
ps I live in New Zealand so is you guys are in the UK or europe then we are 12 hours appart
cheers
tinker
by Tinker
Mon Sep 09, 2024 5:52 pm
Forum: Projects - Embedded
Topic: ESP32 and Libraries
Replies: 10
Views: 10947

Re: ESP32 and Libraries

Thank you Chipfrier27 Yes I know it is hardware related as the arduino sketch works. The question is how do I switch on the pullup facility and set the port (bit) direction, as I previously stated I believe the arduino Library is setting the conditions that the keypad needs to operate, but no sign o...
by Tinker
Mon Sep 09, 2024 5:04 am
Forum: Projects - Embedded
Topic: ESP32 and Libraries
Replies: 10
Views: 10947

Re: ESP32 and Libraries

Nothing appears in the display using the FC code, and I assume the ports need setting for pullup and direction etc. I thought FC would have done that simply by adding the keypad ? but maybe not The code works fine in simulation, but I wanted to ensure the hardware worked before writing lots of code ...
by Tinker
Mon Sep 09, 2024 4:58 am
Forum: Projects - Embedded
Topic: ESP32 and Libraries
Replies: 10
Views: 10947

Re: ESP32 and Libraries

I uploaded the FC file here:- https://cloud.tonysteele.uk/index.php/s/KRT4ZE7rmRQGjYf and the Arduino sketch listing which I used to prove the hardware was connected properly https://cloud.tonysteele.uk/index.php/s/xYe22xkPz3naQN7 The flowcode sketch is quite simple, wait for a key press, read the n...
by Tinker
Sun Sep 08, 2024 2:52 am
Forum: Projects - Embedded
Topic: ESP32 and Libraries
Replies: 10
Views: 10947

ESP32 and Libraries

I put together a simple keypad and I2c display to test the flowcode I am going to use to get input from the user. Whilst the display is ok, the kaypad dows not work. I double checked the hardware connections and eventually wired the keypad to different pins, no go! I looked on Arduino website and fo...
by Tinker
Tue Sep 03, 2024 5:32 am
Forum: Projects - Embedded
Topic: Pull-Up setting registers and ports 328uP
Replies: 3
Views: 7605

Re: Pull-Up setting registers and ports 328uP

Thanks for the info Mnfisher, the two boards I have are looking duff, so for the project I am doing I am switching to ESP32-C
by Tinker
Thu Aug 29, 2024 5:21 am
Forum: Projects - Embedded
Topic: Pull-Up setting registers and ports 328uP
Replies: 3
Views: 7605

Pull-Up setting registers and ports 328uP

I have a project which uses an Arduino pro mini (328P uP), and I2C display and a 3x4 keypad. The keypad fails to work and I note one of the Column pins is always low. Looks like I need to turn on the pull up resisters, but my attempts at using C code cause an error which prevents me from compiling t...
by Tinker
Tue Aug 27, 2024 5:02 am
Forum: General
Topic: Arduino pro mini error -not programming
Replies: 2
Views: 1834

Re: Arduino pro mini error -not programming

OK, the LCD not working was due to selecting the GROVE I2C display from the options given. My code had the correct address and my scope showed clock and data present, yet the display showed nothing. Long time back I remember making the same error when programming in the early days a 16F type pic and...
by Tinker
Tue Aug 27, 2024 3:42 am
Forum: General
Topic: Arduino pro mini error -not programming
Replies: 2
Views: 1834

Re: Arduino pro mini error -not programming

Solved. well the programming bit is solved. Having bought a Arduino Pro-Mini with 5v 16Mhz clock, and a 328 chip. in the flowcode system I selected the Arduino pro mini 5v 16mhz and did not check to see what processor that had embedded. When I finally figured this out I noted that the selected devic...
by Tinker
Mon Aug 26, 2024 1:44 am
Forum: General
Topic: Arduino pro mini error -not programming
Replies: 2
Views: 1834

Arduino pro mini error -not programming

Hi all I have used the flow code system for a while but never on Arduino before. I wanted to shorten a project and chose the 5v pro mini module. My project would not compile to target, so I also wrote a simple test project which would also not compile to target. I switched to the Arduino programing ...