Search found 129 matches

by paulvha
Sun Feb 18, 2018 8:41 am
Forum: Arduino
Topic: Random Generated Numbers as Password
Replies: 5
Views: 51

Re: Random Generated Numbers as Password

Dan, indeed when performing a print statement it is better to terminate with 0x0.
by paulvha
Sun Feb 18, 2018 8:29 am
Forum: Arduino
Topic: Random Generated Numbers as Password
Replies: 5
Views: 51

Re: Random Generated Numbers as Password

That is because it is defined it as a string ( String str_tempPass="";). Easiest is to change that to a char* as you did with pass1 : char tempPass[4]; In Generatepasswd you then also have to change : randNumber = random(0,9); str_tempPass = str_tempPass + String(randNumber); to tempPass[i]= random(...
by paulvha
Sun Feb 18, 2018 2:44 am
Forum: Arduino
Topic: Random Generated Numbers as Password
Replies: 5
Views: 51

Re: Random Generated Numbers as Password

you have too many "password places" and are mixing them up on the different places in the code. Also in pcode() at the end your compare is incorrect: if (str_tempPass==str_randomPass) { Serial.println("Pin Success!"); Serial.println("Vault Open!"); } else if (!(str_tempPass==str_randomPass)){ Serial...
by paulvha
Mon Feb 12, 2018 2:55 pm
Forum: Arduino
Topic: Ardunio IDE does not see ESP32 Thing board
Replies: 5
Views: 151

Re: Ardunio IDE does not see ESP32 Thing board

so you got the same error as I did. I went to github, libraries, BLE and downloaded that content as zip. Which I then downloaded, unzipped and paste to the empty BLE directory in my hard drive. That solved the error message. Don't know about compiling speed. I do not have that board.
by paulvha
Mon Feb 12, 2018 2:47 am
Forum: Arduino
Topic: Ardunio IDE does not see ESP32 Thing board
Replies: 5
Views: 151

Re: Ardunio IDE does not see ESP32 Thing board

Just for the fun it, I have installed the IDE (1.8.5) on windows10 and followed the steps from Sparkfun, it works but not in one go.. In C:\Users\paulvha\Documents\Arduino create a directory hardware cd hardware create a directory expressif cd expressif I downloaded the zip file from the link on the...
by paulvha
Sun Feb 11, 2018 2:37 am
Forum: PCB Design Questions
Topic: Analog & Digital GND on board but only 1 GND? how? PCM1803A
Replies: 3
Views: 178

Re: Analog & Digital GND on board but only 1 GND? how? PCM1803A

All depends on the chips and the circuit required. In some situations one would like to have a galvanic separation between the input from the computer and the output signals. This can be for safety reasons or to reduce interference. Take the AD5722, a DAC, it his logical and analog grounds. The chip...
by paulvha
Sat Feb 10, 2018 1:54 am
Forum: Arduino
Topic: Ardunio IDE does not see ESP32 Thing board
Replies: 5
Views: 151

Re: Ardunio IDE does not see ESP32 Thing board

you need to include the board with the board manager in the IDE. Described at https://learn.sparkfun.com/tutorials/es ... duino-core
by paulvha
Fri Feb 09, 2018 10:45 am
Forum: PCB Design Questions
Topic: Analog & Digital GND on board but only 1 GND? how? PCM1803A
Replies: 3
Views: 178

Re: Analog & Digital GND on board but only 1 GND? how? PCM1803A

The chip design seems to have had issues. From the data-sheet "To maximize the dynamic performance of the CM1803A, the analog and digital grounds are not connected internally. These grounds should have low impedance to avoid digital noise feeding back into the analog ground. Therefore, they should b...
by paulvha
Fri Feb 09, 2018 10:19 am
Forum: SparkFun Product Questions
Topic: Fairy Lights
Replies: 3
Views: 74

Re: Fairy Lights

There are MANY, MANY different Fairy lights in the world. They differ voltage and power consumption. I expect the only way to find out the one you have is to connect a DC (Milli) ampere meter serial between the lights and supply. Nearly every (cheap) general purpose multimeter could do the job. It i...
by paulvha
Fri Feb 09, 2018 9:57 am
Forum: Arduino
Topic: How can I change function with a pushbutton during a delay?
Replies: 7
Views: 107

Re: How can I change function with a pushbutton during a delay?

like Jremington, I am still struggling what you want to do exactly. Next to that you should try to avoid duplicated code as much as possible and break up in smaller subroutines to solve an issue on a single place. Hence I propose a bit of different setup, but it is UNTESTED code and you should expec...
by paulvha
Fri Feb 09, 2018 1:46 am
Forum: SparkFun Product Questions
Topic: 5-way Tactile Switch to Raspberry Pi
Replies: 2
Views: 60

Re: 5-way Tactile Switch to Raspberry Pi

Have a look at the library and examples/references from WiringPi ( http://wiringpi.com/) Download the library from that website as it is more up to date than the one you get with apt-get.
by paulvha
Thu Feb 08, 2018 11:21 am
Forum: SparkFun Product Questions
Topic: CCS811 Goes back to boot mode after setmeasurementmode command
Replies: 2
Views: 52

Re: CCS811 Goes back to boot mode after setmeasurementmode command

Not directly with the CCS811, but I have run into the issue of spontaneous reboot many times with the Arduino. Either the USB power was not enough and not able to handle the required current (and needed to add a separate power supply) and/or when after compiling a sketch it provides a warning about ...
by paulvha
Wed Feb 07, 2018 2:03 am
Forum: Projects
Topic: What are these connectors called?
Replies: 4
Views: 105

Re: What are these connectors called?

In Dutch they are called "schuifstekkers" often used in cars. The exact model can be found at https://www.lpgonderdelenshop.nl/Stekke ... ijk-1-pins. or I expect in any good carparts shop
by paulvha
Tue Feb 06, 2018 1:05 am
Forum: Wireless/RF
Topic: esp8266 thing dev not connecting to local network
Replies: 2
Views: 76

Re: esp8266 thing dev not connecting to local network

A quick look shows that the first sketch has a monitor speed of 9600 where the second has 115200. Set with Serial.begin(115200). Have you changed the serial monitor speed to 115200 ? (bottom right ?)
by paulvha
Mon Feb 05, 2018 11:01 am
Forum: SparkFun Product Questions
Topic: INA169
Replies: 4
Views: 99

Re: INA169

Yep.... with one remark.... you can monitor... but it is expected to be less accurate in the lower range. Sparkfun schematics is starting at 35mV instead of 50mV, so starting at 35mv/ 0.3 ~100mA. I don't know what the expected "most common" load will be, but I would concentrate the resistor calculat...